7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/docdb/DocDBRequest.h>
10#include <aws/docdb/DocDB_EXPORTS.h>
11#include <aws/docdb/model/CloudwatchLogsExportConfiguration.h>
12#include <aws/docdb/model/ServerlessV2ScalingConfiguration.h>
49 template <
typename DBClusterIdentifierT = Aws::String>
51 m_dBClusterIdentifierHasBeenSet =
true;
52 m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value);
54 template <
typename DBClusterIdentifierT = Aws::String>
72 template <
typename NewDBClusterIdentifierT = Aws::String>
74 m_newDBClusterIdentifierHasBeenSet =
true;
75 m_newDBClusterIdentifier = std::forward<NewDBClusterIdentifierT>(value);
77 template <
typename NewDBClusterIdentifierT = Aws::String>
102 m_applyImmediatelyHasBeenSet =
true;
103 m_applyImmediately = value;
120 m_backupRetentionPeriodHasBeenSet =
true;
121 m_backupRetentionPeriod = value;
135 template <
typename DBClusterParameterGroupNameT = Aws::String>
137 m_dBClusterParameterGroupNameHasBeenSet =
true;
138 m_dBClusterParameterGroupName = std::forward<DBClusterParameterGroupNameT>(value);
140 template <
typename DBClusterParameterGroupNameT = Aws::String>
154 template <
typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
156 m_vpcSecurityGroupIdsHasBeenSet =
true;
157 m_vpcSecurityGroupIds = std::forward<VpcSecurityGroupIdsT>(value);
159 template <
typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
164 template <
typename VpcSecurityGroupIdsT = Aws::String>
166 m_vpcSecurityGroupIdsHasBeenSet =
true;
167 m_vpcSecurityGroupIds.emplace_back(std::forward<VpcSecurityGroupIdsT>(value));
181 m_portHasBeenSet =
true;
198 template <
typename MasterUserPasswordT = Aws::String>
200 m_masterUserPasswordHasBeenSet =
true;
201 m_masterUserPassword = std::forward<MasterUserPasswordT>(value);
203 template <
typename MasterUserPasswordT = Aws::String>
223 template <
typename PreferredBackupWindowT = Aws::String>
225 m_preferredBackupWindowHasBeenSet =
true;
226 m_preferredBackupWindow = std::forward<PreferredBackupWindowT>(value);
228 template <
typename PreferredBackupWindowT = Aws::String>
246 template <
typename PreferredMa
intenanceWindowT = Aws::String>
248 m_preferredMaintenanceWindowHasBeenSet =
true;
249 m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value);
251 template <
typename PreferredMa
intenanceWindowT = Aws::String>
266 return m_cloudwatchLogsExportConfiguration;
269 template <
typename CloudwatchLogsExportConfigurationT = CloudwatchLogsExportConfiguration>
271 m_cloudwatchLogsExportConfigurationHasBeenSet =
true;
272 m_cloudwatchLogsExportConfiguration = std::forward<CloudwatchLogsExportConfigurationT>(value);
274 template <
typename CloudwatchLogsExportConfigurationT = CloudwatchLogsExportConfiguration>
292 template <
typename EngineVersionT = Aws::String>
294 m_engineVersionHasBeenSet =
true;
295 m_engineVersion = std::forward<EngineVersionT>(value);
297 template <
typename EngineVersionT = Aws::String>
321 m_allowMajorVersionUpgradeHasBeenSet =
true;
322 m_allowMajorVersionUpgrade = value;
341 m_deletionProtectionHasBeenSet =
true;
342 m_deletionProtection = value;
360 template <
typename StorageTypeT = Aws::String>
362 m_storageTypeHasBeenSet =
true;
363 m_storageType = std::forward<StorageTypeT>(value);
365 template <
typename StorageTypeT = Aws::String>
379 template <
typename ServerlessV2ScalingConfigurationT = ServerlessV2ScalingConfiguration>
381 m_serverlessV2ScalingConfigurationHasBeenSet =
true;
382 m_serverlessV2ScalingConfiguration = std::forward<ServerlessV2ScalingConfigurationT>(value);
384 template <
typename ServerlessV2ScalingConfigurationT = ServerlessV2ScalingConfiguration>
406 m_manageMasterUserPasswordHasBeenSet =
true;
407 m_manageMasterUserPassword = value;
439 template <
typename MasterUserSecretKmsKeyIdT = Aws::String>
441 m_masterUserSecretKmsKeyIdHasBeenSet =
true;
442 m_masterUserSecretKmsKeyId = std::forward<MasterUserSecretKmsKeyIdT>(value);
444 template <
typename MasterUserSecretKmsKeyIdT = Aws::String>
463 m_rotateMasterUserPasswordHasBeenSet =
true;
464 m_rotateMasterUserPassword = value;
484 template <
typename NetworkTypeT = Aws::String>
486 m_networkTypeHasBeenSet =
true;
487 m_networkType = std::forward<NetworkTypeT>(value);
489 template <
typename NetworkTypeT = Aws::String>
500 bool m_applyImmediately{
false};
502 int m_backupRetentionPeriod{0};
516 CloudwatchLogsExportConfiguration m_cloudwatchLogsExportConfiguration;
520 bool m_allowMajorVersionUpgrade{
false};
522 bool m_deletionProtection{
false};
526 ServerlessV2ScalingConfiguration m_serverlessV2ScalingConfiguration;
528 bool m_manageMasterUserPassword{
false};
532 bool m_rotateMasterUserPassword{
false};
535 bool m_dBClusterIdentifierHasBeenSet =
false;
536 bool m_newDBClusterIdentifierHasBeenSet =
false;
537 bool m_applyImmediatelyHasBeenSet =
false;
538 bool m_backupRetentionPeriodHasBeenSet =
false;
539 bool m_dBClusterParameterGroupNameHasBeenSet =
false;
540 bool m_vpcSecurityGroupIdsHasBeenSet =
false;
541 bool m_portHasBeenSet =
false;
542 bool m_masterUserPasswordHasBeenSet =
false;
543 bool m_preferredBackupWindowHasBeenSet =
false;
544 bool m_preferredMaintenanceWindowHasBeenSet =
false;
545 bool m_cloudwatchLogsExportConfigurationHasBeenSet =
false;
546 bool m_engineVersionHasBeenSet =
false;
547 bool m_allowMajorVersionUpgradeHasBeenSet =
false;
548 bool m_deletionProtectionHasBeenSet =
false;
549 bool m_storageTypeHasBeenSet =
false;
550 bool m_serverlessV2ScalingConfigurationHasBeenSet =
false;
551 bool m_manageMasterUserPasswordHasBeenSet =
false;
552 bool m_masterUserSecretKmsKeyIdHasBeenSet =
false;
553 bool m_rotateMasterUserPasswordHasBeenSet =
false;
554 bool m_networkTypeHasBeenSet =
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
ModifyDBClusterRequest & WithNetworkType(NetworkTypeT &&value)
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
const Aws::String & GetNetworkType() 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)
void SetNetworkType(NetworkTypeT &&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 NetworkTypeHasBeenSet() const
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