AWS SDK for C++

AWS SDK for C++ Version 1.11.644

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 <aws/rds/model/MasterUserAuthenticationType.h>
16#include <utility>
17
18namespace Aws
19{
20namespace RDS
21{
22namespace Model
23{
24
31 {
32 public:
33 AWS_RDS_API ModifyDBClusterRequest() = 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 "ModifyDBCluster"; }
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:
47
49
55 inline const Aws::String& GetDBClusterIdentifier() const { return m_dBClusterIdentifier; }
56 inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
57 template<typename DBClusterIdentifierT = Aws::String>
58 void SetDBClusterIdentifier(DBClusterIdentifierT&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value); }
59 template<typename DBClusterIdentifierT = Aws::String>
60 ModifyDBClusterRequest& WithDBClusterIdentifier(DBClusterIdentifierT&& value) { SetDBClusterIdentifier(std::forward<DBClusterIdentifierT>(value)); return *this;}
62
64
73 inline const Aws::String& GetNewDBClusterIdentifier() const { return m_newDBClusterIdentifier; }
74 inline bool NewDBClusterIdentifierHasBeenSet() const { return m_newDBClusterIdentifierHasBeenSet; }
75 template<typename NewDBClusterIdentifierT = Aws::String>
76 void SetNewDBClusterIdentifier(NewDBClusterIdentifierT&& value) { m_newDBClusterIdentifierHasBeenSet = true; m_newDBClusterIdentifier = std::forward<NewDBClusterIdentifierT>(value); }
77 template<typename NewDBClusterIdentifierT = Aws::String>
78 ModifyDBClusterRequest& WithNewDBClusterIdentifier(NewDBClusterIdentifierT&& value) { SetNewDBClusterIdentifier(std::forward<NewDBClusterIdentifierT>(value)); return *this;}
80
82
94 inline bool GetApplyImmediately() const { return m_applyImmediately; }
95 inline bool ApplyImmediatelyHasBeenSet() const { return m_applyImmediatelyHasBeenSet; }
96 inline void SetApplyImmediately(bool value) { m_applyImmediatelyHasBeenSet = true; m_applyImmediately = value; }
97 inline ModifyDBClusterRequest& WithApplyImmediately(bool value) { SetApplyImmediately(value); return *this;}
99
101
107 inline int GetBackupRetentionPeriod() const { return m_backupRetentionPeriod; }
108 inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; }
109 inline void SetBackupRetentionPeriod(int value) { m_backupRetentionPeriodHasBeenSet = true; m_backupRetentionPeriod = value; }
112
114
118 inline const Aws::String& GetDBClusterParameterGroupName() const { return m_dBClusterParameterGroupName; }
119 inline bool DBClusterParameterGroupNameHasBeenSet() const { return m_dBClusterParameterGroupNameHasBeenSet; }
120 template<typename DBClusterParameterGroupNameT = Aws::String>
121 void SetDBClusterParameterGroupName(DBClusterParameterGroupNameT&& value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName = std::forward<DBClusterParameterGroupNameT>(value); }
122 template<typename DBClusterParameterGroupNameT = Aws::String>
123 ModifyDBClusterRequest& WithDBClusterParameterGroupName(DBClusterParameterGroupNameT&& value) { SetDBClusterParameterGroupName(std::forward<DBClusterParameterGroupNameT>(value)); return *this;}
125
127
131 inline const Aws::Vector<Aws::String>& GetVpcSecurityGroupIds() const { return m_vpcSecurityGroupIds; }
132 inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; }
133 template<typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
134 void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = std::forward<VpcSecurityGroupIdsT>(value); }
135 template<typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
136 ModifyDBClusterRequest& WithVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) { SetVpcSecurityGroupIds(std::forward<VpcSecurityGroupIdsT>(value)); return *this;}
137 template<typename VpcSecurityGroupIdsT = Aws::String>
138 ModifyDBClusterRequest& AddVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.emplace_back(std::forward<VpcSecurityGroupIdsT>(value)); return *this; }
140
142
148 inline int GetPort() const { return m_port; }
149 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
150 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
151 inline ModifyDBClusterRequest& WithPort(int value) { SetPort(value); return *this;}
153
155
162 inline const Aws::String& GetMasterUserPassword() const { return m_masterUserPassword; }
163 inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; }
164 template<typename MasterUserPasswordT = Aws::String>
165 void SetMasterUserPassword(MasterUserPasswordT&& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = std::forward<MasterUserPasswordT>(value); }
166 template<typename MasterUserPasswordT = Aws::String>
167 ModifyDBClusterRequest& WithMasterUserPassword(MasterUserPasswordT&& value) { SetMasterUserPassword(std::forward<MasterUserPasswordT>(value)); return *this;}
169
171
175 inline const Aws::String& GetOptionGroupName() const { return m_optionGroupName; }
176 inline bool OptionGroupNameHasBeenSet() const { return m_optionGroupNameHasBeenSet; }
177 template<typename OptionGroupNameT = Aws::String>
178 void SetOptionGroupName(OptionGroupNameT&& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = std::forward<OptionGroupNameT>(value); }
179 template<typename OptionGroupNameT = Aws::String>
180 ModifyDBClusterRequest& WithOptionGroupName(OptionGroupNameT&& value) { SetOptionGroupName(std::forward<OptionGroupNameT>(value)); return *this;}
182
184
198 inline const Aws::String& GetPreferredBackupWindow() const { return m_preferredBackupWindow; }
199 inline bool PreferredBackupWindowHasBeenSet() const { return m_preferredBackupWindowHasBeenSet; }
200 template<typename PreferredBackupWindowT = Aws::String>
201 void SetPreferredBackupWindow(PreferredBackupWindowT&& value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow = std::forward<PreferredBackupWindowT>(value); }
202 template<typename PreferredBackupWindowT = Aws::String>
203 ModifyDBClusterRequest& WithPreferredBackupWindow(PreferredBackupWindowT&& value) { SetPreferredBackupWindow(std::forward<PreferredBackupWindowT>(value)); return *this;}
205
207
221 inline const Aws::String& GetPreferredMaintenanceWindow() const { return m_preferredMaintenanceWindow; }
222 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
223 template<typename PreferredMaintenanceWindowT = Aws::String>
224 void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value); }
225 template<typename PreferredMaintenanceWindowT = Aws::String>
226 ModifyDBClusterRequest& WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) { SetPreferredMaintenanceWindow(std::forward<PreferredMaintenanceWindowT>(value)); return *this;}
228
230
241 inline bool GetEnableIAMDatabaseAuthentication() const { return m_enableIAMDatabaseAuthentication; }
242 inline bool EnableIAMDatabaseAuthenticationHasBeenSet() const { return m_enableIAMDatabaseAuthenticationHasBeenSet; }
243 inline void SetEnableIAMDatabaseAuthentication(bool value) { m_enableIAMDatabaseAuthenticationHasBeenSet = true; m_enableIAMDatabaseAuthentication = value; }
246
248
255 inline long long GetBacktrackWindow() const { return m_backtrackWindow; }
256 inline bool BacktrackWindowHasBeenSet() const { return m_backtrackWindowHasBeenSet; }
257 inline void SetBacktrackWindow(long long value) { m_backtrackWindowHasBeenSet = true; m_backtrackWindow = value; }
258 inline ModifyDBClusterRequest& WithBacktrackWindow(long long value) { SetBacktrackWindow(value); return *this;}
260
262
281 inline const CloudwatchLogsExportConfiguration& GetCloudwatchLogsExportConfiguration() const { return m_cloudwatchLogsExportConfiguration; }
282 inline bool CloudwatchLogsExportConfigurationHasBeenSet() const { return m_cloudwatchLogsExportConfigurationHasBeenSet; }
283 template<typename CloudwatchLogsExportConfigurationT = CloudwatchLogsExportConfiguration>
284 void SetCloudwatchLogsExportConfiguration(CloudwatchLogsExportConfigurationT&& value) { m_cloudwatchLogsExportConfigurationHasBeenSet = true; m_cloudwatchLogsExportConfiguration = std::forward<CloudwatchLogsExportConfigurationT>(value); }
285 template<typename CloudwatchLogsExportConfigurationT = CloudwatchLogsExportConfiguration>
286 ModifyDBClusterRequest& WithCloudwatchLogsExportConfiguration(CloudwatchLogsExportConfigurationT&& value) { SetCloudwatchLogsExportConfiguration(std::forward<CloudwatchLogsExportConfigurationT>(value)); return *this;}
288
290
311 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
312 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
313 template<typename EngineVersionT = Aws::String>
314 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::forward<EngineVersionT>(value); }
315 template<typename EngineVersionT = Aws::String>
316 ModifyDBClusterRequest& WithEngineVersion(EngineVersionT&& value) { SetEngineVersion(std::forward<EngineVersionT>(value)); return *this;}
318
320
327 inline bool GetAllowMajorVersionUpgrade() const { return m_allowMajorVersionUpgrade; }
328 inline bool AllowMajorVersionUpgradeHasBeenSet() const { return m_allowMajorVersionUpgradeHasBeenSet; }
329 inline void SetAllowMajorVersionUpgrade(bool value) { m_allowMajorVersionUpgradeHasBeenSet = true; m_allowMajorVersionUpgrade = value; }
332
334
347 inline const Aws::String& GetDBInstanceParameterGroupName() const { return m_dBInstanceParameterGroupName; }
348 inline bool DBInstanceParameterGroupNameHasBeenSet() const { return m_dBInstanceParameterGroupNameHasBeenSet; }
349 template<typename DBInstanceParameterGroupNameT = Aws::String>
350 void SetDBInstanceParameterGroupName(DBInstanceParameterGroupNameT&& value) { m_dBInstanceParameterGroupNameHasBeenSet = true; m_dBInstanceParameterGroupName = std::forward<DBInstanceParameterGroupNameT>(value); }
351 template<typename DBInstanceParameterGroupNameT = Aws::String>
352 ModifyDBClusterRequest& WithDBInstanceParameterGroupName(DBInstanceParameterGroupNameT&& value) { SetDBInstanceParameterGroupName(std::forward<DBInstanceParameterGroupNameT>(value)); return *this;}
354
356
364 inline const Aws::String& GetDomain() const { return m_domain; }
365 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
366 template<typename DomainT = Aws::String>
367 void SetDomain(DomainT&& value) { m_domainHasBeenSet = true; m_domain = std::forward<DomainT>(value); }
368 template<typename DomainT = Aws::String>
369 ModifyDBClusterRequest& WithDomain(DomainT&& value) { SetDomain(std::forward<DomainT>(value)); return *this;}
371
373
377 inline const Aws::String& GetDomainIAMRoleName() const { return m_domainIAMRoleName; }
378 inline bool DomainIAMRoleNameHasBeenSet() const { return m_domainIAMRoleNameHasBeenSet; }
379 template<typename DomainIAMRoleNameT = Aws::String>
380 void SetDomainIAMRoleName(DomainIAMRoleNameT&& value) { m_domainIAMRoleNameHasBeenSet = true; m_domainIAMRoleName = std::forward<DomainIAMRoleNameT>(value); }
381 template<typename DomainIAMRoleNameT = Aws::String>
382 ModifyDBClusterRequest& WithDomainIAMRoleName(DomainIAMRoleNameT&& value) { SetDomainIAMRoleName(std::forward<DomainIAMRoleNameT>(value)); return *this;}
384
386
391 inline const ScalingConfiguration& GetScalingConfiguration() const { return m_scalingConfiguration; }
392 inline bool ScalingConfigurationHasBeenSet() const { return m_scalingConfigurationHasBeenSet; }
393 template<typename ScalingConfigurationT = ScalingConfiguration>
394 void SetScalingConfiguration(ScalingConfigurationT&& value) { m_scalingConfigurationHasBeenSet = true; m_scalingConfiguration = std::forward<ScalingConfigurationT>(value); }
395 template<typename ScalingConfigurationT = ScalingConfiguration>
396 ModifyDBClusterRequest& WithScalingConfiguration(ScalingConfigurationT&& value) { SetScalingConfiguration(std::forward<ScalingConfigurationT>(value)); return *this;}
398
400
406 inline bool GetDeletionProtection() const { return m_deletionProtection; }
407 inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; }
408 inline void SetDeletionProtection(bool value) { m_deletionProtectionHasBeenSet = true; m_deletionProtection = value; }
409 inline ModifyDBClusterRequest& WithDeletionProtection(bool value) { SetDeletionProtection(value); return *this;}
411
413
427 inline bool GetEnableHttpEndpoint() const { return m_enableHttpEndpoint; }
428 inline bool EnableHttpEndpointHasBeenSet() const { return m_enableHttpEndpointHasBeenSet; }
429 inline void SetEnableHttpEndpoint(bool value) { m_enableHttpEndpointHasBeenSet = true; m_enableHttpEndpoint = value; }
430 inline ModifyDBClusterRequest& WithEnableHttpEndpoint(bool value) { SetEnableHttpEndpoint(value); return *this;}
432
434
439 inline bool GetCopyTagsToSnapshot() const { return m_copyTagsToSnapshot; }
440 inline bool CopyTagsToSnapshotHasBeenSet() const { return m_copyTagsToSnapshotHasBeenSet; }
441 inline void SetCopyTagsToSnapshot(bool value) { m_copyTagsToSnapshotHasBeenSet = true; m_copyTagsToSnapshot = value; }
442 inline ModifyDBClusterRequest& WithCopyTagsToSnapshot(bool value) { SetCopyTagsToSnapshot(value); return *this;}
444
446
458 inline bool GetEnableGlobalWriteForwarding() const { return m_enableGlobalWriteForwarding; }
459 inline bool EnableGlobalWriteForwardingHasBeenSet() const { return m_enableGlobalWriteForwardingHasBeenSet; }
460 inline void SetEnableGlobalWriteForwarding(bool value) { m_enableGlobalWriteForwardingHasBeenSet = true; m_enableGlobalWriteForwarding = value; }
463
465
475 inline const Aws::String& GetDBClusterInstanceClass() const { return m_dBClusterInstanceClass; }
476 inline bool DBClusterInstanceClassHasBeenSet() const { return m_dBClusterInstanceClassHasBeenSet; }
477 template<typename DBClusterInstanceClassT = Aws::String>
478 void SetDBClusterInstanceClass(DBClusterInstanceClassT&& value) { m_dBClusterInstanceClassHasBeenSet = true; m_dBClusterInstanceClass = std::forward<DBClusterInstanceClassT>(value); }
479 template<typename DBClusterInstanceClassT = Aws::String>
480 ModifyDBClusterRequest& WithDBClusterInstanceClass(DBClusterInstanceClassT&& value) { SetDBClusterInstanceClass(std::forward<DBClusterInstanceClassT>(value)); return *this;}
482
484
489 inline int GetAllocatedStorage() const { return m_allocatedStorage; }
490 inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; }
491 inline void SetAllocatedStorage(int value) { m_allocatedStorageHasBeenSet = true; m_allocatedStorage = value; }
492 inline ModifyDBClusterRequest& WithAllocatedStorage(int value) { SetAllocatedStorage(value); return *this;}
494
496
512 inline const Aws::String& GetStorageType() const { return m_storageType; }
513 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
514 template<typename StorageTypeT = Aws::String>
515 void SetStorageType(StorageTypeT&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::forward<StorageTypeT>(value); }
516 template<typename StorageTypeT = Aws::String>
517 ModifyDBClusterRequest& WithStorageType(StorageTypeT&& value) { SetStorageType(std::forward<StorageTypeT>(value)); return *this;}
519
521
531 inline int GetIops() const { return m_iops; }
532 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
533 inline void SetIops(int value) { m_iopsHasBeenSet = true; m_iops = value; }
534 inline ModifyDBClusterRequest& WithIops(int value) { SetIops(value); return *this;}
536
538
547 inline bool GetAutoMinorVersionUpgrade() const { return m_autoMinorVersionUpgrade; }
548 inline bool AutoMinorVersionUpgradeHasBeenSet() const { return m_autoMinorVersionUpgradeHasBeenSet; }
549 inline void SetAutoMinorVersionUpgrade(bool value) { m_autoMinorVersionUpgradeHasBeenSet = true; m_autoMinorVersionUpgrade = value; }
552
554
563 inline int GetMonitoringInterval() const { return m_monitoringInterval; }
564 inline bool MonitoringIntervalHasBeenSet() const { return m_monitoringIntervalHasBeenSet; }
565 inline void SetMonitoringInterval(int value) { m_monitoringIntervalHasBeenSet = true; m_monitoringInterval = value; }
566 inline ModifyDBClusterRequest& WithMonitoringInterval(int value) { SetMonitoringInterval(value); return *this;}
568
570
581 inline const Aws::String& GetMonitoringRoleArn() const { return m_monitoringRoleArn; }
582 inline bool MonitoringRoleArnHasBeenSet() const { return m_monitoringRoleArnHasBeenSet; }
583 template<typename MonitoringRoleArnT = Aws::String>
584 void SetMonitoringRoleArn(MonitoringRoleArnT&& value) { m_monitoringRoleArnHasBeenSet = true; m_monitoringRoleArn = std::forward<MonitoringRoleArnT>(value); }
585 template<typename MonitoringRoleArnT = Aws::String>
586 ModifyDBClusterRequest& WithMonitoringRoleArn(MonitoringRoleArnT&& value) { SetMonitoringRoleArn(std::forward<MonitoringRoleArnT>(value)); return *this;}
588
590
601 inline DatabaseInsightsMode GetDatabaseInsightsMode() const { return m_databaseInsightsMode; }
602 inline bool DatabaseInsightsModeHasBeenSet() const { return m_databaseInsightsModeHasBeenSet; }
603 inline void SetDatabaseInsightsMode(DatabaseInsightsMode value) { m_databaseInsightsModeHasBeenSet = true; m_databaseInsightsMode = value; }
606
608
615 inline bool GetEnablePerformanceInsights() const { return m_enablePerformanceInsights; }
616 inline bool EnablePerformanceInsightsHasBeenSet() const { return m_enablePerformanceInsightsHasBeenSet; }
617 inline void SetEnablePerformanceInsights(bool value) { m_enablePerformanceInsightsHasBeenSet = true; m_enablePerformanceInsights = value; }
620
622
632 inline const Aws::String& GetPerformanceInsightsKMSKeyId() const { return m_performanceInsightsKMSKeyId; }
633 inline bool PerformanceInsightsKMSKeyIdHasBeenSet() const { return m_performanceInsightsKMSKeyIdHasBeenSet; }
634 template<typename PerformanceInsightsKMSKeyIdT = Aws::String>
635 void SetPerformanceInsightsKMSKeyId(PerformanceInsightsKMSKeyIdT&& value) { m_performanceInsightsKMSKeyIdHasBeenSet = true; m_performanceInsightsKMSKeyId = std::forward<PerformanceInsightsKMSKeyIdT>(value); }
636 template<typename PerformanceInsightsKMSKeyIdT = Aws::String>
637 ModifyDBClusterRequest& WithPerformanceInsightsKMSKeyId(PerformanceInsightsKMSKeyIdT&& value) { SetPerformanceInsightsKMSKeyId(std::forward<PerformanceInsightsKMSKeyIdT>(value)); return *this;}
639
641
651 inline int GetPerformanceInsightsRetentionPeriod() const { return m_performanceInsightsRetentionPeriod; }
652 inline bool PerformanceInsightsRetentionPeriodHasBeenSet() const { return m_performanceInsightsRetentionPeriodHasBeenSet; }
653 inline void SetPerformanceInsightsRetentionPeriod(int value) { m_performanceInsightsRetentionPeriodHasBeenSet = true; m_performanceInsightsRetentionPeriod = value; }
656
658
659 inline const ServerlessV2ScalingConfiguration& GetServerlessV2ScalingConfiguration() const { return m_serverlessV2ScalingConfiguration; }
660 inline bool ServerlessV2ScalingConfigurationHasBeenSet() const { return m_serverlessV2ScalingConfigurationHasBeenSet; }
661 template<typename ServerlessV2ScalingConfigurationT = ServerlessV2ScalingConfiguration>
662 void SetServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT&& value) { m_serverlessV2ScalingConfigurationHasBeenSet = true; m_serverlessV2ScalingConfiguration = std::forward<ServerlessV2ScalingConfigurationT>(value); }
663 template<typename ServerlessV2ScalingConfigurationT = ServerlessV2ScalingConfiguration>
664 ModifyDBClusterRequest& WithServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT&& value) { SetServerlessV2ScalingConfiguration(std::forward<ServerlessV2ScalingConfigurationT>(value)); return *this;}
666
668
678 inline const Aws::String& GetNetworkType() const { return m_networkType; }
679 inline bool NetworkTypeHasBeenSet() const { return m_networkTypeHasBeenSet; }
680 template<typename NetworkTypeT = Aws::String>
681 void SetNetworkType(NetworkTypeT&& value) { m_networkTypeHasBeenSet = true; m_networkType = std::forward<NetworkTypeT>(value); }
682 template<typename NetworkTypeT = Aws::String>
683 ModifyDBClusterRequest& WithNetworkType(NetworkTypeT&& value) { SetNetworkType(std::forward<NetworkTypeT>(value)); return *this;}
685
687
706 inline bool GetManageMasterUserPassword() const { return m_manageMasterUserPassword; }
707 inline bool ManageMasterUserPasswordHasBeenSet() const { return m_manageMasterUserPasswordHasBeenSet; }
708 inline void SetManageMasterUserPassword(bool value) { m_manageMasterUserPasswordHasBeenSet = true; m_manageMasterUserPassword = value; }
711
713
728 inline bool GetRotateMasterUserPassword() const { return m_rotateMasterUserPassword; }
729 inline bool RotateMasterUserPasswordHasBeenSet() const { return m_rotateMasterUserPasswordHasBeenSet; }
730 inline void SetRotateMasterUserPassword(bool value) { m_rotateMasterUserPasswordHasBeenSet = true; m_rotateMasterUserPassword = value; }
733
735
757 inline const Aws::String& GetMasterUserSecretKmsKeyId() const { return m_masterUserSecretKmsKeyId; }
758 inline bool MasterUserSecretKmsKeyIdHasBeenSet() const { return m_masterUserSecretKmsKeyIdHasBeenSet; }
759 template<typename MasterUserSecretKmsKeyIdT = Aws::String>
760 void SetMasterUserSecretKmsKeyId(MasterUserSecretKmsKeyIdT&& value) { m_masterUserSecretKmsKeyIdHasBeenSet = true; m_masterUserSecretKmsKeyId = std::forward<MasterUserSecretKmsKeyIdT>(value); }
761 template<typename MasterUserSecretKmsKeyIdT = Aws::String>
762 ModifyDBClusterRequest& WithMasterUserSecretKmsKeyId(MasterUserSecretKmsKeyIdT&& value) { SetMasterUserSecretKmsKeyId(std::forward<MasterUserSecretKmsKeyIdT>(value)); return *this;}
764
766
774 inline const Aws::String& GetEngineMode() const { return m_engineMode; }
775 inline bool EngineModeHasBeenSet() const { return m_engineModeHasBeenSet; }
776 template<typename EngineModeT = Aws::String>
777 void SetEngineMode(EngineModeT&& value) { m_engineModeHasBeenSet = true; m_engineMode = std::forward<EngineModeT>(value); }
778 template<typename EngineModeT = Aws::String>
779 ModifyDBClusterRequest& WithEngineMode(EngineModeT&& value) { SetEngineMode(std::forward<EngineModeT>(value)); return *this;}
781
783
791 inline bool GetAllowEngineModeChange() const { return m_allowEngineModeChange; }
792 inline bool AllowEngineModeChangeHasBeenSet() const { return m_allowEngineModeChangeHasBeenSet; }
793 inline void SetAllowEngineModeChange(bool value) { m_allowEngineModeChangeHasBeenSet = true; m_allowEngineModeChange = value; }
796
798
803 inline bool GetEnableLocalWriteForwarding() const { return m_enableLocalWriteForwarding; }
804 inline bool EnableLocalWriteForwardingHasBeenSet() const { return m_enableLocalWriteForwardingHasBeenSet; }
805 inline void SetEnableLocalWriteForwarding(bool value) { m_enableLocalWriteForwardingHasBeenSet = true; m_enableLocalWriteForwarding = value; }
808
810
814 inline const Aws::String& GetAwsBackupRecoveryPointArn() const { return m_awsBackupRecoveryPointArn; }
815 inline bool AwsBackupRecoveryPointArnHasBeenSet() const { return m_awsBackupRecoveryPointArnHasBeenSet; }
816 template<typename AwsBackupRecoveryPointArnT = Aws::String>
817 void SetAwsBackupRecoveryPointArn(AwsBackupRecoveryPointArnT&& value) { m_awsBackupRecoveryPointArnHasBeenSet = true; m_awsBackupRecoveryPointArn = std::forward<AwsBackupRecoveryPointArnT>(value); }
818 template<typename AwsBackupRecoveryPointArnT = Aws::String>
819 ModifyDBClusterRequest& WithAwsBackupRecoveryPointArn(AwsBackupRecoveryPointArnT&& value) { SetAwsBackupRecoveryPointArn(std::forward<AwsBackupRecoveryPointArnT>(value)); return *this;}
821
823
830 inline bool GetEnableLimitlessDatabase() const { return m_enableLimitlessDatabase; }
831 inline bool EnableLimitlessDatabaseHasBeenSet() const { return m_enableLimitlessDatabaseHasBeenSet; }
832 inline void SetEnableLimitlessDatabase(bool value) { m_enableLimitlessDatabaseHasBeenSet = true; m_enableLimitlessDatabase = value; }
835
837
844 inline const Aws::String& GetCACertificateIdentifier() const { return m_cACertificateIdentifier; }
845 inline bool CACertificateIdentifierHasBeenSet() const { return m_cACertificateIdentifierHasBeenSet; }
846 template<typename CACertificateIdentifierT = Aws::String>
847 void SetCACertificateIdentifier(CACertificateIdentifierT&& value) { m_cACertificateIdentifierHasBeenSet = true; m_cACertificateIdentifier = std::forward<CACertificateIdentifierT>(value); }
848 template<typename CACertificateIdentifierT = Aws::String>
849 ModifyDBClusterRequest& WithCACertificateIdentifier(CACertificateIdentifierT&& value) { SetCACertificateIdentifier(std::forward<CACertificateIdentifierT>(value)); return *this;}
851
853
863 inline MasterUserAuthenticationType GetMasterUserAuthenticationType() const { return m_masterUserAuthenticationType; }
864 inline bool MasterUserAuthenticationTypeHasBeenSet() const { return m_masterUserAuthenticationTypeHasBeenSet; }
865 inline void SetMasterUserAuthenticationType(MasterUserAuthenticationType value) { m_masterUserAuthenticationTypeHasBeenSet = true; m_masterUserAuthenticationType = value; }
868 private:
869
870 Aws::String m_dBClusterIdentifier;
871 bool m_dBClusterIdentifierHasBeenSet = false;
872
873 Aws::String m_newDBClusterIdentifier;
874 bool m_newDBClusterIdentifierHasBeenSet = false;
875
876 bool m_applyImmediately{false};
877 bool m_applyImmediatelyHasBeenSet = false;
878
879 int m_backupRetentionPeriod{0};
880 bool m_backupRetentionPeriodHasBeenSet = false;
881
882 Aws::String m_dBClusterParameterGroupName;
883 bool m_dBClusterParameterGroupNameHasBeenSet = false;
884
885 Aws::Vector<Aws::String> m_vpcSecurityGroupIds;
886 bool m_vpcSecurityGroupIdsHasBeenSet = false;
887
888 int m_port{0};
889 bool m_portHasBeenSet = false;
890
891 Aws::String m_masterUserPassword;
892 bool m_masterUserPasswordHasBeenSet = false;
893
894 Aws::String m_optionGroupName;
895 bool m_optionGroupNameHasBeenSet = false;
896
897 Aws::String m_preferredBackupWindow;
898 bool m_preferredBackupWindowHasBeenSet = false;
899
900 Aws::String m_preferredMaintenanceWindow;
901 bool m_preferredMaintenanceWindowHasBeenSet = false;
902
903 bool m_enableIAMDatabaseAuthentication{false};
904 bool m_enableIAMDatabaseAuthenticationHasBeenSet = false;
905
906 long long m_backtrackWindow{0};
907 bool m_backtrackWindowHasBeenSet = false;
908
909 CloudwatchLogsExportConfiguration m_cloudwatchLogsExportConfiguration;
910 bool m_cloudwatchLogsExportConfigurationHasBeenSet = false;
911
912 Aws::String m_engineVersion;
913 bool m_engineVersionHasBeenSet = false;
914
915 bool m_allowMajorVersionUpgrade{false};
916 bool m_allowMajorVersionUpgradeHasBeenSet = false;
917
918 Aws::String m_dBInstanceParameterGroupName;
919 bool m_dBInstanceParameterGroupNameHasBeenSet = false;
920
921 Aws::String m_domain;
922 bool m_domainHasBeenSet = false;
923
924 Aws::String m_domainIAMRoleName;
925 bool m_domainIAMRoleNameHasBeenSet = false;
926
927 ScalingConfiguration m_scalingConfiguration;
928 bool m_scalingConfigurationHasBeenSet = false;
929
930 bool m_deletionProtection{false};
931 bool m_deletionProtectionHasBeenSet = false;
932
933 bool m_enableHttpEndpoint{false};
934 bool m_enableHttpEndpointHasBeenSet = false;
935
936 bool m_copyTagsToSnapshot{false};
937 bool m_copyTagsToSnapshotHasBeenSet = false;
938
939 bool m_enableGlobalWriteForwarding{false};
940 bool m_enableGlobalWriteForwardingHasBeenSet = false;
941
942 Aws::String m_dBClusterInstanceClass;
943 bool m_dBClusterInstanceClassHasBeenSet = false;
944
945 int m_allocatedStorage{0};
946 bool m_allocatedStorageHasBeenSet = false;
947
948 Aws::String m_storageType;
949 bool m_storageTypeHasBeenSet = false;
950
951 int m_iops{0};
952 bool m_iopsHasBeenSet = false;
953
954 bool m_autoMinorVersionUpgrade{false};
955 bool m_autoMinorVersionUpgradeHasBeenSet = false;
956
957 int m_monitoringInterval{0};
958 bool m_monitoringIntervalHasBeenSet = false;
959
960 Aws::String m_monitoringRoleArn;
961 bool m_monitoringRoleArnHasBeenSet = false;
962
964 bool m_databaseInsightsModeHasBeenSet = false;
965
966 bool m_enablePerformanceInsights{false};
967 bool m_enablePerformanceInsightsHasBeenSet = false;
968
969 Aws::String m_performanceInsightsKMSKeyId;
970 bool m_performanceInsightsKMSKeyIdHasBeenSet = false;
971
972 int m_performanceInsightsRetentionPeriod{0};
973 bool m_performanceInsightsRetentionPeriodHasBeenSet = false;
974
975 ServerlessV2ScalingConfiguration m_serverlessV2ScalingConfiguration;
976 bool m_serverlessV2ScalingConfigurationHasBeenSet = false;
977
978 Aws::String m_networkType;
979 bool m_networkTypeHasBeenSet = false;
980
981 bool m_manageMasterUserPassword{false};
982 bool m_manageMasterUserPasswordHasBeenSet = false;
983
984 bool m_rotateMasterUserPassword{false};
985 bool m_rotateMasterUserPasswordHasBeenSet = false;
986
987 Aws::String m_masterUserSecretKmsKeyId;
988 bool m_masterUserSecretKmsKeyIdHasBeenSet = false;
989
990 Aws::String m_engineMode;
991 bool m_engineModeHasBeenSet = false;
992
993 bool m_allowEngineModeChange{false};
994 bool m_allowEngineModeChangeHasBeenSet = false;
995
996 bool m_enableLocalWriteForwarding{false};
997 bool m_enableLocalWriteForwardingHasBeenSet = false;
998
999 Aws::String m_awsBackupRecoveryPointArn;
1000 bool m_awsBackupRecoveryPointArnHasBeenSet = false;
1001
1002 bool m_enableLimitlessDatabase{false};
1003 bool m_enableLimitlessDatabaseHasBeenSet = false;
1004
1005 Aws::String m_cACertificateIdentifier;
1006 bool m_cACertificateIdentifierHasBeenSet = false;
1007
1009 bool m_masterUserAuthenticationTypeHasBeenSet = false;
1010 };
1011
1012} // namespace Model
1013} // namespace RDS
1014} // 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