AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
UpdateKxVolumeResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/finspace/Finspace_EXPORTS.h>
11#include <aws/finspace/model/KxAttachedCluster.h>
12#include <aws/finspace/model/KxAzMode.h>
13#include <aws/finspace/model/KxNAS1Configuration.h>
14#include <aws/finspace/model/KxVolumeStatus.h>
15#include <aws/finspace/model/KxVolumeType.h>
16
17#include <utility>
18
19namespace Aws {
20template <typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils {
24namespace Json {
25class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace finspace {
29namespace Model {
31 public:
32 AWS_FINSPACE_API UpdateKxVolumeResult() = default;
35
37
41 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
42 template <typename EnvironmentIdT = Aws::String>
43 void SetEnvironmentId(EnvironmentIdT&& value) {
44 m_environmentIdHasBeenSet = true;
45 m_environmentId = std::forward<EnvironmentIdT>(value);
46 }
47 template <typename EnvironmentIdT = Aws::String>
48 UpdateKxVolumeResult& WithEnvironmentId(EnvironmentIdT&& value) {
49 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetVolumeName() const { return m_volumeName; }
59 template <typename VolumeNameT = Aws::String>
60 void SetVolumeName(VolumeNameT&& value) {
61 m_volumeNameHasBeenSet = true;
62 m_volumeName = std::forward<VolumeNameT>(value);
63 }
64 template <typename VolumeNameT = Aws::String>
65 UpdateKxVolumeResult& WithVolumeName(VolumeNameT&& value) {
66 SetVolumeName(std::forward<VolumeNameT>(value));
67 return *this;
68 }
70
72
76 inline KxVolumeType GetVolumeType() const { return m_volumeType; }
77 inline void SetVolumeType(KxVolumeType value) {
78 m_volumeTypeHasBeenSet = true;
79 m_volumeType = value;
80 }
82 SetVolumeType(value);
83 return *this;
84 }
86
88
91 inline const Aws::String& GetVolumeArn() const { return m_volumeArn; }
92 template <typename VolumeArnT = Aws::String>
93 void SetVolumeArn(VolumeArnT&& value) {
94 m_volumeArnHasBeenSet = true;
95 m_volumeArn = std::forward<VolumeArnT>(value);
96 }
97 template <typename VolumeArnT = Aws::String>
98 UpdateKxVolumeResult& WithVolumeArn(VolumeArnT&& value) {
99 SetVolumeArn(std::forward<VolumeArnT>(value));
100 return *this;
101 }
103
105
109 inline const KxNAS1Configuration& GetNas1Configuration() const { return m_nas1Configuration; }
110 template <typename Nas1ConfigurationT = KxNAS1Configuration>
111 void SetNas1Configuration(Nas1ConfigurationT&& value) {
112 m_nas1ConfigurationHasBeenSet = true;
113 m_nas1Configuration = std::forward<Nas1ConfigurationT>(value);
114 }
115 template <typename Nas1ConfigurationT = KxNAS1Configuration>
116 UpdateKxVolumeResult& WithNas1Configuration(Nas1ConfigurationT&& value) {
117 SetNas1Configuration(std::forward<Nas1ConfigurationT>(value));
118 return *this;
119 }
121
123
134 inline KxVolumeStatus GetStatus() const { return m_status; }
135 inline void SetStatus(KxVolumeStatus value) {
136 m_statusHasBeenSet = true;
137 m_status = value;
138 }
140 SetStatus(value);
141 return *this;
142 }
144
146
149 inline const Aws::String& GetDescription() const { return m_description; }
150 template <typename DescriptionT = Aws::String>
151 void SetDescription(DescriptionT&& value) {
152 m_descriptionHasBeenSet = true;
153 m_description = std::forward<DescriptionT>(value);
154 }
155 template <typename DescriptionT = Aws::String>
156 UpdateKxVolumeResult& WithDescription(DescriptionT&& value) {
157 SetDescription(std::forward<DescriptionT>(value));
158 return *this;
159 }
161
163
166 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
167 template <typename StatusReasonT = Aws::String>
168 void SetStatusReason(StatusReasonT&& value) {
169 m_statusReasonHasBeenSet = true;
170 m_statusReason = std::forward<StatusReasonT>(value);
171 }
172 template <typename StatusReasonT = Aws::String>
173 UpdateKxVolumeResult& WithStatusReason(StatusReasonT&& value) {
174 SetStatusReason(std::forward<StatusReasonT>(value));
175 return *this;
176 }
178
180
185 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const { return m_createdTimestamp; }
186 template <typename CreatedTimestampT = Aws::Utils::DateTime>
187 void SetCreatedTimestamp(CreatedTimestampT&& value) {
188 m_createdTimestampHasBeenSet = true;
189 m_createdTimestamp = std::forward<CreatedTimestampT>(value);
190 }
191 template <typename CreatedTimestampT = Aws::Utils::DateTime>
192 UpdateKxVolumeResult& WithCreatedTimestamp(CreatedTimestampT&& value) {
193 SetCreatedTimestamp(std::forward<CreatedTimestampT>(value));
194 return *this;
195 }
197
199
204 inline KxAzMode GetAzMode() const { return m_azMode; }
205 inline void SetAzMode(KxAzMode value) {
206 m_azModeHasBeenSet = true;
207 m_azMode = value;
208 }
210 SetAzMode(value);
211 return *this;
212 }
214
216
219 inline const Aws::Vector<Aws::String>& GetAvailabilityZoneIds() const { return m_availabilityZoneIds; }
220 template <typename AvailabilityZoneIdsT = Aws::Vector<Aws::String>>
221 void SetAvailabilityZoneIds(AvailabilityZoneIdsT&& value) {
222 m_availabilityZoneIdsHasBeenSet = true;
223 m_availabilityZoneIds = std::forward<AvailabilityZoneIdsT>(value);
224 }
225 template <typename AvailabilityZoneIdsT = Aws::Vector<Aws::String>>
226 UpdateKxVolumeResult& WithAvailabilityZoneIds(AvailabilityZoneIdsT&& value) {
227 SetAvailabilityZoneIds(std::forward<AvailabilityZoneIdsT>(value));
228 return *this;
229 }
230 template <typename AvailabilityZoneIdsT = Aws::String>
231 UpdateKxVolumeResult& AddAvailabilityZoneIds(AvailabilityZoneIdsT&& value) {
232 m_availabilityZoneIdsHasBeenSet = true;
233 m_availabilityZoneIds.emplace_back(std::forward<AvailabilityZoneIdsT>(value));
234 return *this;
235 }
237
239
244 inline const Aws::Utils::DateTime& GetLastModifiedTimestamp() const { return m_lastModifiedTimestamp; }
245 template <typename LastModifiedTimestampT = Aws::Utils::DateTime>
246 void SetLastModifiedTimestamp(LastModifiedTimestampT&& value) {
247 m_lastModifiedTimestampHasBeenSet = true;
248 m_lastModifiedTimestamp = std::forward<LastModifiedTimestampT>(value);
249 }
250 template <typename LastModifiedTimestampT = Aws::Utils::DateTime>
251 UpdateKxVolumeResult& WithLastModifiedTimestamp(LastModifiedTimestampT&& value) {
252 SetLastModifiedTimestamp(std::forward<LastModifiedTimestampT>(value));
253 return *this;
254 }
256
258
261 inline const Aws::Vector<KxAttachedCluster>& GetAttachedClusters() const { return m_attachedClusters; }
262 template <typename AttachedClustersT = Aws::Vector<KxAttachedCluster>>
263 void SetAttachedClusters(AttachedClustersT&& value) {
264 m_attachedClustersHasBeenSet = true;
265 m_attachedClusters = std::forward<AttachedClustersT>(value);
266 }
267 template <typename AttachedClustersT = Aws::Vector<KxAttachedCluster>>
268 UpdateKxVolumeResult& WithAttachedClusters(AttachedClustersT&& value) {
269 SetAttachedClusters(std::forward<AttachedClustersT>(value));
270 return *this;
271 }
272 template <typename AttachedClustersT = KxAttachedCluster>
273 UpdateKxVolumeResult& AddAttachedClusters(AttachedClustersT&& value) {
274 m_attachedClustersHasBeenSet = true;
275 m_attachedClusters.emplace_back(std::forward<AttachedClustersT>(value));
276 return *this;
277 }
279
281
282 inline const Aws::String& GetRequestId() const { return m_requestId; }
283 template <typename RequestIdT = Aws::String>
284 void SetRequestId(RequestIdT&& value) {
285 m_requestIdHasBeenSet = true;
286 m_requestId = std::forward<RequestIdT>(value);
287 }
288 template <typename RequestIdT = Aws::String>
289 UpdateKxVolumeResult& WithRequestId(RequestIdT&& value) {
290 SetRequestId(std::forward<RequestIdT>(value));
291 return *this;
292 }
294 private:
295 Aws::String m_environmentId;
296 bool m_environmentIdHasBeenSet = false;
297
298 Aws::String m_volumeName;
299 bool m_volumeNameHasBeenSet = false;
300
302 bool m_volumeTypeHasBeenSet = false;
303
304 Aws::String m_volumeArn;
305 bool m_volumeArnHasBeenSet = false;
306
307 KxNAS1Configuration m_nas1Configuration;
308 bool m_nas1ConfigurationHasBeenSet = false;
309
311 bool m_statusHasBeenSet = false;
312
313 Aws::String m_description;
314 bool m_descriptionHasBeenSet = false;
315
316 Aws::String m_statusReason;
317 bool m_statusReasonHasBeenSet = false;
318
319 Aws::Utils::DateTime m_createdTimestamp{};
320 bool m_createdTimestampHasBeenSet = false;
321
322 KxAzMode m_azMode{KxAzMode::NOT_SET};
323 bool m_azModeHasBeenSet = false;
324
325 Aws::Vector<Aws::String> m_availabilityZoneIds;
326 bool m_availabilityZoneIdsHasBeenSet = false;
327
328 Aws::Utils::DateTime m_lastModifiedTimestamp{};
329 bool m_lastModifiedTimestampHasBeenSet = false;
330
331 Aws::Vector<KxAttachedCluster> m_attachedClusters;
332 bool m_attachedClustersHasBeenSet = false;
333
334 Aws::String m_requestId;
335 bool m_requestIdHasBeenSet = false;
336};
337
338} // namespace Model
339} // namespace finspace
340} // 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)
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