AWS SDK for C++

AWS SDK for C++ Version 1.11.716

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/IamRole.h>
16#include <aws/odb/model/LicenseModel.h>
17#include <aws/odb/model/ResourceStatus.h>
18
19#include <utility>
20
21namespace Aws {
22namespace Utils {
23namespace Json {
24class JsonValue;
25class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace odb {
29namespace Model {
30
37 public:
38 AWS_ODB_API CloudVmCluster() = default;
42
44
47 inline const Aws::String& GetCloudVmClusterId() const { return m_cloudVmClusterId; }
48 inline bool CloudVmClusterIdHasBeenSet() const { return m_cloudVmClusterIdHasBeenSet; }
49 template <typename CloudVmClusterIdT = Aws::String>
50 void SetCloudVmClusterId(CloudVmClusterIdT&& value) {
51 m_cloudVmClusterIdHasBeenSet = true;
52 m_cloudVmClusterId = std::forward<CloudVmClusterIdT>(value);
53 }
54 template <typename CloudVmClusterIdT = Aws::String>
55 CloudVmCluster& WithCloudVmClusterId(CloudVmClusterIdT&& value) {
56 SetCloudVmClusterId(std::forward<CloudVmClusterIdT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::String& GetDisplayName() const { return m_displayName; }
66 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
67 template <typename DisplayNameT = Aws::String>
68 void SetDisplayName(DisplayNameT&& value) {
69 m_displayNameHasBeenSet = true;
70 m_displayName = std::forward<DisplayNameT>(value);
71 }
72 template <typename DisplayNameT = Aws::String>
73 CloudVmCluster& WithDisplayName(DisplayNameT&& value) {
74 SetDisplayName(std::forward<DisplayNameT>(value));
75 return *this;
76 }
78
80
83 inline ResourceStatus GetStatus() const { return m_status; }
84 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
85 inline void SetStatus(ResourceStatus value) {
86 m_statusHasBeenSet = true;
87 m_status = value;
88 }
90 SetStatus(value);
91 return *this;
92 }
94
96
99 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
100 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
101 template <typename StatusReasonT = Aws::String>
102 void SetStatusReason(StatusReasonT&& value) {
103 m_statusReasonHasBeenSet = true;
104 m_statusReason = std::forward<StatusReasonT>(value);
105 }
106 template <typename StatusReasonT = Aws::String>
107 CloudVmCluster& WithStatusReason(StatusReasonT&& value) {
108 SetStatusReason(std::forward<StatusReasonT>(value));
109 return *this;
110 }
112
114
117 inline const Aws::String& GetCloudVmClusterArn() const { return m_cloudVmClusterArn; }
118 inline bool CloudVmClusterArnHasBeenSet() const { return m_cloudVmClusterArnHasBeenSet; }
119 template <typename CloudVmClusterArnT = Aws::String>
120 void SetCloudVmClusterArn(CloudVmClusterArnT&& value) {
121 m_cloudVmClusterArnHasBeenSet = true;
122 m_cloudVmClusterArn = std::forward<CloudVmClusterArnT>(value);
123 }
124 template <typename CloudVmClusterArnT = Aws::String>
125 CloudVmCluster& WithCloudVmClusterArn(CloudVmClusterArnT&& value) {
126 SetCloudVmClusterArn(std::forward<CloudVmClusterArnT>(value));
127 return *this;
128 }
130
132
136 inline const Aws::String& GetCloudExadataInfrastructureId() const { return m_cloudExadataInfrastructureId; }
137 inline bool CloudExadataInfrastructureIdHasBeenSet() const { return m_cloudExadataInfrastructureIdHasBeenSet; }
138 template <typename CloudExadataInfrastructureIdT = Aws::String>
139 void SetCloudExadataInfrastructureId(CloudExadataInfrastructureIdT&& value) {
140 m_cloudExadataInfrastructureIdHasBeenSet = true;
141 m_cloudExadataInfrastructureId = std::forward<CloudExadataInfrastructureIdT>(value);
142 }
143 template <typename CloudExadataInfrastructureIdT = Aws::String>
144 CloudVmCluster& WithCloudExadataInfrastructureId(CloudExadataInfrastructureIdT&& value) {
145 SetCloudExadataInfrastructureId(std::forward<CloudExadataInfrastructureIdT>(value));
146 return *this;
147 }
149
151
155 inline const Aws::String& GetCloudExadataInfrastructureArn() const { return m_cloudExadataInfrastructureArn; }
156 inline bool CloudExadataInfrastructureArnHasBeenSet() const { return m_cloudExadataInfrastructureArnHasBeenSet; }
157 template <typename CloudExadataInfrastructureArnT = Aws::String>
158 void SetCloudExadataInfrastructureArn(CloudExadataInfrastructureArnT&& value) {
159 m_cloudExadataInfrastructureArnHasBeenSet = true;
160 m_cloudExadataInfrastructureArn = std::forward<CloudExadataInfrastructureArnT>(value);
161 }
162 template <typename CloudExadataInfrastructureArnT = Aws::String>
163 CloudVmCluster& WithCloudExadataInfrastructureArn(CloudExadataInfrastructureArnT&& value) {
164 SetCloudExadataInfrastructureArn(std::forward<CloudExadataInfrastructureArnT>(value));
165 return *this;
166 }
168
170
173 inline const Aws::String& GetClusterName() const { return m_clusterName; }
174 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
175 template <typename ClusterNameT = Aws::String>
176 void SetClusterName(ClusterNameT&& value) {
177 m_clusterNameHasBeenSet = true;
178 m_clusterName = std::forward<ClusterNameT>(value);
179 }
180 template <typename ClusterNameT = Aws::String>
181 CloudVmCluster& WithClusterName(ClusterNameT&& value) {
182 SetClusterName(std::forward<ClusterNameT>(value));
183 return *this;
184 }
186
188
191 inline int GetCpuCoreCount() const { return m_cpuCoreCount; }
192 inline bool CpuCoreCountHasBeenSet() const { return m_cpuCoreCountHasBeenSet; }
193 inline void SetCpuCoreCount(int value) {
194 m_cpuCoreCountHasBeenSet = true;
195 m_cpuCoreCount = value;
196 }
197 inline CloudVmCluster& WithCpuCoreCount(int value) {
198 SetCpuCoreCount(value);
199 return *this;
200 }
202
204
207 inline const DataCollectionOptions& GetDataCollectionOptions() const { return m_dataCollectionOptions; }
208 inline bool DataCollectionOptionsHasBeenSet() const { return m_dataCollectionOptionsHasBeenSet; }
209 template <typename DataCollectionOptionsT = DataCollectionOptions>
210 void SetDataCollectionOptions(DataCollectionOptionsT&& value) {
211 m_dataCollectionOptionsHasBeenSet = true;
212 m_dataCollectionOptions = std::forward<DataCollectionOptionsT>(value);
213 }
214 template <typename DataCollectionOptionsT = DataCollectionOptions>
215 CloudVmCluster& WithDataCollectionOptions(DataCollectionOptionsT&& value) {
216 SetDataCollectionOptions(std::forward<DataCollectionOptionsT>(value));
217 return *this;
218 }
220
222
226 inline double GetDataStorageSizeInTBs() const { return m_dataStorageSizeInTBs; }
227 inline bool DataStorageSizeInTBsHasBeenSet() const { return m_dataStorageSizeInTBsHasBeenSet; }
228 inline void SetDataStorageSizeInTBs(double value) {
229 m_dataStorageSizeInTBsHasBeenSet = true;
230 m_dataStorageSizeInTBs = value;
231 }
234 return *this;
235 }
237
239
243 inline int GetDbNodeStorageSizeInGBs() const { return m_dbNodeStorageSizeInGBs; }
244 inline bool DbNodeStorageSizeInGBsHasBeenSet() const { return m_dbNodeStorageSizeInGBsHasBeenSet; }
245 inline void SetDbNodeStorageSizeInGBs(int value) {
246 m_dbNodeStorageSizeInGBsHasBeenSet = true;
247 m_dbNodeStorageSizeInGBs = value;
248 }
251 return *this;
252 }
254
256
259 inline const Aws::Vector<Aws::String>& GetDbServers() const { return m_dbServers; }
260 inline bool DbServersHasBeenSet() const { return m_dbServersHasBeenSet; }
261 template <typename DbServersT = Aws::Vector<Aws::String>>
262 void SetDbServers(DbServersT&& value) {
263 m_dbServersHasBeenSet = true;
264 m_dbServers = std::forward<DbServersT>(value);
265 }
266 template <typename DbServersT = Aws::Vector<Aws::String>>
267 CloudVmCluster& WithDbServers(DbServersT&& value) {
268 SetDbServers(std::forward<DbServersT>(value));
269 return *this;
270 }
271 template <typename DbServersT = Aws::String>
272 CloudVmCluster& AddDbServers(DbServersT&& value) {
273 m_dbServersHasBeenSet = true;
274 m_dbServers.emplace_back(std::forward<DbServersT>(value));
275 return *this;
276 }
278
280
284 inline DiskRedundancy GetDiskRedundancy() const { return m_diskRedundancy; }
285 inline bool DiskRedundancyHasBeenSet() const { return m_diskRedundancyHasBeenSet; }
287 m_diskRedundancyHasBeenSet = true;
288 m_diskRedundancy = value;
289 }
291 SetDiskRedundancy(value);
292 return *this;
293 }
295
297
301 inline const Aws::String& GetGiVersion() const { return m_giVersion; }
302 inline bool GiVersionHasBeenSet() const { return m_giVersionHasBeenSet; }
303 template <typename GiVersionT = Aws::String>
304 void SetGiVersion(GiVersionT&& value) {
305 m_giVersionHasBeenSet = true;
306 m_giVersion = std::forward<GiVersionT>(value);
307 }
308 template <typename GiVersionT = Aws::String>
309 CloudVmCluster& WithGiVersion(GiVersionT&& value) {
310 SetGiVersion(std::forward<GiVersionT>(value));
311 return *this;
312 }
314
316
319 inline const Aws::String& GetHostname() const { return m_hostname; }
320 inline bool HostnameHasBeenSet() const { return m_hostnameHasBeenSet; }
321 template <typename HostnameT = Aws::String>
322 void SetHostname(HostnameT&& value) {
323 m_hostnameHasBeenSet = true;
324 m_hostname = std::forward<HostnameT>(value);
325 }
326 template <typename HostnameT = Aws::String>
327 CloudVmCluster& WithHostname(HostnameT&& value) {
328 SetHostname(std::forward<HostnameT>(value));
329 return *this;
330 }
332
334
337 inline const ExadataIormConfig& GetIormConfigCache() const { return m_iormConfigCache; }
338 inline bool IormConfigCacheHasBeenSet() const { return m_iormConfigCacheHasBeenSet; }
339 template <typename IormConfigCacheT = ExadataIormConfig>
340 void SetIormConfigCache(IormConfigCacheT&& value) {
341 m_iormConfigCacheHasBeenSet = true;
342 m_iormConfigCache = std::forward<IormConfigCacheT>(value);
343 }
344 template <typename IormConfigCacheT = ExadataIormConfig>
345 CloudVmCluster& WithIormConfigCache(IormConfigCacheT&& value) {
346 SetIormConfigCache(std::forward<IormConfigCacheT>(value));
347 return *this;
348 }
350
352
356 inline bool GetIsLocalBackupEnabled() const { return m_isLocalBackupEnabled; }
357 inline bool IsLocalBackupEnabledHasBeenSet() const { return m_isLocalBackupEnabledHasBeenSet; }
358 inline void SetIsLocalBackupEnabled(bool value) {
359 m_isLocalBackupEnabledHasBeenSet = true;
360 m_isLocalBackupEnabled = value;
361 }
364 return *this;
365 }
367
369
372 inline bool GetIsSparseDiskgroupEnabled() const { return m_isSparseDiskgroupEnabled; }
373 inline bool IsSparseDiskgroupEnabledHasBeenSet() const { return m_isSparseDiskgroupEnabledHasBeenSet; }
374 inline void SetIsSparseDiskgroupEnabled(bool value) {
375 m_isSparseDiskgroupEnabledHasBeenSet = true;
376 m_isSparseDiskgroupEnabled = value;
377 }
380 return *this;
381 }
383
385
388 inline const Aws::String& GetLastUpdateHistoryEntryId() const { return m_lastUpdateHistoryEntryId; }
389 inline bool LastUpdateHistoryEntryIdHasBeenSet() const { return m_lastUpdateHistoryEntryIdHasBeenSet; }
390 template <typename LastUpdateHistoryEntryIdT = Aws::String>
391 void SetLastUpdateHistoryEntryId(LastUpdateHistoryEntryIdT&& value) {
392 m_lastUpdateHistoryEntryIdHasBeenSet = true;
393 m_lastUpdateHistoryEntryId = std::forward<LastUpdateHistoryEntryIdT>(value);
394 }
395 template <typename LastUpdateHistoryEntryIdT = Aws::String>
396 CloudVmCluster& WithLastUpdateHistoryEntryId(LastUpdateHistoryEntryIdT&& value) {
397 SetLastUpdateHistoryEntryId(std::forward<LastUpdateHistoryEntryIdT>(value));
398 return *this;
399 }
401
403
406 inline LicenseModel GetLicenseModel() const { return m_licenseModel; }
407 inline bool LicenseModelHasBeenSet() const { return m_licenseModelHasBeenSet; }
408 inline void SetLicenseModel(LicenseModel value) {
409 m_licenseModelHasBeenSet = true;
410 m_licenseModel = value;
411 }
413 SetLicenseModel(value);
414 return *this;
415 }
417
419
422 inline int GetListenerPort() const { return m_listenerPort; }
423 inline bool ListenerPortHasBeenSet() const { return m_listenerPortHasBeenSet; }
424 inline void SetListenerPort(int value) {
425 m_listenerPortHasBeenSet = true;
426 m_listenerPort = value;
427 }
428 inline CloudVmCluster& WithListenerPort(int value) {
429 SetListenerPort(value);
430 return *this;
431 }
433
435
439 inline int GetMemorySizeInGBs() const { return m_memorySizeInGBs; }
440 inline bool MemorySizeInGBsHasBeenSet() const { return m_memorySizeInGBsHasBeenSet; }
441 inline void SetMemorySizeInGBs(int value) {
442 m_memorySizeInGBsHasBeenSet = true;
443 m_memorySizeInGBs = value;
444 }
446 SetMemorySizeInGBs(value);
447 return *this;
448 }
450
452
455 inline int GetNodeCount() const { return m_nodeCount; }
456 inline bool NodeCountHasBeenSet() const { return m_nodeCountHasBeenSet; }
457 inline void SetNodeCount(int value) {
458 m_nodeCountHasBeenSet = true;
459 m_nodeCount = value;
460 }
461 inline CloudVmCluster& WithNodeCount(int value) {
462 SetNodeCount(value);
463 return *this;
464 }
466
468
471 inline const Aws::String& GetOcid() const { return m_ocid; }
472 inline bool OcidHasBeenSet() const { return m_ocidHasBeenSet; }
473 template <typename OcidT = Aws::String>
474 void SetOcid(OcidT&& value) {
475 m_ocidHasBeenSet = true;
476 m_ocid = std::forward<OcidT>(value);
477 }
478 template <typename OcidT = Aws::String>
479 CloudVmCluster& WithOcid(OcidT&& value) {
480 SetOcid(std::forward<OcidT>(value));
481 return *this;
482 }
484
486
489 inline const Aws::String& GetOciResourceAnchorName() const { return m_ociResourceAnchorName; }
490 inline bool OciResourceAnchorNameHasBeenSet() const { return m_ociResourceAnchorNameHasBeenSet; }
491 template <typename OciResourceAnchorNameT = Aws::String>
492 void SetOciResourceAnchorName(OciResourceAnchorNameT&& value) {
493 m_ociResourceAnchorNameHasBeenSet = true;
494 m_ociResourceAnchorName = std::forward<OciResourceAnchorNameT>(value);
495 }
496 template <typename OciResourceAnchorNameT = Aws::String>
497 CloudVmCluster& WithOciResourceAnchorName(OciResourceAnchorNameT&& value) {
498 SetOciResourceAnchorName(std::forward<OciResourceAnchorNameT>(value));
499 return *this;
500 }
502
504
507 inline const Aws::String& GetOciUrl() const { return m_ociUrl; }
508 inline bool OciUrlHasBeenSet() const { return m_ociUrlHasBeenSet; }
509 template <typename OciUrlT = Aws::String>
510 void SetOciUrl(OciUrlT&& value) {
511 m_ociUrlHasBeenSet = true;
512 m_ociUrl = std::forward<OciUrlT>(value);
513 }
514 template <typename OciUrlT = Aws::String>
515 CloudVmCluster& WithOciUrl(OciUrlT&& value) {
516 SetOciUrl(std::forward<OciUrlT>(value));
517 return *this;
518 }
520
522
525 inline const Aws::String& GetDomain() const { return m_domain; }
526 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
527 template <typename DomainT = Aws::String>
528 void SetDomain(DomainT&& value) {
529 m_domainHasBeenSet = true;
530 m_domain = std::forward<DomainT>(value);
531 }
532 template <typename DomainT = Aws::String>
533 CloudVmCluster& WithDomain(DomainT&& value) {
534 SetDomain(std::forward<DomainT>(value));
535 return *this;
536 }
538
540
544 inline const Aws::String& GetScanDnsName() const { return m_scanDnsName; }
545 inline bool ScanDnsNameHasBeenSet() const { return m_scanDnsNameHasBeenSet; }
546 template <typename ScanDnsNameT = Aws::String>
547 void SetScanDnsName(ScanDnsNameT&& value) {
548 m_scanDnsNameHasBeenSet = true;
549 m_scanDnsName = std::forward<ScanDnsNameT>(value);
550 }
551 template <typename ScanDnsNameT = Aws::String>
552 CloudVmCluster& WithScanDnsName(ScanDnsNameT&& value) {
553 SetScanDnsName(std::forward<ScanDnsNameT>(value));
554 return *this;
555 }
557
559
563 inline const Aws::String& GetScanDnsRecordId() const { return m_scanDnsRecordId; }
564 inline bool ScanDnsRecordIdHasBeenSet() const { return m_scanDnsRecordIdHasBeenSet; }
565 template <typename ScanDnsRecordIdT = Aws::String>
566 void SetScanDnsRecordId(ScanDnsRecordIdT&& value) {
567 m_scanDnsRecordIdHasBeenSet = true;
568 m_scanDnsRecordId = std::forward<ScanDnsRecordIdT>(value);
569 }
570 template <typename ScanDnsRecordIdT = Aws::String>
571 CloudVmCluster& WithScanDnsRecordId(ScanDnsRecordIdT&& value) {
572 SetScanDnsRecordId(std::forward<ScanDnsRecordIdT>(value));
573 return *this;
574 }
576
578
582 inline const Aws::Vector<Aws::String>& GetScanIpIds() const { return m_scanIpIds; }
583 inline bool ScanIpIdsHasBeenSet() const { return m_scanIpIdsHasBeenSet; }
584 template <typename ScanIpIdsT = Aws::Vector<Aws::String>>
585 void SetScanIpIds(ScanIpIdsT&& value) {
586 m_scanIpIdsHasBeenSet = true;
587 m_scanIpIds = std::forward<ScanIpIdsT>(value);
588 }
589 template <typename ScanIpIdsT = Aws::Vector<Aws::String>>
590 CloudVmCluster& WithScanIpIds(ScanIpIdsT&& value) {
591 SetScanIpIds(std::forward<ScanIpIdsT>(value));
592 return *this;
593 }
594 template <typename ScanIpIdsT = Aws::String>
595 CloudVmCluster& AddScanIpIds(ScanIpIdsT&& value) {
596 m_scanIpIdsHasBeenSet = true;
597 m_scanIpIds.emplace_back(std::forward<ScanIpIdsT>(value));
598 return *this;
599 }
601
603
607 inline const Aws::String& GetShape() const { return m_shape; }
608 inline bool ShapeHasBeenSet() const { return m_shapeHasBeenSet; }
609 template <typename ShapeT = Aws::String>
610 void SetShape(ShapeT&& value) {
611 m_shapeHasBeenSet = true;
612 m_shape = std::forward<ShapeT>(value);
613 }
614 template <typename ShapeT = Aws::String>
615 CloudVmCluster& WithShape(ShapeT&& value) {
616 SetShape(std::forward<ShapeT>(value));
617 return *this;
618 }
620
622
626 inline const Aws::Vector<Aws::String>& GetSshPublicKeys() const { return m_sshPublicKeys; }
627 inline bool SshPublicKeysHasBeenSet() const { return m_sshPublicKeysHasBeenSet; }
628 template <typename SshPublicKeysT = Aws::Vector<Aws::String>>
629 void SetSshPublicKeys(SshPublicKeysT&& value) {
630 m_sshPublicKeysHasBeenSet = true;
631 m_sshPublicKeys = std::forward<SshPublicKeysT>(value);
632 }
633 template <typename SshPublicKeysT = Aws::Vector<Aws::String>>
634 CloudVmCluster& WithSshPublicKeys(SshPublicKeysT&& value) {
635 SetSshPublicKeys(std::forward<SshPublicKeysT>(value));
636 return *this;
637 }
638 template <typename SshPublicKeysT = Aws::String>
639 CloudVmCluster& AddSshPublicKeys(SshPublicKeysT&& value) {
640 m_sshPublicKeysHasBeenSet = true;
641 m_sshPublicKeys.emplace_back(std::forward<SshPublicKeysT>(value));
642 return *this;
643 }
645
647
651 inline int GetStorageSizeInGBs() const { return m_storageSizeInGBs; }
652 inline bool StorageSizeInGBsHasBeenSet() const { return m_storageSizeInGBsHasBeenSet; }
653 inline void SetStorageSizeInGBs(int value) {
654 m_storageSizeInGBsHasBeenSet = true;
655 m_storageSizeInGBs = value;
656 }
658 SetStorageSizeInGBs(value);
659 return *this;
660 }
662
664
667 inline const Aws::String& GetSystemVersion() const { return m_systemVersion; }
668 inline bool SystemVersionHasBeenSet() const { return m_systemVersionHasBeenSet; }
669 template <typename SystemVersionT = Aws::String>
670 void SetSystemVersion(SystemVersionT&& value) {
671 m_systemVersionHasBeenSet = true;
672 m_systemVersion = std::forward<SystemVersionT>(value);
673 }
674 template <typename SystemVersionT = Aws::String>
675 CloudVmCluster& WithSystemVersion(SystemVersionT&& value) {
676 SetSystemVersion(std::forward<SystemVersionT>(value));
677 return *this;
678 }
680
682
685 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
686 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
687 template <typename CreatedAtT = Aws::Utils::DateTime>
688 void SetCreatedAt(CreatedAtT&& value) {
689 m_createdAtHasBeenSet = true;
690 m_createdAt = std::forward<CreatedAtT>(value);
691 }
692 template <typename CreatedAtT = Aws::Utils::DateTime>
693 CloudVmCluster& WithCreatedAt(CreatedAtT&& value) {
694 SetCreatedAt(std::forward<CreatedAtT>(value));
695 return *this;
696 }
698
700
703 inline const Aws::String& GetTimeZone() const { return m_timeZone; }
704 inline bool TimeZoneHasBeenSet() const { return m_timeZoneHasBeenSet; }
705 template <typename TimeZoneT = Aws::String>
706 void SetTimeZone(TimeZoneT&& value) {
707 m_timeZoneHasBeenSet = true;
708 m_timeZone = std::forward<TimeZoneT>(value);
709 }
710 template <typename TimeZoneT = Aws::String>
711 CloudVmCluster& WithTimeZone(TimeZoneT&& value) {
712 SetTimeZone(std::forward<TimeZoneT>(value));
713 return *this;
714 }
716
718
724 inline const Aws::Vector<Aws::String>& GetVipIds() const { return m_vipIds; }
725 inline bool VipIdsHasBeenSet() const { return m_vipIdsHasBeenSet; }
726 template <typename VipIdsT = Aws::Vector<Aws::String>>
727 void SetVipIds(VipIdsT&& value) {
728 m_vipIdsHasBeenSet = true;
729 m_vipIds = std::forward<VipIdsT>(value);
730 }
731 template <typename VipIdsT = Aws::Vector<Aws::String>>
732 CloudVmCluster& WithVipIds(VipIdsT&& value) {
733 SetVipIds(std::forward<VipIdsT>(value));
734 return *this;
735 }
736 template <typename VipIdsT = Aws::String>
737 CloudVmCluster& AddVipIds(VipIdsT&& value) {
738 m_vipIdsHasBeenSet = true;
739 m_vipIds.emplace_back(std::forward<VipIdsT>(value));
740 return *this;
741 }
743
745
748 inline const Aws::String& GetOdbNetworkId() const { return m_odbNetworkId; }
749 inline bool OdbNetworkIdHasBeenSet() const { return m_odbNetworkIdHasBeenSet; }
750 template <typename OdbNetworkIdT = Aws::String>
751 void SetOdbNetworkId(OdbNetworkIdT&& value) {
752 m_odbNetworkIdHasBeenSet = true;
753 m_odbNetworkId = std::forward<OdbNetworkIdT>(value);
754 }
755 template <typename OdbNetworkIdT = Aws::String>
756 CloudVmCluster& WithOdbNetworkId(OdbNetworkIdT&& value) {
757 SetOdbNetworkId(std::forward<OdbNetworkIdT>(value));
758 return *this;
759 }
761
763
767 inline const Aws::String& GetOdbNetworkArn() const { return m_odbNetworkArn; }
768 inline bool OdbNetworkArnHasBeenSet() const { return m_odbNetworkArnHasBeenSet; }
769 template <typename OdbNetworkArnT = Aws::String>
770 void SetOdbNetworkArn(OdbNetworkArnT&& value) {
771 m_odbNetworkArnHasBeenSet = true;
772 m_odbNetworkArn = std::forward<OdbNetworkArnT>(value);
773 }
774 template <typename OdbNetworkArnT = Aws::String>
775 CloudVmCluster& WithOdbNetworkArn(OdbNetworkArnT&& value) {
776 SetOdbNetworkArn(std::forward<OdbNetworkArnT>(value));
777 return *this;
778 }
780
782
786 inline double GetPercentProgress() const { return m_percentProgress; }
787 inline bool PercentProgressHasBeenSet() const { return m_percentProgressHasBeenSet; }
788 inline void SetPercentProgress(double value) {
789 m_percentProgressHasBeenSet = true;
790 m_percentProgress = value;
791 }
792 inline CloudVmCluster& WithPercentProgress(double value) {
793 SetPercentProgress(value);
794 return *this;
795 }
797
799
806 inline ComputeModel GetComputeModel() const { return m_computeModel; }
807 inline bool ComputeModelHasBeenSet() const { return m_computeModelHasBeenSet; }
808 inline void SetComputeModel(ComputeModel value) {
809 m_computeModelHasBeenSet = true;
810 m_computeModel = value;
811 }
813 SetComputeModel(value);
814 return *this;
815 }
817
819
823 inline const Aws::Vector<IamRole>& GetIamRoles() const { return m_iamRoles; }
824 inline bool IamRolesHasBeenSet() const { return m_iamRolesHasBeenSet; }
825 template <typename IamRolesT = Aws::Vector<IamRole>>
826 void SetIamRoles(IamRolesT&& value) {
827 m_iamRolesHasBeenSet = true;
828 m_iamRoles = std::forward<IamRolesT>(value);
829 }
830 template <typename IamRolesT = Aws::Vector<IamRole>>
831 CloudVmCluster& WithIamRoles(IamRolesT&& value) {
832 SetIamRoles(std::forward<IamRolesT>(value));
833 return *this;
834 }
835 template <typename IamRolesT = IamRole>
836 CloudVmCluster& AddIamRoles(IamRolesT&& value) {
837 m_iamRolesHasBeenSet = true;
838 m_iamRoles.emplace_back(std::forward<IamRolesT>(value));
839 return *this;
840 }
842 private:
843 Aws::String m_cloudVmClusterId;
844
845 Aws::String m_displayName;
846
848
849 Aws::String m_statusReason;
850
851 Aws::String m_cloudVmClusterArn;
852
853 Aws::String m_cloudExadataInfrastructureId;
854
855 Aws::String m_cloudExadataInfrastructureArn;
856
857 Aws::String m_clusterName;
858
859 int m_cpuCoreCount{0};
860
861 DataCollectionOptions m_dataCollectionOptions;
862
863 double m_dataStorageSizeInTBs{0.0};
864
865 int m_dbNodeStorageSizeInGBs{0};
866
867 Aws::Vector<Aws::String> m_dbServers;
868
869 DiskRedundancy m_diskRedundancy{DiskRedundancy::NOT_SET};
870
871 Aws::String m_giVersion;
872
873 Aws::String m_hostname;
874
875 ExadataIormConfig m_iormConfigCache;
876
877 bool m_isLocalBackupEnabled{false};
878
879 bool m_isSparseDiskgroupEnabled{false};
880
881 Aws::String m_lastUpdateHistoryEntryId;
882
883 LicenseModel m_licenseModel{LicenseModel::NOT_SET};
884
885 int m_listenerPort{0};
886
887 int m_memorySizeInGBs{0};
888
889 int m_nodeCount{0};
890
891 Aws::String m_ocid;
892
893 Aws::String m_ociResourceAnchorName;
894
895 Aws::String m_ociUrl;
896
897 Aws::String m_domain;
898
899 Aws::String m_scanDnsName;
900
901 Aws::String m_scanDnsRecordId;
902
903 Aws::Vector<Aws::String> m_scanIpIds;
904
905 Aws::String m_shape;
906
907 Aws::Vector<Aws::String> m_sshPublicKeys;
908
909 int m_storageSizeInGBs{0};
910
911 Aws::String m_systemVersion;
912
913 Aws::Utils::DateTime m_createdAt{};
914
915 Aws::String m_timeZone;
916
918
919 Aws::String m_odbNetworkId;
920
921 Aws::String m_odbNetworkArn;
922
923 double m_percentProgress{0.0};
924
925 ComputeModel m_computeModel{ComputeModel::NOT_SET};
926
927 Aws::Vector<IamRole> m_iamRoles;
928 bool m_cloudVmClusterIdHasBeenSet = false;
929 bool m_displayNameHasBeenSet = false;
930 bool m_statusHasBeenSet = false;
931 bool m_statusReasonHasBeenSet = false;
932 bool m_cloudVmClusterArnHasBeenSet = false;
933 bool m_cloudExadataInfrastructureIdHasBeenSet = false;
934 bool m_cloudExadataInfrastructureArnHasBeenSet = false;
935 bool m_clusterNameHasBeenSet = false;
936 bool m_cpuCoreCountHasBeenSet = false;
937 bool m_dataCollectionOptionsHasBeenSet = false;
938 bool m_dataStorageSizeInTBsHasBeenSet = false;
939 bool m_dbNodeStorageSizeInGBsHasBeenSet = false;
940 bool m_dbServersHasBeenSet = false;
941 bool m_diskRedundancyHasBeenSet = false;
942 bool m_giVersionHasBeenSet = false;
943 bool m_hostnameHasBeenSet = false;
944 bool m_iormConfigCacheHasBeenSet = false;
945 bool m_isLocalBackupEnabledHasBeenSet = false;
946 bool m_isSparseDiskgroupEnabledHasBeenSet = false;
947 bool m_lastUpdateHistoryEntryIdHasBeenSet = false;
948 bool m_licenseModelHasBeenSet = false;
949 bool m_listenerPortHasBeenSet = false;
950 bool m_memorySizeInGBsHasBeenSet = false;
951 bool m_nodeCountHasBeenSet = false;
952 bool m_ocidHasBeenSet = false;
953 bool m_ociResourceAnchorNameHasBeenSet = false;
954 bool m_ociUrlHasBeenSet = false;
955 bool m_domainHasBeenSet = false;
956 bool m_scanDnsNameHasBeenSet = false;
957 bool m_scanDnsRecordIdHasBeenSet = false;
958 bool m_scanIpIdsHasBeenSet = false;
959 bool m_shapeHasBeenSet = false;
960 bool m_sshPublicKeysHasBeenSet = false;
961 bool m_storageSizeInGBsHasBeenSet = false;
962 bool m_systemVersionHasBeenSet = false;
963 bool m_createdAtHasBeenSet = false;
964 bool m_timeZoneHasBeenSet = false;
965 bool m_vipIdsHasBeenSet = false;
966 bool m_odbNetworkIdHasBeenSet = false;
967 bool m_odbNetworkArnHasBeenSet = false;
968 bool m_percentProgressHasBeenSet = false;
969 bool m_computeModelHasBeenSet = false;
970 bool m_iamRolesHasBeenSet = false;
971};
972
973} // namespace Model
974} // namespace odb
975} // namespace Aws
void SetDisplayName(DisplayNameT &&value)
CloudVmCluster & WithNodeCount(int value)
void SetStatus(ResourceStatus value)
const Aws::String & GetSystemVersion() const
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
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 & WithCloudVmClusterId(CloudVmClusterIdT &&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)
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
CloudVmCluster & AddSshPublicKeys(SshPublicKeysT &&value)
const DataCollectionOptions & GetDataCollectionOptions() const
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 SetCloudExadataInfrastructureArn(CloudExadataInfrastructureArnT &&value)
CloudVmCluster & AddVipIds(VipIdsT &&value)
CloudVmCluster & AddIamRoles(IamRolesT &&value)
void SetOciUrl(OciUrlT &&value)
bool CloudExadataInfrastructureArnHasBeenSet() const
CloudVmCluster & WithClusterName(ClusterNameT &&value)
const Aws::String & GetShape() const
void SetDomain(DomainT &&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 & 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
void SetIsSparseDiskgroupEnabled(bool value)
bool IsSparseDiskgroupEnabledHasBeenSet() const
void SetGiVersion(GiVersionT &&value)
void SetIsLocalBackupEnabled(bool value)
const Aws::String & GetStatusReason() const
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
const Aws::String & GetTimeZone() const
CloudVmCluster & AddDbServers(DbServersT &&value)
CloudVmCluster & WithPercentProgress(double value)
const Aws::String & GetClusterName() const
CloudVmCluster & WithVipIds(VipIdsT &&value)
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
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