AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StreamSummary.h
1
6#pragma once
7#include <aws/kinesis/Kinesis_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kinesis/model/StreamStatus.h>
10#include <aws/kinesis/model/StreamModeDetails.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Kinesis
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_KINESIS_API StreamSummary();
38 AWS_KINESIS_API StreamSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_KINESIS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetStreamName() const{ return m_streamName; }
48 inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
49 inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; }
50 inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); }
51 inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); }
52 inline StreamSummary& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
53 inline StreamSummary& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
54 inline StreamSummary& WithStreamName(const char* value) { SetStreamName(value); return *this;}
56
58
61 inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
62 inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
63 inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; }
64 inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); }
65 inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); }
66 inline StreamSummary& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
67 inline StreamSummary& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
68 inline StreamSummary& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
70
72
75 inline const StreamStatus& GetStreamStatus() const{ return m_streamStatus; }
76 inline bool StreamStatusHasBeenSet() const { return m_streamStatusHasBeenSet; }
77 inline void SetStreamStatus(const StreamStatus& value) { m_streamStatusHasBeenSet = true; m_streamStatus = value; }
78 inline void SetStreamStatus(StreamStatus&& value) { m_streamStatusHasBeenSet = true; m_streamStatus = std::move(value); }
79 inline StreamSummary& WithStreamStatus(const StreamStatus& value) { SetStreamStatus(value); return *this;}
80 inline StreamSummary& WithStreamStatus(StreamStatus&& value) { SetStreamStatus(std::move(value)); return *this;}
82
84
85 inline const StreamModeDetails& GetStreamModeDetails() const{ return m_streamModeDetails; }
86 inline bool StreamModeDetailsHasBeenSet() const { return m_streamModeDetailsHasBeenSet; }
87 inline void SetStreamModeDetails(const StreamModeDetails& value) { m_streamModeDetailsHasBeenSet = true; m_streamModeDetails = value; }
88 inline void SetStreamModeDetails(StreamModeDetails&& value) { m_streamModeDetailsHasBeenSet = true; m_streamModeDetails = std::move(value); }
89 inline StreamSummary& WithStreamModeDetails(const StreamModeDetails& value) { SetStreamModeDetails(value); return *this;}
90 inline StreamSummary& WithStreamModeDetails(StreamModeDetails&& value) { SetStreamModeDetails(std::move(value)); return *this;}
92
94
97 inline const Aws::Utils::DateTime& GetStreamCreationTimestamp() const{ return m_streamCreationTimestamp; }
98 inline bool StreamCreationTimestampHasBeenSet() const { return m_streamCreationTimestampHasBeenSet; }
99 inline void SetStreamCreationTimestamp(const Aws::Utils::DateTime& value) { m_streamCreationTimestampHasBeenSet = true; m_streamCreationTimestamp = value; }
100 inline void SetStreamCreationTimestamp(Aws::Utils::DateTime&& value) { m_streamCreationTimestampHasBeenSet = true; m_streamCreationTimestamp = std::move(value); }
104 private:
105
106 Aws::String m_streamName;
107 bool m_streamNameHasBeenSet = false;
108
109 Aws::String m_streamARN;
110 bool m_streamARNHasBeenSet = false;
111
112 StreamStatus m_streamStatus;
113 bool m_streamStatusHasBeenSet = false;
114
115 StreamModeDetails m_streamModeDetails;
116 bool m_streamModeDetailsHasBeenSet = false;
117
118 Aws::Utils::DateTime m_streamCreationTimestamp;
119 bool m_streamCreationTimestampHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace Kinesis
124} // namespace Aws
void SetStreamName(Aws::String &&value)
void SetStreamStatus(const StreamStatus &value)
const Aws::Utils::DateTime & GetStreamCreationTimestamp() const
const StreamModeDetails & GetStreamModeDetails() const
AWS_KINESIS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStreamCreationTimestamp(Aws::Utils::DateTime &&value)
void SetStreamARN(const Aws::String &value)
StreamSummary & WithStreamName(const Aws::String &value)
AWS_KINESIS_API StreamSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
StreamSummary & WithStreamModeDetails(const StreamModeDetails &value)
StreamSummary & WithStreamCreationTimestamp(const Aws::Utils::DateTime &value)
StreamSummary & WithStreamName(const char *value)
void SetStreamModeDetails(const StreamModeDetails &value)
StreamSummary & WithStreamModeDetails(StreamModeDetails &&value)
StreamSummary & WithStreamARN(const Aws::String &value)
const StreamStatus & GetStreamStatus() const
void SetStreamName(const Aws::String &value)
AWS_KINESIS_API StreamSummary(Aws::Utils::Json::JsonView jsonValue)
void SetStreamCreationTimestamp(const Aws::Utils::DateTime &value)
const Aws::String & GetStreamARN() const
void SetStreamModeDetails(StreamModeDetails &&value)
StreamSummary & WithStreamStatus(const StreamStatus &value)
void SetStreamARN(const char *value)
StreamSummary & WithStreamARN(Aws::String &&value)
void SetStreamARN(Aws::String &&value)
StreamSummary & WithStreamStatus(StreamStatus &&value)
StreamSummary & WithStreamCreationTimestamp(Aws::Utils::DateTime &&value)
void SetStreamName(const char *value)
void SetStreamStatus(StreamStatus &&value)
StreamSummary & WithStreamName(Aws::String &&value)
const Aws::String & GetStreamName() const
StreamSummary & WithStreamARN(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue