AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ModifyDBClusterRequest.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/rds/RDSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/rds/model/CloudwatchLogsExportConfiguration.h>
12#include <aws/rds/model/ScalingConfiguration.h>
13#include <aws/rds/model/DatabaseInsightsMode.h>
14#include <aws/rds/model/ServerlessV2ScalingConfiguration.h>
15#include <utility>
16
17namespace Aws
18{
19namespace RDS
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_RDS_API ModifyDBClusterRequest() = default;
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "ModifyDBCluster"; }
39
40 AWS_RDS_API Aws::String SerializePayload() const override;
41
42 protected:
43 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
44
45 public:
46
48
54 inline const Aws::String& GetDBClusterIdentifier() const { return m_dBClusterIdentifier; }
55 inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
56 template<typename DBClusterIdentifierT = Aws::String>
57 void SetDBClusterIdentifier(DBClusterIdentifierT&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value); }
58 template<typename DBClusterIdentifierT = Aws::String>
59 ModifyDBClusterRequest& WithDBClusterIdentifier(DBClusterIdentifierT&& value) { SetDBClusterIdentifier(std::forward<DBClusterIdentifierT>(value)); return *this;}
61
63
72 inline const Aws::String& GetNewDBClusterIdentifier() const { return m_newDBClusterIdentifier; }
73 inline bool NewDBClusterIdentifierHasBeenSet() const { return m_newDBClusterIdentifierHasBeenSet; }
74 template<typename NewDBClusterIdentifierT = Aws::String>
75 void SetNewDBClusterIdentifier(NewDBClusterIdentifierT&& value) { m_newDBClusterIdentifierHasBeenSet = true; m_newDBClusterIdentifier = std::forward<NewDBClusterIdentifierT>(value); }
76 template<typename NewDBClusterIdentifierT = Aws::String>
77 ModifyDBClusterRequest& WithNewDBClusterIdentifier(NewDBClusterIdentifierT&& value) { SetNewDBClusterIdentifier(std::forward<NewDBClusterIdentifierT>(value)); return *this;}
79
81
93 inline bool GetApplyImmediately() const { return m_applyImmediately; }
94 inline bool ApplyImmediatelyHasBeenSet() const { return m_applyImmediatelyHasBeenSet; }
95 inline void SetApplyImmediately(bool value) { m_applyImmediatelyHasBeenSet = true; m_applyImmediately = value; }
96 inline ModifyDBClusterRequest& WithApplyImmediately(bool value) { SetApplyImmediately(value); return *this;}
98
100
106 inline int GetBackupRetentionPeriod() const { return m_backupRetentionPeriod; }
107 inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; }
108 inline void SetBackupRetentionPeriod(int value) { m_backupRetentionPeriodHasBeenSet = true; m_backupRetentionPeriod = value; }
111
113
117 inline const Aws::String& GetDBClusterParameterGroupName() const { return m_dBClusterParameterGroupName; }
118 inline bool DBClusterParameterGroupNameHasBeenSet() const { return m_dBClusterParameterGroupNameHasBeenSet; }
119 template<typename DBClusterParameterGroupNameT = Aws::String>
120 void SetDBClusterParameterGroupName(DBClusterParameterGroupNameT&& value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName = std::forward<DBClusterParameterGroupNameT>(value); }
121 template<typename DBClusterParameterGroupNameT = Aws::String>
122 ModifyDBClusterRequest& WithDBClusterParameterGroupName(DBClusterParameterGroupNameT&& value) { SetDBClusterParameterGroupName(std::forward<DBClusterParameterGroupNameT>(value)); return *this;}
124
126
130 inline const Aws::Vector<Aws::String>& GetVpcSecurityGroupIds() const { return m_vpcSecurityGroupIds; }
131 inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; }
132 template<typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
133 void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = std::forward<VpcSecurityGroupIdsT>(value); }
134 template<typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
135 ModifyDBClusterRequest& WithVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) { SetVpcSecurityGroupIds(std::forward<VpcSecurityGroupIdsT>(value)); return *this;}
136 template<typename VpcSecurityGroupIdsT = Aws::String>
137 ModifyDBClusterRequest& AddVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.emplace_back(std::forward<VpcSecurityGroupIdsT>(value)); return *this; }
139
141
147 inline int GetPort() const { return m_port; }
148 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
149 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
150 inline ModifyDBClusterRequest& WithPort(int value) { SetPort(value); return *this;}
152
154
161 inline const Aws::String& GetMasterUserPassword() const { return m_masterUserPassword; }
162 inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; }
163 template<typename MasterUserPasswordT = Aws::String>
164 void SetMasterUserPassword(MasterUserPasswordT&& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = std::forward<MasterUserPasswordT>(value); }
165 template<typename MasterUserPasswordT = Aws::String>
166 ModifyDBClusterRequest& WithMasterUserPassword(MasterUserPasswordT&& value) { SetMasterUserPassword(std::forward<MasterUserPasswordT>(value)); return *this;}
168
170
174 inline const Aws::String& GetOptionGroupName() const { return m_optionGroupName; }
175 inline bool OptionGroupNameHasBeenSet() const { return m_optionGroupNameHasBeenSet; }
176 template<typename OptionGroupNameT = Aws::String>
177 void SetOptionGroupName(OptionGroupNameT&& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = std::forward<OptionGroupNameT>(value); }
178 template<typename OptionGroupNameT = Aws::String>
179 ModifyDBClusterRequest& WithOptionGroupName(OptionGroupNameT&& value) { SetOptionGroupName(std::forward<OptionGroupNameT>(value)); return *this;}
181
183
197 inline const Aws::String& GetPreferredBackupWindow() const { return m_preferredBackupWindow; }
198 inline bool PreferredBackupWindowHasBeenSet() const { return m_preferredBackupWindowHasBeenSet; }
199 template<typename PreferredBackupWindowT = Aws::String>
200 void SetPreferredBackupWindow(PreferredBackupWindowT&& value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow = std::forward<PreferredBackupWindowT>(value); }
201 template<typename PreferredBackupWindowT = Aws::String>
202 ModifyDBClusterRequest& WithPreferredBackupWindow(PreferredBackupWindowT&& value) { SetPreferredBackupWindow(std::forward<PreferredBackupWindowT>(value)); return *this;}
204
206
220 inline const Aws::String& GetPreferredMaintenanceWindow() const { return m_preferredMaintenanceWindow; }
221 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
222 template<typename PreferredMaintenanceWindowT = Aws::String>
223 void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value); }
224 template<typename PreferredMaintenanceWindowT = Aws::String>
225 ModifyDBClusterRequest& WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) { SetPreferredMaintenanceWindow(std::forward<PreferredMaintenanceWindowT>(value)); return *this;}
227
229
240 inline bool GetEnableIAMDatabaseAuthentication() const { return m_enableIAMDatabaseAuthentication; }
241 inline bool EnableIAMDatabaseAuthenticationHasBeenSet() const { return m_enableIAMDatabaseAuthenticationHasBeenSet; }
242 inline void SetEnableIAMDatabaseAuthentication(bool value) { m_enableIAMDatabaseAuthenticationHasBeenSet = true; m_enableIAMDatabaseAuthentication = value; }
245
247
254 inline long long GetBacktrackWindow() const { return m_backtrackWindow; }
255 inline bool BacktrackWindowHasBeenSet() const { return m_backtrackWindowHasBeenSet; }
256 inline void SetBacktrackWindow(long long value) { m_backtrackWindowHasBeenSet = true; m_backtrackWindow = value; }
257 inline ModifyDBClusterRequest& WithBacktrackWindow(long long value) { SetBacktrackWindow(value); return *this;}
259
261
280 inline const CloudwatchLogsExportConfiguration& GetCloudwatchLogsExportConfiguration() const { return m_cloudwatchLogsExportConfiguration; }
281 inline bool CloudwatchLogsExportConfigurationHasBeenSet() const { return m_cloudwatchLogsExportConfigurationHasBeenSet; }
282 template<typename CloudwatchLogsExportConfigurationT = CloudwatchLogsExportConfiguration>
283 void SetCloudwatchLogsExportConfiguration(CloudwatchLogsExportConfigurationT&& value) { m_cloudwatchLogsExportConfigurationHasBeenSet = true; m_cloudwatchLogsExportConfiguration = std::forward<CloudwatchLogsExportConfigurationT>(value); }
284 template<typename CloudwatchLogsExportConfigurationT = CloudwatchLogsExportConfiguration>
285 ModifyDBClusterRequest& WithCloudwatchLogsExportConfiguration(CloudwatchLogsExportConfigurationT&& value) { SetCloudwatchLogsExportConfiguration(std::forward<CloudwatchLogsExportConfigurationT>(value)); return *this;}
287
289
310 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
311 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
312 template<typename EngineVersionT = Aws::String>
313 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::forward<EngineVersionT>(value); }
314 template<typename EngineVersionT = Aws::String>
315 ModifyDBClusterRequest& WithEngineVersion(EngineVersionT&& value) { SetEngineVersion(std::forward<EngineVersionT>(value)); return *this;}
317
319
326 inline bool GetAllowMajorVersionUpgrade() const { return m_allowMajorVersionUpgrade; }
327 inline bool AllowMajorVersionUpgradeHasBeenSet() const { return m_allowMajorVersionUpgradeHasBeenSet; }
328 inline void SetAllowMajorVersionUpgrade(bool value) { m_allowMajorVersionUpgradeHasBeenSet = true; m_allowMajorVersionUpgrade = value; }
331
333
346 inline const Aws::String& GetDBInstanceParameterGroupName() const { return m_dBInstanceParameterGroupName; }
347 inline bool DBInstanceParameterGroupNameHasBeenSet() const { return m_dBInstanceParameterGroupNameHasBeenSet; }
348 template<typename DBInstanceParameterGroupNameT = Aws::String>
349 void SetDBInstanceParameterGroupName(DBInstanceParameterGroupNameT&& value) { m_dBInstanceParameterGroupNameHasBeenSet = true; m_dBInstanceParameterGroupName = std::forward<DBInstanceParameterGroupNameT>(value); }
350 template<typename DBInstanceParameterGroupNameT = Aws::String>
351 ModifyDBClusterRequest& WithDBInstanceParameterGroupName(DBInstanceParameterGroupNameT&& value) { SetDBInstanceParameterGroupName(std::forward<DBInstanceParameterGroupNameT>(value)); return *this;}
353
355
363 inline const Aws::String& GetDomain() const { return m_domain; }
364 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
365 template<typename DomainT = Aws::String>
366 void SetDomain(DomainT&& value) { m_domainHasBeenSet = true; m_domain = std::forward<DomainT>(value); }
367 template<typename DomainT = Aws::String>
368 ModifyDBClusterRequest& WithDomain(DomainT&& value) { SetDomain(std::forward<DomainT>(value)); return *this;}
370
372
376 inline const Aws::String& GetDomainIAMRoleName() const { return m_domainIAMRoleName; }
377 inline bool DomainIAMRoleNameHasBeenSet() const { return m_domainIAMRoleNameHasBeenSet; }
378 template<typename DomainIAMRoleNameT = Aws::String>
379 void SetDomainIAMRoleName(DomainIAMRoleNameT&& value) { m_domainIAMRoleNameHasBeenSet = true; m_domainIAMRoleName = std::forward<DomainIAMRoleNameT>(value); }
380 template<typename DomainIAMRoleNameT = Aws::String>
381 ModifyDBClusterRequest& WithDomainIAMRoleName(DomainIAMRoleNameT&& value) { SetDomainIAMRoleName(std::forward<DomainIAMRoleNameT>(value)); return *this;}
383
385
390 inline const ScalingConfiguration& GetScalingConfiguration() const { return m_scalingConfiguration; }
391 inline bool ScalingConfigurationHasBeenSet() const { return m_scalingConfigurationHasBeenSet; }
392 template<typename ScalingConfigurationT = ScalingConfiguration>
393 void SetScalingConfiguration(ScalingConfigurationT&& value) { m_scalingConfigurationHasBeenSet = true; m_scalingConfiguration = std::forward<ScalingConfigurationT>(value); }
394 template<typename ScalingConfigurationT = ScalingConfiguration>
395 ModifyDBClusterRequest& WithScalingConfiguration(ScalingConfigurationT&& value) { SetScalingConfiguration(std::forward<ScalingConfigurationT>(value)); return *this;}
397
399
405 inline bool GetDeletionProtection() const { return m_deletionProtection; }
406 inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; }
407 inline void SetDeletionProtection(bool value) { m_deletionProtectionHasBeenSet = true; m_deletionProtection = value; }
408 inline ModifyDBClusterRequest& WithDeletionProtection(bool value) { SetDeletionProtection(value); return *this;}
410
412
426 inline bool GetEnableHttpEndpoint() const { return m_enableHttpEndpoint; }
427 inline bool EnableHttpEndpointHasBeenSet() const { return m_enableHttpEndpointHasBeenSet; }
428 inline void SetEnableHttpEndpoint(bool value) { m_enableHttpEndpointHasBeenSet = true; m_enableHttpEndpoint = value; }
429 inline ModifyDBClusterRequest& WithEnableHttpEndpoint(bool value) { SetEnableHttpEndpoint(value); return *this;}
431
433
438 inline bool GetCopyTagsToSnapshot() const { return m_copyTagsToSnapshot; }
439 inline bool CopyTagsToSnapshotHasBeenSet() const { return m_copyTagsToSnapshotHasBeenSet; }
440 inline void SetCopyTagsToSnapshot(bool value) { m_copyTagsToSnapshotHasBeenSet = true; m_copyTagsToSnapshot = value; }
441 inline ModifyDBClusterRequest& WithCopyTagsToSnapshot(bool value) { SetCopyTagsToSnapshot(value); return *this;}
443
445
457 inline bool GetEnableGlobalWriteForwarding() const { return m_enableGlobalWriteForwarding; }
458 inline bool EnableGlobalWriteForwardingHasBeenSet() const { return m_enableGlobalWriteForwardingHasBeenSet; }
459 inline void SetEnableGlobalWriteForwarding(bool value) { m_enableGlobalWriteForwardingHasBeenSet = true; m_enableGlobalWriteForwarding = value; }
462
464
474 inline const Aws::String& GetDBClusterInstanceClass() const { return m_dBClusterInstanceClass; }
475 inline bool DBClusterInstanceClassHasBeenSet() const { return m_dBClusterInstanceClassHasBeenSet; }
476 template<typename DBClusterInstanceClassT = Aws::String>
477 void SetDBClusterInstanceClass(DBClusterInstanceClassT&& value) { m_dBClusterInstanceClassHasBeenSet = true; m_dBClusterInstanceClass = std::forward<DBClusterInstanceClassT>(value); }
478 template<typename DBClusterInstanceClassT = Aws::String>
479 ModifyDBClusterRequest& WithDBClusterInstanceClass(DBClusterInstanceClassT&& value) { SetDBClusterInstanceClass(std::forward<DBClusterInstanceClassT>(value)); return *this;}
481
483
488 inline int GetAllocatedStorage() const { return m_allocatedStorage; }
489 inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; }
490 inline void SetAllocatedStorage(int value) { m_allocatedStorageHasBeenSet = true; m_allocatedStorage = value; }
491 inline ModifyDBClusterRequest& WithAllocatedStorage(int value) { SetAllocatedStorage(value); return *this;}
493
495
511 inline const Aws::String& GetStorageType() const { return m_storageType; }
512 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
513 template<typename StorageTypeT = Aws::String>
514 void SetStorageType(StorageTypeT&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::forward<StorageTypeT>(value); }
515 template<typename StorageTypeT = Aws::String>
516 ModifyDBClusterRequest& WithStorageType(StorageTypeT&& value) { SetStorageType(std::forward<StorageTypeT>(value)); return *this;}
518
520
530 inline int GetIops() const { return m_iops; }
531 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
532 inline void SetIops(int value) { m_iopsHasBeenSet = true; m_iops = value; }
533 inline ModifyDBClusterRequest& WithIops(int value) { SetIops(value); return *this;}
535
537
546 inline bool GetAutoMinorVersionUpgrade() const { return m_autoMinorVersionUpgrade; }
547 inline bool AutoMinorVersionUpgradeHasBeenSet() const { return m_autoMinorVersionUpgradeHasBeenSet; }
548 inline void SetAutoMinorVersionUpgrade(bool value) { m_autoMinorVersionUpgradeHasBeenSet = true; m_autoMinorVersionUpgrade = value; }
551
553
562 inline int GetMonitoringInterval() const { return m_monitoringInterval; }
563 inline bool MonitoringIntervalHasBeenSet() const { return m_monitoringIntervalHasBeenSet; }
564 inline void SetMonitoringInterval(int value) { m_monitoringIntervalHasBeenSet = true; m_monitoringInterval = value; }
565 inline ModifyDBClusterRequest& WithMonitoringInterval(int value) { SetMonitoringInterval(value); return *this;}
567
569
580 inline const Aws::String& GetMonitoringRoleArn() const { return m_monitoringRoleArn; }
581 inline bool MonitoringRoleArnHasBeenSet() const { return m_monitoringRoleArnHasBeenSet; }
582 template<typename MonitoringRoleArnT = Aws::String>
583 void SetMonitoringRoleArn(MonitoringRoleArnT&& value) { m_monitoringRoleArnHasBeenSet = true; m_monitoringRoleArn = std::forward<MonitoringRoleArnT>(value); }
584 template<typename MonitoringRoleArnT = Aws::String>
585 ModifyDBClusterRequest& WithMonitoringRoleArn(MonitoringRoleArnT&& value) { SetMonitoringRoleArn(std::forward<MonitoringRoleArnT>(value)); return *this;}
587
589
599 inline DatabaseInsightsMode GetDatabaseInsightsMode() const { return m_databaseInsightsMode; }
600 inline bool DatabaseInsightsModeHasBeenSet() const { return m_databaseInsightsModeHasBeenSet; }
601 inline void SetDatabaseInsightsMode(DatabaseInsightsMode value) { m_databaseInsightsModeHasBeenSet = true; m_databaseInsightsMode = value; }
604
606
613 inline bool GetEnablePerformanceInsights() const { return m_enablePerformanceInsights; }
614 inline bool EnablePerformanceInsightsHasBeenSet() const { return m_enablePerformanceInsightsHasBeenSet; }
615 inline void SetEnablePerformanceInsights(bool value) { m_enablePerformanceInsightsHasBeenSet = true; m_enablePerformanceInsights = value; }
618
620
630 inline const Aws::String& GetPerformanceInsightsKMSKeyId() const { return m_performanceInsightsKMSKeyId; }
631 inline bool PerformanceInsightsKMSKeyIdHasBeenSet() const { return m_performanceInsightsKMSKeyIdHasBeenSet; }
632 template<typename PerformanceInsightsKMSKeyIdT = Aws::String>
633 void SetPerformanceInsightsKMSKeyId(PerformanceInsightsKMSKeyIdT&& value) { m_performanceInsightsKMSKeyIdHasBeenSet = true; m_performanceInsightsKMSKeyId = std::forward<PerformanceInsightsKMSKeyIdT>(value); }
634 template<typename PerformanceInsightsKMSKeyIdT = Aws::String>
635 ModifyDBClusterRequest& WithPerformanceInsightsKMSKeyId(PerformanceInsightsKMSKeyIdT&& value) { SetPerformanceInsightsKMSKeyId(std::forward<PerformanceInsightsKMSKeyIdT>(value)); return *this;}
637
639
649 inline int GetPerformanceInsightsRetentionPeriod() const { return m_performanceInsightsRetentionPeriod; }
650 inline bool PerformanceInsightsRetentionPeriodHasBeenSet() const { return m_performanceInsightsRetentionPeriodHasBeenSet; }
651 inline void SetPerformanceInsightsRetentionPeriod(int value) { m_performanceInsightsRetentionPeriodHasBeenSet = true; m_performanceInsightsRetentionPeriod = value; }
654
656
657 inline const ServerlessV2ScalingConfiguration& GetServerlessV2ScalingConfiguration() const { return m_serverlessV2ScalingConfiguration; }
658 inline bool ServerlessV2ScalingConfigurationHasBeenSet() const { return m_serverlessV2ScalingConfigurationHasBeenSet; }
659 template<typename ServerlessV2ScalingConfigurationT = ServerlessV2ScalingConfiguration>
660 void SetServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT&& value) { m_serverlessV2ScalingConfigurationHasBeenSet = true; m_serverlessV2ScalingConfiguration = std::forward<ServerlessV2ScalingConfigurationT>(value); }
661 template<typename ServerlessV2ScalingConfigurationT = ServerlessV2ScalingConfiguration>
662 ModifyDBClusterRequest& WithServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT&& value) { SetServerlessV2ScalingConfiguration(std::forward<ServerlessV2ScalingConfigurationT>(value)); return *this;}
664
666
676 inline const Aws::String& GetNetworkType() const { return m_networkType; }
677 inline bool NetworkTypeHasBeenSet() const { return m_networkTypeHasBeenSet; }
678 template<typename NetworkTypeT = Aws::String>
679 void SetNetworkType(NetworkTypeT&& value) { m_networkTypeHasBeenSet = true; m_networkType = std::forward<NetworkTypeT>(value); }
680 template<typename NetworkTypeT = Aws::String>
681 ModifyDBClusterRequest& WithNetworkType(NetworkTypeT&& value) { SetNetworkType(std::forward<NetworkTypeT>(value)); return *this;}
683
685
704 inline bool GetManageMasterUserPassword() const { return m_manageMasterUserPassword; }
705 inline bool ManageMasterUserPasswordHasBeenSet() const { return m_manageMasterUserPasswordHasBeenSet; }
706 inline void SetManageMasterUserPassword(bool value) { m_manageMasterUserPasswordHasBeenSet = true; m_manageMasterUserPassword = value; }
709
711
726 inline bool GetRotateMasterUserPassword() const { return m_rotateMasterUserPassword; }
727 inline bool RotateMasterUserPasswordHasBeenSet() const { return m_rotateMasterUserPasswordHasBeenSet; }
728 inline void SetRotateMasterUserPassword(bool value) { m_rotateMasterUserPasswordHasBeenSet = true; m_rotateMasterUserPassword = value; }
731
733
755 inline const Aws::String& GetMasterUserSecretKmsKeyId() const { return m_masterUserSecretKmsKeyId; }
756 inline bool MasterUserSecretKmsKeyIdHasBeenSet() const { return m_masterUserSecretKmsKeyIdHasBeenSet; }
757 template<typename MasterUserSecretKmsKeyIdT = Aws::String>
758 void SetMasterUserSecretKmsKeyId(MasterUserSecretKmsKeyIdT&& value) { m_masterUserSecretKmsKeyIdHasBeenSet = true; m_masterUserSecretKmsKeyId = std::forward<MasterUserSecretKmsKeyIdT>(value); }
759 template<typename MasterUserSecretKmsKeyIdT = Aws::String>
760 ModifyDBClusterRequest& WithMasterUserSecretKmsKeyId(MasterUserSecretKmsKeyIdT&& value) { SetMasterUserSecretKmsKeyId(std::forward<MasterUserSecretKmsKeyIdT>(value)); return *this;}
762
764
772 inline const Aws::String& GetEngineMode() const { return m_engineMode; }
773 inline bool EngineModeHasBeenSet() const { return m_engineModeHasBeenSet; }
774 template<typename EngineModeT = Aws::String>
775 void SetEngineMode(EngineModeT&& value) { m_engineModeHasBeenSet = true; m_engineMode = std::forward<EngineModeT>(value); }
776 template<typename EngineModeT = Aws::String>
777 ModifyDBClusterRequest& WithEngineMode(EngineModeT&& value) { SetEngineMode(std::forward<EngineModeT>(value)); return *this;}
779
781
789 inline bool GetAllowEngineModeChange() const { return m_allowEngineModeChange; }
790 inline bool AllowEngineModeChangeHasBeenSet() const { return m_allowEngineModeChangeHasBeenSet; }
791 inline void SetAllowEngineModeChange(bool value) { m_allowEngineModeChangeHasBeenSet = true; m_allowEngineModeChange = value; }
794
796
801 inline bool GetEnableLocalWriteForwarding() const { return m_enableLocalWriteForwarding; }
802 inline bool EnableLocalWriteForwardingHasBeenSet() const { return m_enableLocalWriteForwardingHasBeenSet; }
803 inline void SetEnableLocalWriteForwarding(bool value) { m_enableLocalWriteForwardingHasBeenSet = true; m_enableLocalWriteForwarding = value; }
806
808
812 inline const Aws::String& GetAwsBackupRecoveryPointArn() const { return m_awsBackupRecoveryPointArn; }
813 inline bool AwsBackupRecoveryPointArnHasBeenSet() const { return m_awsBackupRecoveryPointArnHasBeenSet; }
814 template<typename AwsBackupRecoveryPointArnT = Aws::String>
815 void SetAwsBackupRecoveryPointArn(AwsBackupRecoveryPointArnT&& value) { m_awsBackupRecoveryPointArnHasBeenSet = true; m_awsBackupRecoveryPointArn = std::forward<AwsBackupRecoveryPointArnT>(value); }
816 template<typename AwsBackupRecoveryPointArnT = Aws::String>
817 ModifyDBClusterRequest& WithAwsBackupRecoveryPointArn(AwsBackupRecoveryPointArnT&& value) { SetAwsBackupRecoveryPointArn(std::forward<AwsBackupRecoveryPointArnT>(value)); return *this;}
819
821
828 inline bool GetEnableLimitlessDatabase() const { return m_enableLimitlessDatabase; }
829 inline bool EnableLimitlessDatabaseHasBeenSet() const { return m_enableLimitlessDatabaseHasBeenSet; }
830 inline void SetEnableLimitlessDatabase(bool value) { m_enableLimitlessDatabaseHasBeenSet = true; m_enableLimitlessDatabase = value; }
833
835
842 inline const Aws::String& GetCACertificateIdentifier() const { return m_cACertificateIdentifier; }
843 inline bool CACertificateIdentifierHasBeenSet() const { return m_cACertificateIdentifierHasBeenSet; }
844 template<typename CACertificateIdentifierT = Aws::String>
845 void SetCACertificateIdentifier(CACertificateIdentifierT&& value) { m_cACertificateIdentifierHasBeenSet = true; m_cACertificateIdentifier = std::forward<CACertificateIdentifierT>(value); }
846 template<typename CACertificateIdentifierT = Aws::String>
847 ModifyDBClusterRequest& WithCACertificateIdentifier(CACertificateIdentifierT&& value) { SetCACertificateIdentifier(std::forward<CACertificateIdentifierT>(value)); return *this;}
849 private:
850
851 Aws::String m_dBClusterIdentifier;
852 bool m_dBClusterIdentifierHasBeenSet = false;
853
854 Aws::String m_newDBClusterIdentifier;
855 bool m_newDBClusterIdentifierHasBeenSet = false;
856
857 bool m_applyImmediately{false};
858 bool m_applyImmediatelyHasBeenSet = false;
859
860 int m_backupRetentionPeriod{0};
861 bool m_backupRetentionPeriodHasBeenSet = false;
862
863 Aws::String m_dBClusterParameterGroupName;
864 bool m_dBClusterParameterGroupNameHasBeenSet = false;
865
866 Aws::Vector<Aws::String> m_vpcSecurityGroupIds;
867 bool m_vpcSecurityGroupIdsHasBeenSet = false;
868
869 int m_port{0};
870 bool m_portHasBeenSet = false;
871
872 Aws::String m_masterUserPassword;
873 bool m_masterUserPasswordHasBeenSet = false;
874
875 Aws::String m_optionGroupName;
876 bool m_optionGroupNameHasBeenSet = false;
877
878 Aws::String m_preferredBackupWindow;
879 bool m_preferredBackupWindowHasBeenSet = false;
880
881 Aws::String m_preferredMaintenanceWindow;
882 bool m_preferredMaintenanceWindowHasBeenSet = false;
883
884 bool m_enableIAMDatabaseAuthentication{false};
885 bool m_enableIAMDatabaseAuthenticationHasBeenSet = false;
886
887 long long m_backtrackWindow{0};
888 bool m_backtrackWindowHasBeenSet = false;
889
890 CloudwatchLogsExportConfiguration m_cloudwatchLogsExportConfiguration;
891 bool m_cloudwatchLogsExportConfigurationHasBeenSet = false;
892
893 Aws::String m_engineVersion;
894 bool m_engineVersionHasBeenSet = false;
895
896 bool m_allowMajorVersionUpgrade{false};
897 bool m_allowMajorVersionUpgradeHasBeenSet = false;
898
899 Aws::String m_dBInstanceParameterGroupName;
900 bool m_dBInstanceParameterGroupNameHasBeenSet = false;
901
902 Aws::String m_domain;
903 bool m_domainHasBeenSet = false;
904
905 Aws::String m_domainIAMRoleName;
906 bool m_domainIAMRoleNameHasBeenSet = false;
907
908 ScalingConfiguration m_scalingConfiguration;
909 bool m_scalingConfigurationHasBeenSet = false;
910
911 bool m_deletionProtection{false};
912 bool m_deletionProtectionHasBeenSet = false;
913
914 bool m_enableHttpEndpoint{false};
915 bool m_enableHttpEndpointHasBeenSet = false;
916
917 bool m_copyTagsToSnapshot{false};
918 bool m_copyTagsToSnapshotHasBeenSet = false;
919
920 bool m_enableGlobalWriteForwarding{false};
921 bool m_enableGlobalWriteForwardingHasBeenSet = false;
922
923 Aws::String m_dBClusterInstanceClass;
924 bool m_dBClusterInstanceClassHasBeenSet = false;
925
926 int m_allocatedStorage{0};
927 bool m_allocatedStorageHasBeenSet = false;
928
929 Aws::String m_storageType;
930 bool m_storageTypeHasBeenSet = false;
931
932 int m_iops{0};
933 bool m_iopsHasBeenSet = false;
934
935 bool m_autoMinorVersionUpgrade{false};
936 bool m_autoMinorVersionUpgradeHasBeenSet = false;
937
938 int m_monitoringInterval{0};
939 bool m_monitoringIntervalHasBeenSet = false;
940
941 Aws::String m_monitoringRoleArn;
942 bool m_monitoringRoleArnHasBeenSet = false;
943
945 bool m_databaseInsightsModeHasBeenSet = false;
946
947 bool m_enablePerformanceInsights{false};
948 bool m_enablePerformanceInsightsHasBeenSet = false;
949
950 Aws::String m_performanceInsightsKMSKeyId;
951 bool m_performanceInsightsKMSKeyIdHasBeenSet = false;
952
953 int m_performanceInsightsRetentionPeriod{0};
954 bool m_performanceInsightsRetentionPeriodHasBeenSet = false;
955
956 ServerlessV2ScalingConfiguration m_serverlessV2ScalingConfiguration;
957 bool m_serverlessV2ScalingConfigurationHasBeenSet = false;
958
959 Aws::String m_networkType;
960 bool m_networkTypeHasBeenSet = false;
961
962 bool m_manageMasterUserPassword{false};
963 bool m_manageMasterUserPasswordHasBeenSet = false;
964
965 bool m_rotateMasterUserPassword{false};
966 bool m_rotateMasterUserPasswordHasBeenSet = false;
967
968 Aws::String m_masterUserSecretKmsKeyId;
969 bool m_masterUserSecretKmsKeyIdHasBeenSet = false;
970
971 Aws::String m_engineMode;
972 bool m_engineModeHasBeenSet = false;
973
974 bool m_allowEngineModeChange{false};
975 bool m_allowEngineModeChangeHasBeenSet = false;
976
977 bool m_enableLocalWriteForwarding{false};
978 bool m_enableLocalWriteForwardingHasBeenSet = false;
979
980 Aws::String m_awsBackupRecoveryPointArn;
981 bool m_awsBackupRecoveryPointArnHasBeenSet = false;
982
983 bool m_enableLimitlessDatabase{false};
984 bool m_enableLimitlessDatabaseHasBeenSet = false;
985
986 Aws::String m_cACertificateIdentifier;
987 bool m_cACertificateIdentifierHasBeenSet = false;
988 };
989
990} // namespace Model
991} // namespace RDS
992} // 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 & 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)
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
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