AWS SDK for C++

AWS SDK for C++ Version 1.11.938

Loading...
Searching...
No Matches
CloudVmCluster.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/ComputeModel.h>
12#include <aws/odb/model/DataCollectionOptions.h>
13#include <aws/odb/model/DiskRedundancy.h>
14#include <aws/odb/model/ExadataIormConfig.h>
15#include <aws/odb/model/FileSystemConfigurationDetails.h>
16#include <aws/odb/model/IamRole.h>
17#include <aws/odb/model/LicenseModel.h>
18#include <aws/odb/model/ResourceStatus.h>
19#include <aws/odb/model/StorageManagementType.h>
20#include <aws/odb/model/VmStorageType.h>
21
22#include <utility>
23
24namespace Aws {
25namespace Utils {
26namespace Json {
27class JsonValue;
28class JsonView;
29} // namespace Json
30} // namespace Utils
31namespace odb {
32namespace Model {
33
40 public:
41 AWS_ODB_API CloudVmCluster() = default;
45
47
50 inline const Aws::String& GetCloudVmClusterId() const { return m_cloudVmClusterId; }
51 inline bool CloudVmClusterIdHasBeenSet() const { return m_cloudVmClusterIdHasBeenSet; }
52 template <typename CloudVmClusterIdT = Aws::String>
53 void SetCloudVmClusterId(CloudVmClusterIdT&& value) {
54 m_cloudVmClusterIdHasBeenSet = true;
55 m_cloudVmClusterId = std::forward<CloudVmClusterIdT>(value);
56 }
57 template <typename CloudVmClusterIdT = Aws::String>
58 CloudVmCluster& WithCloudVmClusterId(CloudVmClusterIdT&& value) {
59 SetCloudVmClusterId(std::forward<CloudVmClusterIdT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::String& GetDisplayName() const { return m_displayName; }
69 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
70 template <typename DisplayNameT = Aws::String>
71 void SetDisplayName(DisplayNameT&& value) {
72 m_displayNameHasBeenSet = true;
73 m_displayName = std::forward<DisplayNameT>(value);
74 }
75 template <typename DisplayNameT = Aws::String>
76 CloudVmCluster& WithDisplayName(DisplayNameT&& value) {
77 SetDisplayName(std::forward<DisplayNameT>(value));
78 return *this;
79 }
81
83
86 inline ResourceStatus GetStatus() const { return m_status; }
87 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
88 inline void SetStatus(ResourceStatus value) {
89 m_statusHasBeenSet = true;
90 m_status = value;
91 }
93 SetStatus(value);
94 return *this;
95 }
97
99
102 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
103 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
104 template <typename StatusReasonT = Aws::String>
105 void SetStatusReason(StatusReasonT&& value) {
106 m_statusReasonHasBeenSet = true;
107 m_statusReason = std::forward<StatusReasonT>(value);
108 }
109 template <typename StatusReasonT = Aws::String>
110 CloudVmCluster& WithStatusReason(StatusReasonT&& value) {
111 SetStatusReason(std::forward<StatusReasonT>(value));
112 return *this;
113 }
115
117
120 inline const Aws::String& GetCloudVmClusterArn() const { return m_cloudVmClusterArn; }
121 inline bool CloudVmClusterArnHasBeenSet() const { return m_cloudVmClusterArnHasBeenSet; }
122 template <typename CloudVmClusterArnT = Aws::String>
123 void SetCloudVmClusterArn(CloudVmClusterArnT&& value) {
124 m_cloudVmClusterArnHasBeenSet = true;
125 m_cloudVmClusterArn = std::forward<CloudVmClusterArnT>(value);
126 }
127 template <typename CloudVmClusterArnT = Aws::String>
128 CloudVmCluster& WithCloudVmClusterArn(CloudVmClusterArnT&& value) {
129 SetCloudVmClusterArn(std::forward<CloudVmClusterArnT>(value));
130 return *this;
131 }
133
135
139 inline const Aws::String& GetCloudExadataInfrastructureId() const { return m_cloudExadataInfrastructureId; }
140 inline bool CloudExadataInfrastructureIdHasBeenSet() const { return m_cloudExadataInfrastructureIdHasBeenSet; }
141 template <typename CloudExadataInfrastructureIdT = Aws::String>
142 void SetCloudExadataInfrastructureId(CloudExadataInfrastructureIdT&& value) {
143 m_cloudExadataInfrastructureIdHasBeenSet = true;
144 m_cloudExadataInfrastructureId = std::forward<CloudExadataInfrastructureIdT>(value);
145 }
146 template <typename CloudExadataInfrastructureIdT = Aws::String>
147 CloudVmCluster& WithCloudExadataInfrastructureId(CloudExadataInfrastructureIdT&& value) {
148 SetCloudExadataInfrastructureId(std::forward<CloudExadataInfrastructureIdT>(value));
149 return *this;
150 }
152
154
158 inline const Aws::String& GetCloudExadataInfrastructureArn() const { return m_cloudExadataInfrastructureArn; }
159 inline bool CloudExadataInfrastructureArnHasBeenSet() const { return m_cloudExadataInfrastructureArnHasBeenSet; }
160 template <typename CloudExadataInfrastructureArnT = Aws::String>
161 void SetCloudExadataInfrastructureArn(CloudExadataInfrastructureArnT&& value) {
162 m_cloudExadataInfrastructureArnHasBeenSet = true;
163 m_cloudExadataInfrastructureArn = std::forward<CloudExadataInfrastructureArnT>(value);
164 }
165 template <typename CloudExadataInfrastructureArnT = Aws::String>
166 CloudVmCluster& WithCloudExadataInfrastructureArn(CloudExadataInfrastructureArnT&& value) {
167 SetCloudExadataInfrastructureArn(std::forward<CloudExadataInfrastructureArnT>(value));
168 return *this;
169 }
171
173
178 inline const Aws::String& GetExascaleDbStorageVaultId() const { return m_exascaleDbStorageVaultId; }
179 inline bool ExascaleDbStorageVaultIdHasBeenSet() const { return m_exascaleDbStorageVaultIdHasBeenSet; }
180 template <typename ExascaleDbStorageVaultIdT = Aws::String>
181 void SetExascaleDbStorageVaultId(ExascaleDbStorageVaultIdT&& value) {
182 m_exascaleDbStorageVaultIdHasBeenSet = true;
183 m_exascaleDbStorageVaultId = std::forward<ExascaleDbStorageVaultIdT>(value);
184 }
185 template <typename ExascaleDbStorageVaultIdT = Aws::String>
186 CloudVmCluster& WithExascaleDbStorageVaultId(ExascaleDbStorageVaultIdT&& value) {
187 SetExascaleDbStorageVaultId(std::forward<ExascaleDbStorageVaultIdT>(value));
188 return *this;
189 }
191
193
198 inline const Aws::String& GetExascaleDbStorageVaultArn() const { return m_exascaleDbStorageVaultArn; }
199 inline bool ExascaleDbStorageVaultArnHasBeenSet() const { return m_exascaleDbStorageVaultArnHasBeenSet; }
200 template <typename ExascaleDbStorageVaultArnT = Aws::String>
201 void SetExascaleDbStorageVaultArn(ExascaleDbStorageVaultArnT&& value) {
202 m_exascaleDbStorageVaultArnHasBeenSet = true;
203 m_exascaleDbStorageVaultArn = std::forward<ExascaleDbStorageVaultArnT>(value);
204 }
205 template <typename ExascaleDbStorageVaultArnT = Aws::String>
206 CloudVmCluster& WithExascaleDbStorageVaultArn(ExascaleDbStorageVaultArnT&& value) {
207 SetExascaleDbStorageVaultArn(std::forward<ExascaleDbStorageVaultArnT>(value));
208 return *this;
209 }
211
213
218 inline StorageManagementType GetStorageManagementType() const { return m_storageManagementType; }
219 inline bool StorageManagementTypeHasBeenSet() const { return m_storageManagementTypeHasBeenSet; }
221 m_storageManagementTypeHasBeenSet = true;
222 m_storageManagementType = value;
223 }
229
231
234 inline VmStorageType GetVmFileSystemStorageType() const { return m_vmFileSystemStorageType; }
235 inline bool VmFileSystemStorageTypeHasBeenSet() const { return m_vmFileSystemStorageTypeHasBeenSet; }
237 m_vmFileSystemStorageTypeHasBeenSet = true;
238 m_vmFileSystemStorageType = value;
239 }
242 return *this;
243 }
245
247
250 inline VmStorageType GetVmBackupStorageType() const { return m_vmBackupStorageType; }
251 inline bool VmBackupStorageTypeHasBeenSet() const { return m_vmBackupStorageTypeHasBeenSet; }
253 m_vmBackupStorageTypeHasBeenSet = true;
254 m_vmBackupStorageType = value;
255 }
258 return *this;
259 }
261
263
267 return m_fileSystemConfigurationDetails;
268 }
269 inline bool FileSystemConfigurationDetailsHasBeenSet() const { return m_fileSystemConfigurationDetailsHasBeenSet; }
270 template <typename FileSystemConfigurationDetailsT = Aws::Vector<FileSystemConfigurationDetails>>
271 void SetFileSystemConfigurationDetails(FileSystemConfigurationDetailsT&& value) {
272 m_fileSystemConfigurationDetailsHasBeenSet = true;
273 m_fileSystemConfigurationDetails = std::forward<FileSystemConfigurationDetailsT>(value);
274 }
275 template <typename FileSystemConfigurationDetailsT = Aws::Vector<FileSystemConfigurationDetails>>
276 CloudVmCluster& WithFileSystemConfigurationDetails(FileSystemConfigurationDetailsT&& value) {
277 SetFileSystemConfigurationDetails(std::forward<FileSystemConfigurationDetailsT>(value));
278 return *this;
279 }
280 template <typename FileSystemConfigurationDetailsT = FileSystemConfigurationDetails>
281 CloudVmCluster& AddFileSystemConfigurationDetails(FileSystemConfigurationDetailsT&& value) {
282 m_fileSystemConfigurationDetailsHasBeenSet = true;
283 m_fileSystemConfigurationDetails.emplace_back(std::forward<FileSystemConfigurationDetailsT>(value));
284 return *this;
285 }
287
289
292 inline const Aws::String& GetClusterName() const { return m_clusterName; }
293 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
294 template <typename ClusterNameT = Aws::String>
295 void SetClusterName(ClusterNameT&& value) {
296 m_clusterNameHasBeenSet = true;
297 m_clusterName = std::forward<ClusterNameT>(value);
298 }
299 template <typename ClusterNameT = Aws::String>
300 CloudVmCluster& WithClusterName(ClusterNameT&& value) {
301 SetClusterName(std::forward<ClusterNameT>(value));
302 return *this;
303 }
305
307
310 inline int GetCpuCoreCount() const { return m_cpuCoreCount; }
311 inline bool CpuCoreCountHasBeenSet() const { return m_cpuCoreCountHasBeenSet; }
312 inline void SetCpuCoreCount(int value) {
313 m_cpuCoreCountHasBeenSet = true;
314 m_cpuCoreCount = value;
315 }
316 inline CloudVmCluster& WithCpuCoreCount(int value) {
317 SetCpuCoreCount(value);
318 return *this;
319 }
321
323
326 inline const DataCollectionOptions& GetDataCollectionOptions() const { return m_dataCollectionOptions; }
327 inline bool DataCollectionOptionsHasBeenSet() const { return m_dataCollectionOptionsHasBeenSet; }
328 template <typename DataCollectionOptionsT = DataCollectionOptions>
329 void SetDataCollectionOptions(DataCollectionOptionsT&& value) {
330 m_dataCollectionOptionsHasBeenSet = true;
331 m_dataCollectionOptions = std::forward<DataCollectionOptionsT>(value);
332 }
333 template <typename DataCollectionOptionsT = DataCollectionOptions>
334 CloudVmCluster& WithDataCollectionOptions(DataCollectionOptionsT&& value) {
335 SetDataCollectionOptions(std::forward<DataCollectionOptionsT>(value));
336 return *this;
337 }
339
341
345 inline double GetDataStorageSizeInTBs() const { return m_dataStorageSizeInTBs; }
346 inline bool DataStorageSizeInTBsHasBeenSet() const { return m_dataStorageSizeInTBsHasBeenSet; }
347 inline void SetDataStorageSizeInTBs(double value) {
348 m_dataStorageSizeInTBsHasBeenSet = true;
349 m_dataStorageSizeInTBs = value;
350 }
353 return *this;
354 }
356
358
362 inline int GetDbNodeStorageSizeInGBs() const { return m_dbNodeStorageSizeInGBs; }
363 inline bool DbNodeStorageSizeInGBsHasBeenSet() const { return m_dbNodeStorageSizeInGBsHasBeenSet; }
364 inline void SetDbNodeStorageSizeInGBs(int value) {
365 m_dbNodeStorageSizeInGBsHasBeenSet = true;
366 m_dbNodeStorageSizeInGBs = value;
367 }
370 return *this;
371 }
373
375
378 inline const Aws::Vector<Aws::String>& GetDbServers() const { return m_dbServers; }
379 inline bool DbServersHasBeenSet() const { return m_dbServersHasBeenSet; }
380 template <typename DbServersT = Aws::Vector<Aws::String>>
381 void SetDbServers(DbServersT&& value) {
382 m_dbServersHasBeenSet = true;
383 m_dbServers = std::forward<DbServersT>(value);
384 }
385 template <typename DbServersT = Aws::Vector<Aws::String>>
386 CloudVmCluster& WithDbServers(DbServersT&& value) {
387 SetDbServers(std::forward<DbServersT>(value));
388 return *this;
389 }
390 template <typename DbServersT = Aws::String>
391 CloudVmCluster& AddDbServers(DbServersT&& value) {
392 m_dbServersHasBeenSet = true;
393 m_dbServers.emplace_back(std::forward<DbServersT>(value));
394 return *this;
395 }
397
399
403 inline DiskRedundancy GetDiskRedundancy() const { return m_diskRedundancy; }
404 inline bool DiskRedundancyHasBeenSet() const { return m_diskRedundancyHasBeenSet; }
406 m_diskRedundancyHasBeenSet = true;
407 m_diskRedundancy = value;
408 }
410 SetDiskRedundancy(value);
411 return *this;
412 }
414
416
420 inline const Aws::String& GetGiVersion() const { return m_giVersion; }
421 inline bool GiVersionHasBeenSet() const { return m_giVersionHasBeenSet; }
422 template <typename GiVersionT = Aws::String>
423 void SetGiVersion(GiVersionT&& value) {
424 m_giVersionHasBeenSet = true;
425 m_giVersion = std::forward<GiVersionT>(value);
426 }
427 template <typename GiVersionT = Aws::String>
428 CloudVmCluster& WithGiVersion(GiVersionT&& value) {
429 SetGiVersion(std::forward<GiVersionT>(value));
430 return *this;
431 }
433
435
438 inline const Aws::String& GetHostname() const { return m_hostname; }
439 inline bool HostnameHasBeenSet() const { return m_hostnameHasBeenSet; }
440 template <typename HostnameT = Aws::String>
441 void SetHostname(HostnameT&& value) {
442 m_hostnameHasBeenSet = true;
443 m_hostname = std::forward<HostnameT>(value);
444 }
445 template <typename HostnameT = Aws::String>
446 CloudVmCluster& WithHostname(HostnameT&& value) {
447 SetHostname(std::forward<HostnameT>(value));
448 return *this;
449 }
451
453
456 inline const ExadataIormConfig& GetIormConfigCache() const { return m_iormConfigCache; }
457 inline bool IormConfigCacheHasBeenSet() const { return m_iormConfigCacheHasBeenSet; }
458 template <typename IormConfigCacheT = ExadataIormConfig>
459 void SetIormConfigCache(IormConfigCacheT&& value) {
460 m_iormConfigCacheHasBeenSet = true;
461 m_iormConfigCache = std::forward<IormConfigCacheT>(value);
462 }
463 template <typename IormConfigCacheT = ExadataIormConfig>
464 CloudVmCluster& WithIormConfigCache(IormConfigCacheT&& value) {
465 SetIormConfigCache(std::forward<IormConfigCacheT>(value));
466 return *this;
467 }
469
471
475 inline bool GetIsLocalBackupEnabled() const { return m_isLocalBackupEnabled; }
476 inline bool IsLocalBackupEnabledHasBeenSet() const { return m_isLocalBackupEnabledHasBeenSet; }
477 inline void SetIsLocalBackupEnabled(bool value) {
478 m_isLocalBackupEnabledHasBeenSet = true;
479 m_isLocalBackupEnabled = value;
480 }
483 return *this;
484 }
486
488
491 inline bool GetIsSparseDiskgroupEnabled() const { return m_isSparseDiskgroupEnabled; }
492 inline bool IsSparseDiskgroupEnabledHasBeenSet() const { return m_isSparseDiskgroupEnabledHasBeenSet; }
493 inline void SetIsSparseDiskgroupEnabled(bool value) {
494 m_isSparseDiskgroupEnabledHasBeenSet = true;
495 m_isSparseDiskgroupEnabled = value;
496 }
499 return *this;
500 }
502
504
507 inline const Aws::String& GetLastUpdateHistoryEntryId() const { return m_lastUpdateHistoryEntryId; }
508 inline bool LastUpdateHistoryEntryIdHasBeenSet() const { return m_lastUpdateHistoryEntryIdHasBeenSet; }
509 template <typename LastUpdateHistoryEntryIdT = Aws::String>
510 void SetLastUpdateHistoryEntryId(LastUpdateHistoryEntryIdT&& value) {
511 m_lastUpdateHistoryEntryIdHasBeenSet = true;
512 m_lastUpdateHistoryEntryId = std::forward<LastUpdateHistoryEntryIdT>(value);
513 }
514 template <typename LastUpdateHistoryEntryIdT = Aws::String>
515 CloudVmCluster& WithLastUpdateHistoryEntryId(LastUpdateHistoryEntryIdT&& value) {
516 SetLastUpdateHistoryEntryId(std::forward<LastUpdateHistoryEntryIdT>(value));
517 return *this;
518 }
520
522
525 inline LicenseModel GetLicenseModel() const { return m_licenseModel; }
526 inline bool LicenseModelHasBeenSet() const { return m_licenseModelHasBeenSet; }
527 inline void SetLicenseModel(LicenseModel value) {
528 m_licenseModelHasBeenSet = true;
529 m_licenseModel = value;
530 }
532 SetLicenseModel(value);
533 return *this;
534 }
536
538
541 inline int GetListenerPort() const { return m_listenerPort; }
542 inline bool ListenerPortHasBeenSet() const { return m_listenerPortHasBeenSet; }
543 inline void SetListenerPort(int value) {
544 m_listenerPortHasBeenSet = true;
545 m_listenerPort = value;
546 }
547 inline CloudVmCluster& WithListenerPort(int value) {
548 SetListenerPort(value);
549 return *this;
550 }
552
554
558 inline int GetMemorySizeInGBs() const { return m_memorySizeInGBs; }
559 inline bool MemorySizeInGBsHasBeenSet() const { return m_memorySizeInGBsHasBeenSet; }
560 inline void SetMemorySizeInGBs(int value) {
561 m_memorySizeInGBsHasBeenSet = true;
562 m_memorySizeInGBs = value;
563 }
565 SetMemorySizeInGBs(value);
566 return *this;
567 }
569
571
574 inline int GetNodeCount() const { return m_nodeCount; }
575 inline bool NodeCountHasBeenSet() const { return m_nodeCountHasBeenSet; }
576 inline void SetNodeCount(int value) {
577 m_nodeCountHasBeenSet = true;
578 m_nodeCount = value;
579 }
580 inline CloudVmCluster& WithNodeCount(int value) {
581 SetNodeCount(value);
582 return *this;
583 }
585
587
590 inline const Aws::String& GetOcid() const { return m_ocid; }
591 inline bool OcidHasBeenSet() const { return m_ocidHasBeenSet; }
592 template <typename OcidT = Aws::String>
593 void SetOcid(OcidT&& value) {
594 m_ocidHasBeenSet = true;
595 m_ocid = std::forward<OcidT>(value);
596 }
597 template <typename OcidT = Aws::String>
598 CloudVmCluster& WithOcid(OcidT&& value) {
599 SetOcid(std::forward<OcidT>(value));
600 return *this;
601 }
603
605
608 inline const Aws::String& GetOciResourceAnchorName() const { return m_ociResourceAnchorName; }
609 inline bool OciResourceAnchorNameHasBeenSet() const { return m_ociResourceAnchorNameHasBeenSet; }
610 template <typename OciResourceAnchorNameT = Aws::String>
611 void SetOciResourceAnchorName(OciResourceAnchorNameT&& value) {
612 m_ociResourceAnchorNameHasBeenSet = true;
613 m_ociResourceAnchorName = std::forward<OciResourceAnchorNameT>(value);
614 }
615 template <typename OciResourceAnchorNameT = Aws::String>
616 CloudVmCluster& WithOciResourceAnchorName(OciResourceAnchorNameT&& value) {
617 SetOciResourceAnchorName(std::forward<OciResourceAnchorNameT>(value));
618 return *this;
619 }
621
623
626 inline const Aws::String& GetOciUrl() const { return m_ociUrl; }
627 inline bool OciUrlHasBeenSet() const { return m_ociUrlHasBeenSet; }
628 template <typename OciUrlT = Aws::String>
629 void SetOciUrl(OciUrlT&& value) {
630 m_ociUrlHasBeenSet = true;
631 m_ociUrl = std::forward<OciUrlT>(value);
632 }
633 template <typename OciUrlT = Aws::String>
634 CloudVmCluster& WithOciUrl(OciUrlT&& value) {
635 SetOciUrl(std::forward<OciUrlT>(value));
636 return *this;
637 }
639
641
644 inline const Aws::String& GetDomain() const { return m_domain; }
645 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
646 template <typename DomainT = Aws::String>
647 void SetDomain(DomainT&& value) {
648 m_domainHasBeenSet = true;
649 m_domain = std::forward<DomainT>(value);
650 }
651 template <typename DomainT = Aws::String>
652 CloudVmCluster& WithDomain(DomainT&& value) {
653 SetDomain(std::forward<DomainT>(value));
654 return *this;
655 }
657
659
664 inline const Aws::String& GetScanDnsName() const { return m_scanDnsName; }
665 inline bool ScanDnsNameHasBeenSet() const { return m_scanDnsNameHasBeenSet; }
666 template <typename ScanDnsNameT = Aws::String>
667 void SetScanDnsName(ScanDnsNameT&& value) {
668 m_scanDnsNameHasBeenSet = true;
669 m_scanDnsName = std::forward<ScanDnsNameT>(value);
670 }
671 template <typename ScanDnsNameT = Aws::String>
672 CloudVmCluster& WithScanDnsName(ScanDnsNameT&& value) {
673 SetScanDnsName(std::forward<ScanDnsNameT>(value));
674 return *this;
675 }
677
679
683 inline const Aws::String& GetScanDnsRecordId() const { return m_scanDnsRecordId; }
684 inline bool ScanDnsRecordIdHasBeenSet() const { return m_scanDnsRecordIdHasBeenSet; }
685 template <typename ScanDnsRecordIdT = Aws::String>
686 void SetScanDnsRecordId(ScanDnsRecordIdT&& value) {
687 m_scanDnsRecordIdHasBeenSet = true;
688 m_scanDnsRecordId = std::forward<ScanDnsRecordIdT>(value);
689 }
690 template <typename ScanDnsRecordIdT = Aws::String>
691 CloudVmCluster& WithScanDnsRecordId(ScanDnsRecordIdT&& value) {
692 SetScanDnsRecordId(std::forward<ScanDnsRecordIdT>(value));
693 return *this;
694 }
696
698
702 inline const Aws::Vector<Aws::String>& GetScanIpIds() const { return m_scanIpIds; }
703 inline bool ScanIpIdsHasBeenSet() const { return m_scanIpIdsHasBeenSet; }
704 template <typename ScanIpIdsT = Aws::Vector<Aws::String>>
705 void SetScanIpIds(ScanIpIdsT&& value) {
706 m_scanIpIdsHasBeenSet = true;
707 m_scanIpIds = std::forward<ScanIpIdsT>(value);
708 }
709 template <typename ScanIpIdsT = Aws::Vector<Aws::String>>
710 CloudVmCluster& WithScanIpIds(ScanIpIdsT&& value) {
711 SetScanIpIds(std::forward<ScanIpIdsT>(value));
712 return *this;
713 }
714 template <typename ScanIpIdsT = Aws::String>
715 CloudVmCluster& AddScanIpIds(ScanIpIdsT&& value) {
716 m_scanIpIdsHasBeenSet = true;
717 m_scanIpIds.emplace_back(std::forward<ScanIpIdsT>(value));
718 return *this;
719 }
721
723
727 inline const Aws::String& GetShape() const { return m_shape; }
728 inline bool ShapeHasBeenSet() const { return m_shapeHasBeenSet; }
729 template <typename ShapeT = Aws::String>
730 void SetShape(ShapeT&& value) {
731 m_shapeHasBeenSet = true;
732 m_shape = std::forward<ShapeT>(value);
733 }
734 template <typename ShapeT = Aws::String>
735 CloudVmCluster& WithShape(ShapeT&& value) {
736 SetShape(std::forward<ShapeT>(value));
737 return *this;
738 }
740
742
746 inline const Aws::Vector<Aws::String>& GetSshPublicKeys() const { return m_sshPublicKeys; }
747 inline bool SshPublicKeysHasBeenSet() const { return m_sshPublicKeysHasBeenSet; }
748 template <typename SshPublicKeysT = Aws::Vector<Aws::String>>
749 void SetSshPublicKeys(SshPublicKeysT&& value) {
750 m_sshPublicKeysHasBeenSet = true;
751 m_sshPublicKeys = std::forward<SshPublicKeysT>(value);
752 }
753 template <typename SshPublicKeysT = Aws::Vector<Aws::String>>
754 CloudVmCluster& WithSshPublicKeys(SshPublicKeysT&& value) {
755 SetSshPublicKeys(std::forward<SshPublicKeysT>(value));
756 return *this;
757 }
758 template <typename SshPublicKeysT = Aws::String>
759 CloudVmCluster& AddSshPublicKeys(SshPublicKeysT&& value) {
760 m_sshPublicKeysHasBeenSet = true;
761 m_sshPublicKeys.emplace_back(std::forward<SshPublicKeysT>(value));
762 return *this;
763 }
765
767
771 inline int GetStorageSizeInGBs() const { return m_storageSizeInGBs; }
772 inline bool StorageSizeInGBsHasBeenSet() const { return m_storageSizeInGBsHasBeenSet; }
773 inline void SetStorageSizeInGBs(int value) {
774 m_storageSizeInGBsHasBeenSet = true;
775 m_storageSizeInGBs = value;
776 }
778 SetStorageSizeInGBs(value);
779 return *this;
780 }
782
784
787 inline const Aws::String& GetSystemVersion() const { return m_systemVersion; }
788 inline bool SystemVersionHasBeenSet() const { return m_systemVersionHasBeenSet; }
789 template <typename SystemVersionT = Aws::String>
790 void SetSystemVersion(SystemVersionT&& value) {
791 m_systemVersionHasBeenSet = true;
792 m_systemVersion = std::forward<SystemVersionT>(value);
793 }
794 template <typename SystemVersionT = Aws::String>
795 CloudVmCluster& WithSystemVersion(SystemVersionT&& value) {
796 SetSystemVersion(std::forward<SystemVersionT>(value));
797 return *this;
798 }
800
802
805 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
806 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
807 template <typename CreatedAtT = Aws::Utils::DateTime>
808 void SetCreatedAt(CreatedAtT&& value) {
809 m_createdAtHasBeenSet = true;
810 m_createdAt = std::forward<CreatedAtT>(value);
811 }
812 template <typename CreatedAtT = Aws::Utils::DateTime>
813 CloudVmCluster& WithCreatedAt(CreatedAtT&& value) {
814 SetCreatedAt(std::forward<CreatedAtT>(value));
815 return *this;
816 }
818
820
823 inline const Aws::String& GetTimeZone() const { return m_timeZone; }
824 inline bool TimeZoneHasBeenSet() const { return m_timeZoneHasBeenSet; }
825 template <typename TimeZoneT = Aws::String>
826 void SetTimeZone(TimeZoneT&& value) {
827 m_timeZoneHasBeenSet = true;
828 m_timeZone = std::forward<TimeZoneT>(value);
829 }
830 template <typename TimeZoneT = Aws::String>
831 CloudVmCluster& WithTimeZone(TimeZoneT&& value) {
832 SetTimeZone(std::forward<TimeZoneT>(value));
833 return *this;
834 }
836
838
844 inline const Aws::Vector<Aws::String>& GetVipIds() const { return m_vipIds; }
845 inline bool VipIdsHasBeenSet() const { return m_vipIdsHasBeenSet; }
846 template <typename VipIdsT = Aws::Vector<Aws::String>>
847 void SetVipIds(VipIdsT&& value) {
848 m_vipIdsHasBeenSet = true;
849 m_vipIds = std::forward<VipIdsT>(value);
850 }
851 template <typename VipIdsT = Aws::Vector<Aws::String>>
852 CloudVmCluster& WithVipIds(VipIdsT&& value) {
853 SetVipIds(std::forward<VipIdsT>(value));
854 return *this;
855 }
856 template <typename VipIdsT = Aws::String>
857 CloudVmCluster& AddVipIds(VipIdsT&& value) {
858 m_vipIdsHasBeenSet = true;
859 m_vipIds.emplace_back(std::forward<VipIdsT>(value));
860 return *this;
861 }
863
865
868 inline const Aws::String& GetOdbNetworkId() const { return m_odbNetworkId; }
869 inline bool OdbNetworkIdHasBeenSet() const { return m_odbNetworkIdHasBeenSet; }
870 template <typename OdbNetworkIdT = Aws::String>
871 void SetOdbNetworkId(OdbNetworkIdT&& value) {
872 m_odbNetworkIdHasBeenSet = true;
873 m_odbNetworkId = std::forward<OdbNetworkIdT>(value);
874 }
875 template <typename OdbNetworkIdT = Aws::String>
876 CloudVmCluster& WithOdbNetworkId(OdbNetworkIdT&& value) {
877 SetOdbNetworkId(std::forward<OdbNetworkIdT>(value));
878 return *this;
879 }
881
883
887 inline const Aws::String& GetOdbNetworkArn() const { return m_odbNetworkArn; }
888 inline bool OdbNetworkArnHasBeenSet() const { return m_odbNetworkArnHasBeenSet; }
889 template <typename OdbNetworkArnT = Aws::String>
890 void SetOdbNetworkArn(OdbNetworkArnT&& value) {
891 m_odbNetworkArnHasBeenSet = true;
892 m_odbNetworkArn = std::forward<OdbNetworkArnT>(value);
893 }
894 template <typename OdbNetworkArnT = Aws::String>
895 CloudVmCluster& WithOdbNetworkArn(OdbNetworkArnT&& value) {
896 SetOdbNetworkArn(std::forward<OdbNetworkArnT>(value));
897 return *this;
898 }
900
902
906 inline double GetPercentProgress() const { return m_percentProgress; }
907 inline bool PercentProgressHasBeenSet() const { return m_percentProgressHasBeenSet; }
908 inline void SetPercentProgress(double value) {
909 m_percentProgressHasBeenSet = true;
910 m_percentProgress = value;
911 }
912 inline CloudVmCluster& WithPercentProgress(double value) {
913 SetPercentProgress(value);
914 return *this;
915 }
917
919
926 inline ComputeModel GetComputeModel() const { return m_computeModel; }
927 inline bool ComputeModelHasBeenSet() const { return m_computeModelHasBeenSet; }
928 inline void SetComputeModel(ComputeModel value) {
929 m_computeModelHasBeenSet = true;
930 m_computeModel = value;
931 }
933 SetComputeModel(value);
934 return *this;
935 }
937
939
943 inline const Aws::Vector<IamRole>& GetIamRoles() const { return m_iamRoles; }
944 inline bool IamRolesHasBeenSet() const { return m_iamRolesHasBeenSet; }
945 template <typename IamRolesT = Aws::Vector<IamRole>>
946 void SetIamRoles(IamRolesT&& value) {
947 m_iamRolesHasBeenSet = true;
948 m_iamRoles = std::forward<IamRolesT>(value);
949 }
950 template <typename IamRolesT = Aws::Vector<IamRole>>
951 CloudVmCluster& WithIamRoles(IamRolesT&& value) {
952 SetIamRoles(std::forward<IamRolesT>(value));
953 return *this;
954 }
955 template <typename IamRolesT = IamRole>
956 CloudVmCluster& AddIamRoles(IamRolesT&& value) {
957 m_iamRolesHasBeenSet = true;
958 m_iamRoles.emplace_back(std::forward<IamRolesT>(value));
959 return *this;
960 }
962 private:
963 Aws::String m_cloudVmClusterId;
964
965 Aws::String m_displayName;
966
968
969 Aws::String m_statusReason;
970
971 Aws::String m_cloudVmClusterArn;
972
973 Aws::String m_cloudExadataInfrastructureId;
974
975 Aws::String m_cloudExadataInfrastructureArn;
976
977 Aws::String m_exascaleDbStorageVaultId;
978
979 Aws::String m_exascaleDbStorageVaultArn;
980
982
983 VmStorageType m_vmFileSystemStorageType{VmStorageType::NOT_SET};
984
985 VmStorageType m_vmBackupStorageType{VmStorageType::NOT_SET};
986
987 Aws::Vector<FileSystemConfigurationDetails> m_fileSystemConfigurationDetails;
988
989 Aws::String m_clusterName;
990
991 int m_cpuCoreCount{0};
992
993 DataCollectionOptions m_dataCollectionOptions;
994
995 double m_dataStorageSizeInTBs{0.0};
996
997 int m_dbNodeStorageSizeInGBs{0};
998
999 Aws::Vector<Aws::String> m_dbServers;
1000
1001 DiskRedundancy m_diskRedundancy{DiskRedundancy::NOT_SET};
1002
1003 Aws::String m_giVersion;
1004
1005 Aws::String m_hostname;
1006
1007 ExadataIormConfig m_iormConfigCache;
1008
1009 bool m_isLocalBackupEnabled{false};
1010
1011 bool m_isSparseDiskgroupEnabled{false};
1012
1013 Aws::String m_lastUpdateHistoryEntryId;
1014
1015 LicenseModel m_licenseModel{LicenseModel::NOT_SET};
1016
1017 int m_listenerPort{0};
1018
1019 int m_memorySizeInGBs{0};
1020
1021 int m_nodeCount{0};
1022
1023 Aws::String m_ocid;
1024
1025 Aws::String m_ociResourceAnchorName;
1026
1027 Aws::String m_ociUrl;
1028
1029 Aws::String m_domain;
1030
1031 Aws::String m_scanDnsName;
1032
1033 Aws::String m_scanDnsRecordId;
1034
1035 Aws::Vector<Aws::String> m_scanIpIds;
1036
1037 Aws::String m_shape;
1038
1039 Aws::Vector<Aws::String> m_sshPublicKeys;
1040
1041 int m_storageSizeInGBs{0};
1042
1043 Aws::String m_systemVersion;
1044
1045 Aws::Utils::DateTime m_createdAt{};
1046
1047 Aws::String m_timeZone;
1048
1049 Aws::Vector<Aws::String> m_vipIds;
1050
1051 Aws::String m_odbNetworkId;
1052
1053 Aws::String m_odbNetworkArn;
1054
1055 double m_percentProgress{0.0};
1056
1057 ComputeModel m_computeModel{ComputeModel::NOT_SET};
1058
1059 Aws::Vector<IamRole> m_iamRoles;
1060 bool m_cloudVmClusterIdHasBeenSet = false;
1061 bool m_displayNameHasBeenSet = false;
1062 bool m_statusHasBeenSet = false;
1063 bool m_statusReasonHasBeenSet = false;
1064 bool m_cloudVmClusterArnHasBeenSet = false;
1065 bool m_cloudExadataInfrastructureIdHasBeenSet = false;
1066 bool m_cloudExadataInfrastructureArnHasBeenSet = false;
1067 bool m_exascaleDbStorageVaultIdHasBeenSet = false;
1068 bool m_exascaleDbStorageVaultArnHasBeenSet = false;
1069 bool m_storageManagementTypeHasBeenSet = false;
1070 bool m_vmFileSystemStorageTypeHasBeenSet = false;
1071 bool m_vmBackupStorageTypeHasBeenSet = false;
1072 bool m_fileSystemConfigurationDetailsHasBeenSet = false;
1073 bool m_clusterNameHasBeenSet = false;
1074 bool m_cpuCoreCountHasBeenSet = false;
1075 bool m_dataCollectionOptionsHasBeenSet = false;
1076 bool m_dataStorageSizeInTBsHasBeenSet = false;
1077 bool m_dbNodeStorageSizeInGBsHasBeenSet = false;
1078 bool m_dbServersHasBeenSet = false;
1079 bool m_diskRedundancyHasBeenSet = false;
1080 bool m_giVersionHasBeenSet = false;
1081 bool m_hostnameHasBeenSet = false;
1082 bool m_iormConfigCacheHasBeenSet = false;
1083 bool m_isLocalBackupEnabledHasBeenSet = false;
1084 bool m_isSparseDiskgroupEnabledHasBeenSet = false;
1085 bool m_lastUpdateHistoryEntryIdHasBeenSet = false;
1086 bool m_licenseModelHasBeenSet = false;
1087 bool m_listenerPortHasBeenSet = false;
1088 bool m_memorySizeInGBsHasBeenSet = false;
1089 bool m_nodeCountHasBeenSet = false;
1090 bool m_ocidHasBeenSet = false;
1091 bool m_ociResourceAnchorNameHasBeenSet = false;
1092 bool m_ociUrlHasBeenSet = false;
1093 bool m_domainHasBeenSet = false;
1094 bool m_scanDnsNameHasBeenSet = false;
1095 bool m_scanDnsRecordIdHasBeenSet = false;
1096 bool m_scanIpIdsHasBeenSet = false;
1097 bool m_shapeHasBeenSet = false;
1098 bool m_sshPublicKeysHasBeenSet = false;
1099 bool m_storageSizeInGBsHasBeenSet = false;
1100 bool m_systemVersionHasBeenSet = false;
1101 bool m_createdAtHasBeenSet = false;
1102 bool m_timeZoneHasBeenSet = false;
1103 bool m_vipIdsHasBeenSet = false;
1104 bool m_odbNetworkIdHasBeenSet = false;
1105 bool m_odbNetworkArnHasBeenSet = false;
1106 bool m_percentProgressHasBeenSet = false;
1107 bool m_computeModelHasBeenSet = false;
1108 bool m_iamRolesHasBeenSet = false;
1109};
1110
1111} // namespace Model
1112} // namespace odb
1113} // namespace Aws
void SetDisplayName(DisplayNameT &&value)
CloudVmCluster & WithNodeCount(int value)
void SetStatus(ResourceStatus value)
const Aws::String & GetSystemVersion() const
void SetVmBackupStorageType(VmStorageType value)
CloudVmCluster & WithIamRoles(IamRolesT &&value)
const Aws::String & GetCloudExadataInfrastructureArn() const
void SetCloudVmClusterId(CloudVmClusterIdT &&value)
void SetCloudExadataInfrastructureId(CloudExadataInfrastructureIdT &&value)
void SetPercentProgress(double value)
const Aws::String & GetLastUpdateHistoryEntryId() const
VmStorageType GetVmFileSystemStorageType() const
void SetClusterName(ClusterNameT &&value)
void SetIormConfigCache(IormConfigCacheT &&value)
void SetSshPublicKeys(SshPublicKeysT &&value)
CloudVmCluster & WithMemorySizeInGBs(int value)
const Aws::String & GetCloudVmClusterId() const
ResourceStatus GetStatus() const
const Aws::Vector< Aws::String > & GetScanIpIds() const
const Aws::String & GetScanDnsRecordId() const
CloudVmCluster & WithCpuCoreCount(int value)
CloudVmCluster & WithShape(ShapeT &&value)
const Aws::String & GetOdbNetworkArn() const
CloudVmCluster & WithIsLocalBackupEnabled(bool value)
CloudVmCluster & WithFileSystemConfigurationDetails(FileSystemConfigurationDetailsT &&value)
CloudVmCluster & WithCloudVmClusterId(CloudVmClusterIdT &&value)
void SetStorageManagementType(StorageManagementType value)
CloudVmCluster & WithIsSparseDiskgroupEnabled(bool value)
CloudVmCluster & WithLastUpdateHistoryEntryId(LastUpdateHistoryEntryIdT &&value)
void SetStatusReason(StatusReasonT &&value)
CloudVmCluster & WithIormConfigCache(IormConfigCacheT &&value)
CloudVmCluster & WithDiskRedundancy(DiskRedundancy value)
CloudVmCluster & WithSystemVersion(SystemVersionT &&value)
void SetDataStorageSizeInTBs(double value)
DiskRedundancy GetDiskRedundancy() const
CloudVmCluster & WithOdbNetworkArn(OdbNetworkArnT &&value)
void SetOdbNetworkArn(OdbNetworkArnT &&value)
const Aws::String & GetCloudExadataInfrastructureId() const
void SetScanDnsName(ScanDnsNameT &&value)
const Aws::Vector< Aws::String > & GetVipIds() const
void SetOciResourceAnchorName(OciResourceAnchorNameT &&value)
CloudVmCluster & WithStatus(ResourceStatus value)
StorageManagementType GetStorageManagementType() const
void SetScanIpIds(ScanIpIdsT &&value)
CloudVmCluster & WithHostname(HostnameT &&value)
void SetOdbNetworkId(OdbNetworkIdT &&value)
const Aws::String & GetDisplayName() const
void SetSystemVersion(SystemVersionT &&value)
AWS_ODB_API CloudVmCluster(Aws::Utils::Json::JsonView jsonValue)
AWS_ODB_API CloudVmCluster & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDiskRedundancy(DiskRedundancy value)
const Aws::String & GetOdbNetworkId() const
CloudVmCluster & WithComputeModel(ComputeModel value)
void SetDbServers(DbServersT &&value)
CloudVmCluster & WithCloudVmClusterArn(CloudVmClusterArnT &&value)
const Aws::Vector< Aws::String > & GetDbServers() const
void SetVmFileSystemStorageType(VmStorageType value)
CloudVmCluster & AddSshPublicKeys(SshPublicKeysT &&value)
const DataCollectionOptions & GetDataCollectionOptions() const
void SetExascaleDbStorageVaultId(ExascaleDbStorageVaultIdT &&value)
CloudVmCluster & WithDataCollectionOptions(DataCollectionOptionsT &&value)
void SetDataCollectionOptions(DataCollectionOptionsT &&value)
CloudVmCluster & WithLicenseModel(LicenseModel value)
const Aws::Vector< IamRole > & GetIamRoles() const
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_ODB_API CloudVmCluster()=default
void SetExascaleDbStorageVaultArn(ExascaleDbStorageVaultArnT &&value)
void SetCloudExadataInfrastructureArn(CloudExadataInfrastructureArnT &&value)
CloudVmCluster & AddVipIds(VipIdsT &&value)
CloudVmCluster & WithStorageManagementType(StorageManagementType value)
CloudVmCluster & AddIamRoles(IamRolesT &&value)
CloudVmCluster & WithVmBackupStorageType(VmStorageType value)
CloudVmCluster & WithVmFileSystemStorageType(VmStorageType value)
void SetOciUrl(OciUrlT &&value)
bool CloudExadataInfrastructureArnHasBeenSet() const
CloudVmCluster & WithClusterName(ClusterNameT &&value)
const Aws::String & GetExascaleDbStorageVaultId() const
CloudVmCluster & AddFileSystemConfigurationDetails(FileSystemConfigurationDetailsT &&value)
const Aws::String & GetShape() const
void SetDomain(DomainT &&value)
CloudVmCluster & WithExascaleDbStorageVaultArn(ExascaleDbStorageVaultArnT &&value)
const ExadataIormConfig & GetIormConfigCache() const
const Aws::String & GetOcid() const
const Aws::String & GetScanDnsName() const
bool CloudExadataInfrastructureIdHasBeenSet() const
void SetIamRoles(IamRolesT &&value)
CloudVmCluster & WithDbNodeStorageSizeInGBs(int value)
void SetScanDnsRecordId(ScanDnsRecordIdT &&value)
CloudVmCluster & WithOciResourceAnchorName(OciResourceAnchorNameT &&value)
CloudVmCluster & WithExascaleDbStorageVaultId(ExascaleDbStorageVaultIdT &&value)
CloudVmCluster & WithGiVersion(GiVersionT &&value)
void SetVipIds(VipIdsT &&value)
CloudVmCluster & WithStatusReason(StatusReasonT &&value)
ComputeModel GetComputeModel() const
CloudVmCluster & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetGiVersion() const
CloudVmCluster & WithCloudExadataInfrastructureId(CloudExadataInfrastructureIdT &&value)
LicenseModel GetLicenseModel() const
CloudVmCluster & WithScanDnsName(ScanDnsNameT &&value)
bool LastUpdateHistoryEntryIdHasBeenSet() const
bool FileSystemConfigurationDetailsHasBeenSet() const
void SetIsSparseDiskgroupEnabled(bool value)
bool IsSparseDiskgroupEnabledHasBeenSet() const
VmStorageType GetVmBackupStorageType() const
void SetGiVersion(GiVersionT &&value)
void SetIsLocalBackupEnabled(bool value)
const Aws::String & GetStatusReason() const
void SetFileSystemConfigurationDetails(FileSystemConfigurationDetailsT &&value)
CloudVmCluster & WithOcid(OcidT &&value)
void SetLicenseModel(LicenseModel value)
AWS_ODB_API Aws::Utils::Json::JsonValue Jsonize() const
CloudVmCluster & WithDisplayName(DisplayNameT &&value)
void SetLastUpdateHistoryEntryId(LastUpdateHistoryEntryIdT &&value)
CloudVmCluster & WithListenerPort(int value)
void SetHostname(HostnameT &&value)
CloudVmCluster & WithSshPublicKeys(SshPublicKeysT &&value)
CloudVmCluster & WithStorageSizeInGBs(int value)
const Aws::String & GetDomain() const
bool ExascaleDbStorageVaultIdHasBeenSet() const
const Aws::String & GetTimeZone() const
CloudVmCluster & AddDbServers(DbServersT &&value)
CloudVmCluster & WithPercentProgress(double value)
const Aws::String & GetClusterName() const
const Aws::Vector< FileSystemConfigurationDetails > & GetFileSystemConfigurationDetails() const
CloudVmCluster & WithVipIds(VipIdsT &&value)
bool ExascaleDbStorageVaultArnHasBeenSet() const
CloudVmCluster & WithTimeZone(TimeZoneT &&value)
void SetCreatedAt(CreatedAtT &&value)
const Aws::String & GetHostname() const
void SetDbNodeStorageSizeInGBs(int value)
CloudVmCluster & WithOciUrl(OciUrlT &&value)
void SetCloudVmClusterArn(CloudVmClusterArnT &&value)
CloudVmCluster & WithCloudExadataInfrastructureArn(CloudExadataInfrastructureArnT &&value)
const Aws::String & GetCloudVmClusterArn() const
const Aws::String & GetExascaleDbStorageVaultArn() const
CloudVmCluster & WithDataStorageSizeInTBs(double value)
void SetComputeModel(ComputeModel value)
const Aws::String & GetOciResourceAnchorName() const
void SetTimeZone(TimeZoneT &&value)
CloudVmCluster & WithDomain(DomainT &&value)
CloudVmCluster & WithDbServers(DbServersT &&value)
CloudVmCluster & WithScanIpIds(ScanIpIdsT &&value)
CloudVmCluster & AddScanIpIds(ScanIpIdsT &&value)
CloudVmCluster & WithOdbNetworkId(OdbNetworkIdT &&value)
const Aws::Vector< Aws::String > & GetSshPublicKeys() const
CloudVmCluster & WithScanDnsRecordId(ScanDnsRecordIdT &&value)
const Aws::String & GetOciUrl() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue