AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ArchiveWaveResult.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 {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace mgn {
24namespace Model {
26 public:
27 AWS_MGN_API ArchiveWaveResult() = default;
30
32
35 inline const Aws::String& GetWaveID() const { return m_waveID; }
36 template <typename WaveIDT = Aws::String>
37 void SetWaveID(WaveIDT&& value) {
38 m_waveIDHasBeenSet = true;
39 m_waveID = std::forward<WaveIDT>(value);
40 }
41 template <typename WaveIDT = Aws::String>
42 ArchiveWaveResult& WithWaveID(WaveIDT&& value) {
43 SetWaveID(std::forward<WaveIDT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetArn() const { return m_arn; }
53 template <typename ArnT = Aws::String>
54 void SetArn(ArnT&& value) {
55 m_arnHasBeenSet = true;
56 m_arn = std::forward<ArnT>(value);
57 }
58 template <typename ArnT = Aws::String>
59 ArchiveWaveResult& WithArn(ArnT&& value) {
60 SetArn(std::forward<ArnT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetName() const { return m_name; }
70 template <typename NameT = Aws::String>
71 void SetName(NameT&& value) {
72 m_nameHasBeenSet = true;
73 m_name = std::forward<NameT>(value);
74 }
75 template <typename NameT = Aws::String>
76 ArchiveWaveResult& WithName(NameT&& value) {
77 SetName(std::forward<NameT>(value));
78 return *this;
79 }
81
83
86 inline const Aws::String& GetDescription() const { return m_description; }
87 template <typename DescriptionT = Aws::String>
88 void SetDescription(DescriptionT&& value) {
89 m_descriptionHasBeenSet = true;
90 m_description = std::forward<DescriptionT>(value);
91 }
92 template <typename DescriptionT = Aws::String>
93 ArchiveWaveResult& WithDescription(DescriptionT&& value) {
94 SetDescription(std::forward<DescriptionT>(value));
95 return *this;
96 }
98
100
103 inline bool GetIsArchived() const { return m_isArchived; }
104 inline void SetIsArchived(bool value) {
105 m_isArchivedHasBeenSet = true;
106 m_isArchived = value;
107 }
108 inline ArchiveWaveResult& WithIsArchived(bool value) {
109 SetIsArchived(value);
110 return *this;
111 }
113
115
118 inline const WaveAggregatedStatus& GetWaveAggregatedStatus() const { return m_waveAggregatedStatus; }
119 template <typename WaveAggregatedStatusT = WaveAggregatedStatus>
120 void SetWaveAggregatedStatus(WaveAggregatedStatusT&& value) {
121 m_waveAggregatedStatusHasBeenSet = true;
122 m_waveAggregatedStatus = std::forward<WaveAggregatedStatusT>(value);
123 }
124 template <typename WaveAggregatedStatusT = WaveAggregatedStatus>
125 ArchiveWaveResult& WithWaveAggregatedStatus(WaveAggregatedStatusT&& value) {
126 SetWaveAggregatedStatus(std::forward<WaveAggregatedStatusT>(value));
127 return *this;
128 }
130
132
135 inline const Aws::String& GetCreationDateTime() const { return m_creationDateTime; }
136 template <typename CreationDateTimeT = Aws::String>
137 void SetCreationDateTime(CreationDateTimeT&& value) {
138 m_creationDateTimeHasBeenSet = true;
139 m_creationDateTime = std::forward<CreationDateTimeT>(value);
140 }
141 template <typename CreationDateTimeT = Aws::String>
142 ArchiveWaveResult& WithCreationDateTime(CreationDateTimeT&& value) {
143 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
144 return *this;
145 }
147
149
152 inline const Aws::String& GetLastModifiedDateTime() const { return m_lastModifiedDateTime; }
153 template <typename LastModifiedDateTimeT = Aws::String>
154 void SetLastModifiedDateTime(LastModifiedDateTimeT&& value) {
155 m_lastModifiedDateTimeHasBeenSet = true;
156 m_lastModifiedDateTime = std::forward<LastModifiedDateTimeT>(value);
157 }
158 template <typename LastModifiedDateTimeT = Aws::String>
159 ArchiveWaveResult& WithLastModifiedDateTime(LastModifiedDateTimeT&& value) {
160 SetLastModifiedDateTime(std::forward<LastModifiedDateTimeT>(value));
161 return *this;
162 }
164
166
169 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
170 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
171 void SetTags(TagsT&& value) {
172 m_tagsHasBeenSet = true;
173 m_tags = std::forward<TagsT>(value);
174 }
175 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
176 ArchiveWaveResult& WithTags(TagsT&& value) {
177 SetTags(std::forward<TagsT>(value));
178 return *this;
179 }
180 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
181 ArchiveWaveResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
182 m_tagsHasBeenSet = true;
183 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
184 return *this;
185 }
187
189
190 inline const Aws::String& GetRequestId() const { return m_requestId; }
191 template <typename RequestIdT = Aws::String>
192 void SetRequestId(RequestIdT&& value) {
193 m_requestIdHasBeenSet = true;
194 m_requestId = std::forward<RequestIdT>(value);
195 }
196 template <typename RequestIdT = Aws::String>
197 ArchiveWaveResult& WithRequestId(RequestIdT&& value) {
198 SetRequestId(std::forward<RequestIdT>(value));
199 return *this;
200 }
202 private:
203 Aws::String m_waveID;
204
205 Aws::String m_arn;
206
207 Aws::String m_name;
208
209 Aws::String m_description;
210
211 bool m_isArchived{false};
212
213 WaveAggregatedStatus m_waveAggregatedStatus;
214
215 Aws::String m_creationDateTime;
216
217 Aws::String m_lastModifiedDateTime;
218
220
221 Aws::String m_requestId;
222 bool m_waveIDHasBeenSet = false;
223 bool m_arnHasBeenSet = false;
224 bool m_nameHasBeenSet = false;
225 bool m_descriptionHasBeenSet = false;
226 bool m_isArchivedHasBeenSet = false;
227 bool m_waveAggregatedStatusHasBeenSet = false;
228 bool m_creationDateTimeHasBeenSet = false;
229 bool m_lastModifiedDateTimeHasBeenSet = false;
230 bool m_tagsHasBeenSet = false;
231 bool m_requestIdHasBeenSet = false;
232};
233
234} // namespace Model
235} // namespace mgn
236} // namespace Aws
ArchiveWaveResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
ArchiveWaveResult & WithWaveAggregatedStatus(WaveAggregatedStatusT &&value)
ArchiveWaveResult & WithDescription(DescriptionT &&value)
void SetCreationDateTime(CreationDateTimeT &&value)
const Aws::String & GetWaveID() const
AWS_MGN_API ArchiveWaveResult()=default
const Aws::String & GetDescription() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ArchiveWaveResult & WithTags(TagsT &&value)
AWS_MGN_API ArchiveWaveResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetLastModifiedDateTime() const
void SetRequestId(RequestIdT &&value)
ArchiveWaveResult & WithWaveID(WaveIDT &&value)
const Aws::String & GetCreationDateTime() const
void SetWaveAggregatedStatus(WaveAggregatedStatusT &&value)
const WaveAggregatedStatus & GetWaveAggregatedStatus() const
AWS_MGN_API ArchiveWaveResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ArchiveWaveResult & WithArn(ArnT &&value)
void SetLastModifiedDateTime(LastModifiedDateTimeT &&value)
void SetDescription(DescriptionT &&value)
ArchiveWaveResult & WithIsArchived(bool value)
const Aws::String & GetArn() const
ArchiveWaveResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
ArchiveWaveResult & WithName(NameT &&value)
const Aws::String & GetName() const
ArchiveWaveResult & WithCreationDateTime(CreationDateTimeT &&value)
ArchiveWaveResult & WithLastModifiedDateTime(LastModifiedDateTimeT &&value)
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