AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
CreateWaveResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mgn/Mgn_EXPORTS.h>
11#include <aws/mgn/model/WaveAggregatedStatus.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace mgn {
25namespace Model {
27 public:
28 AWS_MGN_API CreateWaveResult() = default;
31
33
36 inline const Aws::String& GetWaveID() const { return m_waveID; }
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 CreateWaveResult& 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 template <typename ArnT = Aws::String>
55 void SetArn(ArnT&& value) {
56 m_arnHasBeenSet = true;
57 m_arn = std::forward<ArnT>(value);
58 }
59 template <typename ArnT = Aws::String>
60 CreateWaveResult& WithArn(ArnT&& value) {
61 SetArn(std::forward<ArnT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetName() const { return m_name; }
71 template <typename NameT = Aws::String>
72 void SetName(NameT&& value) {
73 m_nameHasBeenSet = true;
74 m_name = std::forward<NameT>(value);
75 }
76 template <typename NameT = Aws::String>
77 CreateWaveResult& WithName(NameT&& value) {
78 SetName(std::forward<NameT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::String& GetDescription() const { return m_description; }
88 template <typename DescriptionT = Aws::String>
89 void SetDescription(DescriptionT&& value) {
90 m_descriptionHasBeenSet = true;
91 m_description = std::forward<DescriptionT>(value);
92 }
93 template <typename DescriptionT = Aws::String>
94 CreateWaveResult& WithDescription(DescriptionT&& value) {
95 SetDescription(std::forward<DescriptionT>(value));
96 return *this;
97 }
99
101
104 inline bool GetIsArchived() const { return m_isArchived; }
105 inline void SetIsArchived(bool value) {
106 m_isArchivedHasBeenSet = true;
107 m_isArchived = value;
108 }
109 inline CreateWaveResult& WithIsArchived(bool value) {
110 SetIsArchived(value);
111 return *this;
112 }
114
116
119 inline const WaveAggregatedStatus& GetWaveAggregatedStatus() const { return m_waveAggregatedStatus; }
120 template <typename WaveAggregatedStatusT = WaveAggregatedStatus>
121 void SetWaveAggregatedStatus(WaveAggregatedStatusT&& value) {
122 m_waveAggregatedStatusHasBeenSet = true;
123 m_waveAggregatedStatus = std::forward<WaveAggregatedStatusT>(value);
124 }
125 template <typename WaveAggregatedStatusT = WaveAggregatedStatus>
126 CreateWaveResult& WithWaveAggregatedStatus(WaveAggregatedStatusT&& value) {
127 SetWaveAggregatedStatus(std::forward<WaveAggregatedStatusT>(value));
128 return *this;
129 }
131
133
136 inline const Aws::String& GetCreationDateTime() const { return m_creationDateTime; }
137 template <typename CreationDateTimeT = Aws::String>
138 void SetCreationDateTime(CreationDateTimeT&& value) {
139 m_creationDateTimeHasBeenSet = true;
140 m_creationDateTime = std::forward<CreationDateTimeT>(value);
141 }
142 template <typename CreationDateTimeT = Aws::String>
143 CreateWaveResult& WithCreationDateTime(CreationDateTimeT&& value) {
144 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
145 return *this;
146 }
148
150
153 inline const Aws::String& GetLastModifiedDateTime() const { return m_lastModifiedDateTime; }
154 template <typename LastModifiedDateTimeT = Aws::String>
155 void SetLastModifiedDateTime(LastModifiedDateTimeT&& value) {
156 m_lastModifiedDateTimeHasBeenSet = true;
157 m_lastModifiedDateTime = std::forward<LastModifiedDateTimeT>(value);
158 }
159 template <typename LastModifiedDateTimeT = Aws::String>
160 CreateWaveResult& WithLastModifiedDateTime(LastModifiedDateTimeT&& value) {
161 SetLastModifiedDateTime(std::forward<LastModifiedDateTimeT>(value));
162 return *this;
163 }
165
167
170 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
171 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
172 void SetTags(TagsT&& value) {
173 m_tagsHasBeenSet = true;
174 m_tags = std::forward<TagsT>(value);
175 }
176 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
177 CreateWaveResult& WithTags(TagsT&& value) {
178 SetTags(std::forward<TagsT>(value));
179 return *this;
180 }
181 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
182 CreateWaveResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
183 m_tagsHasBeenSet = true;
184 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
185 return *this;
186 }
188
190
191 inline const Aws::String& GetRequestId() const { return m_requestId; }
192 template <typename RequestIdT = Aws::String>
193 void SetRequestId(RequestIdT&& value) {
194 m_requestIdHasBeenSet = true;
195 m_requestId = std::forward<RequestIdT>(value);
196 }
197 template <typename RequestIdT = Aws::String>
198 CreateWaveResult& WithRequestId(RequestIdT&& value) {
199 SetRequestId(std::forward<RequestIdT>(value));
200 return *this;
201 }
203 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
204
205 private:
206 Aws::String m_waveID;
207
208 Aws::String m_arn;
209
210 Aws::String m_name;
211
212 Aws::String m_description;
213
214 bool m_isArchived{false};
215
216 WaveAggregatedStatus m_waveAggregatedStatus;
217
218 Aws::String m_creationDateTime;
219
220 Aws::String m_lastModifiedDateTime;
221
223
224 Aws::String m_requestId;
225 Aws::Http::HttpResponseCode m_HttpResponseCode;
226 bool m_waveIDHasBeenSet = false;
227 bool m_arnHasBeenSet = false;
228 bool m_nameHasBeenSet = false;
229 bool m_descriptionHasBeenSet = false;
230 bool m_isArchivedHasBeenSet = false;
231 bool m_waveAggregatedStatusHasBeenSet = false;
232 bool m_creationDateTimeHasBeenSet = false;
233 bool m_lastModifiedDateTimeHasBeenSet = false;
234 bool m_tagsHasBeenSet = false;
235 bool m_requestIdHasBeenSet = false;
236};
237
238} // namespace Model
239} // namespace mgn
240} // namespace Aws
AWS_MGN_API CreateWaveResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
const Aws::String & GetWaveID() const
const Aws::String & GetDescription() const
CreateWaveResult & WithWaveAggregatedStatus(WaveAggregatedStatusT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateWaveResult & WithName(NameT &&value)
void SetRequestId(RequestIdT &&value)
CreateWaveResult & WithTags(TagsT &&value)
AWS_MGN_API CreateWaveResult()=default
CreateWaveResult & WithDescription(DescriptionT &&value)
const WaveAggregatedStatus & GetWaveAggregatedStatus() const
CreateWaveResult & WithArn(ArnT &&value)
CreateWaveResult & WithCreationDateTime(CreationDateTimeT &&value)
CreateWaveResult & WithRequestId(RequestIdT &&value)
CreateWaveResult & WithIsArchived(bool value)
void SetDescription(DescriptionT &&value)
CreateWaveResult & WithLastModifiedDateTime(LastModifiedDateTimeT &&value)
const Aws::String & GetLastModifiedDateTime() const
void SetCreationDateTime(CreationDateTimeT &&value)
const Aws::String & GetName() const
void SetLastModifiedDateTime(LastModifiedDateTimeT &&value)
const Aws::String & GetCreationDateTime() const
CreateWaveResult & WithWaveID(WaveIDT &&value)
void SetWaveAggregatedStatus(WaveAggregatedStatusT &&value)
const Aws::String & GetArn() const
AWS_MGN_API CreateWaveResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CreateWaveResult & AddTags(TagsKeyT &&key, TagsValueT &&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