AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StreamInfo.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/iot/model/StreamFile.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 IoT
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_IOT_API StreamInfo();
38 AWS_IOT_API StreamInfo(Aws::Utils::Json::JsonView jsonValue);
41
42
44
47 inline const Aws::String& GetStreamId() const{ return m_streamId; }
48 inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; }
49 inline void SetStreamId(const Aws::String& value) { m_streamIdHasBeenSet = true; m_streamId = value; }
50 inline void SetStreamId(Aws::String&& value) { m_streamIdHasBeenSet = true; m_streamId = std::move(value); }
51 inline void SetStreamId(const char* value) { m_streamIdHasBeenSet = true; m_streamId.assign(value); }
52 inline StreamInfo& WithStreamId(const Aws::String& value) { SetStreamId(value); return *this;}
53 inline StreamInfo& WithStreamId(Aws::String&& value) { SetStreamId(std::move(value)); return *this;}
54 inline StreamInfo& WithStreamId(const char* value) { SetStreamId(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 StreamInfo& WithStreamArn(const Aws::String& value) { SetStreamArn(value); return *this;}
67 inline StreamInfo& WithStreamArn(Aws::String&& value) { SetStreamArn(std::move(value)); return *this;}
68 inline StreamInfo& WithStreamArn(const char* value) { SetStreamArn(value); return *this;}
70
72
75 inline int GetStreamVersion() const{ return m_streamVersion; }
76 inline bool StreamVersionHasBeenSet() const { return m_streamVersionHasBeenSet; }
77 inline void SetStreamVersion(int value) { m_streamVersionHasBeenSet = true; m_streamVersion = value; }
78 inline StreamInfo& WithStreamVersion(int value) { SetStreamVersion(value); return *this;}
80
82
85 inline const Aws::String& GetDescription() const{ return m_description; }
86 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
87 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
88 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
89 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
90 inline StreamInfo& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
91 inline StreamInfo& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
92 inline StreamInfo& WithDescription(const char* value) { SetDescription(value); return *this;}
94
96
99 inline const Aws::Vector<StreamFile>& GetFiles() const{ return m_files; }
100 inline bool FilesHasBeenSet() const { return m_filesHasBeenSet; }
101 inline void SetFiles(const Aws::Vector<StreamFile>& value) { m_filesHasBeenSet = true; m_files = value; }
102 inline void SetFiles(Aws::Vector<StreamFile>&& value) { m_filesHasBeenSet = true; m_files = std::move(value); }
103 inline StreamInfo& WithFiles(const Aws::Vector<StreamFile>& value) { SetFiles(value); return *this;}
104 inline StreamInfo& WithFiles(Aws::Vector<StreamFile>&& value) { SetFiles(std::move(value)); return *this;}
105 inline StreamInfo& AddFiles(const StreamFile& value) { m_filesHasBeenSet = true; m_files.push_back(value); return *this; }
106 inline StreamInfo& AddFiles(StreamFile&& value) { m_filesHasBeenSet = true; m_files.push_back(std::move(value)); return *this; }
108
110
113 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
114 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
115 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
116 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
117 inline StreamInfo& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
118 inline StreamInfo& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
120
122
125 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
126 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
127 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; }
128 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); }
129 inline StreamInfo& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
130 inline StreamInfo& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
132
134
137 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
138 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
139 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
140 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
141 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
142 inline StreamInfo& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
143 inline StreamInfo& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
144 inline StreamInfo& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
146 private:
147
148 Aws::String m_streamId;
149 bool m_streamIdHasBeenSet = false;
150
151 Aws::String m_streamArn;
152 bool m_streamArnHasBeenSet = false;
153
154 int m_streamVersion;
155 bool m_streamVersionHasBeenSet = false;
156
157 Aws::String m_description;
158 bool m_descriptionHasBeenSet = false;
159
161 bool m_filesHasBeenSet = false;
162
163 Aws::Utils::DateTime m_createdAt;
164 bool m_createdAtHasBeenSet = false;
165
166 Aws::Utils::DateTime m_lastUpdatedAt;
167 bool m_lastUpdatedAtHasBeenSet = false;
168
169 Aws::String m_roleArn;
170 bool m_roleArnHasBeenSet = false;
171 };
172
173} // namespace Model
174} // namespace IoT
175} // namespace Aws
bool StreamVersionHasBeenSet() const
Definition StreamInfo.h:76
AWS_IOT_API StreamInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition StreamInfo.h:128
StreamInfo & WithDescription(const Aws::String &value)
Definition StreamInfo.h:90
void SetStreamVersion(int value)
Definition StreamInfo.h:77
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition StreamInfo.h:116
void SetStreamId(const char *value)
Definition StreamInfo.h:51
void SetDescription(Aws::String &&value)
Definition StreamInfo.h:88
StreamInfo & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition StreamInfo.h:117
void SetFiles(Aws::Vector< StreamFile > &&value)
Definition StreamInfo.h:102
StreamInfo & AddFiles(StreamFile &&value)
Definition StreamInfo.h:106
const Aws::Vector< StreamFile > & GetFiles() const
Definition StreamInfo.h:99
void SetFiles(const Aws::Vector< StreamFile > &value)
Definition StreamInfo.h:101
StreamInfo & WithStreamArn(const char *value)
Definition StreamInfo.h:68
StreamInfo & WithStreamId(Aws::String &&value)
Definition StreamInfo.h:53
StreamInfo & WithStreamVersion(int value)
Definition StreamInfo.h:78
void SetRoleArn(Aws::String &&value)
Definition StreamInfo.h:140
StreamInfo & WithDescription(const char *value)
Definition StreamInfo.h:92
bool LastUpdatedAtHasBeenSet() const
Definition StreamInfo.h:126
void SetDescription(const char *value)
Definition StreamInfo.h:89
const Aws::Utils::DateTime & GetLastUpdatedAt() const
Definition StreamInfo.h:125
void SetRoleArn(const Aws::String &value)
Definition StreamInfo.h:139
const Aws::String & GetRoleArn() const
Definition StreamInfo.h:137
StreamInfo & WithRoleArn(const Aws::String &value)
Definition StreamInfo.h:142
StreamInfo & WithRoleArn(Aws::String &&value)
Definition StreamInfo.h:143
StreamInfo & WithStreamArn(const Aws::String &value)
Definition StreamInfo.h:66
bool CreatedAtHasBeenSet() const
Definition StreamInfo.h:114
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition StreamInfo.h:127
void SetStreamId(Aws::String &&value)
Definition StreamInfo.h:50
bool DescriptionHasBeenSet() const
Definition StreamInfo.h:86
const Aws::String & GetStreamId() const
Definition StreamInfo.h:47
AWS_IOT_API StreamInfo(Aws::Utils::Json::JsonView jsonValue)
StreamInfo & AddFiles(const StreamFile &value)
Definition StreamInfo.h:105
void SetStreamArn(const char *value)
Definition StreamInfo.h:65
StreamInfo & WithFiles(Aws::Vector< StreamFile > &&value)
Definition StreamInfo.h:104
bool StreamArnHasBeenSet() const
Definition StreamInfo.h:62
StreamInfo & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition StreamInfo.h:118
StreamInfo & WithStreamId(const char *value)
Definition StreamInfo.h:54
StreamInfo & WithStreamId(const Aws::String &value)
Definition StreamInfo.h:52
void SetStreamId(const Aws::String &value)
Definition StreamInfo.h:49
void SetDescription(const Aws::String &value)
Definition StreamInfo.h:87
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition StreamInfo.h:115
void SetRoleArn(const char *value)
Definition StreamInfo.h:141
void SetStreamArn(const Aws::String &value)
Definition StreamInfo.h:63
const Aws::Utils::DateTime & GetCreatedAt() const
Definition StreamInfo.h:113
void SetStreamArn(Aws::String &&value)
Definition StreamInfo.h:64
StreamInfo & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition StreamInfo.h:129
StreamInfo & WithFiles(const Aws::Vector< StreamFile > &value)
Definition StreamInfo.h:103
StreamInfo & WithRoleArn(const char *value)
Definition StreamInfo.h:144
StreamInfo & WithStreamArn(Aws::String &&value)
Definition StreamInfo.h:67
StreamInfo & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition StreamInfo.h:130
const Aws::String & GetDescription() const
Definition StreamInfo.h:85
bool StreamIdHasBeenSet() const
Definition StreamInfo.h:48
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetStreamArn() const
Definition StreamInfo.h:61
StreamInfo & WithDescription(Aws::String &&value)
Definition StreamInfo.h:91
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue