AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
ModifyDBInstanceRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/rds/RDSRequest.h>
10#include <aws/rds/RDS_EXPORTS.h>
11#include <aws/rds/model/AutomationMode.h>
12#include <aws/rds/model/CloudwatchLogsExportConfiguration.h>
13#include <aws/rds/model/DatabaseInsightsMode.h>
14#include <aws/rds/model/MasterUserAuthenticationType.h>
15#include <aws/rds/model/ModifyAdditionalStorageVolume.h>
16#include <aws/rds/model/ProcessorFeature.h>
17#include <aws/rds/model/ReplicaMode.h>
18#include <aws/rds/model/TagSpecification.h>
19
20#include <utility>
21
22namespace Aws {
23namespace RDS {
24namespace Model {
25
32 public:
33 AWS_RDS_API ModifyDBInstanceRequest() = default;
34
35 // Service request name is the Operation name which will send this request out,
36 // each operation should has unique request name, so that we can get operation's name from this request.
37 // Note: this is not true for response, multiple operations may have the same response name,
38 // so we can not get operation's name from response.
39 inline virtual const char* GetServiceRequestName() const override { return "ModifyDBInstance"; }
40
41 AWS_RDS_API Aws::String SerializePayload() const override;
42
43 protected:
44 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
45
46 public:
48
53 inline const Aws::String& GetDBInstanceIdentifier() const { return m_dBInstanceIdentifier; }
54 inline bool DBInstanceIdentifierHasBeenSet() const { return m_dBInstanceIdentifierHasBeenSet; }
55 template <typename DBInstanceIdentifierT = Aws::String>
56 void SetDBInstanceIdentifier(DBInstanceIdentifierT&& value) {
57 m_dBInstanceIdentifierHasBeenSet = true;
58 m_dBInstanceIdentifier = std::forward<DBInstanceIdentifierT>(value);
59 }
60 template <typename DBInstanceIdentifierT = Aws::String>
61 ModifyDBInstanceRequest& WithDBInstanceIdentifier(DBInstanceIdentifierT&& value) {
62 SetDBInstanceIdentifier(std::forward<DBInstanceIdentifierT>(value));
63 return *this;
64 }
66
68
81 inline int GetAllocatedStorage() const { return m_allocatedStorage; }
82 inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; }
83 inline void SetAllocatedStorage(int value) {
84 m_allocatedStorageHasBeenSet = true;
85 m_allocatedStorage = value;
86 }
89 return *this;
90 }
92
94
118 inline const Aws::String& GetDBInstanceClass() const { return m_dBInstanceClass; }
119 inline bool DBInstanceClassHasBeenSet() const { return m_dBInstanceClassHasBeenSet; }
120 template <typename DBInstanceClassT = Aws::String>
121 void SetDBInstanceClass(DBInstanceClassT&& value) {
122 m_dBInstanceClassHasBeenSet = true;
123 m_dBInstanceClass = std::forward<DBInstanceClassT>(value);
124 }
125 template <typename DBInstanceClassT = Aws::String>
126 ModifyDBInstanceRequest& WithDBInstanceClass(DBInstanceClassT&& value) {
127 SetDBInstanceClass(std::forward<DBInstanceClassT>(value));
128 return *this;
129 }
131
133
147 inline const Aws::String& GetDBSubnetGroupName() const { return m_dBSubnetGroupName; }
148 inline bool DBSubnetGroupNameHasBeenSet() const { return m_dBSubnetGroupNameHasBeenSet; }
149 template <typename DBSubnetGroupNameT = Aws::String>
150 void SetDBSubnetGroupName(DBSubnetGroupNameT&& value) {
151 m_dBSubnetGroupNameHasBeenSet = true;
152 m_dBSubnetGroupName = std::forward<DBSubnetGroupNameT>(value);
153 }
154 template <typename DBSubnetGroupNameT = Aws::String>
155 ModifyDBInstanceRequest& WithDBSubnetGroupName(DBSubnetGroupNameT&& value) {
156 SetDBSubnetGroupName(std::forward<DBSubnetGroupNameT>(value));
157 return *this;
158 }
160
162
169 inline const Aws::Vector<Aws::String>& GetDBSecurityGroups() const { return m_dBSecurityGroups; }
170 inline bool DBSecurityGroupsHasBeenSet() const { return m_dBSecurityGroupsHasBeenSet; }
171 template <typename DBSecurityGroupsT = Aws::Vector<Aws::String>>
172 void SetDBSecurityGroups(DBSecurityGroupsT&& value) {
173 m_dBSecurityGroupsHasBeenSet = true;
174 m_dBSecurityGroups = std::forward<DBSecurityGroupsT>(value);
175 }
176 template <typename DBSecurityGroupsT = Aws::Vector<Aws::String>>
177 ModifyDBInstanceRequest& WithDBSecurityGroups(DBSecurityGroupsT&& value) {
178 SetDBSecurityGroups(std::forward<DBSecurityGroupsT>(value));
179 return *this;
180 }
181 template <typename DBSecurityGroupsT = Aws::String>
182 ModifyDBInstanceRequest& AddDBSecurityGroups(DBSecurityGroupsT&& value) {
183 m_dBSecurityGroupsHasBeenSet = true;
184 m_dBSecurityGroups.emplace_back(std::forward<DBSecurityGroupsT>(value));
185 return *this;
186 }
188
190
199 inline const Aws::Vector<Aws::String>& GetVpcSecurityGroupIds() const { return m_vpcSecurityGroupIds; }
200 inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; }
201 template <typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
202 void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) {
203 m_vpcSecurityGroupIdsHasBeenSet = true;
204 m_vpcSecurityGroupIds = std::forward<VpcSecurityGroupIdsT>(value);
205 }
206 template <typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
207 ModifyDBInstanceRequest& WithVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) {
208 SetVpcSecurityGroupIds(std::forward<VpcSecurityGroupIdsT>(value));
209 return *this;
210 }
211 template <typename VpcSecurityGroupIdsT = Aws::String>
212 ModifyDBInstanceRequest& AddVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) {
213 m_vpcSecurityGroupIdsHasBeenSet = true;
214 m_vpcSecurityGroupIds.emplace_back(std::forward<VpcSecurityGroupIdsT>(value));
215 return *this;
216 }
218
220
234 inline bool GetApplyImmediately() const { return m_applyImmediately; }
235 inline bool ApplyImmediatelyHasBeenSet() const { return m_applyImmediatelyHasBeenSet; }
236 inline void SetApplyImmediately(bool value) {
237 m_applyImmediatelyHasBeenSet = true;
238 m_applyImmediately = value;
239 }
241 SetApplyImmediately(value);
242 return *this;
243 }
245
247
274 inline const Aws::String& GetMasterUserPassword() const { return m_masterUserPassword; }
275 inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; }
276 template <typename MasterUserPasswordT = Aws::String>
277 void SetMasterUserPassword(MasterUserPasswordT&& value) {
278 m_masterUserPasswordHasBeenSet = true;
279 m_masterUserPassword = std::forward<MasterUserPasswordT>(value);
280 }
281 template <typename MasterUserPasswordT = Aws::String>
282 ModifyDBInstanceRequest& WithMasterUserPassword(MasterUserPasswordT&& value) {
283 SetMasterUserPassword(std::forward<MasterUserPasswordT>(value));
284 return *this;
285 }
287
289
302 inline const Aws::String& GetDBParameterGroupName() const { return m_dBParameterGroupName; }
303 inline bool DBParameterGroupNameHasBeenSet() const { return m_dBParameterGroupNameHasBeenSet; }
304 template <typename DBParameterGroupNameT = Aws::String>
305 void SetDBParameterGroupName(DBParameterGroupNameT&& value) {
306 m_dBParameterGroupNameHasBeenSet = true;
307 m_dBParameterGroupName = std::forward<DBParameterGroupNameT>(value);
308 }
309 template <typename DBParameterGroupNameT = Aws::String>
310 ModifyDBInstanceRequest& WithDBParameterGroupName(DBParameterGroupNameT&& value) {
311 SetDBParameterGroupName(std::forward<DBParameterGroupNameT>(value));
312 return *this;
313 }
315
317
334 inline int GetBackupRetentionPeriod() const { return m_backupRetentionPeriod; }
335 inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; }
336 inline void SetBackupRetentionPeriod(int value) {
337 m_backupRetentionPeriodHasBeenSet = true;
338 m_backupRetentionPeriod = value;
339 }
342 return *this;
343 }
345
347
364 inline const Aws::String& GetPreferredBackupWindow() const { return m_preferredBackupWindow; }
365 inline bool PreferredBackupWindowHasBeenSet() const { return m_preferredBackupWindowHasBeenSet; }
366 template <typename PreferredBackupWindowT = Aws::String>
367 void SetPreferredBackupWindow(PreferredBackupWindowT&& value) {
368 m_preferredBackupWindowHasBeenSet = true;
369 m_preferredBackupWindow = std::forward<PreferredBackupWindowT>(value);
370 }
371 template <typename PreferredBackupWindowT = Aws::String>
372 ModifyDBInstanceRequest& WithPreferredBackupWindow(PreferredBackupWindowT&& value) {
373 SetPreferredBackupWindow(std::forward<PreferredBackupWindowT>(value));
374 return *this;
375 }
377
379
398 inline const Aws::String& GetPreferredMaintenanceWindow() const { return m_preferredMaintenanceWindow; }
399 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
400 template <typename PreferredMaintenanceWindowT = Aws::String>
401 void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) {
402 m_preferredMaintenanceWindowHasBeenSet = true;
403 m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value);
404 }
405 template <typename PreferredMaintenanceWindowT = Aws::String>
406 ModifyDBInstanceRequest& WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) {
407 SetPreferredMaintenanceWindow(std::forward<PreferredMaintenanceWindowT>(value));
408 return *this;
409 }
411
413
420 inline bool GetMultiAZ() const { return m_multiAZ; }
421 inline bool MultiAZHasBeenSet() const { return m_multiAZHasBeenSet; }
422 inline void SetMultiAZ(bool value) {
423 m_multiAZHasBeenSet = true;
424 m_multiAZ = value;
425 }
427 SetMultiAZ(value);
428 return *this;
429 }
431
433
456 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
457 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
458 template <typename EngineVersionT = Aws::String>
459 void SetEngineVersion(EngineVersionT&& value) {
460 m_engineVersionHasBeenSet = true;
461 m_engineVersion = std::forward<EngineVersionT>(value);
462 }
463 template <typename EngineVersionT = Aws::String>
465 SetEngineVersion(std::forward<EngineVersionT>(value));
466 return *this;
467 }
469
471
479 inline bool GetAllowMajorVersionUpgrade() const { return m_allowMajorVersionUpgrade; }
480 inline bool AllowMajorVersionUpgradeHasBeenSet() const { return m_allowMajorVersionUpgradeHasBeenSet; }
481 inline void SetAllowMajorVersionUpgrade(bool value) {
482 m_allowMajorVersionUpgradeHasBeenSet = true;
483 m_allowMajorVersionUpgrade = value;
484 }
487 return *this;
488 }
490
492
506 inline bool GetAutoMinorVersionUpgrade() const { return m_autoMinorVersionUpgrade; }
507 inline bool AutoMinorVersionUpgradeHasBeenSet() const { return m_autoMinorVersionUpgradeHasBeenSet; }
508 inline void SetAutoMinorVersionUpgrade(bool value) {
509 m_autoMinorVersionUpgradeHasBeenSet = true;
510 m_autoMinorVersionUpgrade = value;
511 }
514 return *this;
515 }
517
519
530 inline const Aws::String& GetLicenseModel() const { return m_licenseModel; }
531 inline bool LicenseModelHasBeenSet() const { return m_licenseModelHasBeenSet; }
532 template <typename LicenseModelT = Aws::String>
533 void SetLicenseModel(LicenseModelT&& value) {
534 m_licenseModelHasBeenSet = true;
535 m_licenseModel = std::forward<LicenseModelT>(value);
536 }
537 template <typename LicenseModelT = Aws::String>
539 SetLicenseModel(std::forward<LicenseModelT>(value));
540 return *this;
541 }
543
545
573 inline int GetIops() const { return m_iops; }
574 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
575 inline void SetIops(int value) {
576 m_iopsHasBeenSet = true;
577 m_iops = value;
578 }
580 SetIops(value);
581 return *this;
582 }
584
586
591 inline int GetStorageThroughput() const { return m_storageThroughput; }
592 inline bool StorageThroughputHasBeenSet() const { return m_storageThroughputHasBeenSet; }
593 inline void SetStorageThroughput(int value) {
594 m_storageThroughputHasBeenSet = true;
595 m_storageThroughput = value;
596 }
599 return *this;
600 }
602
604
616 inline const Aws::String& GetOptionGroupName() const { return m_optionGroupName; }
617 inline bool OptionGroupNameHasBeenSet() const { return m_optionGroupNameHasBeenSet; }
618 template <typename OptionGroupNameT = Aws::String>
619 void SetOptionGroupName(OptionGroupNameT&& value) {
620 m_optionGroupNameHasBeenSet = true;
621 m_optionGroupName = std::forward<OptionGroupNameT>(value);
622 }
623 template <typename OptionGroupNameT = Aws::String>
624 ModifyDBInstanceRequest& WithOptionGroupName(OptionGroupNameT&& value) {
625 SetOptionGroupName(std::forward<OptionGroupNameT>(value));
626 return *this;
627 }
629
631
642 inline const Aws::String& GetNewDBInstanceIdentifier() const { return m_newDBInstanceIdentifier; }
643 inline bool NewDBInstanceIdentifierHasBeenSet() const { return m_newDBInstanceIdentifierHasBeenSet; }
644 template <typename NewDBInstanceIdentifierT = Aws::String>
645 void SetNewDBInstanceIdentifier(NewDBInstanceIdentifierT&& value) {
646 m_newDBInstanceIdentifierHasBeenSet = true;
647 m_newDBInstanceIdentifier = std::forward<NewDBInstanceIdentifierT>(value);
648 }
649 template <typename NewDBInstanceIdentifierT = Aws::String>
650 ModifyDBInstanceRequest& WithNewDBInstanceIdentifier(NewDBInstanceIdentifierT&& value) {
651 SetNewDBInstanceIdentifier(std::forward<NewDBInstanceIdentifierT>(value));
652 return *this;
653 }
655
657
677 inline const Aws::String& GetStorageType() const { return m_storageType; }
678 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
679 template <typename StorageTypeT = Aws::String>
680 void SetStorageType(StorageTypeT&& value) {
681 m_storageTypeHasBeenSet = true;
682 m_storageType = std::forward<StorageTypeT>(value);
683 }
684 template <typename StorageTypeT = Aws::String>
686 SetStorageType(std::forward<StorageTypeT>(value));
687 return *this;
688 }
690
692
696 inline const Aws::String& GetTdeCredentialArn() const { return m_tdeCredentialArn; }
697 inline bool TdeCredentialArnHasBeenSet() const { return m_tdeCredentialArnHasBeenSet; }
698 template <typename TdeCredentialArnT = Aws::String>
699 void SetTdeCredentialArn(TdeCredentialArnT&& value) {
700 m_tdeCredentialArnHasBeenSet = true;
701 m_tdeCredentialArn = std::forward<TdeCredentialArnT>(value);
702 }
703 template <typename TdeCredentialArnT = Aws::String>
704 ModifyDBInstanceRequest& WithTdeCredentialArn(TdeCredentialArnT&& value) {
705 SetTdeCredentialArn(std::forward<TdeCredentialArnT>(value));
706 return *this;
707 }
709
711
715 inline const Aws::String& GetTdeCredentialPassword() const { return m_tdeCredentialPassword; }
716 inline bool TdeCredentialPasswordHasBeenSet() const { return m_tdeCredentialPasswordHasBeenSet; }
717 template <typename TdeCredentialPasswordT = Aws::String>
718 void SetTdeCredentialPassword(TdeCredentialPasswordT&& value) {
719 m_tdeCredentialPasswordHasBeenSet = true;
720 m_tdeCredentialPassword = std::forward<TdeCredentialPasswordT>(value);
721 }
722 template <typename TdeCredentialPasswordT = Aws::String>
723 ModifyDBInstanceRequest& WithTdeCredentialPassword(TdeCredentialPasswordT&& value) {
724 SetTdeCredentialPassword(std::forward<TdeCredentialPasswordT>(value));
725 return *this;
726 }
728
730
741 inline const Aws::String& GetCACertificateIdentifier() const { return m_cACertificateIdentifier; }
742 inline bool CACertificateIdentifierHasBeenSet() const { return m_cACertificateIdentifierHasBeenSet; }
743 template <typename CACertificateIdentifierT = Aws::String>
744 void SetCACertificateIdentifier(CACertificateIdentifierT&& value) {
745 m_cACertificateIdentifierHasBeenSet = true;
746 m_cACertificateIdentifier = std::forward<CACertificateIdentifierT>(value);
747 }
748 template <typename CACertificateIdentifierT = Aws::String>
749 ModifyDBInstanceRequest& WithCACertificateIdentifier(CACertificateIdentifierT&& value) {
750 SetCACertificateIdentifier(std::forward<CACertificateIdentifierT>(value));
751 return *this;
752 }
754
756
766 inline const Aws::String& GetDomain() const { return m_domain; }
767 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
768 template <typename DomainT = Aws::String>
769 void SetDomain(DomainT&& value) {
770 m_domainHasBeenSet = true;
771 m_domain = std::forward<DomainT>(value);
772 }
773 template <typename DomainT = Aws::String>
775 SetDomain(std::forward<DomainT>(value));
776 return *this;
777 }
779
781
786 inline const Aws::String& GetDomainFqdn() const { return m_domainFqdn; }
787 inline bool DomainFqdnHasBeenSet() const { return m_domainFqdnHasBeenSet; }
788 template <typename DomainFqdnT = Aws::String>
789 void SetDomainFqdn(DomainFqdnT&& value) {
790 m_domainFqdnHasBeenSet = true;
791 m_domainFqdn = std::forward<DomainFqdnT>(value);
792 }
793 template <typename DomainFqdnT = Aws::String>
795 SetDomainFqdn(std::forward<DomainFqdnT>(value));
796 return *this;
797 }
799
801
808 inline const Aws::String& GetDomainOu() const { return m_domainOu; }
809 inline bool DomainOuHasBeenSet() const { return m_domainOuHasBeenSet; }
810 template <typename DomainOuT = Aws::String>
811 void SetDomainOu(DomainOuT&& value) {
812 m_domainOuHasBeenSet = true;
813 m_domainOu = std::forward<DomainOuT>(value);
814 }
815 template <typename DomainOuT = Aws::String>
817 SetDomainOu(std::forward<DomainOuT>(value));
818 return *this;
819 }
821
823
829 inline const Aws::String& GetDomainAuthSecretArn() const { return m_domainAuthSecretArn; }
830 inline bool DomainAuthSecretArnHasBeenSet() const { return m_domainAuthSecretArnHasBeenSet; }
831 template <typename DomainAuthSecretArnT = Aws::String>
832 void SetDomainAuthSecretArn(DomainAuthSecretArnT&& value) {
833 m_domainAuthSecretArnHasBeenSet = true;
834 m_domainAuthSecretArn = std::forward<DomainAuthSecretArnT>(value);
835 }
836 template <typename DomainAuthSecretArnT = Aws::String>
837 ModifyDBInstanceRequest& WithDomainAuthSecretArn(DomainAuthSecretArnT&& value) {
838 SetDomainAuthSecretArn(std::forward<DomainAuthSecretArnT>(value));
839 return *this;
840 }
842
844
851 inline const Aws::Vector<Aws::String>& GetDomainDnsIps() const { return m_domainDnsIps; }
852 inline bool DomainDnsIpsHasBeenSet() const { return m_domainDnsIpsHasBeenSet; }
853 template <typename DomainDnsIpsT = Aws::Vector<Aws::String>>
854 void SetDomainDnsIps(DomainDnsIpsT&& value) {
855 m_domainDnsIpsHasBeenSet = true;
856 m_domainDnsIps = std::forward<DomainDnsIpsT>(value);
857 }
858 template <typename DomainDnsIpsT = Aws::Vector<Aws::String>>
860 SetDomainDnsIps(std::forward<DomainDnsIpsT>(value));
861 return *this;
862 }
863 template <typename DomainDnsIpsT = Aws::String>
864 ModifyDBInstanceRequest& AddDomainDnsIps(DomainDnsIpsT&& value) {
865 m_domainDnsIpsHasBeenSet = true;
866 m_domainDnsIps.emplace_back(std::forward<DomainDnsIpsT>(value));
867 return *this;
868 }
870
872
876 inline bool GetDisableDomain() const { return m_disableDomain; }
877 inline bool DisableDomainHasBeenSet() const { return m_disableDomainHasBeenSet; }
878 inline void SetDisableDomain(bool value) {
879 m_disableDomainHasBeenSet = true;
880 m_disableDomain = value;
881 }
883 SetDisableDomain(value);
884 return *this;
885 }
887
889
896 inline bool GetCopyTagsToSnapshot() const { return m_copyTagsToSnapshot; }
897 inline bool CopyTagsToSnapshotHasBeenSet() const { return m_copyTagsToSnapshotHasBeenSet; }
898 inline void SetCopyTagsToSnapshot(bool value) {
899 m_copyTagsToSnapshotHasBeenSet = true;
900 m_copyTagsToSnapshot = value;
901 }
904 return *this;
905 }
907
909
918 inline int GetMonitoringInterval() const { return m_monitoringInterval; }
919 inline bool MonitoringIntervalHasBeenSet() const { return m_monitoringIntervalHasBeenSet; }
920 inline void SetMonitoringInterval(int value) {
921 m_monitoringIntervalHasBeenSet = true;
922 m_monitoringInterval = value;
923 }
926 return *this;
927 }
929
931
949 inline int GetDBPortNumber() const { return m_dBPortNumber; }
950 inline bool DBPortNumberHasBeenSet() const { return m_dBPortNumberHasBeenSet; }
951 inline void SetDBPortNumber(int value) {
952 m_dBPortNumberHasBeenSet = true;
953 m_dBPortNumber = value;
954 }
956 SetDBPortNumber(value);
957 return *this;
958 }
960
962
978 inline bool GetPubliclyAccessible() const { return m_publiclyAccessible; }
979 inline bool PubliclyAccessibleHasBeenSet() const { return m_publiclyAccessibleHasBeenSet; }
980 inline void SetPubliclyAccessible(bool value) {
981 m_publiclyAccessibleHasBeenSet = true;
982 m_publiclyAccessible = value;
983 }
986 return *this;
987 }
989
991
1002 inline const Aws::String& GetMonitoringRoleArn() const { return m_monitoringRoleArn; }
1003 inline bool MonitoringRoleArnHasBeenSet() const { return m_monitoringRoleArnHasBeenSet; }
1004 template <typename MonitoringRoleArnT = Aws::String>
1005 void SetMonitoringRoleArn(MonitoringRoleArnT&& value) {
1006 m_monitoringRoleArnHasBeenSet = true;
1007 m_monitoringRoleArn = std::forward<MonitoringRoleArnT>(value);
1008 }
1009 template <typename MonitoringRoleArnT = Aws::String>
1010 ModifyDBInstanceRequest& WithMonitoringRoleArn(MonitoringRoleArnT&& value) {
1011 SetMonitoringRoleArn(std::forward<MonitoringRoleArnT>(value));
1012 return *this;
1013 }
1015
1017
1021 inline const Aws::String& GetDomainIAMRoleName() const { return m_domainIAMRoleName; }
1022 inline bool DomainIAMRoleNameHasBeenSet() const { return m_domainIAMRoleNameHasBeenSet; }
1023 template <typename DomainIAMRoleNameT = Aws::String>
1024 void SetDomainIAMRoleName(DomainIAMRoleNameT&& value) {
1025 m_domainIAMRoleNameHasBeenSet = true;
1026 m_domainIAMRoleName = std::forward<DomainIAMRoleNameT>(value);
1027 }
1028 template <typename DomainIAMRoleNameT = Aws::String>
1029 ModifyDBInstanceRequest& WithDomainIAMRoleName(DomainIAMRoleNameT&& value) {
1030 SetDomainIAMRoleName(std::forward<DomainIAMRoleNameT>(value));
1031 return *this;
1032 }
1034
1036
1045 inline int GetPromotionTier() const { return m_promotionTier; }
1046 inline bool PromotionTierHasBeenSet() const { return m_promotionTierHasBeenSet; }
1047 inline void SetPromotionTier(int value) {
1048 m_promotionTierHasBeenSet = true;
1049 m_promotionTier = value;
1050 }
1052 SetPromotionTier(value);
1053 return *this;
1054 }
1056
1058
1069 inline bool GetEnableIAMDatabaseAuthentication() const { return m_enableIAMDatabaseAuthentication; }
1070 inline bool EnableIAMDatabaseAuthenticationHasBeenSet() const { return m_enableIAMDatabaseAuthenticationHasBeenSet; }
1071 inline void SetEnableIAMDatabaseAuthentication(bool value) {
1072 m_enableIAMDatabaseAuthenticationHasBeenSet = true;
1073 m_enableIAMDatabaseAuthentication = value;
1074 }
1077 return *this;
1078 }
1080
1082
1087 inline DatabaseInsightsMode GetDatabaseInsightsMode() const { return m_databaseInsightsMode; }
1088 inline bool DatabaseInsightsModeHasBeenSet() const { return m_databaseInsightsModeHasBeenSet; }
1090 m_databaseInsightsModeHasBeenSet = true;
1091 m_databaseInsightsMode = value;
1092 }
1098
1100
1107 inline bool GetEnablePerformanceInsights() const { return m_enablePerformanceInsights; }
1108 inline bool EnablePerformanceInsightsHasBeenSet() const { return m_enablePerformanceInsightsHasBeenSet; }
1109 inline void SetEnablePerformanceInsights(bool value) {
1110 m_enablePerformanceInsightsHasBeenSet = true;
1111 m_enablePerformanceInsights = value;
1112 }
1115 return *this;
1116 }
1118
1120
1130 inline const Aws::String& GetPerformanceInsightsKMSKeyId() const { return m_performanceInsightsKMSKeyId; }
1131 inline bool PerformanceInsightsKMSKeyIdHasBeenSet() const { return m_performanceInsightsKMSKeyIdHasBeenSet; }
1132 template <typename PerformanceInsightsKMSKeyIdT = Aws::String>
1133 void SetPerformanceInsightsKMSKeyId(PerformanceInsightsKMSKeyIdT&& value) {
1134 m_performanceInsightsKMSKeyIdHasBeenSet = true;
1135 m_performanceInsightsKMSKeyId = std::forward<PerformanceInsightsKMSKeyIdT>(value);
1136 }
1137 template <typename PerformanceInsightsKMSKeyIdT = Aws::String>
1138 ModifyDBInstanceRequest& WithPerformanceInsightsKMSKeyId(PerformanceInsightsKMSKeyIdT&& value) {
1139 SetPerformanceInsightsKMSKeyId(std::forward<PerformanceInsightsKMSKeyIdT>(value));
1140 return *this;
1141 }
1143
1145
1155 inline int GetPerformanceInsightsRetentionPeriod() const { return m_performanceInsightsRetentionPeriod; }
1156 inline bool PerformanceInsightsRetentionPeriodHasBeenSet() const { return m_performanceInsightsRetentionPeriodHasBeenSet; }
1158 m_performanceInsightsRetentionPeriodHasBeenSet = true;
1159 m_performanceInsightsRetentionPeriod = value;
1160 }
1166
1168
1190 return m_cloudwatchLogsExportConfiguration;
1191 }
1192 inline bool CloudwatchLogsExportConfigurationHasBeenSet() const { return m_cloudwatchLogsExportConfigurationHasBeenSet; }
1193 template <typename CloudwatchLogsExportConfigurationT = CloudwatchLogsExportConfiguration>
1194 void SetCloudwatchLogsExportConfiguration(CloudwatchLogsExportConfigurationT&& value) {
1195 m_cloudwatchLogsExportConfigurationHasBeenSet = true;
1196 m_cloudwatchLogsExportConfiguration = std::forward<CloudwatchLogsExportConfigurationT>(value);
1197 }
1198 template <typename CloudwatchLogsExportConfigurationT = CloudwatchLogsExportConfiguration>
1199 ModifyDBInstanceRequest& WithCloudwatchLogsExportConfiguration(CloudwatchLogsExportConfigurationT&& value) {
1200 SetCloudwatchLogsExportConfiguration(std::forward<CloudwatchLogsExportConfigurationT>(value));
1201 return *this;
1202 }
1204
1206
1211 inline const Aws::Vector<ProcessorFeature>& GetProcessorFeatures() const { return m_processorFeatures; }
1212 inline bool ProcessorFeaturesHasBeenSet() const { return m_processorFeaturesHasBeenSet; }
1213 template <typename ProcessorFeaturesT = Aws::Vector<ProcessorFeature>>
1214 void SetProcessorFeatures(ProcessorFeaturesT&& value) {
1215 m_processorFeaturesHasBeenSet = true;
1216 m_processorFeatures = std::forward<ProcessorFeaturesT>(value);
1217 }
1218 template <typename ProcessorFeaturesT = Aws::Vector<ProcessorFeature>>
1219 ModifyDBInstanceRequest& WithProcessorFeatures(ProcessorFeaturesT&& value) {
1220 SetProcessorFeatures(std::forward<ProcessorFeaturesT>(value));
1221 return *this;
1222 }
1223 template <typename ProcessorFeaturesT = ProcessorFeature>
1224 ModifyDBInstanceRequest& AddProcessorFeatures(ProcessorFeaturesT&& value) {
1225 m_processorFeaturesHasBeenSet = true;
1226 m_processorFeatures.emplace_back(std::forward<ProcessorFeaturesT>(value));
1227 return *this;
1228 }
1230
1232
1237 inline bool GetUseDefaultProcessorFeatures() const { return m_useDefaultProcessorFeatures; }
1238 inline bool UseDefaultProcessorFeaturesHasBeenSet() const { return m_useDefaultProcessorFeaturesHasBeenSet; }
1239 inline void SetUseDefaultProcessorFeatures(bool value) {
1240 m_useDefaultProcessorFeaturesHasBeenSet = true;
1241 m_useDefaultProcessorFeatures = value;
1242 }
1245 return *this;
1246 }
1248
1250
1261 inline bool GetDeletionProtection() const { return m_deletionProtection; }
1262 inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; }
1263 inline void SetDeletionProtection(bool value) {
1264 m_deletionProtectionHasBeenSet = true;
1265 m_deletionProtection = value;
1266 }
1268 SetDeletionProtection(value);
1269 return *this;
1270 }
1272
1274
1283 inline int GetMaxAllocatedStorage() const { return m_maxAllocatedStorage; }
1284 inline bool MaxAllocatedStorageHasBeenSet() const { return m_maxAllocatedStorageHasBeenSet; }
1285 inline void SetMaxAllocatedStorage(int value) {
1286 m_maxAllocatedStorageHasBeenSet = true;
1287 m_maxAllocatedStorage = value;
1288 }
1291 return *this;
1292 }
1294
1296
1314 inline bool GetCertificateRotationRestart() const { return m_certificateRotationRestart; }
1315 inline bool CertificateRotationRestartHasBeenSet() const { return m_certificateRotationRestartHasBeenSet; }
1316 inline void SetCertificateRotationRestart(bool value) {
1317 m_certificateRotationRestartHasBeenSet = true;
1318 m_certificateRotationRestart = value;
1319 }
1322 return *this;
1323 }
1325
1327
1352 inline ReplicaMode GetReplicaMode() const { return m_replicaMode; }
1353 inline bool ReplicaModeHasBeenSet() const { return m_replicaModeHasBeenSet; }
1354 inline void SetReplicaMode(ReplicaMode value) {
1355 m_replicaModeHasBeenSet = true;
1356 m_replicaMode = value;
1357 }
1359 SetReplicaMode(value);
1360 return *this;
1361 }
1363
1365
1371 inline AutomationMode GetAutomationMode() const { return m_automationMode; }
1372 inline bool AutomationModeHasBeenSet() const { return m_automationModeHasBeenSet; }
1374 m_automationModeHasBeenSet = true;
1375 m_automationMode = value;
1376 }
1378 SetAutomationMode(value);
1379 return *this;
1380 }
1382
1384
1390 inline int GetResumeFullAutomationModeMinutes() const { return m_resumeFullAutomationModeMinutes; }
1391 inline bool ResumeFullAutomationModeMinutesHasBeenSet() const { return m_resumeFullAutomationModeMinutesHasBeenSet; }
1392 inline void SetResumeFullAutomationModeMinutes(int value) {
1393 m_resumeFullAutomationModeMinutesHasBeenSet = true;
1394 m_resumeFullAutomationModeMinutes = value;
1395 }
1401
1403
1416 inline bool GetEnableCustomerOwnedIp() const { return m_enableCustomerOwnedIp; }
1417 inline bool EnableCustomerOwnedIpHasBeenSet() const { return m_enableCustomerOwnedIpHasBeenSet; }
1418 inline void SetEnableCustomerOwnedIp(bool value) {
1419 m_enableCustomerOwnedIpHasBeenSet = true;
1420 m_enableCustomerOwnedIp = value;
1421 }
1424 return *this;
1425 }
1427
1429
1438 inline const Aws::String& GetNetworkType() const { return m_networkType; }
1439 inline bool NetworkTypeHasBeenSet() const { return m_networkTypeHasBeenSet; }
1440 template <typename NetworkTypeT = Aws::String>
1441 void SetNetworkType(NetworkTypeT&& value) {
1442 m_networkTypeHasBeenSet = true;
1443 m_networkType = std::forward<NetworkTypeT>(value);
1444 }
1445 template <typename NetworkTypeT = Aws::String>
1447 SetNetworkType(std::forward<NetworkTypeT>(value));
1448 return *this;
1449 }
1451
1453
1457 inline const Aws::String& GetAwsBackupRecoveryPointArn() const { return m_awsBackupRecoveryPointArn; }
1458 inline bool AwsBackupRecoveryPointArnHasBeenSet() const { return m_awsBackupRecoveryPointArnHasBeenSet; }
1459 template <typename AwsBackupRecoveryPointArnT = Aws::String>
1460 void SetAwsBackupRecoveryPointArn(AwsBackupRecoveryPointArnT&& value) {
1461 m_awsBackupRecoveryPointArnHasBeenSet = true;
1462 m_awsBackupRecoveryPointArn = std::forward<AwsBackupRecoveryPointArnT>(value);
1463 }
1464 template <typename AwsBackupRecoveryPointArnT = Aws::String>
1465 ModifyDBInstanceRequest& WithAwsBackupRecoveryPointArn(AwsBackupRecoveryPointArnT&& value) {
1466 SetAwsBackupRecoveryPointArn(std::forward<AwsBackupRecoveryPointArnT>(value));
1467 return *this;
1468 }
1470
1472
1493 inline bool GetManageMasterUserPassword() const { return m_manageMasterUserPassword; }
1494 inline bool ManageMasterUserPasswordHasBeenSet() const { return m_manageMasterUserPasswordHasBeenSet; }
1495 inline void SetManageMasterUserPassword(bool value) {
1496 m_manageMasterUserPasswordHasBeenSet = true;
1497 m_manageMasterUserPassword = value;
1498 }
1501 return *this;
1502 }
1504
1506
1517 inline bool GetRotateMasterUserPassword() const { return m_rotateMasterUserPassword; }
1518 inline bool RotateMasterUserPasswordHasBeenSet() const { return m_rotateMasterUserPasswordHasBeenSet; }
1519 inline void SetRotateMasterUserPassword(bool value) {
1520 m_rotateMasterUserPasswordHasBeenSet = true;
1521 m_rotateMasterUserPassword = value;
1522 }
1525 return *this;
1526 }
1528
1530
1551 inline const Aws::String& GetMasterUserSecretKmsKeyId() const { return m_masterUserSecretKmsKeyId; }
1552 inline bool MasterUserSecretKmsKeyIdHasBeenSet() const { return m_masterUserSecretKmsKeyIdHasBeenSet; }
1553 template <typename MasterUserSecretKmsKeyIdT = Aws::String>
1554 void SetMasterUserSecretKmsKeyId(MasterUserSecretKmsKeyIdT&& value) {
1555 m_masterUserSecretKmsKeyIdHasBeenSet = true;
1556 m_masterUserSecretKmsKeyId = std::forward<MasterUserSecretKmsKeyIdT>(value);
1557 }
1558 template <typename MasterUserSecretKmsKeyIdT = Aws::String>
1559 ModifyDBInstanceRequest& WithMasterUserSecretKmsKeyId(MasterUserSecretKmsKeyIdT&& value) {
1560 SetMasterUserSecretKmsKeyId(std::forward<MasterUserSecretKmsKeyIdT>(value));
1561 return *this;
1562 }
1564
1566
1579 inline bool GetMultiTenant() const { return m_multiTenant; }
1580 inline bool MultiTenantHasBeenSet() const { return m_multiTenantHasBeenSet; }
1581 inline void SetMultiTenant(bool value) {
1582 m_multiTenantHasBeenSet = true;
1583 m_multiTenant = value;
1584 }
1586 SetMultiTenant(value);
1587 return *this;
1588 }
1590
1592
1596 inline bool GetDedicatedLogVolume() const { return m_dedicatedLogVolume; }
1597 inline bool DedicatedLogVolumeHasBeenSet() const { return m_dedicatedLogVolumeHasBeenSet; }
1598 inline void SetDedicatedLogVolume(bool value) {
1599 m_dedicatedLogVolumeHasBeenSet = true;
1600 m_dedicatedLogVolume = value;
1601 }
1603 SetDedicatedLogVolume(value);
1604 return *this;
1605 }
1607
1609
1626 inline const Aws::String& GetEngine() const { return m_engine; }
1627 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
1628 template <typename EngineT = Aws::String>
1629 void SetEngine(EngineT&& value) {
1630 m_engineHasBeenSet = true;
1631 m_engine = std::forward<EngineT>(value);
1632 }
1633 template <typename EngineT = Aws::String>
1635 SetEngine(std::forward<EngineT>(value));
1636 return *this;
1637 }
1639
1641
1646 inline const Aws::Vector<ModifyAdditionalStorageVolume>& GetAdditionalStorageVolumes() const { return m_additionalStorageVolumes; }
1647 inline bool AdditionalStorageVolumesHasBeenSet() const { return m_additionalStorageVolumesHasBeenSet; }
1648 template <typename AdditionalStorageVolumesT = Aws::Vector<ModifyAdditionalStorageVolume>>
1649 void SetAdditionalStorageVolumes(AdditionalStorageVolumesT&& value) {
1650 m_additionalStorageVolumesHasBeenSet = true;
1651 m_additionalStorageVolumes = std::forward<AdditionalStorageVolumesT>(value);
1652 }
1653 template <typename AdditionalStorageVolumesT = Aws::Vector<ModifyAdditionalStorageVolume>>
1654 ModifyDBInstanceRequest& WithAdditionalStorageVolumes(AdditionalStorageVolumesT&& value) {
1655 SetAdditionalStorageVolumes(std::forward<AdditionalStorageVolumesT>(value));
1656 return *this;
1657 }
1658 template <typename AdditionalStorageVolumesT = ModifyAdditionalStorageVolume>
1659 ModifyDBInstanceRequest& AddAdditionalStorageVolumes(AdditionalStorageVolumesT&& value) {
1660 m_additionalStorageVolumesHasBeenSet = true;
1661 m_additionalStorageVolumes.emplace_back(std::forward<AdditionalStorageVolumesT>(value));
1662 return *this;
1663 }
1665
1667
1753 inline const Aws::String& GetDBCapacityReservationIdentifier() const { return m_dBCapacityReservationIdentifier; }
1754 inline bool DBCapacityReservationIdentifierHasBeenSet() const { return m_dBCapacityReservationIdentifierHasBeenSet; }
1755 template <typename DBCapacityReservationIdentifierT = Aws::String>
1756 void SetDBCapacityReservationIdentifier(DBCapacityReservationIdentifierT&& value) {
1757 m_dBCapacityReservationIdentifierHasBeenSet = true;
1758 m_dBCapacityReservationIdentifier = std::forward<DBCapacityReservationIdentifierT>(value);
1759 }
1760 template <typename DBCapacityReservationIdentifierT = Aws::String>
1761 ModifyDBInstanceRequest& WithDBCapacityReservationIdentifier(DBCapacityReservationIdentifierT&& value) {
1762 SetDBCapacityReservationIdentifier(std::forward<DBCapacityReservationIdentifierT>(value));
1763 return *this;
1764 }
1766
1768
1773 inline const Aws::Vector<TagSpecification>& GetTagSpecifications() const { return m_tagSpecifications; }
1774 inline bool TagSpecificationsHasBeenSet() const { return m_tagSpecificationsHasBeenSet; }
1775 template <typename TagSpecificationsT = Aws::Vector<TagSpecification>>
1776 void SetTagSpecifications(TagSpecificationsT&& value) {
1777 m_tagSpecificationsHasBeenSet = true;
1778 m_tagSpecifications = std::forward<TagSpecificationsT>(value);
1779 }
1780 template <typename TagSpecificationsT = Aws::Vector<TagSpecification>>
1781 ModifyDBInstanceRequest& WithTagSpecifications(TagSpecificationsT&& value) {
1782 SetTagSpecifications(std::forward<TagSpecificationsT>(value));
1783 return *this;
1784 }
1785 template <typename TagSpecificationsT = TagSpecification>
1786 ModifyDBInstanceRequest& AddTagSpecifications(TagSpecificationsT&& value) {
1787 m_tagSpecificationsHasBeenSet = true;
1788 m_tagSpecifications.emplace_back(std::forward<TagSpecificationsT>(value));
1789 return *this;
1790 }
1792
1794
1803 inline MasterUserAuthenticationType GetMasterUserAuthenticationType() const { return m_masterUserAuthenticationType; }
1804 inline bool MasterUserAuthenticationTypeHasBeenSet() const { return m_masterUserAuthenticationTypeHasBeenSet; }
1806 m_masterUserAuthenticationTypeHasBeenSet = true;
1807 m_masterUserAuthenticationType = value;
1808 }
1814
1816
1830 inline const Aws::String& GetEngineLifecycleSupport() const { return m_engineLifecycleSupport; }
1831 inline bool EngineLifecycleSupportHasBeenSet() const { return m_engineLifecycleSupportHasBeenSet; }
1832 template <typename EngineLifecycleSupportT = Aws::String>
1833 void SetEngineLifecycleSupport(EngineLifecycleSupportT&& value) {
1834 m_engineLifecycleSupportHasBeenSet = true;
1835 m_engineLifecycleSupport = std::forward<EngineLifecycleSupportT>(value);
1836 }
1837 template <typename EngineLifecycleSupportT = Aws::String>
1838 ModifyDBInstanceRequest& WithEngineLifecycleSupport(EngineLifecycleSupportT&& value) {
1839 SetEngineLifecycleSupport(std::forward<EngineLifecycleSupportT>(value));
1840 return *this;
1841 }
1843 private:
1844 Aws::String m_dBInstanceIdentifier;
1845
1846 int m_allocatedStorage{0};
1847
1848 Aws::String m_dBInstanceClass;
1849
1850 Aws::String m_dBSubnetGroupName;
1851
1852 Aws::Vector<Aws::String> m_dBSecurityGroups;
1853
1854 Aws::Vector<Aws::String> m_vpcSecurityGroupIds;
1855
1856 bool m_applyImmediately{false};
1857
1858 Aws::String m_masterUserPassword;
1859
1860 Aws::String m_dBParameterGroupName;
1861
1862 int m_backupRetentionPeriod{0};
1863
1864 Aws::String m_preferredBackupWindow;
1865
1866 Aws::String m_preferredMaintenanceWindow;
1867
1868 bool m_multiAZ{false};
1869
1870 Aws::String m_engineVersion;
1871
1872 bool m_allowMajorVersionUpgrade{false};
1873
1874 bool m_autoMinorVersionUpgrade{false};
1875
1876 Aws::String m_licenseModel;
1877
1878 int m_iops{0};
1879
1880 int m_storageThroughput{0};
1881
1882 Aws::String m_optionGroupName;
1883
1884 Aws::String m_newDBInstanceIdentifier;
1885
1886 Aws::String m_storageType;
1887
1888 Aws::String m_tdeCredentialArn;
1889
1890 Aws::String m_tdeCredentialPassword;
1891
1892 Aws::String m_cACertificateIdentifier;
1893
1894 Aws::String m_domain;
1895
1896 Aws::String m_domainFqdn;
1897
1898 Aws::String m_domainOu;
1899
1900 Aws::String m_domainAuthSecretArn;
1901
1902 Aws::Vector<Aws::String> m_domainDnsIps;
1903
1904 bool m_disableDomain{false};
1905
1906 bool m_copyTagsToSnapshot{false};
1907
1908 int m_monitoringInterval{0};
1909
1910 int m_dBPortNumber{0};
1911
1912 bool m_publiclyAccessible{false};
1913
1914 Aws::String m_monitoringRoleArn;
1915
1916 Aws::String m_domainIAMRoleName;
1917
1918 int m_promotionTier{0};
1919
1920 bool m_enableIAMDatabaseAuthentication{false};
1921
1923
1924 bool m_enablePerformanceInsights{false};
1925
1926 Aws::String m_performanceInsightsKMSKeyId;
1927
1928 int m_performanceInsightsRetentionPeriod{0};
1929
1930 CloudwatchLogsExportConfiguration m_cloudwatchLogsExportConfiguration;
1931
1932 Aws::Vector<ProcessorFeature> m_processorFeatures;
1933
1934 bool m_useDefaultProcessorFeatures{false};
1935
1936 bool m_deletionProtection{false};
1937
1938 int m_maxAllocatedStorage{0};
1939
1940 bool m_certificateRotationRestart{false};
1941
1942 ReplicaMode m_replicaMode{ReplicaMode::NOT_SET};
1943
1944 AutomationMode m_automationMode{AutomationMode::NOT_SET};
1945
1946 int m_resumeFullAutomationModeMinutes{0};
1947
1948 bool m_enableCustomerOwnedIp{false};
1949
1950 Aws::String m_networkType;
1951
1952 Aws::String m_awsBackupRecoveryPointArn;
1953
1954 bool m_manageMasterUserPassword{false};
1955
1956 bool m_rotateMasterUserPassword{false};
1957
1958 Aws::String m_masterUserSecretKmsKeyId;
1959
1960 bool m_multiTenant{false};
1961
1962 bool m_dedicatedLogVolume{false};
1963
1964 Aws::String m_engine;
1965
1966 Aws::Vector<ModifyAdditionalStorageVolume> m_additionalStorageVolumes;
1967
1968 Aws::String m_dBCapacityReservationIdentifier;
1969
1970 Aws::Vector<TagSpecification> m_tagSpecifications;
1971
1973
1974 Aws::String m_engineLifecycleSupport;
1975 bool m_dBInstanceIdentifierHasBeenSet = false;
1976 bool m_allocatedStorageHasBeenSet = false;
1977 bool m_dBInstanceClassHasBeenSet = false;
1978 bool m_dBSubnetGroupNameHasBeenSet = false;
1979 bool m_dBSecurityGroupsHasBeenSet = false;
1980 bool m_vpcSecurityGroupIdsHasBeenSet = false;
1981 bool m_applyImmediatelyHasBeenSet = false;
1982 bool m_masterUserPasswordHasBeenSet = false;
1983 bool m_dBParameterGroupNameHasBeenSet = false;
1984 bool m_backupRetentionPeriodHasBeenSet = false;
1985 bool m_preferredBackupWindowHasBeenSet = false;
1986 bool m_preferredMaintenanceWindowHasBeenSet = false;
1987 bool m_multiAZHasBeenSet = false;
1988 bool m_engineVersionHasBeenSet = false;
1989 bool m_allowMajorVersionUpgradeHasBeenSet = false;
1990 bool m_autoMinorVersionUpgradeHasBeenSet = false;
1991 bool m_licenseModelHasBeenSet = false;
1992 bool m_iopsHasBeenSet = false;
1993 bool m_storageThroughputHasBeenSet = false;
1994 bool m_optionGroupNameHasBeenSet = false;
1995 bool m_newDBInstanceIdentifierHasBeenSet = false;
1996 bool m_storageTypeHasBeenSet = false;
1997 bool m_tdeCredentialArnHasBeenSet = false;
1998 bool m_tdeCredentialPasswordHasBeenSet = false;
1999 bool m_cACertificateIdentifierHasBeenSet = false;
2000 bool m_domainHasBeenSet = false;
2001 bool m_domainFqdnHasBeenSet = false;
2002 bool m_domainOuHasBeenSet = false;
2003 bool m_domainAuthSecretArnHasBeenSet = false;
2004 bool m_domainDnsIpsHasBeenSet = false;
2005 bool m_disableDomainHasBeenSet = false;
2006 bool m_copyTagsToSnapshotHasBeenSet = false;
2007 bool m_monitoringIntervalHasBeenSet = false;
2008 bool m_dBPortNumberHasBeenSet = false;
2009 bool m_publiclyAccessibleHasBeenSet = false;
2010 bool m_monitoringRoleArnHasBeenSet = false;
2011 bool m_domainIAMRoleNameHasBeenSet = false;
2012 bool m_promotionTierHasBeenSet = false;
2013 bool m_enableIAMDatabaseAuthenticationHasBeenSet = false;
2014 bool m_databaseInsightsModeHasBeenSet = false;
2015 bool m_enablePerformanceInsightsHasBeenSet = false;
2016 bool m_performanceInsightsKMSKeyIdHasBeenSet = false;
2017 bool m_performanceInsightsRetentionPeriodHasBeenSet = false;
2018 bool m_cloudwatchLogsExportConfigurationHasBeenSet = false;
2019 bool m_processorFeaturesHasBeenSet = false;
2020 bool m_useDefaultProcessorFeaturesHasBeenSet = false;
2021 bool m_deletionProtectionHasBeenSet = false;
2022 bool m_maxAllocatedStorageHasBeenSet = false;
2023 bool m_certificateRotationRestartHasBeenSet = false;
2024 bool m_replicaModeHasBeenSet = false;
2025 bool m_automationModeHasBeenSet = false;
2026 bool m_resumeFullAutomationModeMinutesHasBeenSet = false;
2027 bool m_enableCustomerOwnedIpHasBeenSet = false;
2028 bool m_networkTypeHasBeenSet = false;
2029 bool m_awsBackupRecoveryPointArnHasBeenSet = false;
2030 bool m_manageMasterUserPasswordHasBeenSet = false;
2031 bool m_rotateMasterUserPasswordHasBeenSet = false;
2032 bool m_masterUserSecretKmsKeyIdHasBeenSet = false;
2033 bool m_multiTenantHasBeenSet = false;
2034 bool m_dedicatedLogVolumeHasBeenSet = false;
2035 bool m_engineHasBeenSet = false;
2036 bool m_additionalStorageVolumesHasBeenSet = false;
2037 bool m_dBCapacityReservationIdentifierHasBeenSet = false;
2038 bool m_tagSpecificationsHasBeenSet = false;
2039 bool m_masterUserAuthenticationTypeHasBeenSet = false;
2040 bool m_engineLifecycleSupportHasBeenSet = false;
2041};
2042
2043} // namespace Model
2044} // namespace RDS
2045} // namespace Aws
ModifyDBInstanceRequest & WithDBPortNumber(int value)
ModifyDBInstanceRequest & AddDomainDnsIps(DomainDnsIpsT &&value)
ModifyDBInstanceRequest & WithStorageThroughput(int value)
ModifyDBInstanceRequest & WithTdeCredentialPassword(TdeCredentialPasswordT &&value)
ModifyDBInstanceRequest & WithMasterUserAuthenticationType(MasterUserAuthenticationType value)
ModifyDBInstanceRequest & WithAutoMinorVersionUpgrade(bool value)
ModifyDBInstanceRequest & WithPreferredBackupWindow(PreferredBackupWindowT &&value)
ModifyDBInstanceRequest & WithMasterUserPassword(MasterUserPasswordT &&value)
void SetTagSpecifications(TagSpecificationsT &&value)
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
ModifyDBInstanceRequest & WithRotateMasterUserPassword(bool value)
ModifyDBInstanceRequest & WithDBInstanceClass(DBInstanceClassT &&value)
const Aws::String & GetDBInstanceIdentifier() const
ModifyDBInstanceRequest & WithDeletionProtection(bool value)
const Aws::String & GetPerformanceInsightsKMSKeyId() const
void SetDBSubnetGroupName(DBSubnetGroupNameT &&value)
void SetOptionGroupName(OptionGroupNameT &&value)
void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
ModifyDBInstanceRequest & WithAdditionalStorageVolumes(AdditionalStorageVolumesT &&value)
ModifyDBInstanceRequest & WithNewDBInstanceIdentifier(NewDBInstanceIdentifierT &&value)
void SetDatabaseInsightsMode(DatabaseInsightsMode value)
ModifyDBInstanceRequest & WithDomainOu(DomainOuT &&value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
ModifyDBInstanceRequest & WithProcessorFeatures(ProcessorFeaturesT &&value)
const Aws::String & GetAwsBackupRecoveryPointArn() const
ModifyDBInstanceRequest & WithPromotionTier(int value)
ModifyDBInstanceRequest & AddProcessorFeatures(ProcessorFeaturesT &&value)
ModifyDBInstanceRequest & WithEnableCustomerOwnedIp(bool value)
ModifyDBInstanceRequest & WithDomainDnsIps(DomainDnsIpsT &&value)
const Aws::Vector< ProcessorFeature > & GetProcessorFeatures() const
ModifyDBInstanceRequest & WithDomainFqdn(DomainFqdnT &&value)
ModifyDBInstanceRequest & WithPerformanceInsightsRetentionPeriod(int value)
void SetAdditionalStorageVolumes(AdditionalStorageVolumesT &&value)
const Aws::String & GetPreferredMaintenanceWindow() const
ModifyDBInstanceRequest & WithPubliclyAccessible(bool value)
ModifyDBInstanceRequest & WithIops(int value)
const Aws::String & GetCACertificateIdentifier() const
void SetNewDBInstanceIdentifier(NewDBInstanceIdentifierT &&value)
ModifyDBInstanceRequest & WithCACertificateIdentifier(CACertificateIdentifierT &&value)
ModifyDBInstanceRequest & WithMasterUserSecretKmsKeyId(MasterUserSecretKmsKeyIdT &&value)
ModifyDBInstanceRequest & WithManageMasterUserPassword(bool value)
void SetDBParameterGroupName(DBParameterGroupNameT &&value)
ModifyDBInstanceRequest & WithReplicaMode(ReplicaMode value)
void SetDomainAuthSecretArn(DomainAuthSecretArnT &&value)
virtual const char * GetServiceRequestName() const override
void SetCloudwatchLogsExportConfiguration(CloudwatchLogsExportConfigurationT &&value)
ModifyDBInstanceRequest & WithDBCapacityReservationIdentifier(DBCapacityReservationIdentifierT &&value)
ModifyDBInstanceRequest & WithDBParameterGroupName(DBParameterGroupNameT &&value)
ModifyDBInstanceRequest & WithPerformanceInsightsKMSKeyId(PerformanceInsightsKMSKeyIdT &&value)
ModifyDBInstanceRequest & WithResumeFullAutomationModeMinutes(int value)
void SetMasterUserPassword(MasterUserPasswordT &&value)
ModifyDBInstanceRequest & AddVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
ModifyDBInstanceRequest & WithMonitoringRoleArn(MonitoringRoleArnT &&value)
ModifyDBInstanceRequest & WithDBInstanceIdentifier(DBInstanceIdentifierT &&value)
void SetMasterUserSecretKmsKeyId(MasterUserSecretKmsKeyIdT &&value)
void SetDomainIAMRoleName(DomainIAMRoleNameT &&value)
ModifyDBInstanceRequest & WithMultiTenant(bool value)
ModifyDBInstanceRequest & WithNetworkType(NetworkTypeT &&value)
ModifyDBInstanceRequest & WithDBSecurityGroups(DBSecurityGroupsT &&value)
ModifyDBInstanceRequest & WithAllowMajorVersionUpgrade(bool value)
const Aws::Vector< ModifyAdditionalStorageVolume > & GetAdditionalStorageVolumes() const
ModifyDBInstanceRequest & WithDatabaseInsightsMode(DatabaseInsightsMode value)
ModifyDBInstanceRequest & WithEngine(EngineT &&value)
ModifyDBInstanceRequest & WithDBSubnetGroupName(DBSubnetGroupNameT &&value)
ModifyDBInstanceRequest & WithEngineLifecycleSupport(EngineLifecycleSupportT &&value)
ModifyDBInstanceRequest & WithLicenseModel(LicenseModelT &&value)
ModifyDBInstanceRequest & WithEnableIAMDatabaseAuthentication(bool value)
const Aws::Vector< Aws::String > & GetDBSecurityGroups() const
ModifyDBInstanceRequest & WithOptionGroupName(OptionGroupNameT &&value)
const Aws::String & GetNewDBInstanceIdentifier() const
ModifyDBInstanceRequest & WithEnablePerformanceInsights(bool value)
ModifyDBInstanceRequest & WithDomainIAMRoleName(DomainIAMRoleNameT &&value)
void SetCACertificateIdentifier(CACertificateIdentifierT &&value)
ModifyDBInstanceRequest & WithTdeCredentialArn(TdeCredentialArnT &&value)
MasterUserAuthenticationType GetMasterUserAuthenticationType() const
void SetMasterUserAuthenticationType(MasterUserAuthenticationType value)
const Aws::String & GetDBCapacityReservationIdentifier() const
const Aws::String & GetMasterUserSecretKmsKeyId() const
ModifyDBInstanceRequest & WithAutomationMode(AutomationMode value)
void SetAwsBackupRecoveryPointArn(AwsBackupRecoveryPointArnT &&value)
ModifyDBInstanceRequest & WithMonitoringInterval(int value)
void SetEngineLifecycleSupport(EngineLifecycleSupportT &&value)
void SetTdeCredentialArn(TdeCredentialArnT &&value)
ModifyDBInstanceRequest & WithAllocatedStorage(int value)
void SetMonitoringRoleArn(MonitoringRoleArnT &&value)
void SetPreferredBackupWindow(PreferredBackupWindowT &&value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_RDS_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetDomainDnsIps() const
AWS_RDS_API ModifyDBInstanceRequest()=default
void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
ModifyDBInstanceRequest & WithDomain(DomainT &&value)
ModifyDBInstanceRequest & WithDomainAuthSecretArn(DomainAuthSecretArnT &&value)
ModifyDBInstanceRequest & WithCopyTagsToSnapshot(bool value)
ModifyDBInstanceRequest & AddAdditionalStorageVolumes(AdditionalStorageVolumesT &&value)
ModifyDBInstanceRequest & WithApplyImmediately(bool value)
ModifyDBInstanceRequest & WithDisableDomain(bool value)
ModifyDBInstanceRequest & WithCloudwatchLogsExportConfiguration(CloudwatchLogsExportConfigurationT &&value)
ModifyDBInstanceRequest & WithStorageType(StorageTypeT &&value)
ModifyDBInstanceRequest & WithTagSpecifications(TagSpecificationsT &&value)
ModifyDBInstanceRequest & WithDedicatedLogVolume(bool value)
ModifyDBInstanceRequest & AddTagSpecifications(TagSpecificationsT &&value)
ModifyDBInstanceRequest & WithCertificateRotationRestart(bool value)
ModifyDBInstanceRequest & WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
ModifyDBInstanceRequest & WithMaxAllocatedStorage(int value)
void SetDBInstanceClass(DBInstanceClassT &&value)
ModifyDBInstanceRequest & WithVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
ModifyDBInstanceRequest & WithMultiAZ(bool value)
const CloudwatchLogsExportConfiguration & GetCloudwatchLogsExportConfiguration() const
void SetDBInstanceIdentifier(DBInstanceIdentifierT &&value)
ModifyDBInstanceRequest & WithEngineVersion(EngineVersionT &&value)
ModifyDBInstanceRequest & AddDBSecurityGroups(DBSecurityGroupsT &&value)
void SetDBCapacityReservationIdentifier(DBCapacityReservationIdentifierT &&value)
void SetTdeCredentialPassword(TdeCredentialPasswordT &&value)
ModifyDBInstanceRequest & WithBackupRetentionPeriod(int value)
void SetProcessorFeatures(ProcessorFeaturesT &&value)
void SetDBSecurityGroups(DBSecurityGroupsT &&value)
ModifyDBInstanceRequest & WithUseDefaultProcessorFeatures(bool value)
void SetPerformanceInsightsKMSKeyId(PerformanceInsightsKMSKeyIdT &&value)
ModifyDBInstanceRequest & WithAwsBackupRecoveryPointArn(AwsBackupRecoveryPointArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector