AWS SDK for C++

AWS SDK for C++ Version 1.11.865

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/AdminPasswordSource.h>
14#include <aws/odb/model/AdminPasswordSourceConfigurationInput.h>
15#include <aws/odb/model/AutonomousMaintenanceScheduleType.h>
16#include <aws/odb/model/CustomerContact.h>
17#include <aws/odb/model/DatabaseEdition.h>
18#include <aws/odb/model/DatabaseTool.h>
19#include <aws/odb/model/DbWorkload.h>
20#include <aws/odb/model/EncryptionKeyConfigurationInput.h>
21#include <aws/odb/model/EncryptionKeyProviderInput.h>
22#include <aws/odb/model/LicenseModel.h>
23#include <aws/odb/model/ResourcePoolSummary.h>
24#include <aws/odb/model/ScheduledOperationDetails.h>
25#include <aws/odb/model/SourceConfiguration.h>
26#include <aws/odb/model/SourceType.h>
27#include <aws/odb/model/StandbyAllowlistedIpsSource.h>
28#include <aws/odb/model/TransportableTablespace.h>
29
30#include <utility>
31
32namespace Aws {
33namespace odb {
34namespace Model {
35
39 public:
40 AWS_ODB_API CreateAutonomousDatabaseRequest() = default;
41
42 // Service request name is the Operation name which will send this request out,
43 // each operation should has unique request name, so that we can get operation's name from this request.
44 // Note: this is not true for response, multiple operations may have the same response name,
45 // so we can not get operation's name from response.
46 inline virtual const char* GetServiceRequestName() const override { return "CreateAutonomousDatabase"; }
47
48 AWS_ODB_API Aws::String SerializePayload() const override;
49
51
53
57 inline const Aws::String& GetOdbNetworkId() const { return m_odbNetworkId; }
58 inline bool OdbNetworkIdHasBeenSet() const { return m_odbNetworkIdHasBeenSet; }
59 template <typename OdbNetworkIdT = Aws::String>
60 void SetOdbNetworkId(OdbNetworkIdT&& value) {
61 m_odbNetworkIdHasBeenSet = true;
62 m_odbNetworkId = std::forward<OdbNetworkIdT>(value);
63 }
64 template <typename OdbNetworkIdT = Aws::String>
66 SetOdbNetworkId(std::forward<OdbNetworkIdT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::String& GetDisplayName() const { return m_displayName; }
77 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
78 template <typename DisplayNameT = Aws::String>
79 void SetDisplayName(DisplayNameT&& value) {
80 m_displayNameHasBeenSet = true;
81 m_displayName = std::forward<DisplayNameT>(value);
82 }
83 template <typename DisplayNameT = Aws::String>
85 SetDisplayName(std::forward<DisplayNameT>(value));
86 return *this;
87 }
89
91
97 inline const Aws::String& GetDbName() const { return m_dbName; }
98 inline bool DbNameHasBeenSet() const { return m_dbNameHasBeenSet; }
99 template <typename DbNameT = Aws::String>
100 void SetDbName(DbNameT&& value) {
101 m_dbNameHasBeenSet = true;
102 m_dbName = std::forward<DbNameT>(value);
103 }
104 template <typename DbNameT = Aws::String>
106 SetDbName(std::forward<DbNameT>(value));
107 return *this;
108 }
110
112
115 inline const Aws::String& GetAdminPassword() const { return m_adminPassword; }
116 inline bool AdminPasswordHasBeenSet() const { return m_adminPasswordHasBeenSet; }
117 template <typename AdminPasswordT = Aws::String>
118 void SetAdminPassword(AdminPasswordT&& value) {
119 m_adminPasswordHasBeenSet = true;
120 m_adminPassword = std::forward<AdminPasswordT>(value);
121 }
122 template <typename AdminPasswordT = Aws::String>
124 SetAdminPassword(std::forward<AdminPasswordT>(value));
125 return *this;
126 }
128
130
134 inline double GetComputeCount() const { return m_computeCount; }
135 inline bool ComputeCountHasBeenSet() const { return m_computeCountHasBeenSet; }
136 inline void SetComputeCount(double value) {
137 m_computeCountHasBeenSet = true;
138 m_computeCount = value;
139 }
141 SetComputeCount(value);
142 return *this;
143 }
145
147
151 inline int GetDataStorageSizeInTBs() const { return m_dataStorageSizeInTBs; }
152 inline bool DataStorageSizeInTBsHasBeenSet() const { return m_dataStorageSizeInTBsHasBeenSet; }
153 inline void SetDataStorageSizeInTBs(int value) {
154 m_dataStorageSizeInTBsHasBeenSet = true;
155 m_dataStorageSizeInTBs = value;
156 }
159 return *this;
160 }
162
164
168 inline int GetDataStorageSizeInGBs() const { return m_dataStorageSizeInGBs; }
169 inline bool DataStorageSizeInGBsHasBeenSet() const { return m_dataStorageSizeInGBsHasBeenSet; }
170 inline void SetDataStorageSizeInGBs(int value) {
171 m_dataStorageSizeInGBsHasBeenSet = true;
172 m_dataStorageSizeInGBs = value;
173 }
176 return *this;
177 }
179
181
185 inline DbWorkload GetDbWorkload() const { return m_dbWorkload; }
186 inline bool DbWorkloadHasBeenSet() const { return m_dbWorkloadHasBeenSet; }
187 inline void SetDbWorkload(DbWorkload value) {
188 m_dbWorkloadHasBeenSet = true;
189 m_dbWorkload = value;
190 }
192 SetDbWorkload(value);
193 return *this;
194 }
196
198
202 inline bool GetIsAutoScalingEnabled() const { return m_isAutoScalingEnabled; }
203 inline bool IsAutoScalingEnabledHasBeenSet() const { return m_isAutoScalingEnabledHasBeenSet; }
204 inline void SetIsAutoScalingEnabled(bool value) {
205 m_isAutoScalingEnabledHasBeenSet = true;
206 m_isAutoScalingEnabled = value;
207 }
210 return *this;
211 }
213
215
219 inline bool GetIsAutoScalingForStorageEnabled() const { return m_isAutoScalingForStorageEnabled; }
220 inline bool IsAutoScalingForStorageEnabledHasBeenSet() const { return m_isAutoScalingForStorageEnabledHasBeenSet; }
221 inline void SetIsAutoScalingForStorageEnabled(bool value) {
222 m_isAutoScalingForStorageEnabledHasBeenSet = true;
223 m_isAutoScalingForStorageEnabled = value;
224 }
227 return *this;
228 }
230
232
235 inline LicenseModel GetLicenseModel() const { return m_licenseModel; }
236 inline bool LicenseModelHasBeenSet() const { return m_licenseModelHasBeenSet; }
237 inline void SetLicenseModel(LicenseModel value) {
238 m_licenseModelHasBeenSet = true;
239 m_licenseModel = value;
240 }
242 SetLicenseModel(value);
243 return *this;
244 }
246
248
251 inline const Aws::String& GetCharacterSet() const { return m_characterSet; }
252 inline bool CharacterSetHasBeenSet() const { return m_characterSetHasBeenSet; }
253 template <typename CharacterSetT = Aws::String>
254 void SetCharacterSet(CharacterSetT&& value) {
255 m_characterSetHasBeenSet = true;
256 m_characterSet = std::forward<CharacterSetT>(value);
257 }
258 template <typename CharacterSetT = Aws::String>
260 SetCharacterSet(std::forward<CharacterSetT>(value));
261 return *this;
262 }
264
266
269 inline const Aws::String& GetNcharacterSet() const { return m_ncharacterSet; }
270 inline bool NcharacterSetHasBeenSet() const { return m_ncharacterSetHasBeenSet; }
271 template <typename NcharacterSetT = Aws::String>
272 void SetNcharacterSet(NcharacterSetT&& value) {
273 m_ncharacterSetHasBeenSet = true;
274 m_ncharacterSet = std::forward<NcharacterSetT>(value);
275 }
276 template <typename NcharacterSetT = Aws::String>
278 SetNcharacterSet(std::forward<NcharacterSetT>(value));
279 return *this;
280 }
282
284
287 inline const Aws::String& GetDbVersion() const { return m_dbVersion; }
288 inline bool DbVersionHasBeenSet() const { return m_dbVersionHasBeenSet; }
289 template <typename DbVersionT = Aws::String>
290 void SetDbVersion(DbVersionT&& value) {
291 m_dbVersionHasBeenSet = true;
292 m_dbVersion = std::forward<DbVersionT>(value);
293 }
294 template <typename DbVersionT = Aws::String>
296 SetDbVersion(std::forward<DbVersionT>(value));
297 return *this;
298 }
300
302
305 inline DatabaseEdition GetDatabaseEdition() const { return m_databaseEdition; }
306 inline bool DatabaseEditionHasBeenSet() const { return m_databaseEditionHasBeenSet; }
308 m_databaseEditionHasBeenSet = true;
309 m_databaseEdition = value;
310 }
312 SetDatabaseEdition(value);
313 return *this;
314 }
316
318
322 inline StandbyAllowlistedIpsSource GetStandbyAllowlistedIpsSource() const { return m_standbyAllowlistedIpsSource; }
323 inline bool StandbyAllowlistedIpsSourceHasBeenSet() const { return m_standbyAllowlistedIpsSourceHasBeenSet; }
325 m_standbyAllowlistedIpsSourceHasBeenSet = true;
326 m_standbyAllowlistedIpsSource = value;
327 }
330 return *this;
331 }
333
335
338 inline AutonomousMaintenanceScheduleType GetAutonomousMaintenanceScheduleType() const { return m_autonomousMaintenanceScheduleType; }
339 inline bool AutonomousMaintenanceScheduleTypeHasBeenSet() const { return m_autonomousMaintenanceScheduleTypeHasBeenSet; }
341 m_autonomousMaintenanceScheduleTypeHasBeenSet = true;
342 m_autonomousMaintenanceScheduleType = value;
343 }
346 return *this;
347 }
349
351
355 inline int GetBackupRetentionPeriodInDays() const { return m_backupRetentionPeriodInDays; }
356 inline bool BackupRetentionPeriodInDaysHasBeenSet() const { return m_backupRetentionPeriodInDaysHasBeenSet; }
357 inline void SetBackupRetentionPeriodInDays(int value) {
358 m_backupRetentionPeriodInDaysHasBeenSet = true;
359 m_backupRetentionPeriodInDays = value;
360 }
363 return *this;
364 }
366
368
372 inline double GetByolComputeCountLimit() const { return m_byolComputeCountLimit; }
373 inline bool ByolComputeCountLimitHasBeenSet() const { return m_byolComputeCountLimitHasBeenSet; }
374 inline void SetByolComputeCountLimit(double value) {
375 m_byolComputeCountLimitHasBeenSet = true;
376 m_byolComputeCountLimit = value;
377 }
380 return *this;
381 }
383
385
388 inline int GetCpuCoreCount() const { return m_cpuCoreCount; }
389 inline bool CpuCoreCountHasBeenSet() const { return m_cpuCoreCountHasBeenSet; }
390 inline void SetCpuCoreCount(int value) {
391 m_cpuCoreCountHasBeenSet = true;
392 m_cpuCoreCount = value;
393 }
395 SetCpuCoreCount(value);
396 return *this;
397 }
399
401
405 inline const Aws::Vector<CustomerContact>& GetCustomerContactsToSendToOCI() const { return m_customerContactsToSendToOCI; }
406 inline bool CustomerContactsToSendToOCIHasBeenSet() const { return m_customerContactsToSendToOCIHasBeenSet; }
407 template <typename CustomerContactsToSendToOCIT = Aws::Vector<CustomerContact>>
408 void SetCustomerContactsToSendToOCI(CustomerContactsToSendToOCIT&& value) {
409 m_customerContactsToSendToOCIHasBeenSet = true;
410 m_customerContactsToSendToOCI = std::forward<CustomerContactsToSendToOCIT>(value);
411 }
412 template <typename CustomerContactsToSendToOCIT = Aws::Vector<CustomerContact>>
414 SetCustomerContactsToSendToOCI(std::forward<CustomerContactsToSendToOCIT>(value));
415 return *this;
416 }
417 template <typename CustomerContactsToSendToOCIT = CustomerContact>
419 m_customerContactsToSendToOCIHasBeenSet = true;
420 m_customerContactsToSendToOCI.emplace_back(std::forward<CustomerContactsToSendToOCIT>(value));
421 return *this;
422 }
424
426
429 inline const Aws::String& GetPrivateEndpointIp() const { return m_privateEndpointIp; }
430 inline bool PrivateEndpointIpHasBeenSet() const { return m_privateEndpointIpHasBeenSet; }
431 template <typename PrivateEndpointIpT = Aws::String>
432 void SetPrivateEndpointIp(PrivateEndpointIpT&& value) {
433 m_privateEndpointIpHasBeenSet = true;
434 m_privateEndpointIp = std::forward<PrivateEndpointIpT>(value);
435 }
436 template <typename PrivateEndpointIpT = Aws::String>
438 SetPrivateEndpointIp(std::forward<PrivateEndpointIpT>(value));
439 return *this;
440 }
442
444
447 inline const Aws::String& GetPrivateEndpointLabel() const { return m_privateEndpointLabel; }
448 inline bool PrivateEndpointLabelHasBeenSet() const { return m_privateEndpointLabelHasBeenSet; }
449 template <typename PrivateEndpointLabelT = Aws::String>
450 void SetPrivateEndpointLabel(PrivateEndpointLabelT&& value) {
451 m_privateEndpointLabelHasBeenSet = true;
452 m_privateEndpointLabel = std::forward<PrivateEndpointLabelT>(value);
453 }
454 template <typename PrivateEndpointLabelT = Aws::String>
456 SetPrivateEndpointLabel(std::forward<PrivateEndpointLabelT>(value));
457 return *this;
458 }
460
462
465 inline const Aws::String& GetResourcePoolLeaderId() const { return m_resourcePoolLeaderId; }
466 inline bool ResourcePoolLeaderIdHasBeenSet() const { return m_resourcePoolLeaderIdHasBeenSet; }
467 template <typename ResourcePoolLeaderIdT = Aws::String>
468 void SetResourcePoolLeaderId(ResourcePoolLeaderIdT&& value) {
469 m_resourcePoolLeaderIdHasBeenSet = true;
470 m_resourcePoolLeaderId = std::forward<ResourcePoolLeaderIdT>(value);
471 }
472 template <typename ResourcePoolLeaderIdT = Aws::String>
474 SetResourcePoolLeaderId(std::forward<ResourcePoolLeaderIdT>(value));
475 return *this;
476 }
478
480
483 inline const ResourcePoolSummary& GetResourcePoolSummary() const { return m_resourcePoolSummary; }
484 inline bool ResourcePoolSummaryHasBeenSet() const { return m_resourcePoolSummaryHasBeenSet; }
485 template <typename ResourcePoolSummaryT = ResourcePoolSummary>
486 void SetResourcePoolSummary(ResourcePoolSummaryT&& value) {
487 m_resourcePoolSummaryHasBeenSet = true;
488 m_resourcePoolSummary = std::forward<ResourcePoolSummaryT>(value);
489 }
490 template <typename ResourcePoolSummaryT = ResourcePoolSummary>
492 SetResourcePoolSummary(std::forward<ResourcePoolSummaryT>(value));
493 return *this;
494 }
496
498
501 inline const Aws::Vector<ScheduledOperationDetails>& GetScheduledOperations() const { return m_scheduledOperations; }
502 inline bool ScheduledOperationsHasBeenSet() const { return m_scheduledOperationsHasBeenSet; }
503 template <typename ScheduledOperationsT = Aws::Vector<ScheduledOperationDetails>>
504 void SetScheduledOperations(ScheduledOperationsT&& value) {
505 m_scheduledOperationsHasBeenSet = true;
506 m_scheduledOperations = std::forward<ScheduledOperationsT>(value);
507 }
508 template <typename ScheduledOperationsT = Aws::Vector<ScheduledOperationDetails>>
510 SetScheduledOperations(std::forward<ScheduledOperationsT>(value));
511 return *this;
512 }
513 template <typename ScheduledOperationsT = ScheduledOperationDetails>
515 m_scheduledOperationsHasBeenSet = true;
516 m_scheduledOperations.emplace_back(std::forward<ScheduledOperationsT>(value));
517 return *this;
518 }
520
522
526 inline const Aws::Vector<Aws::String>& GetStandbyAllowlistedIps() const { return m_standbyAllowlistedIps; }
527 inline bool StandbyAllowlistedIpsHasBeenSet() const { return m_standbyAllowlistedIpsHasBeenSet; }
528 template <typename StandbyAllowlistedIpsT = Aws::Vector<Aws::String>>
529 void SetStandbyAllowlistedIps(StandbyAllowlistedIpsT&& value) {
530 m_standbyAllowlistedIpsHasBeenSet = true;
531 m_standbyAllowlistedIps = std::forward<StandbyAllowlistedIpsT>(value);
532 }
533 template <typename StandbyAllowlistedIpsT = Aws::Vector<Aws::String>>
535 SetStandbyAllowlistedIps(std::forward<StandbyAllowlistedIpsT>(value));
536 return *this;
537 }
538 template <typename StandbyAllowlistedIpsT = Aws::String>
540 m_standbyAllowlistedIpsHasBeenSet = true;
541 m_standbyAllowlistedIps.emplace_back(std::forward<StandbyAllowlistedIpsT>(value));
542 return *this;
543 }
545
547
551 inline const Aws::Vector<Aws::String>& GetAllowlistedIps() const { return m_allowlistedIps; }
552 inline bool AllowlistedIpsHasBeenSet() const { return m_allowlistedIpsHasBeenSet; }
553 template <typename AllowlistedIpsT = Aws::Vector<Aws::String>>
554 void SetAllowlistedIps(AllowlistedIpsT&& value) {
555 m_allowlistedIpsHasBeenSet = true;
556 m_allowlistedIps = std::forward<AllowlistedIpsT>(value);
557 }
558 template <typename AllowlistedIpsT = Aws::Vector<Aws::String>>
560 SetAllowlistedIps(std::forward<AllowlistedIpsT>(value));
561 return *this;
562 }
563 template <typename AllowlistedIpsT = Aws::String>
565 m_allowlistedIpsHasBeenSet = true;
566 m_allowlistedIps.emplace_back(std::forward<AllowlistedIpsT>(value));
567 return *this;
568 }
570
572
576 inline const TransportableTablespace& GetTransportableTablespace() const { return m_transportableTablespace; }
577 inline bool TransportableTablespaceHasBeenSet() const { return m_transportableTablespaceHasBeenSet; }
578 template <typename TransportableTablespaceT = TransportableTablespace>
579 void SetTransportableTablespace(TransportableTablespaceT&& value) {
580 m_transportableTablespaceHasBeenSet = true;
581 m_transportableTablespace = std::forward<TransportableTablespaceT>(value);
582 }
583 template <typename TransportableTablespaceT = TransportableTablespace>
585 SetTransportableTablespace(std::forward<TransportableTablespaceT>(value));
586 return *this;
587 }
589
591
595 inline bool GetIsBackupRetentionLocked() const { return m_isBackupRetentionLocked; }
596 inline bool IsBackupRetentionLockedHasBeenSet() const { return m_isBackupRetentionLockedHasBeenSet; }
597 inline void SetIsBackupRetentionLocked(bool value) {
598 m_isBackupRetentionLockedHasBeenSet = true;
599 m_isBackupRetentionLocked = value;
600 }
603 return *this;
604 }
606
608
612 inline bool GetIsLocalDataGuardEnabled() const { return m_isLocalDataGuardEnabled; }
613 inline bool IsLocalDataGuardEnabledHasBeenSet() const { return m_isLocalDataGuardEnabledHasBeenSet; }
614 inline void SetIsLocalDataGuardEnabled(bool value) {
615 m_isLocalDataGuardEnabledHasBeenSet = true;
616 m_isLocalDataGuardEnabled = value;
617 }
620 return *this;
621 }
623
625
629 inline bool GetIsMtlsConnectionRequired() const { return m_isMtlsConnectionRequired; }
630 inline bool IsMtlsConnectionRequiredHasBeenSet() const { return m_isMtlsConnectionRequiredHasBeenSet; }
631 inline void SetIsMtlsConnectionRequired(bool value) {
632 m_isMtlsConnectionRequiredHasBeenSet = true;
633 m_isMtlsConnectionRequired = value;
634 }
637 return *this;
638 }
640
642
646 inline const Aws::Vector<DatabaseTool>& GetDbToolsDetails() const { return m_dbToolsDetails; }
647 inline bool DbToolsDetailsHasBeenSet() const { return m_dbToolsDetailsHasBeenSet; }
648 template <typename DbToolsDetailsT = Aws::Vector<DatabaseTool>>
649 void SetDbToolsDetails(DbToolsDetailsT&& value) {
650 m_dbToolsDetailsHasBeenSet = true;
651 m_dbToolsDetails = std::forward<DbToolsDetailsT>(value);
652 }
653 template <typename DbToolsDetailsT = Aws::Vector<DatabaseTool>>
655 SetDbToolsDetails(std::forward<DbToolsDetailsT>(value));
656 return *this;
657 }
658 template <typename DbToolsDetailsT = DatabaseTool>
660 m_dbToolsDetailsHasBeenSet = true;
661 m_dbToolsDetails.emplace_back(std::forward<DbToolsDetailsT>(value));
662 return *this;
663 }
665
667
671 inline SourceType GetSource() const { return m_source; }
672 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
673 inline void SetSource(SourceType value) {
674 m_sourceHasBeenSet = true;
675 m_source = value;
676 }
678 SetSource(value);
679 return *this;
680 }
682
684
688 inline const SourceConfiguration& GetSourceConfiguration() const { return m_sourceConfiguration; }
689 inline bool SourceConfigurationHasBeenSet() const { return m_sourceConfigurationHasBeenSet; }
690 template <typename SourceConfigurationT = SourceConfiguration>
691 void SetSourceConfiguration(SourceConfigurationT&& value) {
692 m_sourceConfigurationHasBeenSet = true;
693 m_sourceConfiguration = std::forward<SourceConfigurationT>(value);
694 }
695 template <typename SourceConfigurationT = SourceConfiguration>
697 SetSourceConfiguration(std::forward<SourceConfigurationT>(value));
698 return *this;
699 }
701
703
706 inline EncryptionKeyProviderInput GetEncryptionKeyProvider() const { return m_encryptionKeyProvider; }
707 inline bool EncryptionKeyProviderHasBeenSet() const { return m_encryptionKeyProviderHasBeenSet; }
709 m_encryptionKeyProviderHasBeenSet = true;
710 m_encryptionKeyProvider = value;
711 }
714 return *this;
715 }
717
719
723 inline const EncryptionKeyConfigurationInput& GetEncryptionKeyConfiguration() const { return m_encryptionKeyConfiguration; }
724 inline bool EncryptionKeyConfigurationHasBeenSet() const { return m_encryptionKeyConfigurationHasBeenSet; }
725 template <typename EncryptionKeyConfigurationT = EncryptionKeyConfigurationInput>
726 void SetEncryptionKeyConfiguration(EncryptionKeyConfigurationT&& value) {
727 m_encryptionKeyConfigurationHasBeenSet = true;
728 m_encryptionKeyConfiguration = std::forward<EncryptionKeyConfigurationT>(value);
729 }
730 template <typename EncryptionKeyConfigurationT = EncryptionKeyConfigurationInput>
732 SetEncryptionKeyConfiguration(std::forward<EncryptionKeyConfigurationT>(value));
733 return *this;
734 }
736
738
743 inline AdminPasswordSource GetAdminPasswordSource() const { return m_adminPasswordSource; }
744 inline bool AdminPasswordSourceHasBeenSet() const { return m_adminPasswordSourceHasBeenSet; }
746 m_adminPasswordSourceHasBeenSet = true;
747 m_adminPasswordSource = value;
748 }
751 return *this;
752 }
754
756
761 return m_adminPasswordSourceConfiguration;
762 }
763 inline bool AdminPasswordSourceConfigurationHasBeenSet() const { return m_adminPasswordSourceConfigurationHasBeenSet; }
764 template <typename AdminPasswordSourceConfigurationT = AdminPasswordSourceConfigurationInput>
765 void SetAdminPasswordSourceConfiguration(AdminPasswordSourceConfigurationT&& value) {
766 m_adminPasswordSourceConfigurationHasBeenSet = true;
767 m_adminPasswordSourceConfiguration = std::forward<AdminPasswordSourceConfigurationT>(value);
768 }
769 template <typename AdminPasswordSourceConfigurationT = AdminPasswordSourceConfigurationInput>
770 CreateAutonomousDatabaseRequest& WithAdminPasswordSourceConfiguration(AdminPasswordSourceConfigurationT&& value) {
771 SetAdminPasswordSourceConfiguration(std::forward<AdminPasswordSourceConfigurationT>(value));
772 return *this;
773 }
775
777
780 inline const Aws::String& GetClientToken() const { return m_clientToken; }
781 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
782 template <typename ClientTokenT = Aws::String>
783 void SetClientToken(ClientTokenT&& value) {
784 m_clientTokenHasBeenSet = true;
785 m_clientToken = std::forward<ClientTokenT>(value);
786 }
787 template <typename ClientTokenT = Aws::String>
789 SetClientToken(std::forward<ClientTokenT>(value));
790 return *this;
791 }
793
795
799 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
800 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
801 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
802 void SetTags(TagsT&& value) {
803 m_tagsHasBeenSet = true;
804 m_tags = std::forward<TagsT>(value);
805 }
806 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
808 SetTags(std::forward<TagsT>(value));
809 return *this;
810 }
811 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
812 CreateAutonomousDatabaseRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
813 m_tagsHasBeenSet = true;
814 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
815 return *this;
816 }
818 private:
819 Aws::String m_odbNetworkId;
820
821 Aws::String m_displayName;
822
823 Aws::String m_dbName;
824
825 Aws::String m_adminPassword;
826
827 double m_computeCount{0.0};
828
829 int m_dataStorageSizeInTBs{0};
830
831 int m_dataStorageSizeInGBs{0};
832
833 DbWorkload m_dbWorkload{DbWorkload::NOT_SET};
834
835 bool m_isAutoScalingEnabled{false};
836
837 bool m_isAutoScalingForStorageEnabled{false};
838
839 LicenseModel m_licenseModel{LicenseModel::NOT_SET};
840
841 Aws::String m_characterSet;
842
843 Aws::String m_ncharacterSet;
844
845 Aws::String m_dbVersion;
846
847 DatabaseEdition m_databaseEdition{DatabaseEdition::NOT_SET};
848
850
852
853 int m_backupRetentionPeriodInDays{0};
854
855 double m_byolComputeCountLimit{0.0};
856
857 int m_cpuCoreCount{0};
858
859 Aws::Vector<CustomerContact> m_customerContactsToSendToOCI;
860
861 Aws::String m_privateEndpointIp;
862
863 Aws::String m_privateEndpointLabel;
864
865 Aws::String m_resourcePoolLeaderId;
866
867 ResourcePoolSummary m_resourcePoolSummary;
868
869 Aws::Vector<ScheduledOperationDetails> m_scheduledOperations;
870
871 Aws::Vector<Aws::String> m_standbyAllowlistedIps;
872
873 Aws::Vector<Aws::String> m_allowlistedIps;
874
875 TransportableTablespace m_transportableTablespace;
876
877 bool m_isBackupRetentionLocked{false};
878
879 bool m_isLocalDataGuardEnabled{false};
880
881 bool m_isMtlsConnectionRequired{false};
882
883 Aws::Vector<DatabaseTool> m_dbToolsDetails;
884
886
887 SourceConfiguration m_sourceConfiguration;
888
890
891 EncryptionKeyConfigurationInput m_encryptionKeyConfiguration;
892
894
895 AdminPasswordSourceConfigurationInput m_adminPasswordSourceConfiguration;
896
898
900 bool m_odbNetworkIdHasBeenSet = false;
901 bool m_displayNameHasBeenSet = false;
902 bool m_dbNameHasBeenSet = false;
903 bool m_adminPasswordHasBeenSet = false;
904 bool m_computeCountHasBeenSet = false;
905 bool m_dataStorageSizeInTBsHasBeenSet = false;
906 bool m_dataStorageSizeInGBsHasBeenSet = false;
907 bool m_dbWorkloadHasBeenSet = false;
908 bool m_isAutoScalingEnabledHasBeenSet = false;
909 bool m_isAutoScalingForStorageEnabledHasBeenSet = false;
910 bool m_licenseModelHasBeenSet = false;
911 bool m_characterSetHasBeenSet = false;
912 bool m_ncharacterSetHasBeenSet = false;
913 bool m_dbVersionHasBeenSet = false;
914 bool m_databaseEditionHasBeenSet = false;
915 bool m_standbyAllowlistedIpsSourceHasBeenSet = false;
916 bool m_autonomousMaintenanceScheduleTypeHasBeenSet = false;
917 bool m_backupRetentionPeriodInDaysHasBeenSet = false;
918 bool m_byolComputeCountLimitHasBeenSet = false;
919 bool m_cpuCoreCountHasBeenSet = false;
920 bool m_customerContactsToSendToOCIHasBeenSet = false;
921 bool m_privateEndpointIpHasBeenSet = false;
922 bool m_privateEndpointLabelHasBeenSet = false;
923 bool m_resourcePoolLeaderIdHasBeenSet = false;
924 bool m_resourcePoolSummaryHasBeenSet = false;
925 bool m_scheduledOperationsHasBeenSet = false;
926 bool m_standbyAllowlistedIpsHasBeenSet = false;
927 bool m_allowlistedIpsHasBeenSet = false;
928 bool m_transportableTablespaceHasBeenSet = false;
929 bool m_isBackupRetentionLockedHasBeenSet = false;
930 bool m_isLocalDataGuardEnabledHasBeenSet = false;
931 bool m_isMtlsConnectionRequiredHasBeenSet = false;
932 bool m_dbToolsDetailsHasBeenSet = false;
933 bool m_sourceHasBeenSet = false;
934 bool m_sourceConfigurationHasBeenSet = false;
935 bool m_encryptionKeyProviderHasBeenSet = false;
936 bool m_encryptionKeyConfigurationHasBeenSet = false;
937 bool m_adminPasswordSourceHasBeenSet = false;
938 bool m_adminPasswordSourceConfigurationHasBeenSet = false;
939 bool m_clientTokenHasBeenSet = true;
940 bool m_tagsHasBeenSet = false;
941};
942
943} // namespace Model
944} // namespace odb
945} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
CreateAutonomousDatabaseRequest & WithOdbNetworkId(OdbNetworkIdT &&value)
CreateAutonomousDatabaseRequest & WithAdminPasswordSourceConfiguration(AdminPasswordSourceConfigurationT &&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
void SetAdminPasswordSourceConfiguration(AdminPasswordSourceConfigurationT &&value)
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)
const AdminPasswordSourceConfigurationInput & GetAdminPasswordSourceConfiguration() const
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 & WithAdminPasswordSource(AdminPasswordSource 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