AWS SDK for C++

AWS SDK for C++ Version 1.11.760

Loading...
Searching...
No Matches
UpdateKxVolumeResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/finspace/Finspace_EXPORTS.h>
12#include <aws/finspace/model/KxAttachedCluster.h>
13#include <aws/finspace/model/KxAzMode.h>
14#include <aws/finspace/model/KxNAS1Configuration.h>
15#include <aws/finspace/model/KxVolumeStatus.h>
16#include <aws/finspace/model/KxVolumeType.h>
17
18#include <utility>
19
20namespace Aws {
21template <typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils {
25namespace Json {
26class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace finspace {
30namespace Model {
32 public:
33 AWS_FINSPACE_API UpdateKxVolumeResult() = default;
36
38
42 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
43 template <typename EnvironmentIdT = Aws::String>
44 void SetEnvironmentId(EnvironmentIdT&& value) {
45 m_environmentIdHasBeenSet = true;
46 m_environmentId = std::forward<EnvironmentIdT>(value);
47 }
48 template <typename EnvironmentIdT = Aws::String>
49 UpdateKxVolumeResult& WithEnvironmentId(EnvironmentIdT&& value) {
50 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetVolumeName() const { return m_volumeName; }
60 template <typename VolumeNameT = Aws::String>
61 void SetVolumeName(VolumeNameT&& value) {
62 m_volumeNameHasBeenSet = true;
63 m_volumeName = std::forward<VolumeNameT>(value);
64 }
65 template <typename VolumeNameT = Aws::String>
66 UpdateKxVolumeResult& WithVolumeName(VolumeNameT&& value) {
67 SetVolumeName(std::forward<VolumeNameT>(value));
68 return *this;
69 }
71
73
77 inline KxVolumeType GetVolumeType() const { return m_volumeType; }
78 inline void SetVolumeType(KxVolumeType value) {
79 m_volumeTypeHasBeenSet = true;
80 m_volumeType = value;
81 }
83 SetVolumeType(value);
84 return *this;
85 }
87
89
92 inline const Aws::String& GetVolumeArn() const { return m_volumeArn; }
93 template <typename VolumeArnT = Aws::String>
94 void SetVolumeArn(VolumeArnT&& value) {
95 m_volumeArnHasBeenSet = true;
96 m_volumeArn = std::forward<VolumeArnT>(value);
97 }
98 template <typename VolumeArnT = Aws::String>
99 UpdateKxVolumeResult& WithVolumeArn(VolumeArnT&& value) {
100 SetVolumeArn(std::forward<VolumeArnT>(value));
101 return *this;
102 }
104
106
110 inline const KxNAS1Configuration& GetNas1Configuration() const { return m_nas1Configuration; }
111 template <typename Nas1ConfigurationT = KxNAS1Configuration>
112 void SetNas1Configuration(Nas1ConfigurationT&& value) {
113 m_nas1ConfigurationHasBeenSet = true;
114 m_nas1Configuration = std::forward<Nas1ConfigurationT>(value);
115 }
116 template <typename Nas1ConfigurationT = KxNAS1Configuration>
117 UpdateKxVolumeResult& WithNas1Configuration(Nas1ConfigurationT&& value) {
118 SetNas1Configuration(std::forward<Nas1ConfigurationT>(value));
119 return *this;
120 }
122
124
135 inline KxVolumeStatus GetStatus() const { return m_status; }
136 inline void SetStatus(KxVolumeStatus value) {
137 m_statusHasBeenSet = true;
138 m_status = value;
139 }
141 SetStatus(value);
142 return *this;
143 }
145
147
150 inline const Aws::String& GetDescription() const { return m_description; }
151 template <typename DescriptionT = Aws::String>
152 void SetDescription(DescriptionT&& value) {
153 m_descriptionHasBeenSet = true;
154 m_description = std::forward<DescriptionT>(value);
155 }
156 template <typename DescriptionT = Aws::String>
157 UpdateKxVolumeResult& WithDescription(DescriptionT&& value) {
158 SetDescription(std::forward<DescriptionT>(value));
159 return *this;
160 }
162
164
167 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
168 template <typename StatusReasonT = Aws::String>
169 void SetStatusReason(StatusReasonT&& value) {
170 m_statusReasonHasBeenSet = true;
171 m_statusReason = std::forward<StatusReasonT>(value);
172 }
173 template <typename StatusReasonT = Aws::String>
174 UpdateKxVolumeResult& WithStatusReason(StatusReasonT&& value) {
175 SetStatusReason(std::forward<StatusReasonT>(value));
176 return *this;
177 }
179
181
186 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const { return m_createdTimestamp; }
187 template <typename CreatedTimestampT = Aws::Utils::DateTime>
188 void SetCreatedTimestamp(CreatedTimestampT&& value) {
189 m_createdTimestampHasBeenSet = true;
190 m_createdTimestamp = std::forward<CreatedTimestampT>(value);
191 }
192 template <typename CreatedTimestampT = Aws::Utils::DateTime>
193 UpdateKxVolumeResult& WithCreatedTimestamp(CreatedTimestampT&& value) {
194 SetCreatedTimestamp(std::forward<CreatedTimestampT>(value));
195 return *this;
196 }
198
200
205 inline KxAzMode GetAzMode() const { return m_azMode; }
206 inline void SetAzMode(KxAzMode value) {
207 m_azModeHasBeenSet = true;
208 m_azMode = value;
209 }
211 SetAzMode(value);
212 return *this;
213 }
215
217
220 inline const Aws::Vector<Aws::String>& GetAvailabilityZoneIds() const { return m_availabilityZoneIds; }
221 template <typename AvailabilityZoneIdsT = Aws::Vector<Aws::String>>
222 void SetAvailabilityZoneIds(AvailabilityZoneIdsT&& value) {
223 m_availabilityZoneIdsHasBeenSet = true;
224 m_availabilityZoneIds = std::forward<AvailabilityZoneIdsT>(value);
225 }
226 template <typename AvailabilityZoneIdsT = Aws::Vector<Aws::String>>
227 UpdateKxVolumeResult& WithAvailabilityZoneIds(AvailabilityZoneIdsT&& value) {
228 SetAvailabilityZoneIds(std::forward<AvailabilityZoneIdsT>(value));
229 return *this;
230 }
231 template <typename AvailabilityZoneIdsT = Aws::String>
232 UpdateKxVolumeResult& AddAvailabilityZoneIds(AvailabilityZoneIdsT&& value) {
233 m_availabilityZoneIdsHasBeenSet = true;
234 m_availabilityZoneIds.emplace_back(std::forward<AvailabilityZoneIdsT>(value));
235 return *this;
236 }
238
240
245 inline const Aws::Utils::DateTime& GetLastModifiedTimestamp() const { return m_lastModifiedTimestamp; }
246 template <typename LastModifiedTimestampT = Aws::Utils::DateTime>
247 void SetLastModifiedTimestamp(LastModifiedTimestampT&& value) {
248 m_lastModifiedTimestampHasBeenSet = true;
249 m_lastModifiedTimestamp = std::forward<LastModifiedTimestampT>(value);
250 }
251 template <typename LastModifiedTimestampT = Aws::Utils::DateTime>
252 UpdateKxVolumeResult& WithLastModifiedTimestamp(LastModifiedTimestampT&& value) {
253 SetLastModifiedTimestamp(std::forward<LastModifiedTimestampT>(value));
254 return *this;
255 }
257
259
262 inline const Aws::Vector<KxAttachedCluster>& GetAttachedClusters() const { return m_attachedClusters; }
263 template <typename AttachedClustersT = Aws::Vector<KxAttachedCluster>>
264 void SetAttachedClusters(AttachedClustersT&& value) {
265 m_attachedClustersHasBeenSet = true;
266 m_attachedClusters = std::forward<AttachedClustersT>(value);
267 }
268 template <typename AttachedClustersT = Aws::Vector<KxAttachedCluster>>
269 UpdateKxVolumeResult& WithAttachedClusters(AttachedClustersT&& value) {
270 SetAttachedClusters(std::forward<AttachedClustersT>(value));
271 return *this;
272 }
273 template <typename AttachedClustersT = KxAttachedCluster>
274 UpdateKxVolumeResult& AddAttachedClusters(AttachedClustersT&& value) {
275 m_attachedClustersHasBeenSet = true;
276 m_attachedClusters.emplace_back(std::forward<AttachedClustersT>(value));
277 return *this;
278 }
280
282
283 inline const Aws::String& GetRequestId() const { return m_requestId; }
284 template <typename RequestIdT = Aws::String>
285 void SetRequestId(RequestIdT&& value) {
286 m_requestIdHasBeenSet = true;
287 m_requestId = std::forward<RequestIdT>(value);
288 }
289 template <typename RequestIdT = Aws::String>
290 UpdateKxVolumeResult& WithRequestId(RequestIdT&& value) {
291 SetRequestId(std::forward<RequestIdT>(value));
292 return *this;
293 }
295 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
296
297 private:
298 Aws::String m_environmentId;
299
300 Aws::String m_volumeName;
301
303
304 Aws::String m_volumeArn;
305
306 KxNAS1Configuration m_nas1Configuration;
307
309
310 Aws::String m_description;
311
312 Aws::String m_statusReason;
313
314 Aws::Utils::DateTime m_createdTimestamp{};
315
316 KxAzMode m_azMode{KxAzMode::NOT_SET};
317
318 Aws::Vector<Aws::String> m_availabilityZoneIds;
319
320 Aws::Utils::DateTime m_lastModifiedTimestamp{};
321
322 Aws::Vector<KxAttachedCluster> m_attachedClusters;
323
324 Aws::String m_requestId;
325 Aws::Http::HttpResponseCode m_HttpResponseCode;
326 bool m_environmentIdHasBeenSet = false;
327 bool m_volumeNameHasBeenSet = false;
328 bool m_volumeTypeHasBeenSet = false;
329 bool m_volumeArnHasBeenSet = false;
330 bool m_nas1ConfigurationHasBeenSet = false;
331 bool m_statusHasBeenSet = false;
332 bool m_descriptionHasBeenSet = false;
333 bool m_statusReasonHasBeenSet = false;
334 bool m_createdTimestampHasBeenSet = false;
335 bool m_azModeHasBeenSet = false;
336 bool m_availabilityZoneIdsHasBeenSet = false;
337 bool m_lastModifiedTimestampHasBeenSet = false;
338 bool m_attachedClustersHasBeenSet = false;
339 bool m_requestIdHasBeenSet = false;
340};
341
342} // namespace Model
343} // namespace finspace
344} // namespace Aws
UpdateKxVolumeResult & WithStatusReason(StatusReasonT &&value)
void SetCreatedTimestamp(CreatedTimestampT &&value)
UpdateKxVolumeResult & WithVolumeName(VolumeNameT &&value)
void SetAttachedClusters(AttachedClustersT &&value)
const Aws::Vector< Aws::String > & GetAvailabilityZoneIds() const
const Aws::Utils::DateTime & GetCreatedTimestamp() const
void SetAvailabilityZoneIds(AvailabilityZoneIdsT &&value)
const Aws::Vector< KxAttachedCluster > & GetAttachedClusters() const
const Aws::Utils::DateTime & GetLastModifiedTimestamp() const
void SetLastModifiedTimestamp(LastModifiedTimestampT &&value)
AWS_FINSPACE_API UpdateKxVolumeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateKxVolumeResult & WithStatus(KxVolumeStatus value)
const KxNAS1Configuration & GetNas1Configuration() const
UpdateKxVolumeResult & AddAvailabilityZoneIds(AvailabilityZoneIdsT &&value)
UpdateKxVolumeResult & WithCreatedTimestamp(CreatedTimestampT &&value)
UpdateKxVolumeResult & WithNas1Configuration(Nas1ConfigurationT &&value)
void SetNas1Configuration(Nas1ConfigurationT &&value)
UpdateKxVolumeResult & WithVolumeType(KxVolumeType value)
UpdateKxVolumeResult & WithAzMode(KxAzMode value)
UpdateKxVolumeResult & AddAttachedClusters(AttachedClustersT &&value)
AWS_FINSPACE_API UpdateKxVolumeResult()=default
UpdateKxVolumeResult & WithAvailabilityZoneIds(AvailabilityZoneIdsT &&value)
UpdateKxVolumeResult & WithLastModifiedTimestamp(LastModifiedTimestampT &&value)
UpdateKxVolumeResult & WithEnvironmentId(EnvironmentIdT &&value)
UpdateKxVolumeResult & WithAttachedClusters(AttachedClustersT &&value)
UpdateKxVolumeResult & WithRequestId(RequestIdT &&value)
AWS_FINSPACE_API UpdateKxVolumeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateKxVolumeResult & WithDescription(DescriptionT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
UpdateKxVolumeResult & WithVolumeArn(VolumeArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue