AWS SDK for C++

AWS SDK for C++ Version 1.11.874

Loading...
Searching...
No Matches
ExascaleDbStorageVault.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/odb/Odb_EXPORTS.h>
11#include <aws/odb/model/ExascaleDbStorageDetails.h>
12#include <aws/odb/model/ResourceStatus.h>
13#include <aws/odb/model/ShapeAttribute.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace odb {
25namespace Model {
26
33 public:
34 AWS_ODB_API ExascaleDbStorageVault() = default;
38
40
43 inline const Aws::String& GetExascaleDbStorageVaultId() const { return m_exascaleDbStorageVaultId; }
44 inline bool ExascaleDbStorageVaultIdHasBeenSet() const { return m_exascaleDbStorageVaultIdHasBeenSet; }
45 template <typename ExascaleDbStorageVaultIdT = Aws::String>
46 void SetExascaleDbStorageVaultId(ExascaleDbStorageVaultIdT&& value) {
47 m_exascaleDbStorageVaultIdHasBeenSet = true;
48 m_exascaleDbStorageVaultId = std::forward<ExascaleDbStorageVaultIdT>(value);
49 }
50 template <typename ExascaleDbStorageVaultIdT = Aws::String>
51 ExascaleDbStorageVault& WithExascaleDbStorageVaultId(ExascaleDbStorageVaultIdT&& value) {
52 SetExascaleDbStorageVaultId(std::forward<ExascaleDbStorageVaultIdT>(value));
53 return *this;
54 }
56
58
61 inline int GetAdditionalFlashCacheInPercent() const { return m_additionalFlashCacheInPercent; }
62 inline bool AdditionalFlashCacheInPercentHasBeenSet() const { return m_additionalFlashCacheInPercentHasBeenSet; }
63 inline void SetAdditionalFlashCacheInPercent(int value) {
64 m_additionalFlashCacheInPercentHasBeenSet = true;
65 m_additionalFlashCacheInPercent = value;
66 }
69 return *this;
70 }
72
74
77 inline const Aws::Vector<ShapeAttribute>& GetAttachedShapeAttributes() const { return m_attachedShapeAttributes; }
78 inline bool AttachedShapeAttributesHasBeenSet() const { return m_attachedShapeAttributesHasBeenSet; }
79 template <typename AttachedShapeAttributesT = Aws::Vector<ShapeAttribute>>
80 void SetAttachedShapeAttributes(AttachedShapeAttributesT&& value) {
81 m_attachedShapeAttributesHasBeenSet = true;
82 m_attachedShapeAttributes = std::forward<AttachedShapeAttributesT>(value);
83 }
84 template <typename AttachedShapeAttributesT = Aws::Vector<ShapeAttribute>>
85 ExascaleDbStorageVault& WithAttachedShapeAttributes(AttachedShapeAttributesT&& value) {
86 SetAttachedShapeAttributes(std::forward<AttachedShapeAttributesT>(value));
87 return *this;
88 }
90 m_attachedShapeAttributesHasBeenSet = true;
91 m_attachedShapeAttributes.push_back(value);
92 return *this;
93 }
95
97
100 inline int GetAutoscaleLimitInGBs() const { return m_autoscaleLimitInGBs; }
101 inline bool AutoscaleLimitInGBsHasBeenSet() const { return m_autoscaleLimitInGBsHasBeenSet; }
102 inline void SetAutoscaleLimitInGBs(int value) {
103 m_autoscaleLimitInGBsHasBeenSet = true;
104 m_autoscaleLimitInGBs = value;
105 }
108 return *this;
109 }
111
113
116 inline const Aws::String& GetAvailabilityZone() const { return m_availabilityZone; }
117 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
118 template <typename AvailabilityZoneT = Aws::String>
119 void SetAvailabilityZone(AvailabilityZoneT&& value) {
120 m_availabilityZoneHasBeenSet = true;
121 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
122 }
123 template <typename AvailabilityZoneT = Aws::String>
124 ExascaleDbStorageVault& WithAvailabilityZone(AvailabilityZoneT&& value) {
125 SetAvailabilityZone(std::forward<AvailabilityZoneT>(value));
126 return *this;
127 }
129
131
134 inline const Aws::String& GetAvailabilityZoneId() const { return m_availabilityZoneId; }
135 inline bool AvailabilityZoneIdHasBeenSet() const { return m_availabilityZoneIdHasBeenSet; }
136 template <typename AvailabilityZoneIdT = Aws::String>
137 void SetAvailabilityZoneId(AvailabilityZoneIdT&& value) {
138 m_availabilityZoneIdHasBeenSet = true;
139 m_availabilityZoneId = std::forward<AvailabilityZoneIdT>(value);
140 }
141 template <typename AvailabilityZoneIdT = Aws::String>
142 ExascaleDbStorageVault& WithAvailabilityZoneId(AvailabilityZoneIdT&& value) {
143 SetAvailabilityZoneId(std::forward<AvailabilityZoneIdT>(value));
144 return *this;
145 }
147
149
152 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
153 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
154 template <typename CreatedAtT = Aws::Utils::DateTime>
155 void SetCreatedAt(CreatedAtT&& value) {
156 m_createdAtHasBeenSet = true;
157 m_createdAt = std::forward<CreatedAtT>(value);
158 }
159 template <typename CreatedAtT = Aws::Utils::DateTime>
161 SetCreatedAt(std::forward<CreatedAtT>(value));
162 return *this;
163 }
165
167
170 inline const Aws::String& GetDescription() const { return m_description; }
171 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
172 template <typename DescriptionT = Aws::String>
173 void SetDescription(DescriptionT&& value) {
174 m_descriptionHasBeenSet = true;
175 m_description = std::forward<DescriptionT>(value);
176 }
177 template <typename DescriptionT = Aws::String>
179 SetDescription(std::forward<DescriptionT>(value));
180 return *this;
181 }
183
185
188 inline const Aws::String& GetDisplayName() const { return m_displayName; }
189 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
190 template <typename DisplayNameT = Aws::String>
191 void SetDisplayName(DisplayNameT&& value) {
192 m_displayNameHasBeenSet = true;
193 m_displayName = std::forward<DisplayNameT>(value);
194 }
195 template <typename DisplayNameT = Aws::String>
197 SetDisplayName(std::forward<DisplayNameT>(value));
198 return *this;
199 }
201
203
207 inline const Aws::Vector<Aws::String>& GetVmClusterArns() const { return m_vmClusterArns; }
208 inline bool VmClusterArnsHasBeenSet() const { return m_vmClusterArnsHasBeenSet; }
209 template <typename VmClusterArnsT = Aws::Vector<Aws::String>>
210 void SetVmClusterArns(VmClusterArnsT&& value) {
211 m_vmClusterArnsHasBeenSet = true;
212 m_vmClusterArns = std::forward<VmClusterArnsT>(value);
213 }
214 template <typename VmClusterArnsT = Aws::Vector<Aws::String>>
215 ExascaleDbStorageVault& WithVmClusterArns(VmClusterArnsT&& value) {
216 SetVmClusterArns(std::forward<VmClusterArnsT>(value));
217 return *this;
218 }
219 template <typename VmClusterArnsT = Aws::String>
220 ExascaleDbStorageVault& AddVmClusterArns(VmClusterArnsT&& value) {
221 m_vmClusterArnsHasBeenSet = true;
222 m_vmClusterArns.emplace_back(std::forward<VmClusterArnsT>(value));
223 return *this;
224 }
226
228
231 inline int GetVmClusterCount() const { return m_vmClusterCount; }
232 inline bool VmClusterCountHasBeenSet() const { return m_vmClusterCountHasBeenSet; }
233 inline void SetVmClusterCount(int value) {
234 m_vmClusterCountHasBeenSet = true;
235 m_vmClusterCount = value;
236 }
238 SetVmClusterCount(value);
239 return *this;
240 }
242
244
248 inline const Aws::Vector<Aws::String>& GetVmClusterIds() const { return m_vmClusterIds; }
249 inline bool VmClusterIdsHasBeenSet() const { return m_vmClusterIdsHasBeenSet; }
250 template <typename VmClusterIdsT = Aws::Vector<Aws::String>>
251 void SetVmClusterIds(VmClusterIdsT&& value) {
252 m_vmClusterIdsHasBeenSet = true;
253 m_vmClusterIds = std::forward<VmClusterIdsT>(value);
254 }
255 template <typename VmClusterIdsT = Aws::Vector<Aws::String>>
256 ExascaleDbStorageVault& WithVmClusterIds(VmClusterIdsT&& value) {
257 SetVmClusterIds(std::forward<VmClusterIdsT>(value));
258 return *this;
259 }
260 template <typename VmClusterIdsT = Aws::String>
261 ExascaleDbStorageVault& AddVmClusterIds(VmClusterIdsT&& value) {
262 m_vmClusterIdsHasBeenSet = true;
263 m_vmClusterIds.emplace_back(std::forward<VmClusterIdsT>(value));
264 return *this;
265 }
267
269
272 inline const Aws::String& GetExascaleDbStorageVaultArn() const { return m_exascaleDbStorageVaultArn; }
273 inline bool ExascaleDbStorageVaultArnHasBeenSet() const { return m_exascaleDbStorageVaultArnHasBeenSet; }
274 template <typename ExascaleDbStorageVaultArnT = Aws::String>
275 void SetExascaleDbStorageVaultArn(ExascaleDbStorageVaultArnT&& value) {
276 m_exascaleDbStorageVaultArnHasBeenSet = true;
277 m_exascaleDbStorageVaultArn = std::forward<ExascaleDbStorageVaultArnT>(value);
278 }
279 template <typename ExascaleDbStorageVaultArnT = Aws::String>
280 ExascaleDbStorageVault& WithExascaleDbStorageVaultArn(ExascaleDbStorageVaultArnT&& value) {
281 SetExascaleDbStorageVaultArn(std::forward<ExascaleDbStorageVaultArnT>(value));
282 return *this;
283 }
285
287
291 inline const ExascaleDbStorageDetails& GetHighCapacityDatabaseStorage() const { return m_highCapacityDatabaseStorage; }
292 inline bool HighCapacityDatabaseStorageHasBeenSet() const { return m_highCapacityDatabaseStorageHasBeenSet; }
293 template <typename HighCapacityDatabaseStorageT = ExascaleDbStorageDetails>
294 void SetHighCapacityDatabaseStorage(HighCapacityDatabaseStorageT&& value) {
295 m_highCapacityDatabaseStorageHasBeenSet = true;
296 m_highCapacityDatabaseStorage = std::forward<HighCapacityDatabaseStorageT>(value);
297 }
298 template <typename HighCapacityDatabaseStorageT = ExascaleDbStorageDetails>
299 ExascaleDbStorageVault& WithHighCapacityDatabaseStorage(HighCapacityDatabaseStorageT&& value) {
300 SetHighCapacityDatabaseStorage(std::forward<HighCapacityDatabaseStorageT>(value));
301 return *this;
302 }
304
306
309 inline bool GetIsAutoscaleEnabled() const { return m_isAutoscaleEnabled; }
310 inline bool IsAutoscaleEnabledHasBeenSet() const { return m_isAutoscaleEnabledHasBeenSet; }
311 inline void SetIsAutoscaleEnabled(bool value) {
312 m_isAutoscaleEnabledHasBeenSet = true;
313 m_isAutoscaleEnabled = value;
314 }
317 return *this;
318 }
320
322
325 inline const Aws::String& GetOcid() const { return m_ocid; }
326 inline bool OcidHasBeenSet() const { return m_ocidHasBeenSet; }
327 template <typename OcidT = Aws::String>
328 void SetOcid(OcidT&& value) {
329 m_ocidHasBeenSet = true;
330 m_ocid = std::forward<OcidT>(value);
331 }
332 template <typename OcidT = Aws::String>
334 SetOcid(std::forward<OcidT>(value));
335 return *this;
336 }
338
340
343 inline const Aws::String& GetOciResourceAnchorName() const { return m_ociResourceAnchorName; }
344 inline bool OciResourceAnchorNameHasBeenSet() const { return m_ociResourceAnchorNameHasBeenSet; }
345 template <typename OciResourceAnchorNameT = Aws::String>
346 void SetOciResourceAnchorName(OciResourceAnchorNameT&& value) {
347 m_ociResourceAnchorNameHasBeenSet = true;
348 m_ociResourceAnchorName = std::forward<OciResourceAnchorNameT>(value);
349 }
350 template <typename OciResourceAnchorNameT = Aws::String>
351 ExascaleDbStorageVault& WithOciResourceAnchorName(OciResourceAnchorNameT&& value) {
352 SetOciResourceAnchorName(std::forward<OciResourceAnchorNameT>(value));
353 return *this;
354 }
356
358
362 inline const Aws::String& GetOciUrl() const { return m_ociUrl; }
363 inline bool OciUrlHasBeenSet() const { return m_ociUrlHasBeenSet; }
364 template <typename OciUrlT = Aws::String>
365 void SetOciUrl(OciUrlT&& value) {
366 m_ociUrlHasBeenSet = true;
367 m_ociUrl = std::forward<OciUrlT>(value);
368 }
369 template <typename OciUrlT = Aws::String>
371 SetOciUrl(std::forward<OciUrlT>(value));
372 return *this;
373 }
375
377
381 inline double GetPercentProgress() const { return m_percentProgress; }
382 inline bool PercentProgressHasBeenSet() const { return m_percentProgressHasBeenSet; }
383 inline void SetPercentProgress(double value) {
384 m_percentProgressHasBeenSet = true;
385 m_percentProgress = value;
386 }
388 SetPercentProgress(value);
389 return *this;
390 }
392
394
397 inline ResourceStatus GetStatus() const { return m_status; }
398 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
399 inline void SetStatus(ResourceStatus value) {
400 m_statusHasBeenSet = true;
401 m_status = value;
402 }
404 SetStatus(value);
405 return *this;
406 }
408
410
413 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
414 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
415 template <typename StatusReasonT = Aws::String>
416 void SetStatusReason(StatusReasonT&& value) {
417 m_statusReasonHasBeenSet = true;
418 m_statusReason = std::forward<StatusReasonT>(value);
419 }
420 template <typename StatusReasonT = Aws::String>
421 ExascaleDbStorageVault& WithStatusReason(StatusReasonT&& value) {
422 SetStatusReason(std::forward<StatusReasonT>(value));
423 return *this;
424 }
426
428
431 inline const Aws::String& GetTimeZone() const { return m_timeZone; }
432 inline bool TimeZoneHasBeenSet() const { return m_timeZoneHasBeenSet; }
433 template <typename TimeZoneT = Aws::String>
434 void SetTimeZone(TimeZoneT&& value) {
435 m_timeZoneHasBeenSet = true;
436 m_timeZone = std::forward<TimeZoneT>(value);
437 }
438 template <typename TimeZoneT = Aws::String>
440 SetTimeZone(std::forward<TimeZoneT>(value));
441 return *this;
442 }
444 private:
445 Aws::String m_exascaleDbStorageVaultId;
446
447 int m_additionalFlashCacheInPercent{0};
448
449 Aws::Vector<ShapeAttribute> m_attachedShapeAttributes;
450
451 int m_autoscaleLimitInGBs{0};
452
453 Aws::String m_availabilityZone;
454
455 Aws::String m_availabilityZoneId;
456
457 Aws::Utils::DateTime m_createdAt{};
458
459 Aws::String m_description;
460
461 Aws::String m_displayName;
462
463 Aws::Vector<Aws::String> m_vmClusterArns;
464
465 int m_vmClusterCount{0};
466
467 Aws::Vector<Aws::String> m_vmClusterIds;
468
469 Aws::String m_exascaleDbStorageVaultArn;
470
471 ExascaleDbStorageDetails m_highCapacityDatabaseStorage;
472
473 bool m_isAutoscaleEnabled{false};
474
475 Aws::String m_ocid;
476
477 Aws::String m_ociResourceAnchorName;
478
479 Aws::String m_ociUrl;
480
481 double m_percentProgress{0.0};
482
484
485 Aws::String m_statusReason;
486
487 Aws::String m_timeZone;
488 bool m_exascaleDbStorageVaultIdHasBeenSet = false;
489 bool m_additionalFlashCacheInPercentHasBeenSet = false;
490 bool m_attachedShapeAttributesHasBeenSet = false;
491 bool m_autoscaleLimitInGBsHasBeenSet = false;
492 bool m_availabilityZoneHasBeenSet = false;
493 bool m_availabilityZoneIdHasBeenSet = false;
494 bool m_createdAtHasBeenSet = false;
495 bool m_descriptionHasBeenSet = false;
496 bool m_displayNameHasBeenSet = false;
497 bool m_vmClusterArnsHasBeenSet = false;
498 bool m_vmClusterCountHasBeenSet = false;
499 bool m_vmClusterIdsHasBeenSet = false;
500 bool m_exascaleDbStorageVaultArnHasBeenSet = false;
501 bool m_highCapacityDatabaseStorageHasBeenSet = false;
502 bool m_isAutoscaleEnabledHasBeenSet = false;
503 bool m_ocidHasBeenSet = false;
504 bool m_ociResourceAnchorNameHasBeenSet = false;
505 bool m_ociUrlHasBeenSet = false;
506 bool m_percentProgressHasBeenSet = false;
507 bool m_statusHasBeenSet = false;
508 bool m_statusReasonHasBeenSet = false;
509 bool m_timeZoneHasBeenSet = false;
510};
511
512} // namespace Model
513} // namespace odb
514} // namespace Aws
ExascaleDbStorageVault & WithStatusReason(StatusReasonT &&value)
void SetExascaleDbStorageVaultArn(ExascaleDbStorageVaultArnT &&value)
ExascaleDbStorageVault & WithDescription(DescriptionT &&value)
ExascaleDbStorageVault & WithExascaleDbStorageVaultId(ExascaleDbStorageVaultIdT &&value)
ExascaleDbStorageVault & WithIsAutoscaleEnabled(bool value)
ExascaleDbStorageVault & WithOciUrl(OciUrlT &&value)
ExascaleDbStorageVault & WithExascaleDbStorageVaultArn(ExascaleDbStorageVaultArnT &&value)
ExascaleDbStorageVault & WithAttachedShapeAttributes(AttachedShapeAttributesT &&value)
void SetAvailabilityZone(AvailabilityZoneT &&value)
ExascaleDbStorageVault & WithOciResourceAnchorName(OciResourceAnchorNameT &&value)
void SetExascaleDbStorageVaultId(ExascaleDbStorageVaultIdT &&value)
AWS_ODB_API ExascaleDbStorageVault & operator=(Aws::Utils::Json::JsonView jsonValue)
ExascaleDbStorageVault & WithAdditionalFlashCacheInPercent(int value)
void SetAttachedShapeAttributes(AttachedShapeAttributesT &&value)
const Aws::Vector< Aws::String > & GetVmClusterIds() const
void SetHighCapacityDatabaseStorage(HighCapacityDatabaseStorageT &&value)
ExascaleDbStorageVault & WithTimeZone(TimeZoneT &&value)
ExascaleDbStorageVault & WithVmClusterArns(VmClusterArnsT &&value)
void SetOciResourceAnchorName(OciResourceAnchorNameT &&value)
ExascaleDbStorageVault & WithStatus(ResourceStatus value)
void SetAvailabilityZoneId(AvailabilityZoneIdT &&value)
ExascaleDbStorageVault & WithHighCapacityDatabaseStorage(HighCapacityDatabaseStorageT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetExascaleDbStorageVaultId() const
ExascaleDbStorageVault & AddVmClusterIds(VmClusterIdsT &&value)
ExascaleDbStorageVault & WithVmClusterCount(int value)
ExascaleDbStorageVault & WithAvailabilityZoneId(AvailabilityZoneIdT &&value)
ExascaleDbStorageVault & AddAttachedShapeAttributes(ShapeAttribute value)
const Aws::String & GetExascaleDbStorageVaultArn() const
ExascaleDbStorageVault & WithPercentProgress(double value)
ExascaleDbStorageVault & WithAutoscaleLimitInGBs(int value)
ExascaleDbStorageVault & AddVmClusterArns(VmClusterArnsT &&value)
ExascaleDbStorageVault & WithOcid(OcidT &&value)
const Aws::String & GetAvailabilityZoneId() const
AWS_ODB_API Aws::Utils::Json::JsonValue Jsonize() const
ExascaleDbStorageVault & WithCreatedAt(CreatedAtT &&value)
AWS_ODB_API ExascaleDbStorageVault()=default
const Aws::Vector< ShapeAttribute > & GetAttachedShapeAttributes() const
ExascaleDbStorageVault & WithDisplayName(DisplayNameT &&value)
AWS_ODB_API ExascaleDbStorageVault(Aws::Utils::Json::JsonView jsonValue)
ExascaleDbStorageVault & WithVmClusterIds(VmClusterIdsT &&value)
const Aws::String & GetOciResourceAnchorName() const
const Aws::Vector< Aws::String > & GetVmClusterArns() const
const ExascaleDbStorageDetails & GetHighCapacityDatabaseStorage() const
ExascaleDbStorageVault & WithAvailabilityZone(AvailabilityZoneT &&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