AWS SDK for C++  1.9.129
AWS SDK for C++
StreamSummary.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace IoT
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetStreamId() const{ return m_streamId; }
44 
48  inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; }
49 
53  inline void SetStreamId(const Aws::String& value) { m_streamIdHasBeenSet = true; m_streamId = value; }
54 
58  inline void SetStreamId(Aws::String&& value) { m_streamIdHasBeenSet = true; m_streamId = std::move(value); }
59 
63  inline void SetStreamId(const char* value) { m_streamIdHasBeenSet = true; m_streamId.assign(value); }
64 
68  inline StreamSummary& WithStreamId(const Aws::String& value) { SetStreamId(value); return *this;}
69 
73  inline StreamSummary& WithStreamId(Aws::String&& value) { SetStreamId(std::move(value)); return *this;}
74 
78  inline StreamSummary& WithStreamId(const char* value) { SetStreamId(value); return *this;}
79 
80 
84  inline const Aws::String& GetStreamArn() const{ return m_streamArn; }
85 
89  inline bool StreamArnHasBeenSet() const { return m_streamArnHasBeenSet; }
90 
94  inline void SetStreamArn(const Aws::String& value) { m_streamArnHasBeenSet = true; m_streamArn = value; }
95 
99  inline void SetStreamArn(Aws::String&& value) { m_streamArnHasBeenSet = true; m_streamArn = std::move(value); }
100 
104  inline void SetStreamArn(const char* value) { m_streamArnHasBeenSet = true; m_streamArn.assign(value); }
105 
109  inline StreamSummary& WithStreamArn(const Aws::String& value) { SetStreamArn(value); return *this;}
110 
114  inline StreamSummary& WithStreamArn(Aws::String&& value) { SetStreamArn(std::move(value)); return *this;}
115 
119  inline StreamSummary& WithStreamArn(const char* value) { SetStreamArn(value); return *this;}
120 
121 
125  inline int GetStreamVersion() const{ return m_streamVersion; }
126 
130  inline bool StreamVersionHasBeenSet() const { return m_streamVersionHasBeenSet; }
131 
135  inline void SetStreamVersion(int value) { m_streamVersionHasBeenSet = true; m_streamVersion = value; }
136 
140  inline StreamSummary& WithStreamVersion(int value) { SetStreamVersion(value); return *this;}
141 
142 
146  inline const Aws::String& GetDescription() const{ return m_description; }
147 
151  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
152 
156  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
157 
161  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
162 
166  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
167 
171  inline StreamSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
172 
176  inline StreamSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
177 
181  inline StreamSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
182 
183  private:
184 
185  Aws::String m_streamId;
186  bool m_streamIdHasBeenSet;
187 
188  Aws::String m_streamArn;
189  bool m_streamArnHasBeenSet;
190 
191  int m_streamVersion;
192  bool m_streamVersionHasBeenSet;
193 
194  Aws::String m_description;
195  bool m_descriptionHasBeenSet;
196  };
197 
198 } // namespace Model
199 } // namespace IoT
200 } // namespace Aws
Aws::IoT::Model::StreamSummary::StreamIdHasBeenSet
bool StreamIdHasBeenSet() const
Definition: StreamSummary.h:48
Aws::IoT::Model::StreamSummary::SetStreamArn
void SetStreamArn(Aws::String &&value)
Definition: StreamSummary.h:99
Aws::IoT::Model::StreamSummary::WithDescription
StreamSummary & WithDescription(const char *value)
Definition: StreamSummary.h:181
Aws::IoT::Model::StreamSummary::GetStreamId
const Aws::String & GetStreamId() const
Definition: StreamSummary.h:43
Aws::IoT::Model::StreamSummary::StreamSummary
StreamSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::StreamSummary::SetDescription
void SetDescription(const char *value)
Definition: StreamSummary.h:166
Aws::IoT::Model::StreamSummary::WithStreamArn
StreamSummary & WithStreamArn(Aws::String &&value)
Definition: StreamSummary.h:114
Aws::IoT::Model::StreamSummary::GetStreamArn
const Aws::String & GetStreamArn() const
Definition: StreamSummary.h:84
Aws::IoT::Model::StreamSummary::StreamArnHasBeenSet
bool StreamArnHasBeenSet() const
Definition: StreamSummary.h:89
Aws::IoT::Model::StreamSummary::StreamSummary
StreamSummary()
Aws::IoT::Model::StreamSummary::WithStreamId
StreamSummary & WithStreamId(const char *value)
Definition: StreamSummary.h:78
Aws::IoT::Model::StreamSummary::SetStreamVersion
void SetStreamVersion(int value)
Definition: StreamSummary.h:135
Aws::IoT::Model::StreamSummary::SetStreamId
void SetStreamId(Aws::String &&value)
Definition: StreamSummary.h:58
Aws::IoT::Model::StreamSummary::WithDescription
StreamSummary & WithDescription(const Aws::String &value)
Definition: StreamSummary.h:171
Aws::IoT::Model::StreamSummary::WithStreamId
StreamSummary & WithStreamId(const Aws::String &value)
Definition: StreamSummary.h:68
Aws::IoT::Model::StreamSummary::SetStreamArn
void SetStreamArn(const Aws::String &value)
Definition: StreamSummary.h:94
Aws::IoT::Model::StreamSummary::WithStreamId
StreamSummary & WithStreamId(Aws::String &&value)
Definition: StreamSummary.h:73
Aws::IoT::Model::StreamSummary::SetStreamId
void SetStreamId(const Aws::String &value)
Definition: StreamSummary.h:53
Aws::IoT::Model::StreamSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::StreamSummary::SetDescription
void SetDescription(const Aws::String &value)
Definition: StreamSummary.h:156
Aws::IoT::Model::StreamSummary::WithStreamArn
StreamSummary & WithStreamArn(const char *value)
Definition: StreamSummary.h:119
Aws::IoT::Model::StreamSummary::WithStreamVersion
StreamSummary & WithStreamVersion(int value)
Definition: StreamSummary.h:140
Aws::IoT::Model::StreamSummary::WithStreamArn
StreamSummary & WithStreamArn(const Aws::String &value)
Definition: StreamSummary.h:109
Aws::IoT::Model::StreamSummary::StreamVersionHasBeenSet
bool StreamVersionHasBeenSet() const
Definition: StreamSummary.h:130
Aws::IoT::Model::StreamSummary::SetDescription
void SetDescription(Aws::String &&value)
Definition: StreamSummary.h:161
Aws::IoT::Model::StreamSummary::GetDescription
const Aws::String & GetDescription() const
Definition: StreamSummary.h:146
Aws::IoT::Model::StreamSummary
Definition: StreamSummary.h:32
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::StreamSummary::WithDescription
StreamSummary & WithDescription(Aws::String &&value)
Definition: StreamSummary.h:176
Aws::IoT::Model::StreamSummary::SetStreamId
void SetStreamId(const char *value)
Definition: StreamSummary.h:63
Aws::IoT::Model::StreamSummary::SetStreamArn
void SetStreamArn(const char *value)
Definition: StreamSummary.h:104
Aws::IoT::Model::StreamSummary::GetStreamVersion
int GetStreamVersion() const
Definition: StreamSummary.h:125
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::StreamSummary::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: StreamSummary.h:151
Aws::IoT::Model::StreamSummary::operator=
StreamSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
IoT_EXPORTS.h