AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/ServerlessV2ScalingConfiguration.h>
14#include <utility>
15
16namespace Aws
17{
18namespace RDS
19{
20namespace Model
21{
22
29 {
30 public:
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "ModifyDBCluster"; }
38
39 AWS_RDS_API Aws::String SerializePayload() const override;
40
41 protected:
42 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
43
44 public:
45
47
53 inline const Aws::String& GetDBClusterIdentifier() const{ return m_dBClusterIdentifier; }
54 inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
55 inline void SetDBClusterIdentifier(const Aws::String& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = value; }
56 inline void SetDBClusterIdentifier(Aws::String&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::move(value); }
57 inline void SetDBClusterIdentifier(const char* value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier.assign(value); }
59 inline ModifyDBClusterRequest& WithDBClusterIdentifier(Aws::String&& value) { SetDBClusterIdentifier(std::move(value)); return *this;}
60 inline ModifyDBClusterRequest& WithDBClusterIdentifier(const char* value) { SetDBClusterIdentifier(value); return *this;}
62
64
73 inline const Aws::String& GetNewDBClusterIdentifier() const{ return m_newDBClusterIdentifier; }
74 inline bool NewDBClusterIdentifierHasBeenSet() const { return m_newDBClusterIdentifierHasBeenSet; }
75 inline void SetNewDBClusterIdentifier(const Aws::String& value) { m_newDBClusterIdentifierHasBeenSet = true; m_newDBClusterIdentifier = value; }
76 inline void SetNewDBClusterIdentifier(Aws::String&& value) { m_newDBClusterIdentifierHasBeenSet = true; m_newDBClusterIdentifier = std::move(value); }
77 inline void SetNewDBClusterIdentifier(const char* value) { m_newDBClusterIdentifierHasBeenSet = true; m_newDBClusterIdentifier.assign(value); }
80 inline ModifyDBClusterRequest& WithNewDBClusterIdentifier(const char* value) { SetNewDBClusterIdentifier(value); return *this;}
82
84
96 inline bool GetApplyImmediately() const{ return m_applyImmediately; }
97 inline bool ApplyImmediatelyHasBeenSet() const { return m_applyImmediatelyHasBeenSet; }
98 inline void SetApplyImmediately(bool value) { m_applyImmediatelyHasBeenSet = true; m_applyImmediately = value; }
99 inline ModifyDBClusterRequest& WithApplyImmediately(bool value) { SetApplyImmediately(value); return *this;}
101
103
109 inline int GetBackupRetentionPeriod() const{ return m_backupRetentionPeriod; }
110 inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; }
111 inline void SetBackupRetentionPeriod(int value) { m_backupRetentionPeriodHasBeenSet = true; m_backupRetentionPeriod = value; }
114
116
120 inline const Aws::String& GetDBClusterParameterGroupName() const{ return m_dBClusterParameterGroupName; }
121 inline bool DBClusterParameterGroupNameHasBeenSet() const { return m_dBClusterParameterGroupNameHasBeenSet; }
122 inline void SetDBClusterParameterGroupName(const Aws::String& value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName = value; }
123 inline void SetDBClusterParameterGroupName(Aws::String&& value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName = std::move(value); }
124 inline void SetDBClusterParameterGroupName(const char* value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName.assign(value); }
129
131
135 inline const Aws::Vector<Aws::String>& GetVpcSecurityGroupIds() const{ return m_vpcSecurityGroupIds; }
136 inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; }
137 inline void SetVpcSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = value; }
138 inline void SetVpcSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = std::move(value); }
141 inline ModifyDBClusterRequest& AddVpcSecurityGroupIds(const Aws::String& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; }
142 inline ModifyDBClusterRequest& AddVpcSecurityGroupIds(Aws::String&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(std::move(value)); return *this; }
143 inline ModifyDBClusterRequest& AddVpcSecurityGroupIds(const char* value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; }
145
147
153 inline int GetPort() const{ return m_port; }
154 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
155 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
156 inline ModifyDBClusterRequest& WithPort(int value) { SetPort(value); return *this;}
158
160
167 inline const Aws::String& GetMasterUserPassword() const{ return m_masterUserPassword; }
168 inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; }
169 inline void SetMasterUserPassword(const Aws::String& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = value; }
170 inline void SetMasterUserPassword(Aws::String&& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = std::move(value); }
171 inline void SetMasterUserPassword(const char* value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword.assign(value); }
173 inline ModifyDBClusterRequest& WithMasterUserPassword(Aws::String&& value) { SetMasterUserPassword(std::move(value)); return *this;}
174 inline ModifyDBClusterRequest& WithMasterUserPassword(const char* value) { SetMasterUserPassword(value); return *this;}
176
178
182 inline const Aws::String& GetOptionGroupName() const{ return m_optionGroupName; }
183 inline bool OptionGroupNameHasBeenSet() const { return m_optionGroupNameHasBeenSet; }
184 inline void SetOptionGroupName(const Aws::String& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = value; }
185 inline void SetOptionGroupName(Aws::String&& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = std::move(value); }
186 inline void SetOptionGroupName(const char* value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName.assign(value); }
187 inline ModifyDBClusterRequest& WithOptionGroupName(const Aws::String& value) { SetOptionGroupName(value); return *this;}
188 inline ModifyDBClusterRequest& WithOptionGroupName(Aws::String&& value) { SetOptionGroupName(std::move(value)); return *this;}
189 inline ModifyDBClusterRequest& WithOptionGroupName(const char* value) { SetOptionGroupName(value); return *this;}
191
193
207 inline const Aws::String& GetPreferredBackupWindow() const{ return m_preferredBackupWindow; }
208 inline bool PreferredBackupWindowHasBeenSet() const { return m_preferredBackupWindowHasBeenSet; }
209 inline void SetPreferredBackupWindow(const Aws::String& value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow = value; }
210 inline void SetPreferredBackupWindow(Aws::String&& value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow = std::move(value); }
211 inline void SetPreferredBackupWindow(const char* value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow.assign(value); }
214 inline ModifyDBClusterRequest& WithPreferredBackupWindow(const char* value) { SetPreferredBackupWindow(value); return *this;}
216
218
232 inline const Aws::String& GetPreferredMaintenanceWindow() const{ return m_preferredMaintenanceWindow; }
233 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
234 inline void SetPreferredMaintenanceWindow(const Aws::String& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = value; }
235 inline void SetPreferredMaintenanceWindow(Aws::String&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = std::move(value); }
236 inline void SetPreferredMaintenanceWindow(const char* value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow.assign(value); }
241
243
254 inline bool GetEnableIAMDatabaseAuthentication() const{ return m_enableIAMDatabaseAuthentication; }
255 inline bool EnableIAMDatabaseAuthenticationHasBeenSet() const { return m_enableIAMDatabaseAuthenticationHasBeenSet; }
256 inline void SetEnableIAMDatabaseAuthentication(bool value) { m_enableIAMDatabaseAuthenticationHasBeenSet = true; m_enableIAMDatabaseAuthentication = value; }
259
261
268 inline long long GetBacktrackWindow() const{ return m_backtrackWindow; }
269 inline bool BacktrackWindowHasBeenSet() const { return m_backtrackWindowHasBeenSet; }
270 inline void SetBacktrackWindow(long long value) { m_backtrackWindowHasBeenSet = true; m_backtrackWindow = value; }
271 inline ModifyDBClusterRequest& WithBacktrackWindow(long long value) { SetBacktrackWindow(value); return *this;}
273
275
293 inline const CloudwatchLogsExportConfiguration& GetCloudwatchLogsExportConfiguration() const{ return m_cloudwatchLogsExportConfiguration; }
294 inline bool CloudwatchLogsExportConfigurationHasBeenSet() const { return m_cloudwatchLogsExportConfigurationHasBeenSet; }
295 inline void SetCloudwatchLogsExportConfiguration(const CloudwatchLogsExportConfiguration& value) { m_cloudwatchLogsExportConfigurationHasBeenSet = true; m_cloudwatchLogsExportConfiguration = value; }
296 inline void SetCloudwatchLogsExportConfiguration(CloudwatchLogsExportConfiguration&& value) { m_cloudwatchLogsExportConfigurationHasBeenSet = true; m_cloudwatchLogsExportConfiguration = std::move(value); }
300
302
323 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
324 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
325 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
326 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
327 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
328 inline ModifyDBClusterRequest& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
329 inline ModifyDBClusterRequest& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
330 inline ModifyDBClusterRequest& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
332
334
341 inline bool GetAllowMajorVersionUpgrade() const{ return m_allowMajorVersionUpgrade; }
342 inline bool AllowMajorVersionUpgradeHasBeenSet() const { return m_allowMajorVersionUpgradeHasBeenSet; }
343 inline void SetAllowMajorVersionUpgrade(bool value) { m_allowMajorVersionUpgradeHasBeenSet = true; m_allowMajorVersionUpgrade = value; }
346
348
361 inline const Aws::String& GetDBInstanceParameterGroupName() const{ return m_dBInstanceParameterGroupName; }
362 inline bool DBInstanceParameterGroupNameHasBeenSet() const { return m_dBInstanceParameterGroupNameHasBeenSet; }
363 inline void SetDBInstanceParameterGroupName(const Aws::String& value) { m_dBInstanceParameterGroupNameHasBeenSet = true; m_dBInstanceParameterGroupName = value; }
364 inline void SetDBInstanceParameterGroupName(Aws::String&& value) { m_dBInstanceParameterGroupNameHasBeenSet = true; m_dBInstanceParameterGroupName = std::move(value); }
365 inline void SetDBInstanceParameterGroupName(const char* value) { m_dBInstanceParameterGroupNameHasBeenSet = true; m_dBInstanceParameterGroupName.assign(value); }
370
372
380 inline const Aws::String& GetDomain() const{ return m_domain; }
381 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
382 inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
383 inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
384 inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
385 inline ModifyDBClusterRequest& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
386 inline ModifyDBClusterRequest& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
387 inline ModifyDBClusterRequest& WithDomain(const char* value) { SetDomain(value); return *this;}
389
391
395 inline const Aws::String& GetDomainIAMRoleName() const{ return m_domainIAMRoleName; }
396 inline bool DomainIAMRoleNameHasBeenSet() const { return m_domainIAMRoleNameHasBeenSet; }
397 inline void SetDomainIAMRoleName(const Aws::String& value) { m_domainIAMRoleNameHasBeenSet = true; m_domainIAMRoleName = value; }
398 inline void SetDomainIAMRoleName(Aws::String&& value) { m_domainIAMRoleNameHasBeenSet = true; m_domainIAMRoleName = std::move(value); }
399 inline void SetDomainIAMRoleName(const char* value) { m_domainIAMRoleNameHasBeenSet = true; m_domainIAMRoleName.assign(value); }
401 inline ModifyDBClusterRequest& WithDomainIAMRoleName(Aws::String&& value) { SetDomainIAMRoleName(std::move(value)); return *this;}
402 inline ModifyDBClusterRequest& WithDomainIAMRoleName(const char* value) { SetDomainIAMRoleName(value); return *this;}
404
406
411 inline const ScalingConfiguration& GetScalingConfiguration() const{ return m_scalingConfiguration; }
412 inline bool ScalingConfigurationHasBeenSet() const { return m_scalingConfigurationHasBeenSet; }
413 inline void SetScalingConfiguration(const ScalingConfiguration& value) { m_scalingConfigurationHasBeenSet = true; m_scalingConfiguration = value; }
414 inline void SetScalingConfiguration(ScalingConfiguration&& value) { m_scalingConfigurationHasBeenSet = true; m_scalingConfiguration = std::move(value); }
418
420
426 inline bool GetDeletionProtection() const{ return m_deletionProtection; }
427 inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; }
428 inline void SetDeletionProtection(bool value) { m_deletionProtectionHasBeenSet = true; m_deletionProtection = value; }
429 inline ModifyDBClusterRequest& WithDeletionProtection(bool value) { SetDeletionProtection(value); return *this;}
431
433
448 inline bool GetEnableHttpEndpoint() const{ return m_enableHttpEndpoint; }
449 inline bool EnableHttpEndpointHasBeenSet() const { return m_enableHttpEndpointHasBeenSet; }
450 inline void SetEnableHttpEndpoint(bool value) { m_enableHttpEndpointHasBeenSet = true; m_enableHttpEndpoint = value; }
451 inline ModifyDBClusterRequest& WithEnableHttpEndpoint(bool value) { SetEnableHttpEndpoint(value); return *this;}
453
455
460 inline bool GetCopyTagsToSnapshot() const{ return m_copyTagsToSnapshot; }
461 inline bool CopyTagsToSnapshotHasBeenSet() const { return m_copyTagsToSnapshotHasBeenSet; }
462 inline void SetCopyTagsToSnapshot(bool value) { m_copyTagsToSnapshotHasBeenSet = true; m_copyTagsToSnapshot = value; }
463 inline ModifyDBClusterRequest& WithCopyTagsToSnapshot(bool value) { SetCopyTagsToSnapshot(value); return *this;}
465
467
479 inline bool GetEnableGlobalWriteForwarding() const{ return m_enableGlobalWriteForwarding; }
480 inline bool EnableGlobalWriteForwardingHasBeenSet() const { return m_enableGlobalWriteForwardingHasBeenSet; }
481 inline void SetEnableGlobalWriteForwarding(bool value) { m_enableGlobalWriteForwardingHasBeenSet = true; m_enableGlobalWriteForwarding = value; }
484
486
496 inline const Aws::String& GetDBClusterInstanceClass() const{ return m_dBClusterInstanceClass; }
497 inline bool DBClusterInstanceClassHasBeenSet() const { return m_dBClusterInstanceClassHasBeenSet; }
498 inline void SetDBClusterInstanceClass(const Aws::String& value) { m_dBClusterInstanceClassHasBeenSet = true; m_dBClusterInstanceClass = value; }
499 inline void SetDBClusterInstanceClass(Aws::String&& value) { m_dBClusterInstanceClassHasBeenSet = true; m_dBClusterInstanceClass = std::move(value); }
500 inline void SetDBClusterInstanceClass(const char* value) { m_dBClusterInstanceClassHasBeenSet = true; m_dBClusterInstanceClass.assign(value); }
503 inline ModifyDBClusterRequest& WithDBClusterInstanceClass(const char* value) { SetDBClusterInstanceClass(value); return *this;}
505
507
512 inline int GetAllocatedStorage() const{ return m_allocatedStorage; }
513 inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; }
514 inline void SetAllocatedStorage(int value) { m_allocatedStorageHasBeenSet = true; m_allocatedStorage = value; }
515 inline ModifyDBClusterRequest& WithAllocatedStorage(int value) { SetAllocatedStorage(value); return *this;}
517
519
535 inline const Aws::String& GetStorageType() const{ return m_storageType; }
536 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
537 inline void SetStorageType(const Aws::String& value) { m_storageTypeHasBeenSet = true; m_storageType = value; }
538 inline void SetStorageType(Aws::String&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::move(value); }
539 inline void SetStorageType(const char* value) { m_storageTypeHasBeenSet = true; m_storageType.assign(value); }
540 inline ModifyDBClusterRequest& WithStorageType(const Aws::String& value) { SetStorageType(value); return *this;}
541 inline ModifyDBClusterRequest& WithStorageType(Aws::String&& value) { SetStorageType(std::move(value)); return *this;}
542 inline ModifyDBClusterRequest& WithStorageType(const char* value) { SetStorageType(value); return *this;}
544
546
556 inline int GetIops() const{ return m_iops; }
557 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
558 inline void SetIops(int value) { m_iopsHasBeenSet = true; m_iops = value; }
559 inline ModifyDBClusterRequest& WithIops(int value) { SetIops(value); return *this;}
561
563
569 inline bool GetAutoMinorVersionUpgrade() const{ return m_autoMinorVersionUpgrade; }
570 inline bool AutoMinorVersionUpgradeHasBeenSet() const { return m_autoMinorVersionUpgradeHasBeenSet; }
571 inline void SetAutoMinorVersionUpgrade(bool value) { m_autoMinorVersionUpgradeHasBeenSet = true; m_autoMinorVersionUpgrade = value; }
574
576
585 inline int GetMonitoringInterval() const{ return m_monitoringInterval; }
586 inline bool MonitoringIntervalHasBeenSet() const { return m_monitoringIntervalHasBeenSet; }
587 inline void SetMonitoringInterval(int value) { m_monitoringIntervalHasBeenSet = true; m_monitoringInterval = value; }
588 inline ModifyDBClusterRequest& WithMonitoringInterval(int value) { SetMonitoringInterval(value); return *this;}
590
592
603 inline const Aws::String& GetMonitoringRoleArn() const{ return m_monitoringRoleArn; }
604 inline bool MonitoringRoleArnHasBeenSet() const { return m_monitoringRoleArnHasBeenSet; }
605 inline void SetMonitoringRoleArn(const Aws::String& value) { m_monitoringRoleArnHasBeenSet = true; m_monitoringRoleArn = value; }
606 inline void SetMonitoringRoleArn(Aws::String&& value) { m_monitoringRoleArnHasBeenSet = true; m_monitoringRoleArn = std::move(value); }
607 inline void SetMonitoringRoleArn(const char* value) { m_monitoringRoleArnHasBeenSet = true; m_monitoringRoleArn.assign(value); }
609 inline ModifyDBClusterRequest& WithMonitoringRoleArn(Aws::String&& value) { SetMonitoringRoleArn(std::move(value)); return *this;}
610 inline ModifyDBClusterRequest& WithMonitoringRoleArn(const char* value) { SetMonitoringRoleArn(value); return *this;}
612
614
621 inline bool GetEnablePerformanceInsights() const{ return m_enablePerformanceInsights; }
622 inline bool EnablePerformanceInsightsHasBeenSet() const { return m_enablePerformanceInsightsHasBeenSet; }
623 inline void SetEnablePerformanceInsights(bool value) { m_enablePerformanceInsightsHasBeenSet = true; m_enablePerformanceInsights = value; }
626
628
638 inline const Aws::String& GetPerformanceInsightsKMSKeyId() const{ return m_performanceInsightsKMSKeyId; }
639 inline bool PerformanceInsightsKMSKeyIdHasBeenSet() const { return m_performanceInsightsKMSKeyIdHasBeenSet; }
640 inline void SetPerformanceInsightsKMSKeyId(const Aws::String& value) { m_performanceInsightsKMSKeyIdHasBeenSet = true; m_performanceInsightsKMSKeyId = value; }
641 inline void SetPerformanceInsightsKMSKeyId(Aws::String&& value) { m_performanceInsightsKMSKeyIdHasBeenSet = true; m_performanceInsightsKMSKeyId = std::move(value); }
642 inline void SetPerformanceInsightsKMSKeyId(const char* value) { m_performanceInsightsKMSKeyIdHasBeenSet = true; m_performanceInsightsKMSKeyId.assign(value); }
647
649
659 inline int GetPerformanceInsightsRetentionPeriod() const{ return m_performanceInsightsRetentionPeriod; }
660 inline bool PerformanceInsightsRetentionPeriodHasBeenSet() const { return m_performanceInsightsRetentionPeriodHasBeenSet; }
661 inline void SetPerformanceInsightsRetentionPeriod(int value) { m_performanceInsightsRetentionPeriodHasBeenSet = true; m_performanceInsightsRetentionPeriod = value; }
664
666
667 inline const ServerlessV2ScalingConfiguration& GetServerlessV2ScalingConfiguration() const{ return m_serverlessV2ScalingConfiguration; }
668 inline bool ServerlessV2ScalingConfigurationHasBeenSet() const { return m_serverlessV2ScalingConfigurationHasBeenSet; }
669 inline void SetServerlessV2ScalingConfiguration(const ServerlessV2ScalingConfiguration& value) { m_serverlessV2ScalingConfigurationHasBeenSet = true; m_serverlessV2ScalingConfiguration = value; }
670 inline void SetServerlessV2ScalingConfiguration(ServerlessV2ScalingConfiguration&& value) { m_serverlessV2ScalingConfigurationHasBeenSet = true; m_serverlessV2ScalingConfiguration = std::move(value); }
674
676
686 inline const Aws::String& GetNetworkType() const{ return m_networkType; }
687 inline bool NetworkTypeHasBeenSet() const { return m_networkTypeHasBeenSet; }
688 inline void SetNetworkType(const Aws::String& value) { m_networkTypeHasBeenSet = true; m_networkType = value; }
689 inline void SetNetworkType(Aws::String&& value) { m_networkTypeHasBeenSet = true; m_networkType = std::move(value); }
690 inline void SetNetworkType(const char* value) { m_networkTypeHasBeenSet = true; m_networkType.assign(value); }
691 inline ModifyDBClusterRequest& WithNetworkType(const Aws::String& value) { SetNetworkType(value); return *this;}
692 inline ModifyDBClusterRequest& WithNetworkType(Aws::String&& value) { SetNetworkType(std::move(value)); return *this;}
693 inline ModifyDBClusterRequest& WithNetworkType(const char* value) { SetNetworkType(value); return *this;}
695
697
716 inline bool GetManageMasterUserPassword() const{ return m_manageMasterUserPassword; }
717 inline bool ManageMasterUserPasswordHasBeenSet() const { return m_manageMasterUserPasswordHasBeenSet; }
718 inline void SetManageMasterUserPassword(bool value) { m_manageMasterUserPasswordHasBeenSet = true; m_manageMasterUserPassword = value; }
721
723
738 inline bool GetRotateMasterUserPassword() const{ return m_rotateMasterUserPassword; }
739 inline bool RotateMasterUserPasswordHasBeenSet() const { return m_rotateMasterUserPasswordHasBeenSet; }
740 inline void SetRotateMasterUserPassword(bool value) { m_rotateMasterUserPasswordHasBeenSet = true; m_rotateMasterUserPassword = value; }
743
745
767 inline const Aws::String& GetMasterUserSecretKmsKeyId() const{ return m_masterUserSecretKmsKeyId; }
768 inline bool MasterUserSecretKmsKeyIdHasBeenSet() const { return m_masterUserSecretKmsKeyIdHasBeenSet; }
769 inline void SetMasterUserSecretKmsKeyId(const Aws::String& value) { m_masterUserSecretKmsKeyIdHasBeenSet = true; m_masterUserSecretKmsKeyId = value; }
770 inline void SetMasterUserSecretKmsKeyId(Aws::String&& value) { m_masterUserSecretKmsKeyIdHasBeenSet = true; m_masterUserSecretKmsKeyId = std::move(value); }
771 inline void SetMasterUserSecretKmsKeyId(const char* value) { m_masterUserSecretKmsKeyIdHasBeenSet = true; m_masterUserSecretKmsKeyId.assign(value); }
774 inline ModifyDBClusterRequest& WithMasterUserSecretKmsKeyId(const char* value) { SetMasterUserSecretKmsKeyId(value); return *this;}
776
778
786 inline const Aws::String& GetEngineMode() const{ return m_engineMode; }
787 inline bool EngineModeHasBeenSet() const { return m_engineModeHasBeenSet; }
788 inline void SetEngineMode(const Aws::String& value) { m_engineModeHasBeenSet = true; m_engineMode = value; }
789 inline void SetEngineMode(Aws::String&& value) { m_engineModeHasBeenSet = true; m_engineMode = std::move(value); }
790 inline void SetEngineMode(const char* value) { m_engineModeHasBeenSet = true; m_engineMode.assign(value); }
791 inline ModifyDBClusterRequest& WithEngineMode(const Aws::String& value) { SetEngineMode(value); return *this;}
792 inline ModifyDBClusterRequest& WithEngineMode(Aws::String&& value) { SetEngineMode(std::move(value)); return *this;}
793 inline ModifyDBClusterRequest& WithEngineMode(const char* value) { SetEngineMode(value); return *this;}
795
797
805 inline bool GetAllowEngineModeChange() const{ return m_allowEngineModeChange; }
806 inline bool AllowEngineModeChangeHasBeenSet() const { return m_allowEngineModeChangeHasBeenSet; }
807 inline void SetAllowEngineModeChange(bool value) { m_allowEngineModeChangeHasBeenSet = true; m_allowEngineModeChange = value; }
810
812
817 inline bool GetEnableLocalWriteForwarding() const{ return m_enableLocalWriteForwarding; }
818 inline bool EnableLocalWriteForwardingHasBeenSet() const { return m_enableLocalWriteForwardingHasBeenSet; }
819 inline void SetEnableLocalWriteForwarding(bool value) { m_enableLocalWriteForwardingHasBeenSet = true; m_enableLocalWriteForwarding = value; }
822
824
828 inline const Aws::String& GetAwsBackupRecoveryPointArn() const{ return m_awsBackupRecoveryPointArn; }
829 inline bool AwsBackupRecoveryPointArnHasBeenSet() const { return m_awsBackupRecoveryPointArnHasBeenSet; }
830 inline void SetAwsBackupRecoveryPointArn(const Aws::String& value) { m_awsBackupRecoveryPointArnHasBeenSet = true; m_awsBackupRecoveryPointArn = value; }
831 inline void SetAwsBackupRecoveryPointArn(Aws::String&& value) { m_awsBackupRecoveryPointArnHasBeenSet = true; m_awsBackupRecoveryPointArn = std::move(value); }
832 inline void SetAwsBackupRecoveryPointArn(const char* value) { m_awsBackupRecoveryPointArnHasBeenSet = true; m_awsBackupRecoveryPointArn.assign(value); }
837
839
846 inline bool GetEnableLimitlessDatabase() const{ return m_enableLimitlessDatabase; }
847 inline bool EnableLimitlessDatabaseHasBeenSet() const { return m_enableLimitlessDatabaseHasBeenSet; }
848 inline void SetEnableLimitlessDatabase(bool value) { m_enableLimitlessDatabaseHasBeenSet = true; m_enableLimitlessDatabase = value; }
851
853
860 inline const Aws::String& GetCACertificateIdentifier() const{ return m_cACertificateIdentifier; }
861 inline bool CACertificateIdentifierHasBeenSet() const { return m_cACertificateIdentifierHasBeenSet; }
862 inline void SetCACertificateIdentifier(const Aws::String& value) { m_cACertificateIdentifierHasBeenSet = true; m_cACertificateIdentifier = value; }
863 inline void SetCACertificateIdentifier(Aws::String&& value) { m_cACertificateIdentifierHasBeenSet = true; m_cACertificateIdentifier = std::move(value); }
864 inline void SetCACertificateIdentifier(const char* value) { m_cACertificateIdentifierHasBeenSet = true; m_cACertificateIdentifier.assign(value); }
867 inline ModifyDBClusterRequest& WithCACertificateIdentifier(const char* value) { SetCACertificateIdentifier(value); return *this;}
869 private:
870
871 Aws::String m_dBClusterIdentifier;
872 bool m_dBClusterIdentifierHasBeenSet = false;
873
874 Aws::String m_newDBClusterIdentifier;
875 bool m_newDBClusterIdentifierHasBeenSet = false;
876
877 bool m_applyImmediately;
878 bool m_applyImmediatelyHasBeenSet = false;
879
880 int m_backupRetentionPeriod;
881 bool m_backupRetentionPeriodHasBeenSet = false;
882
883 Aws::String m_dBClusterParameterGroupName;
884 bool m_dBClusterParameterGroupNameHasBeenSet = false;
885
886 Aws::Vector<Aws::String> m_vpcSecurityGroupIds;
887 bool m_vpcSecurityGroupIdsHasBeenSet = false;
888
889 int m_port;
890 bool m_portHasBeenSet = false;
891
892 Aws::String m_masterUserPassword;
893 bool m_masterUserPasswordHasBeenSet = false;
894
895 Aws::String m_optionGroupName;
896 bool m_optionGroupNameHasBeenSet = false;
897
898 Aws::String m_preferredBackupWindow;
899 bool m_preferredBackupWindowHasBeenSet = false;
900
901 Aws::String m_preferredMaintenanceWindow;
902 bool m_preferredMaintenanceWindowHasBeenSet = false;
903
904 bool m_enableIAMDatabaseAuthentication;
905 bool m_enableIAMDatabaseAuthenticationHasBeenSet = false;
906
907 long long m_backtrackWindow;
908 bool m_backtrackWindowHasBeenSet = false;
909
910 CloudwatchLogsExportConfiguration m_cloudwatchLogsExportConfiguration;
911 bool m_cloudwatchLogsExportConfigurationHasBeenSet = false;
912
913 Aws::String m_engineVersion;
914 bool m_engineVersionHasBeenSet = false;
915
916 bool m_allowMajorVersionUpgrade;
917 bool m_allowMajorVersionUpgradeHasBeenSet = false;
918
919 Aws::String m_dBInstanceParameterGroupName;
920 bool m_dBInstanceParameterGroupNameHasBeenSet = false;
921
922 Aws::String m_domain;
923 bool m_domainHasBeenSet = false;
924
925 Aws::String m_domainIAMRoleName;
926 bool m_domainIAMRoleNameHasBeenSet = false;
927
928 ScalingConfiguration m_scalingConfiguration;
929 bool m_scalingConfigurationHasBeenSet = false;
930
931 bool m_deletionProtection;
932 bool m_deletionProtectionHasBeenSet = false;
933
934 bool m_enableHttpEndpoint;
935 bool m_enableHttpEndpointHasBeenSet = false;
936
937 bool m_copyTagsToSnapshot;
938 bool m_copyTagsToSnapshotHasBeenSet = false;
939
940 bool m_enableGlobalWriteForwarding;
941 bool m_enableGlobalWriteForwardingHasBeenSet = false;
942
943 Aws::String m_dBClusterInstanceClass;
944 bool m_dBClusterInstanceClassHasBeenSet = false;
945
946 int m_allocatedStorage;
947 bool m_allocatedStorageHasBeenSet = false;
948
949 Aws::String m_storageType;
950 bool m_storageTypeHasBeenSet = false;
951
952 int m_iops;
953 bool m_iopsHasBeenSet = false;
954
955 bool m_autoMinorVersionUpgrade;
956 bool m_autoMinorVersionUpgradeHasBeenSet = false;
957
958 int m_monitoringInterval;
959 bool m_monitoringIntervalHasBeenSet = false;
960
961 Aws::String m_monitoringRoleArn;
962 bool m_monitoringRoleArnHasBeenSet = false;
963
964 bool m_enablePerformanceInsights;
965 bool m_enablePerformanceInsightsHasBeenSet = false;
966
967 Aws::String m_performanceInsightsKMSKeyId;
968 bool m_performanceInsightsKMSKeyIdHasBeenSet = false;
969
970 int m_performanceInsightsRetentionPeriod;
971 bool m_performanceInsightsRetentionPeriodHasBeenSet = false;
972
973 ServerlessV2ScalingConfiguration m_serverlessV2ScalingConfiguration;
974 bool m_serverlessV2ScalingConfigurationHasBeenSet = false;
975
976 Aws::String m_networkType;
977 bool m_networkTypeHasBeenSet = false;
978
979 bool m_manageMasterUserPassword;
980 bool m_manageMasterUserPasswordHasBeenSet = false;
981
982 bool m_rotateMasterUserPassword;
983 bool m_rotateMasterUserPasswordHasBeenSet = false;
984
985 Aws::String m_masterUserSecretKmsKeyId;
986 bool m_masterUserSecretKmsKeyIdHasBeenSet = false;
987
988 Aws::String m_engineMode;
989 bool m_engineModeHasBeenSet = false;
990
991 bool m_allowEngineModeChange;
992 bool m_allowEngineModeChangeHasBeenSet = false;
993
994 bool m_enableLocalWriteForwarding;
995 bool m_enableLocalWriteForwardingHasBeenSet = false;
996
997 Aws::String m_awsBackupRecoveryPointArn;
998 bool m_awsBackupRecoveryPointArnHasBeenSet = false;
999
1000 bool m_enableLimitlessDatabase;
1001 bool m_enableLimitlessDatabaseHasBeenSet = false;
1002
1003 Aws::String m_cACertificateIdentifier;
1004 bool m_cACertificateIdentifierHasBeenSet = false;
1005 };
1006
1007} // namespace Model
1008} // namespace RDS
1009} // namespace Aws
ModifyDBClusterRequest & WithMonitoringRoleArn(Aws::String &&value)
void SetAwsBackupRecoveryPointArn(Aws::String &&value)
void SetServerlessV2ScalingConfiguration(ServerlessV2ScalingConfiguration &&value)
ModifyDBClusterRequest & WithIops(int value)
void SetPerformanceInsightsKMSKeyId(Aws::String &&value)
void SetDBClusterIdentifier(const Aws::String &value)
ModifyDBClusterRequest & WithDBClusterInstanceClass(const Aws::String &value)
ModifyDBClusterRequest & WithDBClusterInstanceClass(Aws::String &&value)
ModifyDBClusterRequest & WithAllocatedStorage(int value)
ModifyDBClusterRequest & WithEnableIAMDatabaseAuthentication(bool value)
void SetAwsBackupRecoveryPointArn(const Aws::String &value)
ModifyDBClusterRequest & WithPerformanceInsightsKMSKeyId(const Aws::String &value)
ModifyDBClusterRequest & WithDomainIAMRoleName(Aws::String &&value)
ModifyDBClusterRequest & AddVpcSecurityGroupIds(const char *value)
ModifyDBClusterRequest & WithBackupRetentionPeriod(int value)
void SetMasterUserSecretKmsKeyId(const Aws::String &value)
void SetMasterUserPassword(const Aws::String &value)
const Aws::String & GetMasterUserSecretKmsKeyId() const
const CloudwatchLogsExportConfiguration & GetCloudwatchLogsExportConfiguration() const
void SetScalingConfiguration(ScalingConfiguration &&value)
ModifyDBClusterRequest & WithServerlessV2ScalingConfiguration(ServerlessV2ScalingConfiguration &&value)
void SetStorageType(const Aws::String &value)
void SetPreferredMaintenanceWindow(Aws::String &&value)
ModifyDBClusterRequest & WithPerformanceInsightsRetentionPeriod(int value)
void SetPreferredMaintenanceWindow(const Aws::String &value)
ModifyDBClusterRequest & WithDomainIAMRoleName(const char *value)
void SetCloudwatchLogsExportConfiguration(CloudwatchLogsExportConfiguration &&value)
const Aws::String & GetMasterUserPassword() const
ModifyDBClusterRequest & WithDBInstanceParameterGroupName(Aws::String &&value)
ModifyDBClusterRequest & WithEngineMode(Aws::String &&value)
const Aws::String & GetDBClusterInstanceClass() const
ModifyDBClusterRequest & WithCloudwatchLogsExportConfiguration(const CloudwatchLogsExportConfiguration &value)
void SetDomainIAMRoleName(const Aws::String &value)
void SetDBClusterInstanceClass(const Aws::String &value)
ModifyDBClusterRequest & WithStorageType(const char *value)
ModifyDBClusterRequest & WithManageMasterUserPassword(bool value)
void SetOptionGroupName(const Aws::String &value)
void SetEngineMode(const Aws::String &value)
ModifyDBClusterRequest & WithCACertificateIdentifier(const Aws::String &value)
ModifyDBClusterRequest & WithEngineVersion(const Aws::String &value)
ModifyDBClusterRequest & WithOptionGroupName(const Aws::String &value)
ModifyDBClusterRequest & WithMasterUserPassword(Aws::String &&value)
ModifyDBClusterRequest & WithPort(int value)
ModifyDBClusterRequest & WithStorageType(const Aws::String &value)
const ScalingConfiguration & GetScalingConfiguration() const
ModifyDBClusterRequest & WithPreferredMaintenanceWindow(const Aws::String &value)
ModifyDBClusterRequest & WithPreferredBackupWindow(Aws::String &&value)
ModifyDBClusterRequest & WithCACertificateIdentifier(const char *value)
void SetDBInstanceParameterGroupName(const Aws::String &value)
ModifyDBClusterRequest & WithDeletionProtection(bool value)
ModifyDBClusterRequest & WithNewDBClusterIdentifier(Aws::String &&value)
void SetDBClusterParameterGroupName(const Aws::String &value)
ModifyDBClusterRequest & WithOptionGroupName(const char *value)
ModifyDBClusterRequest & WithEnableHttpEndpoint(bool value)
ModifyDBClusterRequest & WithMonitoringRoleArn(const char *value)
ModifyDBClusterRequest & WithDBClusterInstanceClass(const char *value)
ModifyDBClusterRequest & WithMonitoringRoleArn(const Aws::String &value)
ModifyDBClusterRequest & WithAllowEngineModeChange(bool value)
ModifyDBClusterRequest & WithMasterUserSecretKmsKeyId(const Aws::String &value)
void SetCloudwatchLogsExportConfiguration(const CloudwatchLogsExportConfiguration &value)
ModifyDBClusterRequest & WithOptionGroupName(Aws::String &&value)
ModifyDBClusterRequest & WithDBClusterParameterGroupName(const char *value)
ModifyDBClusterRequest & WithPreferredMaintenanceWindow(const char *value)
void SetNetworkType(const Aws::String &value)
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
const Aws::String & GetPerformanceInsightsKMSKeyId() const
ModifyDBClusterRequest & WithMasterUserPassword(const Aws::String &value)
void SetDBClusterParameterGroupName(Aws::String &&value)
const ServerlessV2ScalingConfiguration & GetServerlessV2ScalingConfiguration() const
ModifyDBClusterRequest & WithCACertificateIdentifier(Aws::String &&value)
ModifyDBClusterRequest & WithEnableLocalWriteForwarding(bool value)
ModifyDBClusterRequest & WithEngineMode(const char *value)
ModifyDBClusterRequest & WithPerformanceInsightsKMSKeyId(Aws::String &&value)
void SetDBInstanceParameterGroupName(Aws::String &&value)
ModifyDBClusterRequest & WithPreferredMaintenanceWindow(Aws::String &&value)
ModifyDBClusterRequest & WithAwsBackupRecoveryPointArn(const Aws::String &value)
ModifyDBClusterRequest & WithEnableGlobalWriteForwarding(bool value)
ModifyDBClusterRequest & WithDBClusterIdentifier(const char *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(Aws::String &&value)
void SetVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
ModifyDBClusterRequest & WithDBInstanceParameterGroupName(const char *value)
void SetMasterUserSecretKmsKeyId(Aws::String &&value)
ModifyDBClusterRequest & WithMasterUserSecretKmsKeyId(const char *value)
ModifyDBClusterRequest & WithCloudwatchLogsExportConfiguration(CloudwatchLogsExportConfiguration &&value)
ModifyDBClusterRequest & WithPerformanceInsightsKMSKeyId(const char *value)
ModifyDBClusterRequest & WithApplyImmediately(bool value)
ModifyDBClusterRequest & WithAwsBackupRecoveryPointArn(const char *value)
const Aws::String & GetPreferredBackupWindow() const
void SetNewDBClusterIdentifier(Aws::String &&value)
void SetEngineVersion(const Aws::String &value)
const Aws::String & GetDBInstanceParameterGroupName() const
void SetScalingConfiguration(const ScalingConfiguration &value)
ModifyDBClusterRequest & WithServerlessV2ScalingConfiguration(const ServerlessV2ScalingConfiguration &value)
void SetServerlessV2ScalingConfiguration(const ServerlessV2ScalingConfiguration &value)
ModifyDBClusterRequest & WithDBClusterParameterGroupName(const Aws::String &value)
ModifyDBClusterRequest & AddVpcSecurityGroupIds(const Aws::String &value)
const Aws::String & GetAwsBackupRecoveryPointArn() const
ModifyDBClusterRequest & WithRotateMasterUserPassword(bool value)
const Aws::String & GetDBClusterParameterGroupName() const
ModifyDBClusterRequest & WithNewDBClusterIdentifier(const Aws::String &value)
ModifyDBClusterRequest & WithCopyTagsToSnapshot(bool value)
ModifyDBClusterRequest & WithNewDBClusterIdentifier(const char *value)
ModifyDBClusterRequest & WithAwsBackupRecoveryPointArn(Aws::String &&value)
const Aws::String & GetCACertificateIdentifier() const
void SetPerformanceInsightsKMSKeyId(const Aws::String &value)
ModifyDBClusterRequest & WithStorageType(Aws::String &&value)
ModifyDBClusterRequest & WithVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
ModifyDBClusterRequest & WithDomain(const char *value)
ModifyDBClusterRequest & WithMasterUserPassword(const char *value)
ModifyDBClusterRequest & WithPreferredBackupWindow(const char *value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyDBClusterRequest & WithEngineVersion(Aws::String &&value)
ModifyDBClusterRequest & WithAutoMinorVersionUpgrade(bool value)
ModifyDBClusterRequest & WithMasterUserSecretKmsKeyId(Aws::String &&value)
void SetMonitoringRoleArn(const Aws::String &value)
ModifyDBClusterRequest & WithDomainIAMRoleName(const Aws::String &value)
ModifyDBClusterRequest & WithNetworkType(Aws::String &&value)
ModifyDBClusterRequest & WithScalingConfiguration(const ScalingConfiguration &value)
ModifyDBClusterRequest & WithScalingConfiguration(ScalingConfiguration &&value)
ModifyDBClusterRequest & WithDBClusterIdentifier(Aws::String &&value)
const Aws::String & GetNewDBClusterIdentifier() const
void SetCACertificateIdentifier(const Aws::String &value)
ModifyDBClusterRequest & WithVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
ModifyDBClusterRequest & WithDBClusterParameterGroupName(Aws::String &&value)
ModifyDBClusterRequest & WithNetworkType(const Aws::String &value)
ModifyDBClusterRequest & WithDBInstanceParameterGroupName(const Aws::String &value)
ModifyDBClusterRequest & WithDBClusterIdentifier(const Aws::String &value)
ModifyDBClusterRequest & WithDomain(const Aws::String &value)
ModifyDBClusterRequest & WithAllowMajorVersionUpgrade(bool value)
ModifyDBClusterRequest & WithMonitoringInterval(int value)
void SetNewDBClusterIdentifier(const Aws::String &value)
void SetPreferredBackupWindow(const Aws::String &value)
ModifyDBClusterRequest & WithEnableLimitlessDatabase(bool value)
void SetVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
ModifyDBClusterRequest & AddVpcSecurityGroupIds(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ModifyDBClusterRequest & WithPreferredBackupWindow(const Aws::String &value)
ModifyDBClusterRequest & WithNetworkType(const char *value)
ModifyDBClusterRequest & WithEngineVersion(const char *value)
ModifyDBClusterRequest & WithEngineMode(const Aws::String &value)
const Aws::String & GetPreferredMaintenanceWindow() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector