AWS SDK for C++  1.9.132
AWS SDK for C++
StreamInfo.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace IoT
25 {
26 namespace Model
27 {
28 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetStreamId() const{ return m_streamId; }
47 
51  inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; }
52 
56  inline void SetStreamId(const Aws::String& value) { m_streamIdHasBeenSet = true; m_streamId = value; }
57 
61  inline void SetStreamId(Aws::String&& value) { m_streamIdHasBeenSet = true; m_streamId = std::move(value); }
62 
66  inline void SetStreamId(const char* value) { m_streamIdHasBeenSet = true; m_streamId.assign(value); }
67 
71  inline StreamInfo& WithStreamId(const Aws::String& value) { SetStreamId(value); return *this;}
72 
76  inline StreamInfo& WithStreamId(Aws::String&& value) { SetStreamId(std::move(value)); return *this;}
77 
81  inline StreamInfo& WithStreamId(const char* value) { SetStreamId(value); return *this;}
82 
83 
87  inline const Aws::String& GetStreamArn() const{ return m_streamArn; }
88 
92  inline bool StreamArnHasBeenSet() const { return m_streamArnHasBeenSet; }
93 
97  inline void SetStreamArn(const Aws::String& value) { m_streamArnHasBeenSet = true; m_streamArn = value; }
98 
102  inline void SetStreamArn(Aws::String&& value) { m_streamArnHasBeenSet = true; m_streamArn = std::move(value); }
103 
107  inline void SetStreamArn(const char* value) { m_streamArnHasBeenSet = true; m_streamArn.assign(value); }
108 
112  inline StreamInfo& WithStreamArn(const Aws::String& value) { SetStreamArn(value); return *this;}
113 
117  inline StreamInfo& WithStreamArn(Aws::String&& value) { SetStreamArn(std::move(value)); return *this;}
118 
122  inline StreamInfo& WithStreamArn(const char* value) { SetStreamArn(value); return *this;}
123 
124 
128  inline int GetStreamVersion() const{ return m_streamVersion; }
129 
133  inline bool StreamVersionHasBeenSet() const { return m_streamVersionHasBeenSet; }
134 
138  inline void SetStreamVersion(int value) { m_streamVersionHasBeenSet = true; m_streamVersion = value; }
139 
143  inline StreamInfo& WithStreamVersion(int value) { SetStreamVersion(value); return *this;}
144 
145 
149  inline const Aws::String& GetDescription() const{ return m_description; }
150 
154  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
155 
159  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
160 
164  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
165 
169  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
170 
174  inline StreamInfo& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
175 
179  inline StreamInfo& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
180 
184  inline StreamInfo& WithDescription(const char* value) { SetDescription(value); return *this;}
185 
186 
190  inline const Aws::Vector<StreamFile>& GetFiles() const{ return m_files; }
191 
195  inline bool FilesHasBeenSet() const { return m_filesHasBeenSet; }
196 
200  inline void SetFiles(const Aws::Vector<StreamFile>& value) { m_filesHasBeenSet = true; m_files = value; }
201 
205  inline void SetFiles(Aws::Vector<StreamFile>&& value) { m_filesHasBeenSet = true; m_files = std::move(value); }
206 
210  inline StreamInfo& WithFiles(const Aws::Vector<StreamFile>& value) { SetFiles(value); return *this;}
211 
215  inline StreamInfo& WithFiles(Aws::Vector<StreamFile>&& value) { SetFiles(std::move(value)); return *this;}
216 
220  inline StreamInfo& AddFiles(const StreamFile& value) { m_filesHasBeenSet = true; m_files.push_back(value); return *this; }
221 
225  inline StreamInfo& AddFiles(StreamFile&& value) { m_filesHasBeenSet = true; m_files.push_back(std::move(value)); return *this; }
226 
227 
231  inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
232 
236  inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
237 
241  inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
242 
246  inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
247 
251  inline StreamInfo& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
252 
256  inline StreamInfo& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
257 
258 
262  inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
263 
267  inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
268 
272  inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; }
273 
277  inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); }
278 
282  inline StreamInfo& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
283 
287  inline StreamInfo& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
288 
289 
293  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
294 
298  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
299 
303  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
304 
308  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
309 
313  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
314 
318  inline StreamInfo& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
319 
323  inline StreamInfo& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
324 
328  inline StreamInfo& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
329 
330  private:
331 
332  Aws::String m_streamId;
333  bool m_streamIdHasBeenSet;
334 
335  Aws::String m_streamArn;
336  bool m_streamArnHasBeenSet;
337 
338  int m_streamVersion;
339  bool m_streamVersionHasBeenSet;
340 
341  Aws::String m_description;
342  bool m_descriptionHasBeenSet;
343 
344  Aws::Vector<StreamFile> m_files;
345  bool m_filesHasBeenSet;
346 
347  Aws::Utils::DateTime m_createdAt;
348  bool m_createdAtHasBeenSet;
349 
350  Aws::Utils::DateTime m_lastUpdatedAt;
351  bool m_lastUpdatedAtHasBeenSet;
352 
353  Aws::String m_roleArn;
354  bool m_roleArnHasBeenSet;
355  };
356 
357 } // namespace Model
358 } // namespace IoT
359 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::IoT::Model::StreamInfo::SetStreamArn
void SetStreamArn(const char *value)
Definition: StreamInfo.h:107
Aws::IoT::Model::StreamInfo::WithDescription
StreamInfo & WithDescription(const char *value)
Definition: StreamInfo.h:184
Aws::IoT::Model::StreamInfo::FilesHasBeenSet
bool FilesHasBeenSet() const
Definition: StreamInfo.h:195
Aws::IoT::Model::StreamInfo::SetStreamId
void SetStreamId(const char *value)
Definition: StreamInfo.h:66
Aws::IoT::Model::StreamInfo::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: StreamInfo.h:308
Aws::IoT::Model::StreamInfo::SetFiles
void SetFiles(const Aws::Vector< StreamFile > &value)
Definition: StreamInfo.h:200
Aws::IoT::Model::StreamInfo::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: StreamInfo.h:293
Aws::IoT::Model::StreamInfo::WithStreamId
StreamInfo & WithStreamId(Aws::String &&value)
Definition: StreamInfo.h:76
Aws::IoT::Model::StreamInfo::GetStreamId
const Aws::String & GetStreamId() const
Definition: StreamInfo.h:46
Aws::IoT::Model::StreamInfo::SetStreamId
void SetStreamId(Aws::String &&value)
Definition: StreamInfo.h:61
Aws::IoT::Model::StreamInfo::SetDescription
void SetDescription(const Aws::String &value)
Definition: StreamInfo.h:159
Aws::IoT::Model::StreamInfo::WithFiles
StreamInfo & WithFiles(Aws::Vector< StreamFile > &&value)
Definition: StreamInfo.h:215
Aws::IoT::Model::StreamInfo::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: StreamInfo.h:298
DateTime.h
Aws::IoT::Model::StreamInfo::AddFiles
StreamInfo & AddFiles(StreamFile &&value)
Definition: StreamInfo.h:225
Aws::IoT::Model::StreamInfo::WithStreamId
StreamInfo & WithStreamId(const char *value)
Definition: StreamInfo.h:81
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoT::Model::StreamInfo::WithRoleArn
StreamInfo & WithRoleArn(const Aws::String &value)
Definition: StreamInfo.h:318
Aws::IoT::Model::StreamInfo::StreamInfo
StreamInfo(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::StreamInfo::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: StreamInfo.h:246
Aws::IoT::Model::StreamInfo::WithStreamArn
StreamInfo & WithStreamArn(const char *value)
Definition: StreamInfo.h:122
Aws::IoT::Model::StreamInfo::WithCreatedAt
StreamInfo & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: StreamInfo.h:251
Aws::IoT::Model::StreamFile
Definition: StreamFile.h:32
AWSVector.h
Aws::IoT::Model::StreamInfo::WithStreamVersion
StreamInfo & WithStreamVersion(int value)
Definition: StreamInfo.h:143
Aws::IoT::Model::StreamInfo::WithStreamId
StreamInfo & WithStreamId(const Aws::String &value)
Definition: StreamInfo.h:71
Aws::IoT::Model::StreamInfo::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::StreamInfo::AddFiles
StreamInfo & AddFiles(const StreamFile &value)
Definition: StreamInfo.h:220
Aws::IoT::Model::StreamInfo::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: StreamInfo.h:241
Aws::IoT::Model::StreamInfo::GetLastUpdatedAt
const Aws::Utils::DateTime & GetLastUpdatedAt() const
Definition: StreamInfo.h:262
Aws::IoT::Model::StreamInfo::WithLastUpdatedAt
StreamInfo & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition: StreamInfo.h:287
Aws::IoT::Model::StreamInfo::SetLastUpdatedAt
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition: StreamInfo.h:277
Aws::IoT::Model::StreamInfo::WithFiles
StreamInfo & WithFiles(const Aws::Vector< StreamFile > &value)
Definition: StreamInfo.h:210
Aws::IoT::Model::StreamInfo::operator=
StreamInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::StreamInfo::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: StreamInfo.h:154
StreamFile.h
Aws::IoT::Model::StreamInfo::StreamIdHasBeenSet
bool StreamIdHasBeenSet() const
Definition: StreamInfo.h:51
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::IoT::Model::StreamInfo::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: StreamInfo.h:231
Aws::IoT::Model::StreamInfo::SetStreamId
void SetStreamId(const Aws::String &value)
Definition: StreamInfo.h:56
Aws::IoT::Model::StreamInfo::SetFiles
void SetFiles(Aws::Vector< StreamFile > &&value)
Definition: StreamInfo.h:205
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::StreamInfo::WithStreamArn
StreamInfo & WithStreamArn(const Aws::String &value)
Definition: StreamInfo.h:112
Aws::IoT::Model::StreamInfo::StreamVersionHasBeenSet
bool StreamVersionHasBeenSet() const
Definition: StreamInfo.h:133
Aws::IoT::Model::StreamInfo::CreatedAtHasBeenSet
bool CreatedAtHasBeenSet() const
Definition: StreamInfo.h:236
Aws::IoT::Model::StreamInfo::GetDescription
const Aws::String & GetDescription() const
Definition: StreamInfo.h:149
Aws::IoT::Model::StreamInfo::StreamArnHasBeenSet
bool StreamArnHasBeenSet() const
Definition: StreamInfo.h:92
Aws::IoT::Model::StreamInfo::SetStreamVersion
void SetStreamVersion(int value)
Definition: StreamInfo.h:138
Aws::IoT::Model::StreamInfo::WithRoleArn
StreamInfo & WithRoleArn(const char *value)
Definition: StreamInfo.h:328
Aws::IoT::Model::StreamInfo::GetFiles
const Aws::Vector< StreamFile > & GetFiles() const
Definition: StreamInfo.h:190
Aws::IoT::Model::StreamInfo::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: StreamInfo.h:303
Aws::IoT::Model::StreamInfo::SetStreamArn
void SetStreamArn(Aws::String &&value)
Definition: StreamInfo.h:102
Aws::IoT::Model::StreamInfo::SetDescription
void SetDescription(Aws::String &&value)
Definition: StreamInfo.h:164
Aws::IoT::Model::StreamInfo::WithStreamArn
StreamInfo & WithStreamArn(Aws::String &&value)
Definition: StreamInfo.h:117
Aws::IoT::Model::StreamInfo::GetStreamArn
const Aws::String & GetStreamArn() const
Definition: StreamInfo.h:87
Aws::IoT::Model::StreamInfo::GetStreamVersion
int GetStreamVersion() const
Definition: StreamInfo.h:128
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::StreamInfo::StreamInfo
StreamInfo()
Aws::IoT::Model::StreamInfo::WithDescription
StreamInfo & WithDescription(Aws::String &&value)
Definition: StreamInfo.h:179
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::StreamInfo::SetStreamArn
void SetStreamArn(const Aws::String &value)
Definition: StreamInfo.h:97
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::StreamInfo::SetDescription
void SetDescription(const char *value)
Definition: StreamInfo.h:169
Aws::IoT::Model::StreamInfo::SetLastUpdatedAt
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition: StreamInfo.h:272
Aws::IoT::Model::StreamInfo::LastUpdatedAtHasBeenSet
bool LastUpdatedAtHasBeenSet() const
Definition: StreamInfo.h:267
Aws::IoT::Model::StreamInfo::SetRoleArn
void SetRoleArn(const char *value)
Definition: StreamInfo.h:313
Aws::IoT::Model::StreamInfo::WithLastUpdatedAt
StreamInfo & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition: StreamInfo.h:282
Aws::IoT::Model::StreamInfo::WithCreatedAt
StreamInfo & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: StreamInfo.h:256
Aws::IoT::Model::StreamInfo::WithRoleArn
StreamInfo & WithRoleArn(Aws::String &&value)
Definition: StreamInfo.h:323
Aws::IoT::Model::StreamInfo::WithDescription
StreamInfo & WithDescription(const Aws::String &value)
Definition: StreamInfo.h:174
Aws::IoT::Model::StreamInfo
Definition: StreamInfo.h:35
IoT_EXPORTS.h