7#include <aws/docdb/DocDB_EXPORTS.h>
8#include <aws/docdb/DocDBRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/docdb/model/CloudwatchLogsExportConfiguration.h>
12#include <aws/docdb/model/ServerlessV2ScalingConfiguration.h>
53 template<
typename DBClusterIdentifierT = Aws::String>
54 void SetDBClusterIdentifier(DBClusterIdentifierT&& value) { m_dBClusterIdentifierHasBeenSet =
true; m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value); }
55 template<
typename DBClusterIdentifierT = Aws::String>
70 template<
typename NewDBClusterIdentifierT = Aws::String>
71 void SetNewDBClusterIdentifier(NewDBClusterIdentifierT&& value) { m_newDBClusterIdentifierHasBeenSet =
true; m_newDBClusterIdentifier = std::forward<NewDBClusterIdentifierT>(value); }
72 template<
typename NewDBClusterIdentifierT = Aws::String>
93 inline void SetApplyImmediately(
bool value) { m_applyImmediatelyHasBeenSet =
true; m_applyImmediately = value; }
115 template<
typename DBClusterParameterGroupNameT = Aws::String>
116 void SetDBClusterParameterGroupName(DBClusterParameterGroupNameT&& value) { m_dBClusterParameterGroupNameHasBeenSet =
true; m_dBClusterParameterGroupName = std::forward<DBClusterParameterGroupNameT>(value); }
117 template<
typename DBClusterParameterGroupNameT = Aws::String>
128 template<
typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
129 void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) { m_vpcSecurityGroupIdsHasBeenSet =
true; m_vpcSecurityGroupIds = std::forward<VpcSecurityGroupIdsT>(value); }
130 template<
typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
132 template<
typename VpcSecurityGroupIdsT = Aws::String>
144 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
156 template<
typename MasterUserPasswordT = Aws::String>
157 void SetMasterUserPassword(MasterUserPasswordT&& value) { m_masterUserPasswordHasBeenSet =
true; m_masterUserPassword = std::forward<MasterUserPasswordT>(value); }
158 template<
typename MasterUserPasswordT = Aws::String>
175 template<
typename PreferredBackupWindowT = Aws::String>
176 void SetPreferredBackupWindow(PreferredBackupWindowT&& value) { m_preferredBackupWindowHasBeenSet =
true; m_preferredBackupWindow = std::forward<PreferredBackupWindowT>(value); }
177 template<
typename PreferredBackupWindowT = Aws::String>
192 template<
typename PreferredMa
intenanceWindowT = Aws::String>
193 void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) { m_preferredMaintenanceWindowHasBeenSet =
true; m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value); }
194 template<
typename PreferredMa
intenanceWindowT = Aws::String>
207 template<
typename CloudwatchLogsExportConfigurationT = CloudwatchLogsExportConfiguration>
208 void SetCloudwatchLogsExportConfiguration(CloudwatchLogsExportConfigurationT&& value) { m_cloudwatchLogsExportConfigurationHasBeenSet =
true; m_cloudwatchLogsExportConfiguration = std::forward<CloudwatchLogsExportConfigurationT>(value); }
209 template<
typename CloudwatchLogsExportConfigurationT = CloudwatchLogsExportConfiguration>
224 template<
typename EngineVersionT = Aws::String>
225 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet =
true; m_engineVersion = std::forward<EngineVersionT>(value); }
226 template<
typename EngineVersionT = Aws::String>
253 inline void SetDeletionProtection(
bool value) { m_deletionProtectionHasBeenSet =
true; m_deletionProtection = value; }
267 template<
typename StorageTypeT = Aws::String>
268 void SetStorageType(StorageTypeT&& value) { m_storageTypeHasBeenSet =
true; m_storageType = std::forward<StorageTypeT>(value); }
269 template<
typename StorageTypeT = Aws::String>
280 template<
typename ServerlessV2ScalingConfigurationT = ServerlessV2ScalingConfiguration>
281 void SetServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT&& value) { m_serverlessV2ScalingConfigurationHasBeenSet =
true; m_serverlessV2ScalingConfiguration = std::forward<ServerlessV2ScalingConfigurationT>(value); }
282 template<
typename ServerlessV2ScalingConfigurationT = ServerlessV2ScalingConfiguration>
328 template<
typename MasterUserSecretKmsKeyIdT = Aws::String>
329 void SetMasterUserSecretKmsKeyId(MasterUserSecretKmsKeyIdT&& value) { m_masterUserSecretKmsKeyIdHasBeenSet =
true; m_masterUserSecretKmsKeyId = std::forward<MasterUserSecretKmsKeyIdT>(value); }
330 template<
typename MasterUserSecretKmsKeyIdT = Aws::String>
351 bool m_dBClusterIdentifierHasBeenSet =
false;
354 bool m_newDBClusterIdentifierHasBeenSet =
false;
356 bool m_applyImmediately{
false};
357 bool m_applyImmediatelyHasBeenSet =
false;
359 int m_backupRetentionPeriod{0};
360 bool m_backupRetentionPeriodHasBeenSet =
false;
363 bool m_dBClusterParameterGroupNameHasBeenSet =
false;
366 bool m_vpcSecurityGroupIdsHasBeenSet =
false;
369 bool m_portHasBeenSet =
false;
372 bool m_masterUserPasswordHasBeenSet =
false;
375 bool m_preferredBackupWindowHasBeenSet =
false;
378 bool m_preferredMaintenanceWindowHasBeenSet =
false;
380 CloudwatchLogsExportConfiguration m_cloudwatchLogsExportConfiguration;
381 bool m_cloudwatchLogsExportConfigurationHasBeenSet =
false;
384 bool m_engineVersionHasBeenSet =
false;
386 bool m_allowMajorVersionUpgrade{
false};
387 bool m_allowMajorVersionUpgradeHasBeenSet =
false;
389 bool m_deletionProtection{
false};
390 bool m_deletionProtectionHasBeenSet =
false;
393 bool m_storageTypeHasBeenSet =
false;
395 ServerlessV2ScalingConfiguration m_serverlessV2ScalingConfiguration;
396 bool m_serverlessV2ScalingConfigurationHasBeenSet =
false;
398 bool m_manageMasterUserPassword{
false};
399 bool m_manageMasterUserPasswordHasBeenSet =
false;
402 bool m_masterUserSecretKmsKeyIdHasBeenSet =
false;
404 bool m_rotateMasterUserPassword{
false};
405 bool m_rotateMasterUserPasswordHasBeenSet =
false;
bool EngineVersionHasBeenSet() const
const Aws::String & GetPreferredBackupWindow() const
const Aws::String & GetMasterUserPassword() const
bool PortHasBeenSet() const
ModifyDBClusterRequest & WithDBClusterParameterGroupName(DBClusterParameterGroupNameT &&value)
const Aws::String & GetStorageType() const
AWS_DOCDB_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::String & GetDBClusterIdentifier() const
ModifyDBClusterRequest & WithApplyImmediately(bool value)
ModifyDBClusterRequest & WithMasterUserSecretKmsKeyId(MasterUserSecretKmsKeyIdT &&value)
void SetDBClusterParameterGroupName(DBClusterParameterGroupNameT &&value)
const ServerlessV2ScalingConfiguration & GetServerlessV2ScalingConfiguration() const
void SetApplyImmediately(bool value)
AWS_DOCDB_API ModifyDBClusterRequest()=default
bool PreferredBackupWindowHasBeenSet() const
bool MasterUserPasswordHasBeenSet() const
void SetServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT &&value)
void SetMasterUserSecretKmsKeyId(MasterUserSecretKmsKeyIdT &&value)
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
bool GetAllowMajorVersionUpgrade() const
bool AllowMajorVersionUpgradeHasBeenSet() const
ModifyDBClusterRequest & WithCloudwatchLogsExportConfiguration(CloudwatchLogsExportConfigurationT &&value)
ModifyDBClusterRequest & WithDeletionProtection(bool value)
bool ApplyImmediatelyHasBeenSet() const
ModifyDBClusterRequest & WithStorageType(StorageTypeT &&value)
ModifyDBClusterRequest & WithVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
ModifyDBClusterRequest & WithManageMasterUserPassword(bool value)
ModifyDBClusterRequest & WithRotateMasterUserPassword(bool value)
bool GetDeletionProtection() const
bool PreferredMaintenanceWindowHasBeenSet() const
void SetEngineVersion(EngineVersionT &&value)
ModifyDBClusterRequest & WithPort(int value)
void SetDBClusterIdentifier(DBClusterIdentifierT &&value)
bool ServerlessV2ScalingConfigurationHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetDBClusterParameterGroupName() const
const CloudwatchLogsExportConfiguration & GetCloudwatchLogsExportConfiguration() const
bool VpcSecurityGroupIdsHasBeenSet() const
ModifyDBClusterRequest & WithPreferredBackupWindow(PreferredBackupWindowT &&value)
const Aws::String & GetNewDBClusterIdentifier() const
void SetMasterUserPassword(MasterUserPasswordT &&value)
bool StorageTypeHasBeenSet() const
void SetDeletionProtection(bool value)
bool NewDBClusterIdentifierHasBeenSet() const
bool DeletionProtectionHasBeenSet() const
void SetBackupRetentionPeriod(int value)
ModifyDBClusterRequest & WithEngineVersion(EngineVersionT &&value)
bool GetManageMasterUserPassword() const
void SetPreferredBackupWindow(PreferredBackupWindowT &&value)
const Aws::String & GetPreferredMaintenanceWindow() const
ModifyDBClusterRequest & WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
const Aws::String & GetEngineVersion() const
void SetRotateMasterUserPassword(bool value)
ModifyDBClusterRequest & WithNewDBClusterIdentifier(NewDBClusterIdentifierT &&value)
void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
const Aws::String & GetMasterUserSecretKmsKeyId() const
bool GetApplyImmediately() const
bool DBClusterParameterGroupNameHasBeenSet() const
void SetCloudwatchLogsExportConfiguration(CloudwatchLogsExportConfigurationT &&value)
ModifyDBClusterRequest & WithMasterUserPassword(MasterUserPasswordT &&value)
bool RotateMasterUserPasswordHasBeenSet() const
bool BackupRetentionPeriodHasBeenSet() const
void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
int GetBackupRetentionPeriod() const
bool MasterUserSecretKmsKeyIdHasBeenSet() const
bool DBClusterIdentifierHasBeenSet() const
ModifyDBClusterRequest & WithServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT &&value)
bool CloudwatchLogsExportConfigurationHasBeenSet() const
ModifyDBClusterRequest & WithBackupRetentionPeriod(int value)
ModifyDBClusterRequest & WithAllowMajorVersionUpgrade(bool value)
bool GetRotateMasterUserPassword() const
void SetNewDBClusterIdentifier(NewDBClusterIdentifierT &&value)
ModifyDBClusterRequest & WithDBClusterIdentifier(DBClusterIdentifierT &&value)
void SetStorageType(StorageTypeT &&value)
void SetManageMasterUserPassword(bool value)
bool ManageMasterUserPasswordHasBeenSet() const
AWS_DOCDB_API Aws::String SerializePayload() const override
void SetAllowMajorVersionUpgrade(bool value)
ModifyDBClusterRequest & AddVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector