AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
Wave.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mgn/Mgn_EXPORTS.h>
10#include <aws/mgn/model/WaveAggregatedStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace mgn {
22namespace Model {
23
24class Wave {
25 public:
26 AWS_MGN_API Wave() = default;
27 AWS_MGN_API Wave(Aws::Utils::Json::JsonView jsonValue);
28 AWS_MGN_API Wave& operator=(Aws::Utils::Json::JsonView jsonValue);
30
32
35 inline const Aws::String& GetWaveID() const { return m_waveID; }
36 inline bool WaveIDHasBeenSet() const { return m_waveIDHasBeenSet; }
37 template <typename WaveIDT = Aws::String>
38 void SetWaveID(WaveIDT&& value) {
39 m_waveIDHasBeenSet = true;
40 m_waveID = std::forward<WaveIDT>(value);
41 }
42 template <typename WaveIDT = Aws::String>
43 Wave& WithWaveID(WaveIDT&& value) {
44 SetWaveID(std::forward<WaveIDT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetArn() const { return m_arn; }
54 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
55 template <typename ArnT = Aws::String>
56 void SetArn(ArnT&& value) {
57 m_arnHasBeenSet = true;
58 m_arn = std::forward<ArnT>(value);
59 }
60 template <typename ArnT = Aws::String>
61 Wave& WithArn(ArnT&& value) {
62 SetArn(std::forward<ArnT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetName() const { return m_name; }
72 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
73 template <typename NameT = Aws::String>
74 void SetName(NameT&& value) {
75 m_nameHasBeenSet = true;
76 m_name = std::forward<NameT>(value);
77 }
78 template <typename NameT = Aws::String>
79 Wave& WithName(NameT&& value) {
80 SetName(std::forward<NameT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::String& GetDescription() const { return m_description; }
90 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
91 template <typename DescriptionT = Aws::String>
92 void SetDescription(DescriptionT&& value) {
93 m_descriptionHasBeenSet = true;
94 m_description = std::forward<DescriptionT>(value);
95 }
96 template <typename DescriptionT = Aws::String>
97 Wave& WithDescription(DescriptionT&& value) {
98 SetDescription(std::forward<DescriptionT>(value));
99 return *this;
100 }
102
104
107 inline bool GetIsArchived() const { return m_isArchived; }
108 inline bool IsArchivedHasBeenSet() const { return m_isArchivedHasBeenSet; }
109 inline void SetIsArchived(bool value) {
110 m_isArchivedHasBeenSet = true;
111 m_isArchived = value;
112 }
113 inline Wave& WithIsArchived(bool value) {
114 SetIsArchived(value);
115 return *this;
116 }
118
120
123 inline const WaveAggregatedStatus& GetWaveAggregatedStatus() const { return m_waveAggregatedStatus; }
124 inline bool WaveAggregatedStatusHasBeenSet() const { return m_waveAggregatedStatusHasBeenSet; }
125 template <typename WaveAggregatedStatusT = WaveAggregatedStatus>
126 void SetWaveAggregatedStatus(WaveAggregatedStatusT&& value) {
127 m_waveAggregatedStatusHasBeenSet = true;
128 m_waveAggregatedStatus = std::forward<WaveAggregatedStatusT>(value);
129 }
130 template <typename WaveAggregatedStatusT = WaveAggregatedStatus>
131 Wave& WithWaveAggregatedStatus(WaveAggregatedStatusT&& value) {
132 SetWaveAggregatedStatus(std::forward<WaveAggregatedStatusT>(value));
133 return *this;
134 }
136
138
141 inline const Aws::String& GetCreationDateTime() const { return m_creationDateTime; }
142 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
143 template <typename CreationDateTimeT = Aws::String>
144 void SetCreationDateTime(CreationDateTimeT&& value) {
145 m_creationDateTimeHasBeenSet = true;
146 m_creationDateTime = std::forward<CreationDateTimeT>(value);
147 }
148 template <typename CreationDateTimeT = Aws::String>
149 Wave& WithCreationDateTime(CreationDateTimeT&& value) {
150 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
151 return *this;
152 }
154
156
159 inline const Aws::String& GetLastModifiedDateTime() const { return m_lastModifiedDateTime; }
160 inline bool LastModifiedDateTimeHasBeenSet() const { return m_lastModifiedDateTimeHasBeenSet; }
161 template <typename LastModifiedDateTimeT = Aws::String>
162 void SetLastModifiedDateTime(LastModifiedDateTimeT&& value) {
163 m_lastModifiedDateTimeHasBeenSet = true;
164 m_lastModifiedDateTime = std::forward<LastModifiedDateTimeT>(value);
165 }
166 template <typename LastModifiedDateTimeT = Aws::String>
167 Wave& WithLastModifiedDateTime(LastModifiedDateTimeT&& value) {
168 SetLastModifiedDateTime(std::forward<LastModifiedDateTimeT>(value));
169 return *this;
170 }
172
174
177 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
178 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
179 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
180 void SetTags(TagsT&& value) {
181 m_tagsHasBeenSet = true;
182 m_tags = std::forward<TagsT>(value);
183 }
184 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
185 Wave& WithTags(TagsT&& value) {
186 SetTags(std::forward<TagsT>(value));
187 return *this;
188 }
189 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
190 Wave& AddTags(TagsKeyT&& key, TagsValueT&& value) {
191 m_tagsHasBeenSet = true;
192 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
193 return *this;
194 }
196
198
199 inline const Aws::String& GetRequestId() const { return m_requestId; }
200 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
201 template <typename RequestIdT = Aws::String>
202 void SetRequestId(RequestIdT&& value) {
203 m_requestIdHasBeenSet = true;
204 m_requestId = std::forward<RequestIdT>(value);
205 }
206 template <typename RequestIdT = Aws::String>
207 Wave& WithRequestId(RequestIdT&& value) {
208 SetRequestId(std::forward<RequestIdT>(value));
209 return *this;
210 }
212 private:
213 Aws::String m_waveID;
214
215 Aws::String m_arn;
216
217 Aws::String m_name;
218
219 Aws::String m_description;
220
221 bool m_isArchived{false};
222
223 WaveAggregatedStatus m_waveAggregatedStatus;
224
225 Aws::String m_creationDateTime;
226
227 Aws::String m_lastModifiedDateTime;
228
230
231 Aws::String m_requestId;
232 bool m_waveIDHasBeenSet = false;
233 bool m_arnHasBeenSet = false;
234 bool m_nameHasBeenSet = false;
235 bool m_descriptionHasBeenSet = false;
236 bool m_isArchivedHasBeenSet = false;
237 bool m_waveAggregatedStatusHasBeenSet = false;
238 bool m_creationDateTimeHasBeenSet = false;
239 bool m_lastModifiedDateTimeHasBeenSet = false;
240 bool m_tagsHasBeenSet = false;
241 bool m_requestIdHasBeenSet = false;
242};
243
244} // namespace Model
245} // namespace mgn
246} // namespace Aws
void SetTags(TagsT &&value)
Definition Wave.h:180
AWS_MGN_API Wave(Aws::Utils::Json::JsonView jsonValue)
void SetWaveID(WaveIDT &&value)
Definition Wave.h:38
Wave & WithCreationDateTime(CreationDateTimeT &&value)
Definition Wave.h:149
bool WaveIDHasBeenSet() const
Definition Wave.h:36
Wave & WithDescription(DescriptionT &&value)
Definition Wave.h:97
const Aws::String & GetRequestId() const
Definition Wave.h:199
AWS_MGN_API Wave()=default
const WaveAggregatedStatus & GetWaveAggregatedStatus() const
Definition Wave.h:123
void SetLastModifiedDateTime(LastModifiedDateTimeT &&value)
Definition Wave.h:162
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
void SetArn(ArnT &&value)
Definition Wave.h:56
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Wave.h:177
bool NameHasBeenSet() const
Definition Wave.h:72
void SetRequestId(RequestIdT &&value)
Definition Wave.h:202
bool GetIsArchived() const
Definition Wave.h:107
void SetIsArchived(bool value)
Definition Wave.h:109
Wave & WithIsArchived(bool value)
Definition Wave.h:113
void SetWaveAggregatedStatus(WaveAggregatedStatusT &&value)
Definition Wave.h:126
bool LastModifiedDateTimeHasBeenSet() const
Definition Wave.h:160
Wave & AddTags(TagsKeyT &&key, TagsValueT &&value)
Definition Wave.h:190
bool DescriptionHasBeenSet() const
Definition Wave.h:90
bool WaveAggregatedStatusHasBeenSet() const
Definition Wave.h:124
Wave & WithRequestId(RequestIdT &&value)
Definition Wave.h:207
bool TagsHasBeenSet() const
Definition Wave.h:178
void SetCreationDateTime(CreationDateTimeT &&value)
Definition Wave.h:144
Wave & WithTags(TagsT &&value)
Definition Wave.h:185
const Aws::String & GetName() const
Definition Wave.h:71
Wave & WithArn(ArnT &&value)
Definition Wave.h:61
const Aws::String & GetDescription() const
Definition Wave.h:89
Wave & WithWaveID(WaveIDT &&value)
Definition Wave.h:43
bool RequestIdHasBeenSet() const
Definition Wave.h:200
bool CreationDateTimeHasBeenSet() const
Definition Wave.h:142
bool ArnHasBeenSet() const
Definition Wave.h:54
const Aws::String & GetCreationDateTime() const
Definition Wave.h:141
Wave & WithName(NameT &&value)
Definition Wave.h:79
Wave & WithWaveAggregatedStatus(WaveAggregatedStatusT &&value)
Definition Wave.h:131
Wave & WithLastModifiedDateTime(LastModifiedDateTimeT &&value)
Definition Wave.h:167
void SetName(NameT &&value)
Definition Wave.h:74
const Aws::String & GetWaveID() const
Definition Wave.h:35
void SetDescription(DescriptionT &&value)
Definition Wave.h:92
bool IsArchivedHasBeenSet() const
Definition Wave.h:108
const Aws::String & GetLastModifiedDateTime() const
Definition Wave.h:159
const Aws::String & GetArn() const
Definition Wave.h:53
AWS_MGN_API Wave & operator=(Aws::Utils::Json::JsonView jsonValue)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue