AWS SDK for C++

AWS SDK for C++ Version 1.11.831

Loading...
Searching...
No Matches
CreateAutonomousDatabaseRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/odb/OdbRequest.h>
12#include <aws/odb/Odb_EXPORTS.h>
13#include <aws/odb/model/AutonomousMaintenanceScheduleType.h>
14#include <aws/odb/model/CustomerContact.h>
15#include <aws/odb/model/DatabaseEdition.h>
16#include <aws/odb/model/DatabaseTool.h>
17#include <aws/odb/model/DbWorkload.h>
18#include <aws/odb/model/EncryptionKeyConfigurationInput.h>
19#include <aws/odb/model/EncryptionKeyProviderInput.h>
20#include <aws/odb/model/LicenseModel.h>
21#include <aws/odb/model/ResourcePoolSummary.h>
22#include <aws/odb/model/ScheduledOperationDetails.h>
23#include <aws/odb/model/SourceConfiguration.h>
24#include <aws/odb/model/SourceType.h>
25#include <aws/odb/model/StandbyAllowlistedIpsSource.h>
26#include <aws/odb/model/TransportableTablespace.h>
27
28#include <utility>
29
30namespace Aws {
31namespace odb {
32namespace Model {
33
37 public:
38 AWS_ODB_API CreateAutonomousDatabaseRequest() = default;
39
40 // Service request name is the Operation name which will send this request out,
41 // each operation should has unique request name, so that we can get operation's name from this request.
42 // Note: this is not true for response, multiple operations may have the same response name,
43 // so we can not get operation's name from response.
44 inline virtual const char* GetServiceRequestName() const override { return "CreateAutonomousDatabase"; }
45
46 AWS_ODB_API Aws::String SerializePayload() const override;
47
49
51
55 inline const Aws::String& GetOdbNetworkId() const { return m_odbNetworkId; }
56 inline bool OdbNetworkIdHasBeenSet() const { return m_odbNetworkIdHasBeenSet; }
57 template <typename OdbNetworkIdT = Aws::String>
58 void SetOdbNetworkId(OdbNetworkIdT&& value) {
59 m_odbNetworkIdHasBeenSet = true;
60 m_odbNetworkId = std::forward<OdbNetworkIdT>(value);
61 }
62 template <typename OdbNetworkIdT = Aws::String>
64 SetOdbNetworkId(std::forward<OdbNetworkIdT>(value));
65 return *this;
66 }
68
70
74 inline const Aws::String& GetDisplayName() const { return m_displayName; }
75 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
76 template <typename DisplayNameT = Aws::String>
77 void SetDisplayName(DisplayNameT&& value) {
78 m_displayNameHasBeenSet = true;
79 m_displayName = std::forward<DisplayNameT>(value);
80 }
81 template <typename DisplayNameT = Aws::String>
83 SetDisplayName(std::forward<DisplayNameT>(value));
84 return *this;
85 }
87
89
95 inline const Aws::String& GetDbName() const { return m_dbName; }
96 inline bool DbNameHasBeenSet() const { return m_dbNameHasBeenSet; }
97 template <typename DbNameT = Aws::String>
98 void SetDbName(DbNameT&& value) {
99 m_dbNameHasBeenSet = true;
100 m_dbName = std::forward<DbNameT>(value);
101 }
102 template <typename DbNameT = Aws::String>
104 SetDbName(std::forward<DbNameT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::String& GetAdminPassword() const { return m_adminPassword; }
114 inline bool AdminPasswordHasBeenSet() const { return m_adminPasswordHasBeenSet; }
115 template <typename AdminPasswordT = Aws::String>
116 void SetAdminPassword(AdminPasswordT&& value) {
117 m_adminPasswordHasBeenSet = true;
118 m_adminPassword = std::forward<AdminPasswordT>(value);
119 }
120 template <typename AdminPasswordT = Aws::String>
122 SetAdminPassword(std::forward<AdminPasswordT>(value));
123 return *this;
124 }
126
128
132 inline double GetComputeCount() const { return m_computeCount; }
133 inline bool ComputeCountHasBeenSet() const { return m_computeCountHasBeenSet; }
134 inline void SetComputeCount(double value) {
135 m_computeCountHasBeenSet = true;
136 m_computeCount = value;
137 }
139 SetComputeCount(value);
140 return *this;
141 }
143
145
149 inline int GetDataStorageSizeInTBs() const { return m_dataStorageSizeInTBs; }
150 inline bool DataStorageSizeInTBsHasBeenSet() const { return m_dataStorageSizeInTBsHasBeenSet; }
151 inline void SetDataStorageSizeInTBs(int value) {
152 m_dataStorageSizeInTBsHasBeenSet = true;
153 m_dataStorageSizeInTBs = value;
154 }
157 return *this;
158 }
160
162
166 inline int GetDataStorageSizeInGBs() const { return m_dataStorageSizeInGBs; }
167 inline bool DataStorageSizeInGBsHasBeenSet() const { return m_dataStorageSizeInGBsHasBeenSet; }
168 inline void SetDataStorageSizeInGBs(int value) {
169 m_dataStorageSizeInGBsHasBeenSet = true;
170 m_dataStorageSizeInGBs = value;
171 }
174 return *this;
175 }
177
179
183 inline DbWorkload GetDbWorkload() const { return m_dbWorkload; }
184 inline bool DbWorkloadHasBeenSet() const { return m_dbWorkloadHasBeenSet; }
185 inline void SetDbWorkload(DbWorkload value) {
186 m_dbWorkloadHasBeenSet = true;
187 m_dbWorkload = value;
188 }
190 SetDbWorkload(value);
191 return *this;
192 }
194
196
200 inline bool GetIsAutoScalingEnabled() const { return m_isAutoScalingEnabled; }
201 inline bool IsAutoScalingEnabledHasBeenSet() const { return m_isAutoScalingEnabledHasBeenSet; }
202 inline void SetIsAutoScalingEnabled(bool value) {
203 m_isAutoScalingEnabledHasBeenSet = true;
204 m_isAutoScalingEnabled = value;
205 }
208 return *this;
209 }
211
213
217 inline bool GetIsAutoScalingForStorageEnabled() const { return m_isAutoScalingForStorageEnabled; }
218 inline bool IsAutoScalingForStorageEnabledHasBeenSet() const { return m_isAutoScalingForStorageEnabledHasBeenSet; }
219 inline void SetIsAutoScalingForStorageEnabled(bool value) {
220 m_isAutoScalingForStorageEnabledHasBeenSet = true;
221 m_isAutoScalingForStorageEnabled = value;
222 }
225 return *this;
226 }
228
230
233 inline LicenseModel GetLicenseModel() const { return m_licenseModel; }
234 inline bool LicenseModelHasBeenSet() const { return m_licenseModelHasBeenSet; }
235 inline void SetLicenseModel(LicenseModel value) {
236 m_licenseModelHasBeenSet = true;
237 m_licenseModel = value;
238 }
240 SetLicenseModel(value);
241 return *this;
242 }
244
246
249 inline const Aws::String& GetCharacterSet() const { return m_characterSet; }
250 inline bool CharacterSetHasBeenSet() const { return m_characterSetHasBeenSet; }
251 template <typename CharacterSetT = Aws::String>
252 void SetCharacterSet(CharacterSetT&& value) {
253 m_characterSetHasBeenSet = true;
254 m_characterSet = std::forward<CharacterSetT>(value);
255 }
256 template <typename CharacterSetT = Aws::String>
258 SetCharacterSet(std::forward<CharacterSetT>(value));
259 return *this;
260 }
262
264
267 inline const Aws::String& GetNcharacterSet() const { return m_ncharacterSet; }
268 inline bool NcharacterSetHasBeenSet() const { return m_ncharacterSetHasBeenSet; }
269 template <typename NcharacterSetT = Aws::String>
270 void SetNcharacterSet(NcharacterSetT&& value) {
271 m_ncharacterSetHasBeenSet = true;
272 m_ncharacterSet = std::forward<NcharacterSetT>(value);
273 }
274 template <typename NcharacterSetT = Aws::String>
276 SetNcharacterSet(std::forward<NcharacterSetT>(value));
277 return *this;
278 }
280
282
285 inline const Aws::String& GetDbVersion() const { return m_dbVersion; }
286 inline bool DbVersionHasBeenSet() const { return m_dbVersionHasBeenSet; }
287 template <typename DbVersionT = Aws::String>
288 void SetDbVersion(DbVersionT&& value) {
289 m_dbVersionHasBeenSet = true;
290 m_dbVersion = std::forward<DbVersionT>(value);
291 }
292 template <typename DbVersionT = Aws::String>
294 SetDbVersion(std::forward<DbVersionT>(value));
295 return *this;
296 }
298
300
303 inline DatabaseEdition GetDatabaseEdition() const { return m_databaseEdition; }
304 inline bool DatabaseEditionHasBeenSet() const { return m_databaseEditionHasBeenSet; }
306 m_databaseEditionHasBeenSet = true;
307 m_databaseEdition = value;
308 }
310 SetDatabaseEdition(value);
311 return *this;
312 }
314
316
320 inline StandbyAllowlistedIpsSource GetStandbyAllowlistedIpsSource() const { return m_standbyAllowlistedIpsSource; }
321 inline bool StandbyAllowlistedIpsSourceHasBeenSet() const { return m_standbyAllowlistedIpsSourceHasBeenSet; }
323 m_standbyAllowlistedIpsSourceHasBeenSet = true;
324 m_standbyAllowlistedIpsSource = value;
325 }
328 return *this;
329 }
331
333
336 inline AutonomousMaintenanceScheduleType GetAutonomousMaintenanceScheduleType() const { return m_autonomousMaintenanceScheduleType; }
337 inline bool AutonomousMaintenanceScheduleTypeHasBeenSet() const { return m_autonomousMaintenanceScheduleTypeHasBeenSet; }
339 m_autonomousMaintenanceScheduleTypeHasBeenSet = true;
340 m_autonomousMaintenanceScheduleType = value;
341 }
344 return *this;
345 }
347
349
353 inline int GetBackupRetentionPeriodInDays() const { return m_backupRetentionPeriodInDays; }
354 inline bool BackupRetentionPeriodInDaysHasBeenSet() const { return m_backupRetentionPeriodInDaysHasBeenSet; }
355 inline void SetBackupRetentionPeriodInDays(int value) {
356 m_backupRetentionPeriodInDaysHasBeenSet = true;
357 m_backupRetentionPeriodInDays = value;
358 }
361 return *this;
362 }
364
366
370 inline double GetByolComputeCountLimit() const { return m_byolComputeCountLimit; }
371 inline bool ByolComputeCountLimitHasBeenSet() const { return m_byolComputeCountLimitHasBeenSet; }
372 inline void SetByolComputeCountLimit(double value) {
373 m_byolComputeCountLimitHasBeenSet = true;
374 m_byolComputeCountLimit = value;
375 }
378 return *this;
379 }
381
383
386 inline int GetCpuCoreCount() const { return m_cpuCoreCount; }
387 inline bool CpuCoreCountHasBeenSet() const { return m_cpuCoreCountHasBeenSet; }
388 inline void SetCpuCoreCount(int value) {
389 m_cpuCoreCountHasBeenSet = true;
390 m_cpuCoreCount = value;
391 }
393 SetCpuCoreCount(value);
394 return *this;
395 }
397
399
403 inline const Aws::Vector<CustomerContact>& GetCustomerContactsToSendToOCI() const { return m_customerContactsToSendToOCI; }
404 inline bool CustomerContactsToSendToOCIHasBeenSet() const { return m_customerContactsToSendToOCIHasBeenSet; }
405 template <typename CustomerContactsToSendToOCIT = Aws::Vector<CustomerContact>>
406 void SetCustomerContactsToSendToOCI(CustomerContactsToSendToOCIT&& value) {
407 m_customerContactsToSendToOCIHasBeenSet = true;
408 m_customerContactsToSendToOCI = std::forward<CustomerContactsToSendToOCIT>(value);
409 }
410 template <typename CustomerContactsToSendToOCIT = Aws::Vector<CustomerContact>>
412 SetCustomerContactsToSendToOCI(std::forward<CustomerContactsToSendToOCIT>(value));
413 return *this;
414 }
415 template <typename CustomerContactsToSendToOCIT = CustomerContact>
417 m_customerContactsToSendToOCIHasBeenSet = true;
418 m_customerContactsToSendToOCI.emplace_back(std::forward<CustomerContactsToSendToOCIT>(value));
419 return *this;
420 }
422
424
427 inline const Aws::String& GetPrivateEndpointIp() const { return m_privateEndpointIp; }
428 inline bool PrivateEndpointIpHasBeenSet() const { return m_privateEndpointIpHasBeenSet; }
429 template <typename PrivateEndpointIpT = Aws::String>
430 void SetPrivateEndpointIp(PrivateEndpointIpT&& value) {
431 m_privateEndpointIpHasBeenSet = true;
432 m_privateEndpointIp = std::forward<PrivateEndpointIpT>(value);
433 }
434 template <typename PrivateEndpointIpT = Aws::String>
436 SetPrivateEndpointIp(std::forward<PrivateEndpointIpT>(value));
437 return *this;
438 }
440
442
445 inline const Aws::String& GetPrivateEndpointLabel() const { return m_privateEndpointLabel; }
446 inline bool PrivateEndpointLabelHasBeenSet() const { return m_privateEndpointLabelHasBeenSet; }
447 template <typename PrivateEndpointLabelT = Aws::String>
448 void SetPrivateEndpointLabel(PrivateEndpointLabelT&& value) {
449 m_privateEndpointLabelHasBeenSet = true;
450 m_privateEndpointLabel = std::forward<PrivateEndpointLabelT>(value);
451 }
452 template <typename PrivateEndpointLabelT = Aws::String>
454 SetPrivateEndpointLabel(std::forward<PrivateEndpointLabelT>(value));
455 return *this;
456 }
458
460
463 inline const Aws::String& GetResourcePoolLeaderId() const { return m_resourcePoolLeaderId; }
464 inline bool ResourcePoolLeaderIdHasBeenSet() const { return m_resourcePoolLeaderIdHasBeenSet; }
465 template <typename ResourcePoolLeaderIdT = Aws::String>
466 void SetResourcePoolLeaderId(ResourcePoolLeaderIdT&& value) {
467 m_resourcePoolLeaderIdHasBeenSet = true;
468 m_resourcePoolLeaderId = std::forward<ResourcePoolLeaderIdT>(value);
469 }
470 template <typename ResourcePoolLeaderIdT = Aws::String>
472 SetResourcePoolLeaderId(std::forward<ResourcePoolLeaderIdT>(value));
473 return *this;
474 }
476
478
481 inline const ResourcePoolSummary& GetResourcePoolSummary() const { return m_resourcePoolSummary; }
482 inline bool ResourcePoolSummaryHasBeenSet() const { return m_resourcePoolSummaryHasBeenSet; }
483 template <typename ResourcePoolSummaryT = ResourcePoolSummary>
484 void SetResourcePoolSummary(ResourcePoolSummaryT&& value) {
485 m_resourcePoolSummaryHasBeenSet = true;
486 m_resourcePoolSummary = std::forward<ResourcePoolSummaryT>(value);
487 }
488 template <typename ResourcePoolSummaryT = ResourcePoolSummary>
490 SetResourcePoolSummary(std::forward<ResourcePoolSummaryT>(value));
491 return *this;
492 }
494
496
499 inline const Aws::Vector<ScheduledOperationDetails>& GetScheduledOperations() const { return m_scheduledOperations; }
500 inline bool ScheduledOperationsHasBeenSet() const { return m_scheduledOperationsHasBeenSet; }
501 template <typename ScheduledOperationsT = Aws::Vector<ScheduledOperationDetails>>
502 void SetScheduledOperations(ScheduledOperationsT&& value) {
503 m_scheduledOperationsHasBeenSet = true;
504 m_scheduledOperations = std::forward<ScheduledOperationsT>(value);
505 }
506 template <typename ScheduledOperationsT = Aws::Vector<ScheduledOperationDetails>>
508 SetScheduledOperations(std::forward<ScheduledOperationsT>(value));
509 return *this;
510 }
511 template <typename ScheduledOperationsT = ScheduledOperationDetails>
513 m_scheduledOperationsHasBeenSet = true;
514 m_scheduledOperations.emplace_back(std::forward<ScheduledOperationsT>(value));
515 return *this;
516 }
518
520
524 inline const Aws::Vector<Aws::String>& GetStandbyAllowlistedIps() const { return m_standbyAllowlistedIps; }
525 inline bool StandbyAllowlistedIpsHasBeenSet() const { return m_standbyAllowlistedIpsHasBeenSet; }
526 template <typename StandbyAllowlistedIpsT = Aws::Vector<Aws::String>>
527 void SetStandbyAllowlistedIps(StandbyAllowlistedIpsT&& value) {
528 m_standbyAllowlistedIpsHasBeenSet = true;
529 m_standbyAllowlistedIps = std::forward<StandbyAllowlistedIpsT>(value);
530 }
531 template <typename StandbyAllowlistedIpsT = Aws::Vector<Aws::String>>
533 SetStandbyAllowlistedIps(std::forward<StandbyAllowlistedIpsT>(value));
534 return *this;
535 }
536 template <typename StandbyAllowlistedIpsT = Aws::String>
538 m_standbyAllowlistedIpsHasBeenSet = true;
539 m_standbyAllowlistedIps.emplace_back(std::forward<StandbyAllowlistedIpsT>(value));
540 return *this;
541 }
543
545
549 inline const Aws::Vector<Aws::String>& GetAllowlistedIps() const { return m_allowlistedIps; }
550 inline bool AllowlistedIpsHasBeenSet() const { return m_allowlistedIpsHasBeenSet; }
551 template <typename AllowlistedIpsT = Aws::Vector<Aws::String>>
552 void SetAllowlistedIps(AllowlistedIpsT&& value) {
553 m_allowlistedIpsHasBeenSet = true;
554 m_allowlistedIps = std::forward<AllowlistedIpsT>(value);
555 }
556 template <typename AllowlistedIpsT = Aws::Vector<Aws::String>>
558 SetAllowlistedIps(std::forward<AllowlistedIpsT>(value));
559 return *this;
560 }
561 template <typename AllowlistedIpsT = Aws::String>
563 m_allowlistedIpsHasBeenSet = true;
564 m_allowlistedIps.emplace_back(std::forward<AllowlistedIpsT>(value));
565 return *this;
566 }
568
570
574 inline const TransportableTablespace& GetTransportableTablespace() const { return m_transportableTablespace; }
575 inline bool TransportableTablespaceHasBeenSet() const { return m_transportableTablespaceHasBeenSet; }
576 template <typename TransportableTablespaceT = TransportableTablespace>
577 void SetTransportableTablespace(TransportableTablespaceT&& value) {
578 m_transportableTablespaceHasBeenSet = true;
579 m_transportableTablespace = std::forward<TransportableTablespaceT>(value);
580 }
581 template <typename TransportableTablespaceT = TransportableTablespace>
583 SetTransportableTablespace(std::forward<TransportableTablespaceT>(value));
584 return *this;
585 }
587
589
593 inline bool GetIsBackupRetentionLocked() const { return m_isBackupRetentionLocked; }
594 inline bool IsBackupRetentionLockedHasBeenSet() const { return m_isBackupRetentionLockedHasBeenSet; }
595 inline void SetIsBackupRetentionLocked(bool value) {
596 m_isBackupRetentionLockedHasBeenSet = true;
597 m_isBackupRetentionLocked = value;
598 }
601 return *this;
602 }
604
606
610 inline bool GetIsLocalDataGuardEnabled() const { return m_isLocalDataGuardEnabled; }
611 inline bool IsLocalDataGuardEnabledHasBeenSet() const { return m_isLocalDataGuardEnabledHasBeenSet; }
612 inline void SetIsLocalDataGuardEnabled(bool value) {
613 m_isLocalDataGuardEnabledHasBeenSet = true;
614 m_isLocalDataGuardEnabled = value;
615 }
618 return *this;
619 }
621
623
627 inline bool GetIsMtlsConnectionRequired() const { return m_isMtlsConnectionRequired; }
628 inline bool IsMtlsConnectionRequiredHasBeenSet() const { return m_isMtlsConnectionRequiredHasBeenSet; }
629 inline void SetIsMtlsConnectionRequired(bool value) {
630 m_isMtlsConnectionRequiredHasBeenSet = true;
631 m_isMtlsConnectionRequired = value;
632 }
635 return *this;
636 }
638
640
644 inline const Aws::Vector<DatabaseTool>& GetDbToolsDetails() const { return m_dbToolsDetails; }
645 inline bool DbToolsDetailsHasBeenSet() const { return m_dbToolsDetailsHasBeenSet; }
646 template <typename DbToolsDetailsT = Aws::Vector<DatabaseTool>>
647 void SetDbToolsDetails(DbToolsDetailsT&& value) {
648 m_dbToolsDetailsHasBeenSet = true;
649 m_dbToolsDetails = std::forward<DbToolsDetailsT>(value);
650 }
651 template <typename DbToolsDetailsT = Aws::Vector<DatabaseTool>>
653 SetDbToolsDetails(std::forward<DbToolsDetailsT>(value));
654 return *this;
655 }
656 template <typename DbToolsDetailsT = DatabaseTool>
658 m_dbToolsDetailsHasBeenSet = true;
659 m_dbToolsDetails.emplace_back(std::forward<DbToolsDetailsT>(value));
660 return *this;
661 }
663
665
669 inline SourceType GetSource() const { return m_source; }
670 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
671 inline void SetSource(SourceType value) {
672 m_sourceHasBeenSet = true;
673 m_source = value;
674 }
676 SetSource(value);
677 return *this;
678 }
680
682
686 inline const SourceConfiguration& GetSourceConfiguration() const { return m_sourceConfiguration; }
687 inline bool SourceConfigurationHasBeenSet() const { return m_sourceConfigurationHasBeenSet; }
688 template <typename SourceConfigurationT = SourceConfiguration>
689 void SetSourceConfiguration(SourceConfigurationT&& value) {
690 m_sourceConfigurationHasBeenSet = true;
691 m_sourceConfiguration = std::forward<SourceConfigurationT>(value);
692 }
693 template <typename SourceConfigurationT = SourceConfiguration>
695 SetSourceConfiguration(std::forward<SourceConfigurationT>(value));
696 return *this;
697 }
699
701
704 inline EncryptionKeyProviderInput GetEncryptionKeyProvider() const { return m_encryptionKeyProvider; }
705 inline bool EncryptionKeyProviderHasBeenSet() const { return m_encryptionKeyProviderHasBeenSet; }
707 m_encryptionKeyProviderHasBeenSet = true;
708 m_encryptionKeyProvider = value;
709 }
712 return *this;
713 }
715
717
721 inline const EncryptionKeyConfigurationInput& GetEncryptionKeyConfiguration() const { return m_encryptionKeyConfiguration; }
722 inline bool EncryptionKeyConfigurationHasBeenSet() const { return m_encryptionKeyConfigurationHasBeenSet; }
723 template <typename EncryptionKeyConfigurationT = EncryptionKeyConfigurationInput>
724 void SetEncryptionKeyConfiguration(EncryptionKeyConfigurationT&& value) {
725 m_encryptionKeyConfigurationHasBeenSet = true;
726 m_encryptionKeyConfiguration = std::forward<EncryptionKeyConfigurationT>(value);
727 }
728 template <typename EncryptionKeyConfigurationT = EncryptionKeyConfigurationInput>
730 SetEncryptionKeyConfiguration(std::forward<EncryptionKeyConfigurationT>(value));
731 return *this;
732 }
734
736
739 inline const Aws::String& GetClientToken() const { return m_clientToken; }
740 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
741 template <typename ClientTokenT = Aws::String>
742 void SetClientToken(ClientTokenT&& value) {
743 m_clientTokenHasBeenSet = true;
744 m_clientToken = std::forward<ClientTokenT>(value);
745 }
746 template <typename ClientTokenT = Aws::String>
748 SetClientToken(std::forward<ClientTokenT>(value));
749 return *this;
750 }
752
754
758 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
759 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
760 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
761 void SetTags(TagsT&& value) {
762 m_tagsHasBeenSet = true;
763 m_tags = std::forward<TagsT>(value);
764 }
765 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
767 SetTags(std::forward<TagsT>(value));
768 return *this;
769 }
770 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
771 CreateAutonomousDatabaseRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
772 m_tagsHasBeenSet = true;
773 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
774 return *this;
775 }
777 private:
778 Aws::String m_odbNetworkId;
779
780 Aws::String m_displayName;
781
782 Aws::String m_dbName;
783
784 Aws::String m_adminPassword;
785
786 double m_computeCount{0.0};
787
788 int m_dataStorageSizeInTBs{0};
789
790 int m_dataStorageSizeInGBs{0};
791
792 DbWorkload m_dbWorkload{DbWorkload::NOT_SET};
793
794 bool m_isAutoScalingEnabled{false};
795
796 bool m_isAutoScalingForStorageEnabled{false};
797
798 LicenseModel m_licenseModel{LicenseModel::NOT_SET};
799
800 Aws::String m_characterSet;
801
802 Aws::String m_ncharacterSet;
803
804 Aws::String m_dbVersion;
805
806 DatabaseEdition m_databaseEdition{DatabaseEdition::NOT_SET};
807
809
811
812 int m_backupRetentionPeriodInDays{0};
813
814 double m_byolComputeCountLimit{0.0};
815
816 int m_cpuCoreCount{0};
817
818 Aws::Vector<CustomerContact> m_customerContactsToSendToOCI;
819
820 Aws::String m_privateEndpointIp;
821
822 Aws::String m_privateEndpointLabel;
823
824 Aws::String m_resourcePoolLeaderId;
825
826 ResourcePoolSummary m_resourcePoolSummary;
827
828 Aws::Vector<ScheduledOperationDetails> m_scheduledOperations;
829
830 Aws::Vector<Aws::String> m_standbyAllowlistedIps;
831
832 Aws::Vector<Aws::String> m_allowlistedIps;
833
834 TransportableTablespace m_transportableTablespace;
835
836 bool m_isBackupRetentionLocked{false};
837
838 bool m_isLocalDataGuardEnabled{false};
839
840 bool m_isMtlsConnectionRequired{false};
841
842 Aws::Vector<DatabaseTool> m_dbToolsDetails;
843
845
846 SourceConfiguration m_sourceConfiguration;
847
849
850 EncryptionKeyConfigurationInput m_encryptionKeyConfiguration;
851
853
855 bool m_odbNetworkIdHasBeenSet = false;
856 bool m_displayNameHasBeenSet = false;
857 bool m_dbNameHasBeenSet = false;
858 bool m_adminPasswordHasBeenSet = false;
859 bool m_computeCountHasBeenSet = false;
860 bool m_dataStorageSizeInTBsHasBeenSet = false;
861 bool m_dataStorageSizeInGBsHasBeenSet = false;
862 bool m_dbWorkloadHasBeenSet = false;
863 bool m_isAutoScalingEnabledHasBeenSet = false;
864 bool m_isAutoScalingForStorageEnabledHasBeenSet = false;
865 bool m_licenseModelHasBeenSet = false;
866 bool m_characterSetHasBeenSet = false;
867 bool m_ncharacterSetHasBeenSet = false;
868 bool m_dbVersionHasBeenSet = false;
869 bool m_databaseEditionHasBeenSet = false;
870 bool m_standbyAllowlistedIpsSourceHasBeenSet = false;
871 bool m_autonomousMaintenanceScheduleTypeHasBeenSet = false;
872 bool m_backupRetentionPeriodInDaysHasBeenSet = false;
873 bool m_byolComputeCountLimitHasBeenSet = false;
874 bool m_cpuCoreCountHasBeenSet = false;
875 bool m_customerContactsToSendToOCIHasBeenSet = false;
876 bool m_privateEndpointIpHasBeenSet = false;
877 bool m_privateEndpointLabelHasBeenSet = false;
878 bool m_resourcePoolLeaderIdHasBeenSet = false;
879 bool m_resourcePoolSummaryHasBeenSet = false;
880 bool m_scheduledOperationsHasBeenSet = false;
881 bool m_standbyAllowlistedIpsHasBeenSet = false;
882 bool m_allowlistedIpsHasBeenSet = false;
883 bool m_transportableTablespaceHasBeenSet = false;
884 bool m_isBackupRetentionLockedHasBeenSet = false;
885 bool m_isLocalDataGuardEnabledHasBeenSet = false;
886 bool m_isMtlsConnectionRequiredHasBeenSet = false;
887 bool m_dbToolsDetailsHasBeenSet = false;
888 bool m_sourceHasBeenSet = false;
889 bool m_sourceConfigurationHasBeenSet = false;
890 bool m_encryptionKeyProviderHasBeenSet = false;
891 bool m_encryptionKeyConfigurationHasBeenSet = false;
892 bool m_clientTokenHasBeenSet = true;
893 bool m_tagsHasBeenSet = false;
894};
895
896} // namespace Model
897} // namespace odb
898} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
CreateAutonomousDatabaseRequest & WithOdbNetworkId(OdbNetworkIdT &&value)
CreateAutonomousDatabaseRequest & WithStandbyAllowlistedIpsSource(StandbyAllowlistedIpsSource value)
CreateAutonomousDatabaseRequest & WithResourcePoolLeaderId(ResourcePoolLeaderIdT &&value)
CreateAutonomousDatabaseRequest & AddDbToolsDetails(DbToolsDetailsT &&value)
void SetTransportableTablespace(TransportableTablespaceT &&value)
void SetEncryptionKeyConfiguration(EncryptionKeyConfigurationT &&value)
const Aws::Vector< CustomerContact > & GetCustomerContactsToSendToOCI() const
CreateAutonomousDatabaseRequest & WithIsBackupRetentionLocked(bool value)
AutonomousMaintenanceScheduleType GetAutonomousMaintenanceScheduleType() const
CreateAutonomousDatabaseRequest & AddCustomerContactsToSendToOCI(CustomerContactsToSendToOCIT &&value)
const TransportableTablespace & GetTransportableTablespace() const
CreateAutonomousDatabaseRequest & WithAllowlistedIps(AllowlistedIpsT &&value)
CreateAutonomousDatabaseRequest & WithIsLocalDataGuardEnabled(bool value)
CreateAutonomousDatabaseRequest & WithAdminPassword(AdminPasswordT &&value)
CreateAutonomousDatabaseRequest & WithCharacterSet(CharacterSetT &&value)
CreateAutonomousDatabaseRequest & WithComputeCount(double value)
const Aws::Vector< Aws::String > & GetAllowlistedIps() const
CreateAutonomousDatabaseRequest & WithTransportableTablespace(TransportableTablespaceT &&value)
CreateAutonomousDatabaseRequest & WithSourceConfiguration(SourceConfigurationT &&value)
CreateAutonomousDatabaseRequest & WithStandbyAllowlistedIps(StandbyAllowlistedIpsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateAutonomousDatabaseRequest & WithEncryptionKeyProvider(EncryptionKeyProviderInput value)
const Aws::Vector< ScheduledOperationDetails > & GetScheduledOperations() const
CreateAutonomousDatabaseRequest & WithResourcePoolSummary(ResourcePoolSummaryT &&value)
CreateAutonomousDatabaseRequest & WithScheduledOperations(ScheduledOperationsT &&value)
const Aws::Vector< DatabaseTool > & GetDbToolsDetails() const
const Aws::Vector< Aws::String > & GetStandbyAllowlistedIps() const
CreateAutonomousDatabaseRequest & WithAutonomousMaintenanceScheduleType(AutonomousMaintenanceScheduleType value)
CreateAutonomousDatabaseRequest & WithDisplayName(DisplayNameT &&value)
CreateAutonomousDatabaseRequest & WithDbWorkload(DbWorkload value)
CreateAutonomousDatabaseRequest & WithTags(TagsT &&value)
CreateAutonomousDatabaseRequest & AddScheduledOperations(ScheduledOperationsT &&value)
CreateAutonomousDatabaseRequest & WithSource(SourceType value)
CreateAutonomousDatabaseRequest & WithIsAutoScalingEnabled(bool value)
void SetCustomerContactsToSendToOCI(CustomerContactsToSendToOCIT &&value)
const EncryptionKeyConfigurationInput & GetEncryptionKeyConfiguration() const
CreateAutonomousDatabaseRequest & WithDataStorageSizeInTBs(int value)
void SetAutonomousMaintenanceScheduleType(AutonomousMaintenanceScheduleType value)
AWS_ODB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateAutonomousDatabaseRequest & WithDbName(DbNameT &&value)
CreateAutonomousDatabaseRequest & WithBackupRetentionPeriodInDays(int value)
CreateAutonomousDatabaseRequest & WithPrivateEndpointLabel(PrivateEndpointLabelT &&value)
CreateAutonomousDatabaseRequest & WithPrivateEndpointIp(PrivateEndpointIpT &&value)
CreateAutonomousDatabaseRequest & AddAllowlistedIps(AllowlistedIpsT &&value)
CreateAutonomousDatabaseRequest & WithByolComputeCountLimit(double value)
CreateAutonomousDatabaseRequest & WithDbToolsDetails(DbToolsDetailsT &&value)
CreateAutonomousDatabaseRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateAutonomousDatabaseRequest & WithDatabaseEdition(DatabaseEdition value)
AWS_ODB_API Aws::String SerializePayload() const override
CreateAutonomousDatabaseRequest & WithIsAutoScalingForStorageEnabled(bool value)
CreateAutonomousDatabaseRequest & WithIsMtlsConnectionRequired(bool value)
void SetStandbyAllowlistedIpsSource(StandbyAllowlistedIpsSource value)
CreateAutonomousDatabaseRequest & WithClientToken(ClientTokenT &&value)
CreateAutonomousDatabaseRequest & WithDbVersion(DbVersionT &&value)
void SetEncryptionKeyProvider(EncryptionKeyProviderInput value)
CreateAutonomousDatabaseRequest & WithCustomerContactsToSendToOCI(CustomerContactsToSendToOCIT &&value)
CreateAutonomousDatabaseRequest & WithLicenseModel(LicenseModel value)
CreateAutonomousDatabaseRequest & WithCpuCoreCount(int value)
CreateAutonomousDatabaseRequest & WithEncryptionKeyConfiguration(EncryptionKeyConfigurationT &&value)
CreateAutonomousDatabaseRequest & WithNcharacterSet(NcharacterSetT &&value)
CreateAutonomousDatabaseRequest & AddStandbyAllowlistedIps(StandbyAllowlistedIpsT &&value)
CreateAutonomousDatabaseRequest & WithDataStorageSizeInGBs(int value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector