AWS SDK for C++

AWS SDK for C++ Version 1.11.831

Loading...
Searching...
No Matches
UpdateAutonomousDatabaseRequest.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/OdbRequest.h>
11#include <aws/odb/Odb_EXPORTS.h>
12#include <aws/odb/model/AutonomousMaintenanceScheduleType.h>
13#include <aws/odb/model/CustomerContact.h>
14#include <aws/odb/model/DatabaseEdition.h>
15#include <aws/odb/model/DatabaseTool.h>
16#include <aws/odb/model/DbWorkload.h>
17#include <aws/odb/model/EncryptionKeyConfigurationInput.h>
18#include <aws/odb/model/EncryptionKeyProviderInput.h>
19#include <aws/odb/model/LicenseModel.h>
20#include <aws/odb/model/LongTermBackupSchedule.h>
21#include <aws/odb/model/OpenMode.h>
22#include <aws/odb/model/PermissionLevel.h>
23#include <aws/odb/model/RefreshableMode.h>
24#include <aws/odb/model/ResourcePoolSummary.h>
25#include <aws/odb/model/ScheduledOperationDetails.h>
26#include <aws/odb/model/StandbyAllowlistedIpsSource.h>
27
28#include <utility>
29
30namespace Aws {
31namespace odb {
32namespace Model {
33
37 public:
38 AWS_ODB_API UpdateAutonomousDatabaseRequest() = 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 "UpdateAutonomousDatabase"; }
45
46 AWS_ODB_API Aws::String SerializePayload() const override;
47
49
51
54 inline const Aws::String& GetAutonomousDatabaseId() const { return m_autonomousDatabaseId; }
55 inline bool AutonomousDatabaseIdHasBeenSet() const { return m_autonomousDatabaseIdHasBeenSet; }
56 template <typename AutonomousDatabaseIdT = Aws::String>
57 void SetAutonomousDatabaseId(AutonomousDatabaseIdT&& value) {
58 m_autonomousDatabaseIdHasBeenSet = true;
59 m_autonomousDatabaseId = std::forward<AutonomousDatabaseIdT>(value);
60 }
61 template <typename AutonomousDatabaseIdT = Aws::String>
63 SetAutonomousDatabaseId(std::forward<AutonomousDatabaseIdT>(value));
64 return *this;
65 }
67
69
73 inline const Aws::String& GetAdminPassword() const { return m_adminPassword; }
74 inline bool AdminPasswordHasBeenSet() const { return m_adminPasswordHasBeenSet; }
75 template <typename AdminPasswordT = Aws::String>
76 void SetAdminPassword(AdminPasswordT&& value) {
77 m_adminPasswordHasBeenSet = true;
78 m_adminPassword = std::forward<AdminPasswordT>(value);
79 }
80 template <typename AdminPasswordT = Aws::String>
82 SetAdminPassword(std::forward<AdminPasswordT>(value));
83 return *this;
84 }
86
88
92 inline double GetComputeCount() const { return m_computeCount; }
93 inline bool ComputeCountHasBeenSet() const { return m_computeCountHasBeenSet; }
94 inline void SetComputeCount(double value) {
95 m_computeCountHasBeenSet = true;
96 m_computeCount = value;
97 }
99 SetComputeCount(value);
100 return *this;
101 }
103
105
108 inline int GetCpuCoreCount() const { return m_cpuCoreCount; }
109 inline bool CpuCoreCountHasBeenSet() const { return m_cpuCoreCountHasBeenSet; }
110 inline void SetCpuCoreCount(int value) {
111 m_cpuCoreCountHasBeenSet = true;
112 m_cpuCoreCount = value;
113 }
115 SetCpuCoreCount(value);
116 return *this;
117 }
119
121
125 inline int GetDataStorageSizeInTBs() const { return m_dataStorageSizeInTBs; }
126 inline bool DataStorageSizeInTBsHasBeenSet() const { return m_dataStorageSizeInTBsHasBeenSet; }
127 inline void SetDataStorageSizeInTBs(int value) {
128 m_dataStorageSizeInTBsHasBeenSet = true;
129 m_dataStorageSizeInTBs = value;
130 }
133 return *this;
134 }
136
138
142 inline int GetDataStorageSizeInGBs() const { return m_dataStorageSizeInGBs; }
143 inline bool DataStorageSizeInGBsHasBeenSet() const { return m_dataStorageSizeInGBsHasBeenSet; }
144 inline void SetDataStorageSizeInGBs(int value) {
145 m_dataStorageSizeInGBsHasBeenSet = true;
146 m_dataStorageSizeInGBs = value;
147 }
150 return *this;
151 }
153
155
158 inline const Aws::String& GetDisplayName() const { return m_displayName; }
159 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
160 template <typename DisplayNameT = Aws::String>
161 void SetDisplayName(DisplayNameT&& value) {
162 m_displayNameHasBeenSet = true;
163 m_displayName = std::forward<DisplayNameT>(value);
164 }
165 template <typename DisplayNameT = Aws::String>
167 SetDisplayName(std::forward<DisplayNameT>(value));
168 return *this;
169 }
171
173
176 inline const Aws::String& GetDbName() const { return m_dbName; }
177 inline bool DbNameHasBeenSet() const { return m_dbNameHasBeenSet; }
178 template <typename DbNameT = Aws::String>
179 void SetDbName(DbNameT&& value) {
180 m_dbNameHasBeenSet = true;
181 m_dbName = std::forward<DbNameT>(value);
182 }
183 template <typename DbNameT = Aws::String>
185 SetDbName(std::forward<DbNameT>(value));
186 return *this;
187 }
189
191
194 inline const Aws::String& GetDbVersion() const { return m_dbVersion; }
195 inline bool DbVersionHasBeenSet() const { return m_dbVersionHasBeenSet; }
196 template <typename DbVersionT = Aws::String>
197 void SetDbVersion(DbVersionT&& value) {
198 m_dbVersionHasBeenSet = true;
199 m_dbVersion = std::forward<DbVersionT>(value);
200 }
201 template <typename DbVersionT = Aws::String>
203 SetDbVersion(std::forward<DbVersionT>(value));
204 return *this;
205 }
207
209
213 inline DbWorkload GetDbWorkload() const { return m_dbWorkload; }
214 inline bool DbWorkloadHasBeenSet() const { return m_dbWorkloadHasBeenSet; }
215 inline void SetDbWorkload(DbWorkload value) {
216 m_dbWorkloadHasBeenSet = true;
217 m_dbWorkload = value;
218 }
220 SetDbWorkload(value);
221 return *this;
222 }
224
226
230 inline const Aws::Vector<DatabaseTool>& GetDbToolsDetails() const { return m_dbToolsDetails; }
231 inline bool DbToolsDetailsHasBeenSet() const { return m_dbToolsDetailsHasBeenSet; }
232 template <typename DbToolsDetailsT = Aws::Vector<DatabaseTool>>
233 void SetDbToolsDetails(DbToolsDetailsT&& value) {
234 m_dbToolsDetailsHasBeenSet = true;
235 m_dbToolsDetails = std::forward<DbToolsDetailsT>(value);
236 }
237 template <typename DbToolsDetailsT = Aws::Vector<DatabaseTool>>
239 SetDbToolsDetails(std::forward<DbToolsDetailsT>(value));
240 return *this;
241 }
242 template <typename DbToolsDetailsT = DatabaseTool>
244 m_dbToolsDetailsHasBeenSet = true;
245 m_dbToolsDetails.emplace_back(std::forward<DbToolsDetailsT>(value));
246 return *this;
247 }
249
251
254 inline DatabaseEdition GetDatabaseEdition() const { return m_databaseEdition; }
255 inline bool DatabaseEditionHasBeenSet() const { return m_databaseEditionHasBeenSet; }
257 m_databaseEditionHasBeenSet = true;
258 m_databaseEdition = value;
259 }
261 SetDatabaseEdition(value);
262 return *this;
263 }
265
267
270 inline LicenseModel GetLicenseModel() const { return m_licenseModel; }
271 inline bool LicenseModelHasBeenSet() const { return m_licenseModelHasBeenSet; }
272 inline void SetLicenseModel(LicenseModel value) {
273 m_licenseModelHasBeenSet = true;
274 m_licenseModel = value;
275 }
277 SetLicenseModel(value);
278 return *this;
279 }
281
283
287 inline bool GetIsAutoScalingEnabled() const { return m_isAutoScalingEnabled; }
288 inline bool IsAutoScalingEnabledHasBeenSet() const { return m_isAutoScalingEnabledHasBeenSet; }
289 inline void SetIsAutoScalingEnabled(bool value) {
290 m_isAutoScalingEnabledHasBeenSet = true;
291 m_isAutoScalingEnabled = value;
292 }
295 return *this;
296 }
298
300
304 inline bool GetIsAutoScalingForStorageEnabled() const { return m_isAutoScalingForStorageEnabled; }
305 inline bool IsAutoScalingForStorageEnabledHasBeenSet() const { return m_isAutoScalingForStorageEnabledHasBeenSet; }
306 inline void SetIsAutoScalingForStorageEnabled(bool value) {
307 m_isAutoScalingForStorageEnabledHasBeenSet = true;
308 m_isAutoScalingForStorageEnabled = value;
309 }
312 return *this;
313 }
315
317
321 inline bool GetIsBackupRetentionLocked() const { return m_isBackupRetentionLocked; }
322 inline bool IsBackupRetentionLockedHasBeenSet() const { return m_isBackupRetentionLockedHasBeenSet; }
323 inline void SetIsBackupRetentionLocked(bool value) {
324 m_isBackupRetentionLockedHasBeenSet = true;
325 m_isBackupRetentionLocked = value;
326 }
329 return *this;
330 }
332
334
338 inline bool GetIsLocalDataGuardEnabled() const { return m_isLocalDataGuardEnabled; }
339 inline bool IsLocalDataGuardEnabledHasBeenSet() const { return m_isLocalDataGuardEnabledHasBeenSet; }
340 inline void SetIsLocalDataGuardEnabled(bool value) {
341 m_isLocalDataGuardEnabledHasBeenSet = true;
342 m_isLocalDataGuardEnabled = value;
343 }
346 return *this;
347 }
349
351
355 inline bool GetIsMtlsConnectionRequired() const { return m_isMtlsConnectionRequired; }
356 inline bool IsMtlsConnectionRequiredHasBeenSet() const { return m_isMtlsConnectionRequiredHasBeenSet; }
357 inline void SetIsMtlsConnectionRequired(bool value) {
358 m_isMtlsConnectionRequiredHasBeenSet = true;
359 m_isMtlsConnectionRequired = value;
360 }
363 return *this;
364 }
366
368
371 inline bool GetIsRefreshableClone() const { return m_isRefreshableClone; }
372 inline bool IsRefreshableCloneHasBeenSet() const { return m_isRefreshableCloneHasBeenSet; }
373 inline void SetIsRefreshableClone(bool value) {
374 m_isRefreshableCloneHasBeenSet = true;
375 m_isRefreshableClone = value;
376 }
379 return *this;
380 }
382
384
388 inline bool GetIsDisconnectPeer() const { return m_isDisconnectPeer; }
389 inline bool IsDisconnectPeerHasBeenSet() const { return m_isDisconnectPeerHasBeenSet; }
390 inline void SetIsDisconnectPeer(bool value) {
391 m_isDisconnectPeerHasBeenSet = true;
392 m_isDisconnectPeer = value;
393 }
395 SetIsDisconnectPeer(value);
396 return *this;
397 }
399
401
405 inline int GetBackupRetentionPeriodInDays() const { return m_backupRetentionPeriodInDays; }
406 inline bool BackupRetentionPeriodInDaysHasBeenSet() const { return m_backupRetentionPeriodInDaysHasBeenSet; }
407 inline void SetBackupRetentionPeriodInDays(int value) {
408 m_backupRetentionPeriodInDaysHasBeenSet = true;
409 m_backupRetentionPeriodInDays = value;
410 }
413 return *this;
414 }
416
418
422 inline double GetByolComputeCountLimit() const { return m_byolComputeCountLimit; }
423 inline bool ByolComputeCountLimitHasBeenSet() const { return m_byolComputeCountLimitHasBeenSet; }
424 inline void SetByolComputeCountLimit(double value) {
425 m_byolComputeCountLimitHasBeenSet = true;
426 m_byolComputeCountLimit = value;
427 }
430 return *this;
431 }
433
435
439 inline int GetLocalAdgAutoFailoverMaxDataLossLimit() const { return m_localAdgAutoFailoverMaxDataLossLimit; }
440 inline bool LocalAdgAutoFailoverMaxDataLossLimitHasBeenSet() const { return m_localAdgAutoFailoverMaxDataLossLimitHasBeenSet; }
442 m_localAdgAutoFailoverMaxDataLossLimitHasBeenSet = true;
443 m_localAdgAutoFailoverMaxDataLossLimit = value;
444 }
447 return *this;
448 }
450
452
455 inline AutonomousMaintenanceScheduleType GetAutonomousMaintenanceScheduleType() const { return m_autonomousMaintenanceScheduleType; }
456 inline bool AutonomousMaintenanceScheduleTypeHasBeenSet() const { return m_autonomousMaintenanceScheduleTypeHasBeenSet; }
458 m_autonomousMaintenanceScheduleTypeHasBeenSet = true;
459 m_autonomousMaintenanceScheduleType = value;
460 }
463 return *this;
464 }
466
468
472 inline const Aws::Vector<CustomerContact>& GetCustomerContactsToSendToOCI() const { return m_customerContactsToSendToOCI; }
473 inline bool CustomerContactsToSendToOCIHasBeenSet() const { return m_customerContactsToSendToOCIHasBeenSet; }
474 template <typename CustomerContactsToSendToOCIT = Aws::Vector<CustomerContact>>
475 void SetCustomerContactsToSendToOCI(CustomerContactsToSendToOCIT&& value) {
476 m_customerContactsToSendToOCIHasBeenSet = true;
477 m_customerContactsToSendToOCI = std::forward<CustomerContactsToSendToOCIT>(value);
478 }
479 template <typename CustomerContactsToSendToOCIT = Aws::Vector<CustomerContact>>
481 SetCustomerContactsToSendToOCI(std::forward<CustomerContactsToSendToOCIT>(value));
482 return *this;
483 }
484 template <typename CustomerContactsToSendToOCIT = CustomerContact>
486 m_customerContactsToSendToOCIHasBeenSet = true;
487 m_customerContactsToSendToOCI.emplace_back(std::forward<CustomerContactsToSendToOCIT>(value));
488 return *this;
489 }
491
493
496 inline const Aws::Vector<ScheduledOperationDetails>& GetScheduledOperations() const { return m_scheduledOperations; }
497 inline bool ScheduledOperationsHasBeenSet() const { return m_scheduledOperationsHasBeenSet; }
498 template <typename ScheduledOperationsT = Aws::Vector<ScheduledOperationDetails>>
499 void SetScheduledOperations(ScheduledOperationsT&& value) {
500 m_scheduledOperationsHasBeenSet = true;
501 m_scheduledOperations = std::forward<ScheduledOperationsT>(value);
502 }
503 template <typename ScheduledOperationsT = Aws::Vector<ScheduledOperationDetails>>
505 SetScheduledOperations(std::forward<ScheduledOperationsT>(value));
506 return *this;
507 }
508 template <typename ScheduledOperationsT = ScheduledOperationDetails>
510 m_scheduledOperationsHasBeenSet = true;
511 m_scheduledOperations.emplace_back(std::forward<ScheduledOperationsT>(value));
512 return *this;
513 }
515
517
520 inline const LongTermBackupSchedule& GetLongTermBackupSchedule() const { return m_longTermBackupSchedule; }
521 inline bool LongTermBackupScheduleHasBeenSet() const { return m_longTermBackupScheduleHasBeenSet; }
522 template <typename LongTermBackupScheduleT = LongTermBackupSchedule>
523 void SetLongTermBackupSchedule(LongTermBackupScheduleT&& value) {
524 m_longTermBackupScheduleHasBeenSet = true;
525 m_longTermBackupSchedule = std::forward<LongTermBackupScheduleT>(value);
526 }
527 template <typename LongTermBackupScheduleT = LongTermBackupSchedule>
529 SetLongTermBackupSchedule(std::forward<LongTermBackupScheduleT>(value));
530 return *this;
531 }
533
535
539 inline OpenMode GetOpenMode() const { return m_openMode; }
540 inline bool OpenModeHasBeenSet() const { return m_openModeHasBeenSet; }
541 inline void SetOpenMode(OpenMode value) {
542 m_openModeHasBeenSet = true;
543 m_openMode = value;
544 }
546 SetOpenMode(value);
547 return *this;
548 }
550
552
555 inline PermissionLevel GetPermissionLevel() const { return m_permissionLevel; }
556 inline bool PermissionLevelHasBeenSet() const { return m_permissionLevelHasBeenSet; }
558 m_permissionLevelHasBeenSet = true;
559 m_permissionLevel = value;
560 }
562 SetPermissionLevel(value);
563 return *this;
564 }
566
568
571 inline RefreshableMode GetRefreshableMode() const { return m_refreshableMode; }
572 inline bool RefreshableModeHasBeenSet() const { return m_refreshableModeHasBeenSet; }
574 m_refreshableModeHasBeenSet = true;
575 m_refreshableMode = value;
576 }
578 SetRefreshableMode(value);
579 return *this;
580 }
582
584
587 inline const Aws::String& GetPrivateEndpointIp() const { return m_privateEndpointIp; }
588 inline bool PrivateEndpointIpHasBeenSet() const { return m_privateEndpointIpHasBeenSet; }
589 template <typename PrivateEndpointIpT = Aws::String>
590 void SetPrivateEndpointIp(PrivateEndpointIpT&& value) {
591 m_privateEndpointIpHasBeenSet = true;
592 m_privateEndpointIp = std::forward<PrivateEndpointIpT>(value);
593 }
594 template <typename PrivateEndpointIpT = Aws::String>
596 SetPrivateEndpointIp(std::forward<PrivateEndpointIpT>(value));
597 return *this;
598 }
600
602
605 inline const Aws::String& GetPrivateEndpointLabel() const { return m_privateEndpointLabel; }
606 inline bool PrivateEndpointLabelHasBeenSet() const { return m_privateEndpointLabelHasBeenSet; }
607 template <typename PrivateEndpointLabelT = Aws::String>
608 void SetPrivateEndpointLabel(PrivateEndpointLabelT&& value) {
609 m_privateEndpointLabelHasBeenSet = true;
610 m_privateEndpointLabel = std::forward<PrivateEndpointLabelT>(value);
611 }
612 template <typename PrivateEndpointLabelT = Aws::String>
614 SetPrivateEndpointLabel(std::forward<PrivateEndpointLabelT>(value));
615 return *this;
616 }
618
620
623 inline const Aws::String& GetPeerDbId() const { return m_peerDbId; }
624 inline bool PeerDbIdHasBeenSet() const { return m_peerDbIdHasBeenSet; }
625 template <typename PeerDbIdT = Aws::String>
626 void SetPeerDbId(PeerDbIdT&& value) {
627 m_peerDbIdHasBeenSet = true;
628 m_peerDbId = std::forward<PeerDbIdT>(value);
629 }
630 template <typename PeerDbIdT = Aws::String>
632 SetPeerDbId(std::forward<PeerDbIdT>(value));
633 return *this;
634 }
636
638
641 inline const Aws::String& GetResourcePoolLeaderId() const { return m_resourcePoolLeaderId; }
642 inline bool ResourcePoolLeaderIdHasBeenSet() const { return m_resourcePoolLeaderIdHasBeenSet; }
643 template <typename ResourcePoolLeaderIdT = Aws::String>
644 void SetResourcePoolLeaderId(ResourcePoolLeaderIdT&& value) {
645 m_resourcePoolLeaderIdHasBeenSet = true;
646 m_resourcePoolLeaderId = std::forward<ResourcePoolLeaderIdT>(value);
647 }
648 template <typename ResourcePoolLeaderIdT = Aws::String>
650 SetResourcePoolLeaderId(std::forward<ResourcePoolLeaderIdT>(value));
651 return *this;
652 }
654
656
659 inline const ResourcePoolSummary& GetResourcePoolSummary() const { return m_resourcePoolSummary; }
660 inline bool ResourcePoolSummaryHasBeenSet() const { return m_resourcePoolSummaryHasBeenSet; }
661 template <typename ResourcePoolSummaryT = ResourcePoolSummary>
662 void SetResourcePoolSummary(ResourcePoolSummaryT&& value) {
663 m_resourcePoolSummaryHasBeenSet = true;
664 m_resourcePoolSummary = std::forward<ResourcePoolSummaryT>(value);
665 }
666 template <typename ResourcePoolSummaryT = ResourcePoolSummary>
668 SetResourcePoolSummary(std::forward<ResourcePoolSummaryT>(value));
669 return *this;
670 }
672
674
678 inline StandbyAllowlistedIpsSource GetStandbyAllowlistedIpsSource() const { return m_standbyAllowlistedIpsSource; }
679 inline bool StandbyAllowlistedIpsSourceHasBeenSet() const { return m_standbyAllowlistedIpsSourceHasBeenSet; }
681 m_standbyAllowlistedIpsSourceHasBeenSet = true;
682 m_standbyAllowlistedIpsSource = value;
683 }
686 return *this;
687 }
689
691
695 inline const Aws::Vector<Aws::String>& GetStandbyAllowlistedIps() const { return m_standbyAllowlistedIps; }
696 inline bool StandbyAllowlistedIpsHasBeenSet() const { return m_standbyAllowlistedIpsHasBeenSet; }
697 template <typename StandbyAllowlistedIpsT = Aws::Vector<Aws::String>>
698 void SetStandbyAllowlistedIps(StandbyAllowlistedIpsT&& value) {
699 m_standbyAllowlistedIpsHasBeenSet = true;
700 m_standbyAllowlistedIps = std::forward<StandbyAllowlistedIpsT>(value);
701 }
702 template <typename StandbyAllowlistedIpsT = Aws::Vector<Aws::String>>
704 SetStandbyAllowlistedIps(std::forward<StandbyAllowlistedIpsT>(value));
705 return *this;
706 }
707 template <typename StandbyAllowlistedIpsT = Aws::String>
709 m_standbyAllowlistedIpsHasBeenSet = true;
710 m_standbyAllowlistedIps.emplace_back(std::forward<StandbyAllowlistedIpsT>(value));
711 return *this;
712 }
714
716
720 inline const Aws::Vector<Aws::String>& GetAllowlistedIps() const { return m_allowlistedIps; }
721 inline bool AllowlistedIpsHasBeenSet() const { return m_allowlistedIpsHasBeenSet; }
722 template <typename AllowlistedIpsT = Aws::Vector<Aws::String>>
723 void SetAllowlistedIps(AllowlistedIpsT&& value) {
724 m_allowlistedIpsHasBeenSet = true;
725 m_allowlistedIps = std::forward<AllowlistedIpsT>(value);
726 }
727 template <typename AllowlistedIpsT = Aws::Vector<Aws::String>>
729 SetAllowlistedIps(std::forward<AllowlistedIpsT>(value));
730 return *this;
731 }
732 template <typename AllowlistedIpsT = Aws::String>
734 m_allowlistedIpsHasBeenSet = true;
735 m_allowlistedIps.emplace_back(std::forward<AllowlistedIpsT>(value));
736 return *this;
737 }
739
741
745 inline int GetAutoRefreshFrequencyInSeconds() const { return m_autoRefreshFrequencyInSeconds; }
746 inline bool AutoRefreshFrequencyInSecondsHasBeenSet() const { return m_autoRefreshFrequencyInSecondsHasBeenSet; }
747 inline void SetAutoRefreshFrequencyInSeconds(int value) {
748 m_autoRefreshFrequencyInSecondsHasBeenSet = true;
749 m_autoRefreshFrequencyInSeconds = value;
750 }
753 return *this;
754 }
756
758
762 inline int GetAutoRefreshPointLagInSeconds() const { return m_autoRefreshPointLagInSeconds; }
763 inline bool AutoRefreshPointLagInSecondsHasBeenSet() const { return m_autoRefreshPointLagInSecondsHasBeenSet; }
764 inline void SetAutoRefreshPointLagInSeconds(int value) {
765 m_autoRefreshPointLagInSecondsHasBeenSet = true;
766 m_autoRefreshPointLagInSeconds = value;
767 }
770 return *this;
771 }
773
775
779 inline const Aws::Utils::DateTime& GetTimeOfAutoRefreshStart() const { return m_timeOfAutoRefreshStart; }
780 inline bool TimeOfAutoRefreshStartHasBeenSet() const { return m_timeOfAutoRefreshStartHasBeenSet; }
781 template <typename TimeOfAutoRefreshStartT = Aws::Utils::DateTime>
782 void SetTimeOfAutoRefreshStart(TimeOfAutoRefreshStartT&& value) {
783 m_timeOfAutoRefreshStartHasBeenSet = true;
784 m_timeOfAutoRefreshStart = std::forward<TimeOfAutoRefreshStartT>(value);
785 }
786 template <typename TimeOfAutoRefreshStartT = Aws::Utils::DateTime>
788 SetTimeOfAutoRefreshStart(std::forward<TimeOfAutoRefreshStartT>(value));
789 return *this;
790 }
792
794
797 inline EncryptionKeyProviderInput GetEncryptionKeyProvider() const { return m_encryptionKeyProvider; }
798 inline bool EncryptionKeyProviderHasBeenSet() const { return m_encryptionKeyProviderHasBeenSet; }
800 m_encryptionKeyProviderHasBeenSet = true;
801 m_encryptionKeyProvider = value;
802 }
805 return *this;
806 }
808
810
814 inline const EncryptionKeyConfigurationInput& GetEncryptionKeyConfiguration() const { return m_encryptionKeyConfiguration; }
815 inline bool EncryptionKeyConfigurationHasBeenSet() const { return m_encryptionKeyConfigurationHasBeenSet; }
816 template <typename EncryptionKeyConfigurationT = EncryptionKeyConfigurationInput>
817 void SetEncryptionKeyConfiguration(EncryptionKeyConfigurationT&& value) {
818 m_encryptionKeyConfigurationHasBeenSet = true;
819 m_encryptionKeyConfiguration = std::forward<EncryptionKeyConfigurationT>(value);
820 }
821 template <typename EncryptionKeyConfigurationT = EncryptionKeyConfigurationInput>
823 SetEncryptionKeyConfiguration(std::forward<EncryptionKeyConfigurationT>(value));
824 return *this;
825 }
827 private:
828 Aws::String m_autonomousDatabaseId;
829
830 Aws::String m_adminPassword;
831
832 double m_computeCount{0.0};
833
834 int m_cpuCoreCount{0};
835
836 int m_dataStorageSizeInTBs{0};
837
838 int m_dataStorageSizeInGBs{0};
839
840 Aws::String m_displayName;
841
842 Aws::String m_dbName;
843
844 Aws::String m_dbVersion;
845
846 DbWorkload m_dbWorkload{DbWorkload::NOT_SET};
847
848 Aws::Vector<DatabaseTool> m_dbToolsDetails;
849
850 DatabaseEdition m_databaseEdition{DatabaseEdition::NOT_SET};
851
852 LicenseModel m_licenseModel{LicenseModel::NOT_SET};
853
854 bool m_isAutoScalingEnabled{false};
855
856 bool m_isAutoScalingForStorageEnabled{false};
857
858 bool m_isBackupRetentionLocked{false};
859
860 bool m_isLocalDataGuardEnabled{false};
861
862 bool m_isMtlsConnectionRequired{false};
863
864 bool m_isRefreshableClone{false};
865
866 bool m_isDisconnectPeer{false};
867
868 int m_backupRetentionPeriodInDays{0};
869
870 double m_byolComputeCountLimit{0.0};
871
872 int m_localAdgAutoFailoverMaxDataLossLimit{0};
873
875
876 Aws::Vector<CustomerContact> m_customerContactsToSendToOCI;
877
878 Aws::Vector<ScheduledOperationDetails> m_scheduledOperations;
879
880 LongTermBackupSchedule m_longTermBackupSchedule;
881
882 OpenMode m_openMode{OpenMode::NOT_SET};
883
884 PermissionLevel m_permissionLevel{PermissionLevel::NOT_SET};
885
886 RefreshableMode m_refreshableMode{RefreshableMode::NOT_SET};
887
888 Aws::String m_privateEndpointIp;
889
890 Aws::String m_privateEndpointLabel;
891
892 Aws::String m_peerDbId;
893
894 Aws::String m_resourcePoolLeaderId;
895
896 ResourcePoolSummary m_resourcePoolSummary;
897
899
900 Aws::Vector<Aws::String> m_standbyAllowlistedIps;
901
902 Aws::Vector<Aws::String> m_allowlistedIps;
903
904 int m_autoRefreshFrequencyInSeconds{0};
905
906 int m_autoRefreshPointLagInSeconds{0};
907
908 Aws::Utils::DateTime m_timeOfAutoRefreshStart{};
909
911
912 EncryptionKeyConfigurationInput m_encryptionKeyConfiguration;
913 bool m_autonomousDatabaseIdHasBeenSet = false;
914 bool m_adminPasswordHasBeenSet = false;
915 bool m_computeCountHasBeenSet = false;
916 bool m_cpuCoreCountHasBeenSet = false;
917 bool m_dataStorageSizeInTBsHasBeenSet = false;
918 bool m_dataStorageSizeInGBsHasBeenSet = false;
919 bool m_displayNameHasBeenSet = false;
920 bool m_dbNameHasBeenSet = false;
921 bool m_dbVersionHasBeenSet = false;
922 bool m_dbWorkloadHasBeenSet = false;
923 bool m_dbToolsDetailsHasBeenSet = false;
924 bool m_databaseEditionHasBeenSet = false;
925 bool m_licenseModelHasBeenSet = false;
926 bool m_isAutoScalingEnabledHasBeenSet = false;
927 bool m_isAutoScalingForStorageEnabledHasBeenSet = false;
928 bool m_isBackupRetentionLockedHasBeenSet = false;
929 bool m_isLocalDataGuardEnabledHasBeenSet = false;
930 bool m_isMtlsConnectionRequiredHasBeenSet = false;
931 bool m_isRefreshableCloneHasBeenSet = false;
932 bool m_isDisconnectPeerHasBeenSet = false;
933 bool m_backupRetentionPeriodInDaysHasBeenSet = false;
934 bool m_byolComputeCountLimitHasBeenSet = false;
935 bool m_localAdgAutoFailoverMaxDataLossLimitHasBeenSet = false;
936 bool m_autonomousMaintenanceScheduleTypeHasBeenSet = false;
937 bool m_customerContactsToSendToOCIHasBeenSet = false;
938 bool m_scheduledOperationsHasBeenSet = false;
939 bool m_longTermBackupScheduleHasBeenSet = false;
940 bool m_openModeHasBeenSet = false;
941 bool m_permissionLevelHasBeenSet = false;
942 bool m_refreshableModeHasBeenSet = false;
943 bool m_privateEndpointIpHasBeenSet = false;
944 bool m_privateEndpointLabelHasBeenSet = false;
945 bool m_peerDbIdHasBeenSet = false;
946 bool m_resourcePoolLeaderIdHasBeenSet = false;
947 bool m_resourcePoolSummaryHasBeenSet = false;
948 bool m_standbyAllowlistedIpsSourceHasBeenSet = false;
949 bool m_standbyAllowlistedIpsHasBeenSet = false;
950 bool m_allowlistedIpsHasBeenSet = false;
951 bool m_autoRefreshFrequencyInSecondsHasBeenSet = false;
952 bool m_autoRefreshPointLagInSecondsHasBeenSet = false;
953 bool m_timeOfAutoRefreshStartHasBeenSet = false;
954 bool m_encryptionKeyProviderHasBeenSet = false;
955 bool m_encryptionKeyConfigurationHasBeenSet = false;
956};
957
958} // namespace Model
959} // namespace odb
960} // namespace Aws
UpdateAutonomousDatabaseRequest & WithIsRefreshableClone(bool value)
UpdateAutonomousDatabaseRequest & WithPermissionLevel(PermissionLevel value)
UpdateAutonomousDatabaseRequest & AddScheduledOperations(ScheduledOperationsT &&value)
const Aws::Vector< Aws::String > & GetAllowlistedIps() const
UpdateAutonomousDatabaseRequest & WithBackupRetentionPeriodInDays(int value)
UpdateAutonomousDatabaseRequest & WithStandbyAllowlistedIps(StandbyAllowlistedIpsT &&value)
UpdateAutonomousDatabaseRequest & WithIsDisconnectPeer(bool value)
UpdateAutonomousDatabaseRequest & WithEncryptionKeyProvider(EncryptionKeyProviderInput value)
UpdateAutonomousDatabaseRequest & WithPrivateEndpointLabel(PrivateEndpointLabelT &&value)
UpdateAutonomousDatabaseRequest & AddDbToolsDetails(DbToolsDetailsT &&value)
UpdateAutonomousDatabaseRequest & WithLongTermBackupSchedule(LongTermBackupScheduleT &&value)
const LongTermBackupSchedule & GetLongTermBackupSchedule() const
const Aws::Vector< Aws::String > & GetStandbyAllowlistedIps() const
UpdateAutonomousDatabaseRequest & WithDbToolsDetails(DbToolsDetailsT &&value)
UpdateAutonomousDatabaseRequest & WithLicenseModel(LicenseModel value)
UpdateAutonomousDatabaseRequest & WithCustomerContactsToSendToOCI(CustomerContactsToSendToOCIT &&value)
UpdateAutonomousDatabaseRequest & WithStandbyAllowlistedIpsSource(StandbyAllowlistedIpsSource value)
UpdateAutonomousDatabaseRequest & WithPrivateEndpointIp(PrivateEndpointIpT &&value)
UpdateAutonomousDatabaseRequest & WithLocalAdgAutoFailoverMaxDataLossLimit(int value)
UpdateAutonomousDatabaseRequest & AddStandbyAllowlistedIps(StandbyAllowlistedIpsT &&value)
UpdateAutonomousDatabaseRequest & WithIsAutoScalingEnabled(bool value)
const Aws::Vector< CustomerContact > & GetCustomerContactsToSendToOCI() const
AutonomousMaintenanceScheduleType GetAutonomousMaintenanceScheduleType() const
AWS_ODB_API Aws::String SerializePayload() const override
UpdateAutonomousDatabaseRequest & WithEncryptionKeyConfiguration(EncryptionKeyConfigurationT &&value)
UpdateAutonomousDatabaseRequest & WithAutoRefreshPointLagInSeconds(int value)
UpdateAutonomousDatabaseRequest & WithAutonomousDatabaseId(AutonomousDatabaseIdT &&value)
UpdateAutonomousDatabaseRequest & WithDbName(DbNameT &&value)
UpdateAutonomousDatabaseRequest & WithDataStorageSizeInGBs(int value)
UpdateAutonomousDatabaseRequest & WithByolComputeCountLimit(double value)
UpdateAutonomousDatabaseRequest & WithComputeCount(double value)
UpdateAutonomousDatabaseRequest & WithIsLocalDataGuardEnabled(bool value)
UpdateAutonomousDatabaseRequest & WithDataStorageSizeInTBs(int value)
UpdateAutonomousDatabaseRequest & WithAllowlistedIps(AllowlistedIpsT &&value)
void SetAutonomousMaintenanceScheduleType(AutonomousMaintenanceScheduleType value)
void SetCustomerContactsToSendToOCI(CustomerContactsToSendToOCIT &&value)
UpdateAutonomousDatabaseRequest & AddCustomerContactsToSendToOCI(CustomerContactsToSendToOCIT &&value)
UpdateAutonomousDatabaseRequest & WithResourcePoolLeaderId(ResourcePoolLeaderIdT &&value)
UpdateAutonomousDatabaseRequest & WithPeerDbId(PeerDbIdT &&value)
const Aws::Vector< ScheduledOperationDetails > & GetScheduledOperations() const
UpdateAutonomousDatabaseRequest & WithTimeOfAutoRefreshStart(TimeOfAutoRefreshStartT &&value)
UpdateAutonomousDatabaseRequest & WithDisplayName(DisplayNameT &&value)
UpdateAutonomousDatabaseRequest & WithAutoRefreshFrequencyInSeconds(int value)
AWS_ODB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateAutonomousDatabaseRequest & WithIsAutoScalingForStorageEnabled(bool value)
UpdateAutonomousDatabaseRequest & WithAdminPassword(AdminPasswordT &&value)
UpdateAutonomousDatabaseRequest & WithResourcePoolSummary(ResourcePoolSummaryT &&value)
UpdateAutonomousDatabaseRequest & WithDbVersion(DbVersionT &&value)
void SetEncryptionKeyConfiguration(EncryptionKeyConfigurationT &&value)
UpdateAutonomousDatabaseRequest & WithCpuCoreCount(int value)
UpdateAutonomousDatabaseRequest & WithIsBackupRetentionLocked(bool value)
const Aws::Vector< DatabaseTool > & GetDbToolsDetails() const
UpdateAutonomousDatabaseRequest & WithAutonomousMaintenanceScheduleType(AutonomousMaintenanceScheduleType value)
UpdateAutonomousDatabaseRequest & WithOpenMode(OpenMode value)
UpdateAutonomousDatabaseRequest & WithRefreshableMode(RefreshableMode value)
void SetStandbyAllowlistedIpsSource(StandbyAllowlistedIpsSource value)
UpdateAutonomousDatabaseRequest & WithScheduledOperations(ScheduledOperationsT &&value)
const EncryptionKeyConfigurationInput & GetEncryptionKeyConfiguration() const
UpdateAutonomousDatabaseRequest & AddAllowlistedIps(AllowlistedIpsT &&value)
UpdateAutonomousDatabaseRequest & WithDbWorkload(DbWorkload value)
UpdateAutonomousDatabaseRequest & WithDatabaseEdition(DatabaseEdition value)
UpdateAutonomousDatabaseRequest & WithIsMtlsConnectionRequired(bool value)
void SetEncryptionKeyProvider(EncryptionKeyProviderInput value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector