AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ModifyDBClusterRequest.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/CloudwatchLogsExportConfiguration.h>
12#include <aws/rds/model/DatabaseInsightsMode.h>
13#include <aws/rds/model/MasterUserAuthenticationType.h>
14#include <aws/rds/model/ScalingConfiguration.h>
15#include <aws/rds/model/ServerlessV2ScalingConfiguration.h>
16
17#include <utility>
18
19namespace Aws {
20namespace RDS {
21namespace Model {
22
29 public:
30 AWS_RDS_API ModifyDBClusterRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "ModifyDBCluster"; }
37
38 AWS_RDS_API Aws::String SerializePayload() const override;
39
40 protected:
41 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
42
43 public:
45
51 inline const Aws::String& GetDBClusterIdentifier() const { return m_dBClusterIdentifier; }
52 inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
53 template <typename DBClusterIdentifierT = Aws::String>
54 void SetDBClusterIdentifier(DBClusterIdentifierT&& value) {
55 m_dBClusterIdentifierHasBeenSet = true;
56 m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value);
57 }
58 template <typename DBClusterIdentifierT = Aws::String>
59 ModifyDBClusterRequest& WithDBClusterIdentifier(DBClusterIdentifierT&& value) {
60 SetDBClusterIdentifier(std::forward<DBClusterIdentifierT>(value));
61 return *this;
62 }
64
66
75 inline const Aws::String& GetNewDBClusterIdentifier() const { return m_newDBClusterIdentifier; }
76 inline bool NewDBClusterIdentifierHasBeenSet() const { return m_newDBClusterIdentifierHasBeenSet; }
77 template <typename NewDBClusterIdentifierT = Aws::String>
78 void SetNewDBClusterIdentifier(NewDBClusterIdentifierT&& value) {
79 m_newDBClusterIdentifierHasBeenSet = true;
80 m_newDBClusterIdentifier = std::forward<NewDBClusterIdentifierT>(value);
81 }
82 template <typename NewDBClusterIdentifierT = Aws::String>
83 ModifyDBClusterRequest& WithNewDBClusterIdentifier(NewDBClusterIdentifierT&& value) {
84 SetNewDBClusterIdentifier(std::forward<NewDBClusterIdentifierT>(value));
85 return *this;
86 }
88
90
102 inline bool GetApplyImmediately() const { return m_applyImmediately; }
103 inline bool ApplyImmediatelyHasBeenSet() const { return m_applyImmediatelyHasBeenSet; }
104 inline void SetApplyImmediately(bool value) {
105 m_applyImmediatelyHasBeenSet = true;
106 m_applyImmediately = value;
107 }
109 SetApplyImmediately(value);
110 return *this;
111 }
113
115
121 inline int GetBackupRetentionPeriod() const { return m_backupRetentionPeriod; }
122 inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; }
123 inline void SetBackupRetentionPeriod(int value) {
124 m_backupRetentionPeriodHasBeenSet = true;
125 m_backupRetentionPeriod = value;
126 }
129 return *this;
130 }
132
134
138 inline const Aws::String& GetDBClusterParameterGroupName() const { return m_dBClusterParameterGroupName; }
139 inline bool DBClusterParameterGroupNameHasBeenSet() const { return m_dBClusterParameterGroupNameHasBeenSet; }
140 template <typename DBClusterParameterGroupNameT = Aws::String>
141 void SetDBClusterParameterGroupName(DBClusterParameterGroupNameT&& value) {
142 m_dBClusterParameterGroupNameHasBeenSet = true;
143 m_dBClusterParameterGroupName = std::forward<DBClusterParameterGroupNameT>(value);
144 }
145 template <typename DBClusterParameterGroupNameT = Aws::String>
146 ModifyDBClusterRequest& WithDBClusterParameterGroupName(DBClusterParameterGroupNameT&& value) {
147 SetDBClusterParameterGroupName(std::forward<DBClusterParameterGroupNameT>(value));
148 return *this;
149 }
151
153
157 inline const Aws::Vector<Aws::String>& GetVpcSecurityGroupIds() const { return m_vpcSecurityGroupIds; }
158 inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; }
159 template <typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
160 void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) {
161 m_vpcSecurityGroupIdsHasBeenSet = true;
162 m_vpcSecurityGroupIds = std::forward<VpcSecurityGroupIdsT>(value);
163 }
164 template <typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
165 ModifyDBClusterRequest& WithVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) {
166 SetVpcSecurityGroupIds(std::forward<VpcSecurityGroupIdsT>(value));
167 return *this;
168 }
169 template <typename VpcSecurityGroupIdsT = Aws::String>
170 ModifyDBClusterRequest& AddVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) {
171 m_vpcSecurityGroupIdsHasBeenSet = true;
172 m_vpcSecurityGroupIds.emplace_back(std::forward<VpcSecurityGroupIdsT>(value));
173 return *this;
174 }
176
178
184 inline int GetPort() const { return m_port; }
185 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
186 inline void SetPort(int value) {
187 m_portHasBeenSet = true;
188 m_port = value;
189 }
190 inline ModifyDBClusterRequest& WithPort(int value) {
191 SetPort(value);
192 return *this;
193 }
195
197
204 inline const Aws::String& GetMasterUserPassword() const { return m_masterUserPassword; }
205 inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; }
206 template <typename MasterUserPasswordT = Aws::String>
207 void SetMasterUserPassword(MasterUserPasswordT&& value) {
208 m_masterUserPasswordHasBeenSet = true;
209 m_masterUserPassword = std::forward<MasterUserPasswordT>(value);
210 }
211 template <typename MasterUserPasswordT = Aws::String>
212 ModifyDBClusterRequest& WithMasterUserPassword(MasterUserPasswordT&& value) {
213 SetMasterUserPassword(std::forward<MasterUserPasswordT>(value));
214 return *this;
215 }
217
219
223 inline const Aws::String& GetOptionGroupName() const { return m_optionGroupName; }
224 inline bool OptionGroupNameHasBeenSet() const { return m_optionGroupNameHasBeenSet; }
225 template <typename OptionGroupNameT = Aws::String>
226 void SetOptionGroupName(OptionGroupNameT&& value) {
227 m_optionGroupNameHasBeenSet = true;
228 m_optionGroupName = std::forward<OptionGroupNameT>(value);
229 }
230 template <typename OptionGroupNameT = Aws::String>
231 ModifyDBClusterRequest& WithOptionGroupName(OptionGroupNameT&& value) {
232 SetOptionGroupName(std::forward<OptionGroupNameT>(value));
233 return *this;
234 }
236
238
252 inline const Aws::String& GetPreferredBackupWindow() const { return m_preferredBackupWindow; }
253 inline bool PreferredBackupWindowHasBeenSet() const { return m_preferredBackupWindowHasBeenSet; }
254 template <typename PreferredBackupWindowT = Aws::String>
255 void SetPreferredBackupWindow(PreferredBackupWindowT&& value) {
256 m_preferredBackupWindowHasBeenSet = true;
257 m_preferredBackupWindow = std::forward<PreferredBackupWindowT>(value);
258 }
259 template <typename PreferredBackupWindowT = Aws::String>
260 ModifyDBClusterRequest& WithPreferredBackupWindow(PreferredBackupWindowT&& value) {
261 SetPreferredBackupWindow(std::forward<PreferredBackupWindowT>(value));
262 return *this;
263 }
265
267
281 inline const Aws::String& GetPreferredMaintenanceWindow() const { return m_preferredMaintenanceWindow; }
282 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
283 template <typename PreferredMaintenanceWindowT = Aws::String>
284 void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) {
285 m_preferredMaintenanceWindowHasBeenSet = true;
286 m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value);
287 }
288 template <typename PreferredMaintenanceWindowT = Aws::String>
289 ModifyDBClusterRequest& WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) {
290 SetPreferredMaintenanceWindow(std::forward<PreferredMaintenanceWindowT>(value));
291 return *this;
292 }
294
296
307 inline bool GetEnableIAMDatabaseAuthentication() const { return m_enableIAMDatabaseAuthentication; }
308 inline bool EnableIAMDatabaseAuthenticationHasBeenSet() const { return m_enableIAMDatabaseAuthenticationHasBeenSet; }
309 inline void SetEnableIAMDatabaseAuthentication(bool value) {
310 m_enableIAMDatabaseAuthenticationHasBeenSet = true;
311 m_enableIAMDatabaseAuthentication = value;
312 }
315 return *this;
316 }
318
320
327 inline long long GetBacktrackWindow() const { return m_backtrackWindow; }
328 inline bool BacktrackWindowHasBeenSet() const { return m_backtrackWindowHasBeenSet; }
329 inline void SetBacktrackWindow(long long value) {
330 m_backtrackWindowHasBeenSet = true;
331 m_backtrackWindow = value;
332 }
334 SetBacktrackWindow(value);
335 return *this;
336 }
338
340
360 return m_cloudwatchLogsExportConfiguration;
361 }
362 inline bool CloudwatchLogsExportConfigurationHasBeenSet() const { return m_cloudwatchLogsExportConfigurationHasBeenSet; }
363 template <typename CloudwatchLogsExportConfigurationT = CloudwatchLogsExportConfiguration>
364 void SetCloudwatchLogsExportConfiguration(CloudwatchLogsExportConfigurationT&& value) {
365 m_cloudwatchLogsExportConfigurationHasBeenSet = true;
366 m_cloudwatchLogsExportConfiguration = std::forward<CloudwatchLogsExportConfigurationT>(value);
367 }
368 template <typename CloudwatchLogsExportConfigurationT = CloudwatchLogsExportConfiguration>
369 ModifyDBClusterRequest& WithCloudwatchLogsExportConfiguration(CloudwatchLogsExportConfigurationT&& value) {
370 SetCloudwatchLogsExportConfiguration(std::forward<CloudwatchLogsExportConfigurationT>(value));
371 return *this;
372 }
374
376
397 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
398 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
399 template <typename EngineVersionT = Aws::String>
400 void SetEngineVersion(EngineVersionT&& value) {
401 m_engineVersionHasBeenSet = true;
402 m_engineVersion = std::forward<EngineVersionT>(value);
403 }
404 template <typename EngineVersionT = Aws::String>
405 ModifyDBClusterRequest& WithEngineVersion(EngineVersionT&& value) {
406 SetEngineVersion(std::forward<EngineVersionT>(value));
407 return *this;
408 }
410
412
419 inline bool GetAllowMajorVersionUpgrade() const { return m_allowMajorVersionUpgrade; }
420 inline bool AllowMajorVersionUpgradeHasBeenSet() const { return m_allowMajorVersionUpgradeHasBeenSet; }
421 inline void SetAllowMajorVersionUpgrade(bool value) {
422 m_allowMajorVersionUpgradeHasBeenSet = true;
423 m_allowMajorVersionUpgrade = value;
424 }
427 return *this;
428 }
430
432
445 inline const Aws::String& GetDBInstanceParameterGroupName() const { return m_dBInstanceParameterGroupName; }
446 inline bool DBInstanceParameterGroupNameHasBeenSet() const { return m_dBInstanceParameterGroupNameHasBeenSet; }
447 template <typename DBInstanceParameterGroupNameT = Aws::String>
448 void SetDBInstanceParameterGroupName(DBInstanceParameterGroupNameT&& value) {
449 m_dBInstanceParameterGroupNameHasBeenSet = true;
450 m_dBInstanceParameterGroupName = std::forward<DBInstanceParameterGroupNameT>(value);
451 }
452 template <typename DBInstanceParameterGroupNameT = Aws::String>
453 ModifyDBClusterRequest& WithDBInstanceParameterGroupName(DBInstanceParameterGroupNameT&& value) {
454 SetDBInstanceParameterGroupName(std::forward<DBInstanceParameterGroupNameT>(value));
455 return *this;
456 }
458
460
468 inline const Aws::String& GetDomain() const { return m_domain; }
469 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
470 template <typename DomainT = Aws::String>
471 void SetDomain(DomainT&& value) {
472 m_domainHasBeenSet = true;
473 m_domain = std::forward<DomainT>(value);
474 }
475 template <typename DomainT = Aws::String>
477 SetDomain(std::forward<DomainT>(value));
478 return *this;
479 }
481
483
487 inline const Aws::String& GetDomainIAMRoleName() const { return m_domainIAMRoleName; }
488 inline bool DomainIAMRoleNameHasBeenSet() const { return m_domainIAMRoleNameHasBeenSet; }
489 template <typename DomainIAMRoleNameT = Aws::String>
490 void SetDomainIAMRoleName(DomainIAMRoleNameT&& value) {
491 m_domainIAMRoleNameHasBeenSet = true;
492 m_domainIAMRoleName = std::forward<DomainIAMRoleNameT>(value);
493 }
494 template <typename DomainIAMRoleNameT = Aws::String>
495 ModifyDBClusterRequest& WithDomainIAMRoleName(DomainIAMRoleNameT&& value) {
496 SetDomainIAMRoleName(std::forward<DomainIAMRoleNameT>(value));
497 return *this;
498 }
500
502
507 inline const ScalingConfiguration& GetScalingConfiguration() const { return m_scalingConfiguration; }
508 inline bool ScalingConfigurationHasBeenSet() const { return m_scalingConfigurationHasBeenSet; }
509 template <typename ScalingConfigurationT = ScalingConfiguration>
510 void SetScalingConfiguration(ScalingConfigurationT&& value) {
511 m_scalingConfigurationHasBeenSet = true;
512 m_scalingConfiguration = std::forward<ScalingConfigurationT>(value);
513 }
514 template <typename ScalingConfigurationT = ScalingConfiguration>
515 ModifyDBClusterRequest& WithScalingConfiguration(ScalingConfigurationT&& value) {
516 SetScalingConfiguration(std::forward<ScalingConfigurationT>(value));
517 return *this;
518 }
520
522
528 inline bool GetDeletionProtection() const { return m_deletionProtection; }
529 inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; }
530 inline void SetDeletionProtection(bool value) {
531 m_deletionProtectionHasBeenSet = true;
532 m_deletionProtection = value;
533 }
536 return *this;
537 }
539
541
555 inline bool GetEnableHttpEndpoint() const { return m_enableHttpEndpoint; }
556 inline bool EnableHttpEndpointHasBeenSet() const { return m_enableHttpEndpointHasBeenSet; }
557 inline void SetEnableHttpEndpoint(bool value) {
558 m_enableHttpEndpointHasBeenSet = true;
559 m_enableHttpEndpoint = value;
560 }
563 return *this;
564 }
566
568
573 inline bool GetCopyTagsToSnapshot() const { return m_copyTagsToSnapshot; }
574 inline bool CopyTagsToSnapshotHasBeenSet() const { return m_copyTagsToSnapshotHasBeenSet; }
575 inline void SetCopyTagsToSnapshot(bool value) {
576 m_copyTagsToSnapshotHasBeenSet = true;
577 m_copyTagsToSnapshot = value;
578 }
581 return *this;
582 }
584
586
598 inline bool GetEnableGlobalWriteForwarding() const { return m_enableGlobalWriteForwarding; }
599 inline bool EnableGlobalWriteForwardingHasBeenSet() const { return m_enableGlobalWriteForwardingHasBeenSet; }
600 inline void SetEnableGlobalWriteForwarding(bool value) {
601 m_enableGlobalWriteForwardingHasBeenSet = true;
602 m_enableGlobalWriteForwarding = value;
603 }
606 return *this;
607 }
609
611
621 inline const Aws::String& GetDBClusterInstanceClass() const { return m_dBClusterInstanceClass; }
622 inline bool DBClusterInstanceClassHasBeenSet() const { return m_dBClusterInstanceClassHasBeenSet; }
623 template <typename DBClusterInstanceClassT = Aws::String>
624 void SetDBClusterInstanceClass(DBClusterInstanceClassT&& value) {
625 m_dBClusterInstanceClassHasBeenSet = true;
626 m_dBClusterInstanceClass = std::forward<DBClusterInstanceClassT>(value);
627 }
628 template <typename DBClusterInstanceClassT = Aws::String>
629 ModifyDBClusterRequest& WithDBClusterInstanceClass(DBClusterInstanceClassT&& value) {
630 SetDBClusterInstanceClass(std::forward<DBClusterInstanceClassT>(value));
631 return *this;
632 }
634
636
641 inline int GetAllocatedStorage() const { return m_allocatedStorage; }
642 inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; }
643 inline void SetAllocatedStorage(int value) {
644 m_allocatedStorageHasBeenSet = true;
645 m_allocatedStorage = value;
646 }
648 SetAllocatedStorage(value);
649 return *this;
650 }
652
654
670 inline const Aws::String& GetStorageType() const { return m_storageType; }
671 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
672 template <typename StorageTypeT = Aws::String>
673 void SetStorageType(StorageTypeT&& value) {
674 m_storageTypeHasBeenSet = true;
675 m_storageType = std::forward<StorageTypeT>(value);
676 }
677 template <typename StorageTypeT = Aws::String>
679 SetStorageType(std::forward<StorageTypeT>(value));
680 return *this;
681 }
683
685
695 inline int GetIops() const { return m_iops; }
696 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
697 inline void SetIops(int value) {
698 m_iopsHasBeenSet = true;
699 m_iops = value;
700 }
701 inline ModifyDBClusterRequest& WithIops(int value) {
702 SetIops(value);
703 return *this;
704 }
706
708
717 inline bool GetAutoMinorVersionUpgrade() const { return m_autoMinorVersionUpgrade; }
718 inline bool AutoMinorVersionUpgradeHasBeenSet() const { return m_autoMinorVersionUpgradeHasBeenSet; }
719 inline void SetAutoMinorVersionUpgrade(bool value) {
720 m_autoMinorVersionUpgradeHasBeenSet = true;
721 m_autoMinorVersionUpgrade = value;
722 }
725 return *this;
726 }
728
730
740 inline const Aws::String& GetNetworkType() const { return m_networkType; }
741 inline bool NetworkTypeHasBeenSet() const { return m_networkTypeHasBeenSet; }
742 template <typename NetworkTypeT = Aws::String>
743 void SetNetworkType(NetworkTypeT&& value) {
744 m_networkTypeHasBeenSet = true;
745 m_networkType = std::forward<NetworkTypeT>(value);
746 }
747 template <typename NetworkTypeT = Aws::String>
749 SetNetworkType(std::forward<NetworkTypeT>(value));
750 return *this;
751 }
753
755
756 inline const ServerlessV2ScalingConfiguration& GetServerlessV2ScalingConfiguration() const { return m_serverlessV2ScalingConfiguration; }
757 inline bool ServerlessV2ScalingConfigurationHasBeenSet() const { return m_serverlessV2ScalingConfigurationHasBeenSet; }
758 template <typename ServerlessV2ScalingConfigurationT = ServerlessV2ScalingConfiguration>
759 void SetServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT&& value) {
760 m_serverlessV2ScalingConfigurationHasBeenSet = true;
761 m_serverlessV2ScalingConfiguration = std::forward<ServerlessV2ScalingConfigurationT>(value);
762 }
763 template <typename ServerlessV2ScalingConfigurationT = ServerlessV2ScalingConfiguration>
764 ModifyDBClusterRequest& WithServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT&& value) {
765 SetServerlessV2ScalingConfiguration(std::forward<ServerlessV2ScalingConfigurationT>(value));
766 return *this;
767 }
769
771
780 inline int GetMonitoringInterval() const { return m_monitoringInterval; }
781 inline bool MonitoringIntervalHasBeenSet() const { return m_monitoringIntervalHasBeenSet; }
782 inline void SetMonitoringInterval(int value) {
783 m_monitoringIntervalHasBeenSet = true;
784 m_monitoringInterval = value;
785 }
788 return *this;
789 }
791
793
804 inline const Aws::String& GetMonitoringRoleArn() const { return m_monitoringRoleArn; }
805 inline bool MonitoringRoleArnHasBeenSet() const { return m_monitoringRoleArnHasBeenSet; }
806 template <typename MonitoringRoleArnT = Aws::String>
807 void SetMonitoringRoleArn(MonitoringRoleArnT&& value) {
808 m_monitoringRoleArnHasBeenSet = true;
809 m_monitoringRoleArn = std::forward<MonitoringRoleArnT>(value);
810 }
811 template <typename MonitoringRoleArnT = Aws::String>
812 ModifyDBClusterRequest& WithMonitoringRoleArn(MonitoringRoleArnT&& value) {
813 SetMonitoringRoleArn(std::forward<MonitoringRoleArnT>(value));
814 return *this;
815 }
817
819
830 inline DatabaseInsightsMode GetDatabaseInsightsMode() const { return m_databaseInsightsMode; }
831 inline bool DatabaseInsightsModeHasBeenSet() const { return m_databaseInsightsModeHasBeenSet; }
833 m_databaseInsightsModeHasBeenSet = true;
834 m_databaseInsightsMode = value;
835 }
838 return *this;
839 }
841
843
850 inline bool GetEnablePerformanceInsights() const { return m_enablePerformanceInsights; }
851 inline bool EnablePerformanceInsightsHasBeenSet() const { return m_enablePerformanceInsightsHasBeenSet; }
852 inline void SetEnablePerformanceInsights(bool value) {
853 m_enablePerformanceInsightsHasBeenSet = true;
854 m_enablePerformanceInsights = value;
855 }
858 return *this;
859 }
861
863
873 inline const Aws::String& GetPerformanceInsightsKMSKeyId() const { return m_performanceInsightsKMSKeyId; }
874 inline bool PerformanceInsightsKMSKeyIdHasBeenSet() const { return m_performanceInsightsKMSKeyIdHasBeenSet; }
875 template <typename PerformanceInsightsKMSKeyIdT = Aws::String>
876 void SetPerformanceInsightsKMSKeyId(PerformanceInsightsKMSKeyIdT&& value) {
877 m_performanceInsightsKMSKeyIdHasBeenSet = true;
878 m_performanceInsightsKMSKeyId = std::forward<PerformanceInsightsKMSKeyIdT>(value);
879 }
880 template <typename PerformanceInsightsKMSKeyIdT = Aws::String>
881 ModifyDBClusterRequest& WithPerformanceInsightsKMSKeyId(PerformanceInsightsKMSKeyIdT&& value) {
882 SetPerformanceInsightsKMSKeyId(std::forward<PerformanceInsightsKMSKeyIdT>(value));
883 return *this;
884 }
886
888
898 inline int GetPerformanceInsightsRetentionPeriod() const { return m_performanceInsightsRetentionPeriod; }
899 inline bool PerformanceInsightsRetentionPeriodHasBeenSet() const { return m_performanceInsightsRetentionPeriodHasBeenSet; }
901 m_performanceInsightsRetentionPeriodHasBeenSet = true;
902 m_performanceInsightsRetentionPeriod = value;
903 }
906 return *this;
907 }
909
911
930 inline bool GetManageMasterUserPassword() const { return m_manageMasterUserPassword; }
931 inline bool ManageMasterUserPasswordHasBeenSet() const { return m_manageMasterUserPasswordHasBeenSet; }
932 inline void SetManageMasterUserPassword(bool value) {
933 m_manageMasterUserPasswordHasBeenSet = true;
934 m_manageMasterUserPassword = value;
935 }
938 return *this;
939 }
941
943
958 inline bool GetRotateMasterUserPassword() const { return m_rotateMasterUserPassword; }
959 inline bool RotateMasterUserPasswordHasBeenSet() const { return m_rotateMasterUserPasswordHasBeenSet; }
960 inline void SetRotateMasterUserPassword(bool value) {
961 m_rotateMasterUserPasswordHasBeenSet = true;
962 m_rotateMasterUserPassword = value;
963 }
966 return *this;
967 }
969
971
976 inline bool GetEnableLocalWriteForwarding() const { return m_enableLocalWriteForwarding; }
977 inline bool EnableLocalWriteForwardingHasBeenSet() const { return m_enableLocalWriteForwardingHasBeenSet; }
978 inline void SetEnableLocalWriteForwarding(bool value) {
979 m_enableLocalWriteForwardingHasBeenSet = true;
980 m_enableLocalWriteForwarding = value;
981 }
984 return *this;
985 }
987
989
1011 inline const Aws::String& GetMasterUserSecretKmsKeyId() const { return m_masterUserSecretKmsKeyId; }
1012 inline bool MasterUserSecretKmsKeyIdHasBeenSet() const { return m_masterUserSecretKmsKeyIdHasBeenSet; }
1013 template <typename MasterUserSecretKmsKeyIdT = Aws::String>
1014 void SetMasterUserSecretKmsKeyId(MasterUserSecretKmsKeyIdT&& value) {
1015 m_masterUserSecretKmsKeyIdHasBeenSet = true;
1016 m_masterUserSecretKmsKeyId = std::forward<MasterUserSecretKmsKeyIdT>(value);
1017 }
1018 template <typename MasterUserSecretKmsKeyIdT = Aws::String>
1019 ModifyDBClusterRequest& WithMasterUserSecretKmsKeyId(MasterUserSecretKmsKeyIdT&& value) {
1020 SetMasterUserSecretKmsKeyId(std::forward<MasterUserSecretKmsKeyIdT>(value));
1021 return *this;
1022 }
1024
1026
1034 inline const Aws::String& GetEngineMode() const { return m_engineMode; }
1035 inline bool EngineModeHasBeenSet() const { return m_engineModeHasBeenSet; }
1036 template <typename EngineModeT = Aws::String>
1037 void SetEngineMode(EngineModeT&& value) {
1038 m_engineModeHasBeenSet = true;
1039 m_engineMode = std::forward<EngineModeT>(value);
1040 }
1041 template <typename EngineModeT = Aws::String>
1043 SetEngineMode(std::forward<EngineModeT>(value));
1044 return *this;
1045 }
1047
1049
1057 inline bool GetAllowEngineModeChange() const { return m_allowEngineModeChange; }
1058 inline bool AllowEngineModeChangeHasBeenSet() const { return m_allowEngineModeChangeHasBeenSet; }
1059 inline void SetAllowEngineModeChange(bool value) {
1060 m_allowEngineModeChangeHasBeenSet = true;
1061 m_allowEngineModeChange = value;
1062 }
1065 return *this;
1066 }
1068
1070
1074 inline const Aws::String& GetAwsBackupRecoveryPointArn() const { return m_awsBackupRecoveryPointArn; }
1075 inline bool AwsBackupRecoveryPointArnHasBeenSet() const { return m_awsBackupRecoveryPointArnHasBeenSet; }
1076 template <typename AwsBackupRecoveryPointArnT = Aws::String>
1077 void SetAwsBackupRecoveryPointArn(AwsBackupRecoveryPointArnT&& value) {
1078 m_awsBackupRecoveryPointArnHasBeenSet = true;
1079 m_awsBackupRecoveryPointArn = std::forward<AwsBackupRecoveryPointArnT>(value);
1080 }
1081 template <typename AwsBackupRecoveryPointArnT = Aws::String>
1082 ModifyDBClusterRequest& WithAwsBackupRecoveryPointArn(AwsBackupRecoveryPointArnT&& value) {
1083 SetAwsBackupRecoveryPointArn(std::forward<AwsBackupRecoveryPointArnT>(value));
1084 return *this;
1085 }
1087
1089
1096 inline bool GetEnableLimitlessDatabase() const { return m_enableLimitlessDatabase; }
1097 inline bool EnableLimitlessDatabaseHasBeenSet() const { return m_enableLimitlessDatabaseHasBeenSet; }
1098 inline void SetEnableLimitlessDatabase(bool value) {
1099 m_enableLimitlessDatabaseHasBeenSet = true;
1100 m_enableLimitlessDatabase = value;
1101 }
1104 return *this;
1105 }
1107
1109
1116 inline const Aws::String& GetCACertificateIdentifier() const { return m_cACertificateIdentifier; }
1117 inline bool CACertificateIdentifierHasBeenSet() const { return m_cACertificateIdentifierHasBeenSet; }
1118 template <typename CACertificateIdentifierT = Aws::String>
1119 void SetCACertificateIdentifier(CACertificateIdentifierT&& value) {
1120 m_cACertificateIdentifierHasBeenSet = true;
1121 m_cACertificateIdentifier = std::forward<CACertificateIdentifierT>(value);
1122 }
1123 template <typename CACertificateIdentifierT = Aws::String>
1124 ModifyDBClusterRequest& WithCACertificateIdentifier(CACertificateIdentifierT&& value) {
1125 SetCACertificateIdentifier(std::forward<CACertificateIdentifierT>(value));
1126 return *this;
1127 }
1129
1131
1141 inline MasterUserAuthenticationType GetMasterUserAuthenticationType() const { return m_masterUserAuthenticationType; }
1142 inline bool MasterUserAuthenticationTypeHasBeenSet() const { return m_masterUserAuthenticationTypeHasBeenSet; }
1144 m_masterUserAuthenticationTypeHasBeenSet = true;
1145 m_masterUserAuthenticationType = value;
1146 }
1149 return *this;
1150 }
1152 private:
1153 Aws::String m_dBClusterIdentifier;
1154
1155 Aws::String m_newDBClusterIdentifier;
1156
1157 bool m_applyImmediately{false};
1158
1159 int m_backupRetentionPeriod{0};
1160
1161 Aws::String m_dBClusterParameterGroupName;
1162
1163 Aws::Vector<Aws::String> m_vpcSecurityGroupIds;
1164
1165 int m_port{0};
1166
1167 Aws::String m_masterUserPassword;
1168
1169 Aws::String m_optionGroupName;
1170
1171 Aws::String m_preferredBackupWindow;
1172
1173 Aws::String m_preferredMaintenanceWindow;
1174
1175 bool m_enableIAMDatabaseAuthentication{false};
1176
1177 long long m_backtrackWindow{0};
1178
1179 CloudwatchLogsExportConfiguration m_cloudwatchLogsExportConfiguration;
1180
1181 Aws::String m_engineVersion;
1182
1183 bool m_allowMajorVersionUpgrade{false};
1184
1185 Aws::String m_dBInstanceParameterGroupName;
1186
1187 Aws::String m_domain;
1188
1189 Aws::String m_domainIAMRoleName;
1190
1191 ScalingConfiguration m_scalingConfiguration;
1192
1193 bool m_deletionProtection{false};
1194
1195 bool m_enableHttpEndpoint{false};
1196
1197 bool m_copyTagsToSnapshot{false};
1198
1199 bool m_enableGlobalWriteForwarding{false};
1200
1201 Aws::String m_dBClusterInstanceClass;
1202
1203 int m_allocatedStorage{0};
1204
1205 Aws::String m_storageType;
1206
1207 int m_iops{0};
1208
1209 bool m_autoMinorVersionUpgrade{false};
1210
1211 Aws::String m_networkType;
1212
1213 ServerlessV2ScalingConfiguration m_serverlessV2ScalingConfiguration;
1214
1215 int m_monitoringInterval{0};
1216
1217 Aws::String m_monitoringRoleArn;
1218
1220
1221 bool m_enablePerformanceInsights{false};
1222
1223 Aws::String m_performanceInsightsKMSKeyId;
1224
1225 int m_performanceInsightsRetentionPeriod{0};
1226
1227 bool m_manageMasterUserPassword{false};
1228
1229 bool m_rotateMasterUserPassword{false};
1230
1231 bool m_enableLocalWriteForwarding{false};
1232
1233 Aws::String m_masterUserSecretKmsKeyId;
1234
1235 Aws::String m_engineMode;
1236
1237 bool m_allowEngineModeChange{false};
1238
1239 Aws::String m_awsBackupRecoveryPointArn;
1240
1241 bool m_enableLimitlessDatabase{false};
1242
1243 Aws::String m_cACertificateIdentifier;
1244
1246 bool m_dBClusterIdentifierHasBeenSet = false;
1247 bool m_newDBClusterIdentifierHasBeenSet = false;
1248 bool m_applyImmediatelyHasBeenSet = false;
1249 bool m_backupRetentionPeriodHasBeenSet = false;
1250 bool m_dBClusterParameterGroupNameHasBeenSet = false;
1251 bool m_vpcSecurityGroupIdsHasBeenSet = false;
1252 bool m_portHasBeenSet = false;
1253 bool m_masterUserPasswordHasBeenSet = false;
1254 bool m_optionGroupNameHasBeenSet = false;
1255 bool m_preferredBackupWindowHasBeenSet = false;
1256 bool m_preferredMaintenanceWindowHasBeenSet = false;
1257 bool m_enableIAMDatabaseAuthenticationHasBeenSet = false;
1258 bool m_backtrackWindowHasBeenSet = false;
1259 bool m_cloudwatchLogsExportConfigurationHasBeenSet = false;
1260 bool m_engineVersionHasBeenSet = false;
1261 bool m_allowMajorVersionUpgradeHasBeenSet = false;
1262 bool m_dBInstanceParameterGroupNameHasBeenSet = false;
1263 bool m_domainHasBeenSet = false;
1264 bool m_domainIAMRoleNameHasBeenSet = false;
1265 bool m_scalingConfigurationHasBeenSet = false;
1266 bool m_deletionProtectionHasBeenSet = false;
1267 bool m_enableHttpEndpointHasBeenSet = false;
1268 bool m_copyTagsToSnapshotHasBeenSet = false;
1269 bool m_enableGlobalWriteForwardingHasBeenSet = false;
1270 bool m_dBClusterInstanceClassHasBeenSet = false;
1271 bool m_allocatedStorageHasBeenSet = false;
1272 bool m_storageTypeHasBeenSet = false;
1273 bool m_iopsHasBeenSet = false;
1274 bool m_autoMinorVersionUpgradeHasBeenSet = false;
1275 bool m_networkTypeHasBeenSet = false;
1276 bool m_serverlessV2ScalingConfigurationHasBeenSet = false;
1277 bool m_monitoringIntervalHasBeenSet = false;
1278 bool m_monitoringRoleArnHasBeenSet = false;
1279 bool m_databaseInsightsModeHasBeenSet = false;
1280 bool m_enablePerformanceInsightsHasBeenSet = false;
1281 bool m_performanceInsightsKMSKeyIdHasBeenSet = false;
1282 bool m_performanceInsightsRetentionPeriodHasBeenSet = false;
1283 bool m_manageMasterUserPasswordHasBeenSet = false;
1284 bool m_rotateMasterUserPasswordHasBeenSet = false;
1285 bool m_enableLocalWriteForwardingHasBeenSet = false;
1286 bool m_masterUserSecretKmsKeyIdHasBeenSet = false;
1287 bool m_engineModeHasBeenSet = false;
1288 bool m_allowEngineModeChangeHasBeenSet = false;
1289 bool m_awsBackupRecoveryPointArnHasBeenSet = false;
1290 bool m_enableLimitlessDatabaseHasBeenSet = false;
1291 bool m_cACertificateIdentifierHasBeenSet = false;
1292 bool m_masterUserAuthenticationTypeHasBeenSet = false;
1293};
1294
1295} // namespace Model
1296} // namespace RDS
1297} // namespace Aws
ModifyDBClusterRequest & WithPerformanceInsightsKMSKeyId(PerformanceInsightsKMSKeyIdT &&value)
ModifyDBClusterRequest & WithIops(int value)
ModifyDBClusterRequest & WithAllocatedStorage(int value)
ModifyDBClusterRequest & WithEnableIAMDatabaseAuthentication(bool value)
ModifyDBClusterRequest & WithCloudwatchLogsExportConfiguration(CloudwatchLogsExportConfigurationT &&value)
void SetPreferredBackupWindow(PreferredBackupWindowT &&value)
ModifyDBClusterRequest & WithEngineVersion(EngineVersionT &&value)
void SetDatabaseInsightsMode(DatabaseInsightsMode value)
ModifyDBClusterRequest & WithBackupRetentionPeriod(int value)
const Aws::String & GetMasterUserSecretKmsKeyId() const
const CloudwatchLogsExportConfiguration & GetCloudwatchLogsExportConfiguration() const
void SetMasterUserSecretKmsKeyId(MasterUserSecretKmsKeyIdT &&value)
ModifyDBClusterRequest & WithPerformanceInsightsRetentionPeriod(int value)
ModifyDBClusterRequest & WithMasterUserSecretKmsKeyId(MasterUserSecretKmsKeyIdT &&value)
void SetDBClusterInstanceClass(DBClusterInstanceClassT &&value)
void SetNewDBClusterIdentifier(NewDBClusterIdentifierT &&value)
const Aws::String & GetMasterUserPassword() const
const Aws::String & GetDBClusterInstanceClass() const
ModifyDBClusterRequest & WithMasterUserAuthenticationType(MasterUserAuthenticationType value)
ModifyDBClusterRequest & WithManageMasterUserPassword(bool value)
ModifyDBClusterRequest & WithPort(int value)
const ScalingConfiguration & GetScalingConfiguration() const
ModifyDBClusterRequest & WithDeletionProtection(bool value)
AWS_RDS_API ModifyDBClusterRequest()=default
void SetOptionGroupName(OptionGroupNameT &&value)
ModifyDBClusterRequest & WithEnableHttpEndpoint(bool value)
ModifyDBClusterRequest & WithAwsBackupRecoveryPointArn(AwsBackupRecoveryPointArnT &&value)
void SetCACertificateIdentifier(CACertificateIdentifierT &&value)
DatabaseInsightsMode GetDatabaseInsightsMode() const
ModifyDBClusterRequest & WithAllowEngineModeChange(bool value)
ModifyDBClusterRequest & WithPreferredBackupWindow(PreferredBackupWindowT &&value)
ModifyDBClusterRequest & WithDatabaseInsightsMode(DatabaseInsightsMode value)
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
ModifyDBClusterRequest & WithMonitoringRoleArn(MonitoringRoleArnT &&value)
const Aws::String & GetPerformanceInsightsKMSKeyId() const
const ServerlessV2ScalingConfiguration & GetServerlessV2ScalingConfiguration() const
ModifyDBClusterRequest & WithEnableLocalWriteForwarding(bool value)
ModifyDBClusterRequest & WithDBInstanceParameterGroupName(DBInstanceParameterGroupNameT &&value)
ModifyDBClusterRequest & WithEnableGlobalWriteForwarding(bool value)
void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
void SetMonitoringRoleArn(MonitoringRoleArnT &&value)
void SetMasterUserAuthenticationType(MasterUserAuthenticationType value)
AWS_RDS_API Aws::String SerializePayload() const override
ModifyDBClusterRequest & WithEnablePerformanceInsights(bool value)
ModifyDBClusterRequest & WithBacktrackWindow(long long value)
const Aws::String & GetDBClusterIdentifier() const
ModifyDBClusterRequest & WithDomain(DomainT &&value)
ModifyDBClusterRequest & WithOptionGroupName(OptionGroupNameT &&value)
ModifyDBClusterRequest & WithApplyImmediately(bool value)
void SetDomainIAMRoleName(DomainIAMRoleNameT &&value)
ModifyDBClusterRequest & WithScalingConfiguration(ScalingConfigurationT &&value)
const Aws::String & GetPreferredBackupWindow() const
void SetPerformanceInsightsKMSKeyId(PerformanceInsightsKMSKeyIdT &&value)
ModifyDBClusterRequest & WithVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
const Aws::String & GetDBInstanceParameterGroupName() const
ModifyDBClusterRequest & WithDBClusterInstanceClass(DBClusterInstanceClassT &&value)
ModifyDBClusterRequest & WithServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT &&value)
void SetDBClusterParameterGroupName(DBClusterParameterGroupNameT &&value)
const Aws::String & GetAwsBackupRecoveryPointArn() const
ModifyDBClusterRequest & WithRotateMasterUserPassword(bool value)
const Aws::String & GetDBClusterParameterGroupName() const
ModifyDBClusterRequest & WithCopyTagsToSnapshot(bool value)
ModifyDBClusterRequest & WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
const Aws::String & GetCACertificateIdentifier() const
void SetMasterUserPassword(MasterUserPasswordT &&value)
ModifyDBClusterRequest & WithMasterUserPassword(MasterUserPasswordT &&value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyDBClusterRequest & WithAutoMinorVersionUpgrade(bool value)
ModifyDBClusterRequest & WithDBClusterParameterGroupName(DBClusterParameterGroupNameT &&value)
void SetScalingConfiguration(ScalingConfigurationT &&value)
void SetDBInstanceParameterGroupName(DBInstanceParameterGroupNameT &&value)
void SetServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT &&value)
void SetCloudwatchLogsExportConfiguration(CloudwatchLogsExportConfigurationT &&value)
void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
void SetAwsBackupRecoveryPointArn(AwsBackupRecoveryPointArnT &&value)
const Aws::String & GetNewDBClusterIdentifier() const
MasterUserAuthenticationType GetMasterUserAuthenticationType() const
ModifyDBClusterRequest & WithEngineMode(EngineModeT &&value)
ModifyDBClusterRequest & WithStorageType(StorageTypeT &&value)
ModifyDBClusterRequest & WithNetworkType(NetworkTypeT &&value)
ModifyDBClusterRequest & WithAllowMajorVersionUpgrade(bool value)
ModifyDBClusterRequest & WithMonitoringInterval(int value)
ModifyDBClusterRequest & WithNewDBClusterIdentifier(NewDBClusterIdentifierT &&value)
ModifyDBClusterRequest & WithCACertificateIdentifier(CACertificateIdentifierT &&value)
void SetDBClusterIdentifier(DBClusterIdentifierT &&value)
ModifyDBClusterRequest & WithEnableLimitlessDatabase(bool value)
ModifyDBClusterRequest & WithDomainIAMRoleName(DomainIAMRoleNameT &&value)
ModifyDBClusterRequest & AddVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
ModifyDBClusterRequest & WithDBClusterIdentifier(DBClusterIdentifierT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetPreferredMaintenanceWindow() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector