/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace Neptune { namespace Model { /** */ class ModifyDBClusterRequest : public NeptuneRequest { public: AWS_NEPTUNE_API ModifyDBClusterRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ModifyDBCluster"; } AWS_NEPTUNE_API Aws::String SerializePayload() const override; protected: AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

The DB cluster identifier for the cluster being modified. This parameter is * not case-sensitive.

Constraints:

  • Must match the * identifier of an existing DBCluster.

*/ inline const Aws::String& GetDBClusterIdentifier() const{ return m_dBClusterIdentifier; } /** *

The DB cluster identifier for the cluster being modified. This parameter is * not case-sensitive.

Constraints:

  • Must match the * identifier of an existing DBCluster.

*/ inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; } /** *

The DB cluster identifier for the cluster being modified. This parameter is * not case-sensitive.

Constraints:

  • Must match the * identifier of an existing DBCluster.

*/ inline void SetDBClusterIdentifier(const Aws::String& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = value; } /** *

The DB cluster identifier for the cluster being modified. This parameter is * not case-sensitive.

Constraints:

  • Must match the * identifier of an existing DBCluster.

*/ inline void SetDBClusterIdentifier(Aws::String&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::move(value); } /** *

The DB cluster identifier for the cluster being modified. This parameter is * not case-sensitive.

Constraints:

  • Must match the * identifier of an existing DBCluster.

*/ inline void SetDBClusterIdentifier(const char* value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier.assign(value); } /** *

The DB cluster identifier for the cluster being modified. This parameter is * not case-sensitive.

Constraints:

  • Must match the * identifier of an existing DBCluster.

*/ inline ModifyDBClusterRequest& WithDBClusterIdentifier(const Aws::String& value) { SetDBClusterIdentifier(value); return *this;} /** *

The DB cluster identifier for the cluster being modified. This parameter is * not case-sensitive.

Constraints:

  • Must match the * identifier of an existing DBCluster.

*/ inline ModifyDBClusterRequest& WithDBClusterIdentifier(Aws::String&& value) { SetDBClusterIdentifier(std::move(value)); return *this;} /** *

The DB cluster identifier for the cluster being modified. This parameter is * not case-sensitive.

Constraints:

  • Must match the * identifier of an existing DBCluster.

*/ inline ModifyDBClusterRequest& WithDBClusterIdentifier(const char* value) { SetDBClusterIdentifier(value); return *this;} /** *

The new DB cluster identifier for the DB cluster when renaming a DB cluster. * This value is stored as a lowercase string.

Constraints:

  • *

    Must contain from 1 to 63 letters, numbers, or hyphens

  • The * first character must be a letter

  • Cannot end with a hyphen or * contain two consecutive hyphens

Example: * my-cluster2

*/ inline const Aws::String& GetNewDBClusterIdentifier() const{ return m_newDBClusterIdentifier; } /** *

The new DB cluster identifier for the DB cluster when renaming a DB cluster. * This value is stored as a lowercase string.

Constraints:

  • *

    Must contain from 1 to 63 letters, numbers, or hyphens

  • The * first character must be a letter

  • Cannot end with a hyphen or * contain two consecutive hyphens

Example: * my-cluster2

*/ inline bool NewDBClusterIdentifierHasBeenSet() const { return m_newDBClusterIdentifierHasBeenSet; } /** *

The new DB cluster identifier for the DB cluster when renaming a DB cluster. * This value is stored as a lowercase string.

Constraints:

  • *

    Must contain from 1 to 63 letters, numbers, or hyphens

  • The * first character must be a letter

  • Cannot end with a hyphen or * contain two consecutive hyphens

Example: * my-cluster2

*/ inline void SetNewDBClusterIdentifier(const Aws::String& value) { m_newDBClusterIdentifierHasBeenSet = true; m_newDBClusterIdentifier = value; } /** *

The new DB cluster identifier for the DB cluster when renaming a DB cluster. * This value is stored as a lowercase string.

Constraints:

  • *

    Must contain from 1 to 63 letters, numbers, or hyphens

  • The * first character must be a letter

  • Cannot end with a hyphen or * contain two consecutive hyphens

Example: * my-cluster2

*/ inline void SetNewDBClusterIdentifier(Aws::String&& value) { m_newDBClusterIdentifierHasBeenSet = true; m_newDBClusterIdentifier = std::move(value); } /** *

The new DB cluster identifier for the DB cluster when renaming a DB cluster. * This value is stored as a lowercase string.

Constraints:

  • *

    Must contain from 1 to 63 letters, numbers, or hyphens

  • The * first character must be a letter

  • Cannot end with a hyphen or * contain two consecutive hyphens

Example: * my-cluster2

*/ inline void SetNewDBClusterIdentifier(const char* value) { m_newDBClusterIdentifierHasBeenSet = true; m_newDBClusterIdentifier.assign(value); } /** *

The new DB cluster identifier for the DB cluster when renaming a DB cluster. * This value is stored as a lowercase string.

Constraints:

  • *

    Must contain from 1 to 63 letters, numbers, or hyphens

  • The * first character must be a letter

  • Cannot end with a hyphen or * contain two consecutive hyphens

Example: * my-cluster2

*/ inline ModifyDBClusterRequest& WithNewDBClusterIdentifier(const Aws::String& value) { SetNewDBClusterIdentifier(value); return *this;} /** *

The new DB cluster identifier for the DB cluster when renaming a DB cluster. * This value is stored as a lowercase string.

Constraints:

  • *

    Must contain from 1 to 63 letters, numbers, or hyphens

  • The * first character must be a letter

  • Cannot end with a hyphen or * contain two consecutive hyphens

Example: * my-cluster2

*/ inline ModifyDBClusterRequest& WithNewDBClusterIdentifier(Aws::String&& value) { SetNewDBClusterIdentifier(std::move(value)); return *this;} /** *

The new DB cluster identifier for the DB cluster when renaming a DB cluster. * This value is stored as a lowercase string.

Constraints:

  • *

    Must contain from 1 to 63 letters, numbers, or hyphens

  • The * first character must be a letter

  • Cannot end with a hyphen or * contain two consecutive hyphens

Example: * my-cluster2

*/ inline ModifyDBClusterRequest& WithNewDBClusterIdentifier(const char* value) { SetNewDBClusterIdentifier(value); return *this;} /** *

A value that specifies whether the modifications in this request and any * pending modifications are asynchronously applied as soon as possible, regardless * of the PreferredMaintenanceWindow setting for the DB cluster. If * this parameter is set to false, changes to the DB cluster are * applied during the next maintenance window.

The * ApplyImmediately parameter only affects * NewDBClusterIdentifier values. If you set the * ApplyImmediately parameter value to false, then changes to * NewDBClusterIdentifier values are applied during the next * maintenance window. All other changes are applied immediately, regardless of the * value of the ApplyImmediately parameter.

Default: * false

*/ inline bool GetApplyImmediately() const{ return m_applyImmediately; } /** *

A value that specifies whether the modifications in this request and any * pending modifications are asynchronously applied as soon as possible, regardless * of the PreferredMaintenanceWindow setting for the DB cluster. If * this parameter is set to false, changes to the DB cluster are * applied during the next maintenance window.

The * ApplyImmediately parameter only affects * NewDBClusterIdentifier values. If you set the * ApplyImmediately parameter value to false, then changes to * NewDBClusterIdentifier values are applied during the next * maintenance window. All other changes are applied immediately, regardless of the * value of the ApplyImmediately parameter.

Default: * false

*/ inline bool ApplyImmediatelyHasBeenSet() const { return m_applyImmediatelyHasBeenSet; } /** *

A value that specifies whether the modifications in this request and any * pending modifications are asynchronously applied as soon as possible, regardless * of the PreferredMaintenanceWindow setting for the DB cluster. If * this parameter is set to false, changes to the DB cluster are * applied during the next maintenance window.

The * ApplyImmediately parameter only affects * NewDBClusterIdentifier values. If you set the * ApplyImmediately parameter value to false, then changes to * NewDBClusterIdentifier values are applied during the next * maintenance window. All other changes are applied immediately, regardless of the * value of the ApplyImmediately parameter.

Default: * false

*/ inline void SetApplyImmediately(bool value) { m_applyImmediatelyHasBeenSet = true; m_applyImmediately = value; } /** *

A value that specifies whether the modifications in this request and any * pending modifications are asynchronously applied as soon as possible, regardless * of the PreferredMaintenanceWindow setting for the DB cluster. If * this parameter is set to false, changes to the DB cluster are * applied during the next maintenance window.

The * ApplyImmediately parameter only affects * NewDBClusterIdentifier values. If you set the * ApplyImmediately parameter value to false, then changes to * NewDBClusterIdentifier values are applied during the next * maintenance window. All other changes are applied immediately, regardless of the * value of the ApplyImmediately parameter.

Default: * false

*/ inline ModifyDBClusterRequest& WithApplyImmediately(bool value) { SetApplyImmediately(value); return *this;} /** *

The number of days for which automated backups are retained. You must specify * a minimum value of 1.

Default: 1

Constraints:

  • *

    Must be a value from 1 to 35

*/ inline int GetBackupRetentionPeriod() const{ return m_backupRetentionPeriod; } /** *

The number of days for which automated backups are retained. You must specify * a minimum value of 1.

Default: 1

Constraints:

  • *

    Must be a value from 1 to 35

*/ inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; } /** *

The number of days for which automated backups are retained. You must specify * a minimum value of 1.

Default: 1

Constraints:

  • *

    Must be a value from 1 to 35

*/ inline void SetBackupRetentionPeriod(int value) { m_backupRetentionPeriodHasBeenSet = true; m_backupRetentionPeriod = value; } /** *

The number of days for which automated backups are retained. You must specify * a minimum value of 1.

Default: 1

Constraints:

  • *

    Must be a value from 1 to 35

*/ inline ModifyDBClusterRequest& WithBackupRetentionPeriod(int value) { SetBackupRetentionPeriod(value); return *this;} /** *

The name of the DB cluster parameter group to use for the DB cluster.

*/ inline const Aws::String& GetDBClusterParameterGroupName() const{ return m_dBClusterParameterGroupName; } /** *

The name of the DB cluster parameter group to use for the DB cluster.

*/ inline bool DBClusterParameterGroupNameHasBeenSet() const { return m_dBClusterParameterGroupNameHasBeenSet; } /** *

The name of the DB cluster parameter group to use for the DB cluster.

*/ inline void SetDBClusterParameterGroupName(const Aws::String& value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName = value; } /** *

The name of the DB cluster parameter group to use for the DB cluster.

*/ inline void SetDBClusterParameterGroupName(Aws::String&& value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName = std::move(value); } /** *

The name of the DB cluster parameter group to use for the DB cluster.

*/ inline void SetDBClusterParameterGroupName(const char* value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName.assign(value); } /** *

The name of the DB cluster parameter group to use for the DB cluster.

*/ inline ModifyDBClusterRequest& WithDBClusterParameterGroupName(const Aws::String& value) { SetDBClusterParameterGroupName(value); return *this;} /** *

The name of the DB cluster parameter group to use for the DB cluster.

*/ inline ModifyDBClusterRequest& WithDBClusterParameterGroupName(Aws::String&& value) { SetDBClusterParameterGroupName(std::move(value)); return *this;} /** *

The name of the DB cluster parameter group to use for the DB cluster.

*/ inline ModifyDBClusterRequest& WithDBClusterParameterGroupName(const char* value) { SetDBClusterParameterGroupName(value); return *this;} /** *

A list of VPC security groups that the DB cluster will belong to.

*/ inline const Aws::Vector& GetVpcSecurityGroupIds() const{ return m_vpcSecurityGroupIds; } /** *

A list of VPC security groups that the DB cluster will belong to.

*/ inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; } /** *

A list of VPC security groups that the DB cluster will belong to.

*/ inline void SetVpcSecurityGroupIds(const Aws::Vector& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = value; } /** *

A list of VPC security groups that the DB cluster will belong to.

*/ inline void SetVpcSecurityGroupIds(Aws::Vector&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = std::move(value); } /** *

A list of VPC security groups that the DB cluster will belong to.

*/ inline ModifyDBClusterRequest& WithVpcSecurityGroupIds(const Aws::Vector& value) { SetVpcSecurityGroupIds(value); return *this;} /** *

A list of VPC security groups that the DB cluster will belong to.

*/ inline ModifyDBClusterRequest& WithVpcSecurityGroupIds(Aws::Vector&& value) { SetVpcSecurityGroupIds(std::move(value)); return *this;} /** *

A list of VPC security groups that the DB cluster will belong to.

*/ inline ModifyDBClusterRequest& AddVpcSecurityGroupIds(const Aws::String& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; } /** *

A list of VPC security groups that the DB cluster will belong to.

*/ inline ModifyDBClusterRequest& AddVpcSecurityGroupIds(Aws::String&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(std::move(value)); return *this; } /** *

A list of VPC security groups that the DB cluster will belong to.

*/ inline ModifyDBClusterRequest& AddVpcSecurityGroupIds(const char* value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; } /** *

The port number on which the DB cluster accepts connections.

*

Constraints: Value must be 1150-65535

Default: The same * port as the original DB cluster.

*/ inline int GetPort() const{ return m_port; } /** *

The port number on which the DB cluster accepts connections.

*

Constraints: Value must be 1150-65535

Default: The same * port as the original DB cluster.

*/ inline bool PortHasBeenSet() const { return m_portHasBeenSet; } /** *

The port number on which the DB cluster accepts connections.

*

Constraints: Value must be 1150-65535

Default: The same * port as the original DB cluster.

*/ inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; } /** *

The port number on which the DB cluster accepts connections.

*

Constraints: Value must be 1150-65535

Default: The same * port as the original DB cluster.

*/ inline ModifyDBClusterRequest& WithPort(int value) { SetPort(value); return *this;} /** *

Not supported by Neptune.

*/ inline const Aws::String& GetMasterUserPassword() const{ return m_masterUserPassword; } /** *

Not supported by Neptune.

*/ inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; } /** *

Not supported by Neptune.

*/ inline void SetMasterUserPassword(const Aws::String& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = value; } /** *

Not supported by Neptune.

*/ inline void SetMasterUserPassword(Aws::String&& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = std::move(value); } /** *

Not supported by Neptune.

*/ inline void SetMasterUserPassword(const char* value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword.assign(value); } /** *

Not supported by Neptune.

*/ inline ModifyDBClusterRequest& WithMasterUserPassword(const Aws::String& value) { SetMasterUserPassword(value); return *this;} /** *

Not supported by Neptune.

*/ inline ModifyDBClusterRequest& WithMasterUserPassword(Aws::String&& value) { SetMasterUserPassword(std::move(value)); return *this;} /** *

Not supported by Neptune.

*/ inline ModifyDBClusterRequest& WithMasterUserPassword(const char* value) { SetMasterUserPassword(value); return *this;} /** *

Not supported by Neptune.

*/ inline const Aws::String& GetOptionGroupName() const{ return m_optionGroupName; } /** *

Not supported by Neptune.

*/ inline bool OptionGroupNameHasBeenSet() const { return m_optionGroupNameHasBeenSet; } /** *

Not supported by Neptune.

*/ inline void SetOptionGroupName(const Aws::String& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = value; } /** *

Not supported by Neptune.

*/ inline void SetOptionGroupName(Aws::String&& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = std::move(value); } /** *

Not supported by Neptune.

*/ inline void SetOptionGroupName(const char* value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName.assign(value); } /** *

Not supported by Neptune.

*/ inline ModifyDBClusterRequest& WithOptionGroupName(const Aws::String& value) { SetOptionGroupName(value); return *this;} /** *

Not supported by Neptune.

*/ inline ModifyDBClusterRequest& WithOptionGroupName(Aws::String&& value) { SetOptionGroupName(std::move(value)); return *this;} /** *

Not supported by Neptune.

*/ inline ModifyDBClusterRequest& WithOptionGroupName(const char* value) { SetOptionGroupName(value); return *this;} /** *

The daily time range during which automated backups are created if automated * backups are enabled, using the BackupRetentionPeriod parameter.

*

The default is a 30-minute window selected at random from an 8-hour block of * time for each Amazon Region.

Constraints:

  • Must be in the * format hh24:mi-hh24:mi.

  • Must be in Universal * Coordinated Time (UTC).

  • Must not conflict with the preferred * maintenance window.

  • Must be at least 30 minutes.

  • *
*/ inline const Aws::String& GetPreferredBackupWindow() const{ return m_preferredBackupWindow; } /** *

The daily time range during which automated backups are created if automated * backups are enabled, using the BackupRetentionPeriod parameter.

*

The default is a 30-minute window selected at random from an 8-hour block of * time for each Amazon Region.

Constraints:

  • Must be in the * format hh24:mi-hh24:mi.

  • Must be in Universal * Coordinated Time (UTC).

  • Must not conflict with the preferred * maintenance window.

  • Must be at least 30 minutes.

  • *
*/ inline bool PreferredBackupWindowHasBeenSet() const { return m_preferredBackupWindowHasBeenSet; } /** *

The daily time range during which automated backups are created if automated * backups are enabled, using the BackupRetentionPeriod parameter.

*

The default is a 30-minute window selected at random from an 8-hour block of * time for each Amazon Region.

Constraints:

  • Must be in the * format hh24:mi-hh24:mi.

  • Must be in Universal * Coordinated Time (UTC).

  • Must not conflict with the preferred * maintenance window.

  • Must be at least 30 minutes.

  • *
*/ inline void SetPreferredBackupWindow(const Aws::String& value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow = value; } /** *

The daily time range during which automated backups are created if automated * backups are enabled, using the BackupRetentionPeriod parameter.

*

The default is a 30-minute window selected at random from an 8-hour block of * time for each Amazon Region.

Constraints:

  • Must be in the * format hh24:mi-hh24:mi.

  • Must be in Universal * Coordinated Time (UTC).

  • Must not conflict with the preferred * maintenance window.

  • Must be at least 30 minutes.

  • *
*/ inline void SetPreferredBackupWindow(Aws::String&& value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow = std::move(value); } /** *

The daily time range during which automated backups are created if automated * backups are enabled, using the BackupRetentionPeriod parameter.

*

The default is a 30-minute window selected at random from an 8-hour block of * time for each Amazon Region.

Constraints:

  • Must be in the * format hh24:mi-hh24:mi.

  • Must be in Universal * Coordinated Time (UTC).

  • Must not conflict with the preferred * maintenance window.

  • Must be at least 30 minutes.

  • *
*/ inline void SetPreferredBackupWindow(const char* value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow.assign(value); } /** *

The daily time range during which automated backups are created if automated * backups are enabled, using the BackupRetentionPeriod parameter.

*

The default is a 30-minute window selected at random from an 8-hour block of * time for each Amazon Region.

Constraints:

  • Must be in the * format hh24:mi-hh24:mi.

  • Must be in Universal * Coordinated Time (UTC).

  • Must not conflict with the preferred * maintenance window.

  • Must be at least 30 minutes.

  • *
*/ inline ModifyDBClusterRequest& WithPreferredBackupWindow(const Aws::String& value) { SetPreferredBackupWindow(value); return *this;} /** *

The daily time range during which automated backups are created if automated * backups are enabled, using the BackupRetentionPeriod parameter.

*

The default is a 30-minute window selected at random from an 8-hour block of * time for each Amazon Region.

Constraints:

  • Must be in the * format hh24:mi-hh24:mi.

  • Must be in Universal * Coordinated Time (UTC).

  • Must not conflict with the preferred * maintenance window.

  • Must be at least 30 minutes.

  • *
*/ inline ModifyDBClusterRequest& WithPreferredBackupWindow(Aws::String&& value) { SetPreferredBackupWindow(std::move(value)); return *this;} /** *

The daily time range during which automated backups are created if automated * backups are enabled, using the BackupRetentionPeriod parameter.

*

The default is a 30-minute window selected at random from an 8-hour block of * time for each Amazon Region.

Constraints:

  • Must be in the * format hh24:mi-hh24:mi.

  • Must be in Universal * Coordinated Time (UTC).

  • Must not conflict with the preferred * maintenance window.

  • Must be at least 30 minutes.

  • *
*/ inline ModifyDBClusterRequest& WithPreferredBackupWindow(const char* value) { SetPreferredBackupWindow(value); return *this;} /** *

The weekly time range during which system maintenance can occur, in Universal * Coordinated Time (UTC).

Format: ddd:hh24:mi-ddd:hh24:mi

*

The default is a 30-minute window selected at random from an 8-hour block of * time for each Amazon Region, occurring on a random day of the week.

Valid * Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.

Constraints: Minimum 30-minute * window.

*/ inline const Aws::String& GetPreferredMaintenanceWindow() const{ return m_preferredMaintenanceWindow; } /** *

The weekly time range during which system maintenance can occur, in Universal * Coordinated Time (UTC).

Format: ddd:hh24:mi-ddd:hh24:mi

*

The default is a 30-minute window selected at random from an 8-hour block of * time for each Amazon Region, occurring on a random day of the week.

Valid * Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.

Constraints: Minimum 30-minute * window.

*/ inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; } /** *

The weekly time range during which system maintenance can occur, in Universal * Coordinated Time (UTC).

Format: ddd:hh24:mi-ddd:hh24:mi

*

The default is a 30-minute window selected at random from an 8-hour block of * time for each Amazon Region, occurring on a random day of the week.

Valid * Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.

Constraints: Minimum 30-minute * window.

*/ inline void SetPreferredMaintenanceWindow(const Aws::String& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = value; } /** *

The weekly time range during which system maintenance can occur, in Universal * Coordinated Time (UTC).

Format: ddd:hh24:mi-ddd:hh24:mi

*

The default is a 30-minute window selected at random from an 8-hour block of * time for each Amazon Region, occurring on a random day of the week.

Valid * Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.

Constraints: Minimum 30-minute * window.

*/ inline void SetPreferredMaintenanceWindow(Aws::String&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = std::move(value); } /** *

The weekly time range during which system maintenance can occur, in Universal * Coordinated Time (UTC).

Format: ddd:hh24:mi-ddd:hh24:mi

*

The default is a 30-minute window selected at random from an 8-hour block of * time for each Amazon Region, occurring on a random day of the week.

Valid * Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.

Constraints: Minimum 30-minute * window.

*/ inline void SetPreferredMaintenanceWindow(const char* value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow.assign(value); } /** *

The weekly time range during which system maintenance can occur, in Universal * Coordinated Time (UTC).

Format: ddd:hh24:mi-ddd:hh24:mi

*

The default is a 30-minute window selected at random from an 8-hour block of * time for each Amazon Region, occurring on a random day of the week.

Valid * Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.

Constraints: Minimum 30-minute * window.

*/ inline ModifyDBClusterRequest& WithPreferredMaintenanceWindow(const Aws::String& value) { SetPreferredMaintenanceWindow(value); return *this;} /** *

The weekly time range during which system maintenance can occur, in Universal * Coordinated Time (UTC).

Format: ddd:hh24:mi-ddd:hh24:mi

*

The default is a 30-minute window selected at random from an 8-hour block of * time for each Amazon Region, occurring on a random day of the week.

Valid * Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.

Constraints: Minimum 30-minute * window.

*/ inline ModifyDBClusterRequest& WithPreferredMaintenanceWindow(Aws::String&& value) { SetPreferredMaintenanceWindow(std::move(value)); return *this;} /** *

The weekly time range during which system maintenance can occur, in Universal * Coordinated Time (UTC).

Format: ddd:hh24:mi-ddd:hh24:mi

*

The default is a 30-minute window selected at random from an 8-hour block of * time for each Amazon Region, occurring on a random day of the week.

Valid * Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.

Constraints: Minimum 30-minute * window.

*/ inline ModifyDBClusterRequest& WithPreferredMaintenanceWindow(const char* value) { SetPreferredMaintenanceWindow(value); return *this;} /** *

True to enable mapping of Amazon Identity and Access Management (IAM) * accounts to database accounts, and otherwise false.

Default: * false

*/ inline bool GetEnableIAMDatabaseAuthentication() const{ return m_enableIAMDatabaseAuthentication; } /** *

True to enable mapping of Amazon Identity and Access Management (IAM) * accounts to database accounts, and otherwise false.

Default: * false

*/ inline bool EnableIAMDatabaseAuthenticationHasBeenSet() const { return m_enableIAMDatabaseAuthenticationHasBeenSet; } /** *

True to enable mapping of Amazon Identity and Access Management (IAM) * accounts to database accounts, and otherwise false.

Default: * false

*/ inline void SetEnableIAMDatabaseAuthentication(bool value) { m_enableIAMDatabaseAuthenticationHasBeenSet = true; m_enableIAMDatabaseAuthentication = value; } /** *

True to enable mapping of Amazon Identity and Access Management (IAM) * accounts to database accounts, and otherwise false.

Default: * false

*/ inline ModifyDBClusterRequest& WithEnableIAMDatabaseAuthentication(bool value) { SetEnableIAMDatabaseAuthentication(value); return *this;} /** *

The configuration setting for the log types to be enabled for export to * CloudWatch Logs for a specific DB cluster.

*/ inline const CloudwatchLogsExportConfiguration& GetCloudwatchLogsExportConfiguration() const{ return m_cloudwatchLogsExportConfiguration; } /** *

The configuration setting for the log types to be enabled for export to * CloudWatch Logs for a specific DB cluster.

*/ inline bool CloudwatchLogsExportConfigurationHasBeenSet() const { return m_cloudwatchLogsExportConfigurationHasBeenSet; } /** *

The configuration setting for the log types to be enabled for export to * CloudWatch Logs for a specific DB cluster.

*/ inline void SetCloudwatchLogsExportConfiguration(const CloudwatchLogsExportConfiguration& value) { m_cloudwatchLogsExportConfigurationHasBeenSet = true; m_cloudwatchLogsExportConfiguration = value; } /** *

The configuration setting for the log types to be enabled for export to * CloudWatch Logs for a specific DB cluster.

*/ inline void SetCloudwatchLogsExportConfiguration(CloudwatchLogsExportConfiguration&& value) { m_cloudwatchLogsExportConfigurationHasBeenSet = true; m_cloudwatchLogsExportConfiguration = std::move(value); } /** *

The configuration setting for the log types to be enabled for export to * CloudWatch Logs for a specific DB cluster.

*/ inline ModifyDBClusterRequest& WithCloudwatchLogsExportConfiguration(const CloudwatchLogsExportConfiguration& value) { SetCloudwatchLogsExportConfiguration(value); return *this;} /** *

The configuration setting for the log types to be enabled for export to * CloudWatch Logs for a specific DB cluster.

*/ inline ModifyDBClusterRequest& WithCloudwatchLogsExportConfiguration(CloudwatchLogsExportConfiguration&& value) { SetCloudwatchLogsExportConfiguration(std::move(value)); return *this;} /** *

The version number of the database engine to which you want to upgrade. * Changing this parameter results in an outage. The change is applied during the * next maintenance window unless the ApplyImmediately parameter is * set to true.

For a list of valid engine versions, see Engine * Releases for Amazon Neptune, or call DescribeDBEngineVersions.

*/ inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; } /** *

The version number of the database engine to which you want to upgrade. * Changing this parameter results in an outage. The change is applied during the * next maintenance window unless the ApplyImmediately parameter is * set to true.

For a list of valid engine versions, see Engine * Releases for Amazon Neptune, or call DescribeDBEngineVersions.

*/ inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; } /** *

The version number of the database engine to which you want to upgrade. * Changing this parameter results in an outage. The change is applied during the * next maintenance window unless the ApplyImmediately parameter is * set to true.

For a list of valid engine versions, see Engine * Releases for Amazon Neptune, or call DescribeDBEngineVersions.

*/ inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; } /** *

The version number of the database engine to which you want to upgrade. * Changing this parameter results in an outage. The change is applied during the * next maintenance window unless the ApplyImmediately parameter is * set to true.

For a list of valid engine versions, see Engine * Releases for Amazon Neptune, or call DescribeDBEngineVersions.

*/ inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); } /** *

The version number of the database engine to which you want to upgrade. * Changing this parameter results in an outage. The change is applied during the * next maintenance window unless the ApplyImmediately parameter is * set to true.

For a list of valid engine versions, see Engine * Releases for Amazon Neptune, or call DescribeDBEngineVersions.

*/ inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); } /** *

The version number of the database engine to which you want to upgrade. * Changing this parameter results in an outage. The change is applied during the * next maintenance window unless the ApplyImmediately parameter is * set to true.

For a list of valid engine versions, see Engine * Releases for Amazon Neptune, or call DescribeDBEngineVersions.

*/ inline ModifyDBClusterRequest& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;} /** *

The version number of the database engine to which you want to upgrade. * Changing this parameter results in an outage. The change is applied during the * next maintenance window unless the ApplyImmediately parameter is * set to true.

For a list of valid engine versions, see Engine * Releases for Amazon Neptune, or call DescribeDBEngineVersions.

*/ inline ModifyDBClusterRequest& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;} /** *

The version number of the database engine to which you want to upgrade. * Changing this parameter results in an outage. The change is applied during the * next maintenance window unless the ApplyImmediately parameter is * set to true.

For a list of valid engine versions, see Engine * Releases for Amazon Neptune, or call DescribeDBEngineVersions.

*/ inline ModifyDBClusterRequest& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;} /** *

A value that indicates whether upgrades between different major versions are * allowed.

Constraints: You must set the allow-major-version-upgrade flag * when providing an EngineVersion parameter that uses a different * major version than the DB cluster's current version.

*/ inline bool GetAllowMajorVersionUpgrade() const{ return m_allowMajorVersionUpgrade; } /** *

A value that indicates whether upgrades between different major versions are * allowed.

Constraints: You must set the allow-major-version-upgrade flag * when providing an EngineVersion parameter that uses a different * major version than the DB cluster's current version.

*/ inline bool AllowMajorVersionUpgradeHasBeenSet() const { return m_allowMajorVersionUpgradeHasBeenSet; } /** *

A value that indicates whether upgrades between different major versions are * allowed.

Constraints: You must set the allow-major-version-upgrade flag * when providing an EngineVersion parameter that uses a different * major version than the DB cluster's current version.

*/ inline void SetAllowMajorVersionUpgrade(bool value) { m_allowMajorVersionUpgradeHasBeenSet = true; m_allowMajorVersionUpgrade = value; } /** *

A value that indicates whether upgrades between different major versions are * allowed.

Constraints: You must set the allow-major-version-upgrade flag * when providing an EngineVersion parameter that uses a different * major version than the DB cluster's current version.

*/ inline ModifyDBClusterRequest& WithAllowMajorVersionUpgrade(bool value) { SetAllowMajorVersionUpgrade(value); return *this;} /** *

The name of the DB parameter group to apply to all instances of the DB * cluster.

When you apply a parameter group using * DBInstanceParameterGroupName, parameter changes aren't applied * during the next maintenance window but instead are applied immediately.

*

Default: The existing name setting

Constraints:

  • *

    The DB parameter group must be in the same DB parameter group family as the * target DB cluster version.

  • The * DBInstanceParameterGroupName parameter is only valid in combination * with the AllowMajorVersionUpgrade parameter.

*/ inline const Aws::String& GetDBInstanceParameterGroupName() const{ return m_dBInstanceParameterGroupName; } /** *

The name of the DB parameter group to apply to all instances of the DB * cluster.

When you apply a parameter group using * DBInstanceParameterGroupName, parameter changes aren't applied * during the next maintenance window but instead are applied immediately.

*

Default: The existing name setting

Constraints:

  • *

    The DB parameter group must be in the same DB parameter group family as the * target DB cluster version.

  • The * DBInstanceParameterGroupName parameter is only valid in combination * with the AllowMajorVersionUpgrade parameter.

*/ inline bool DBInstanceParameterGroupNameHasBeenSet() const { return m_dBInstanceParameterGroupNameHasBeenSet; } /** *

The name of the DB parameter group to apply to all instances of the DB * cluster.

When you apply a parameter group using * DBInstanceParameterGroupName, parameter changes aren't applied * during the next maintenance window but instead are applied immediately.

*

Default: The existing name setting

Constraints:

  • *

    The DB parameter group must be in the same DB parameter group family as the * target DB cluster version.

  • The * DBInstanceParameterGroupName parameter is only valid in combination * with the AllowMajorVersionUpgrade parameter.

*/ inline void SetDBInstanceParameterGroupName(const Aws::String& value) { m_dBInstanceParameterGroupNameHasBeenSet = true; m_dBInstanceParameterGroupName = value; } /** *

The name of the DB parameter group to apply to all instances of the DB * cluster.

When you apply a parameter group using * DBInstanceParameterGroupName, parameter changes aren't applied * during the next maintenance window but instead are applied immediately.

*

Default: The existing name setting

Constraints:

  • *

    The DB parameter group must be in the same DB parameter group family as the * target DB cluster version.

  • The * DBInstanceParameterGroupName parameter is only valid in combination * with the AllowMajorVersionUpgrade parameter.

*/ inline void SetDBInstanceParameterGroupName(Aws::String&& value) { m_dBInstanceParameterGroupNameHasBeenSet = true; m_dBInstanceParameterGroupName = std::move(value); } /** *

The name of the DB parameter group to apply to all instances of the DB * cluster.

When you apply a parameter group using * DBInstanceParameterGroupName, parameter changes aren't applied * during the next maintenance window but instead are applied immediately.

*

Default: The existing name setting

Constraints:

  • *

    The DB parameter group must be in the same DB parameter group family as the * target DB cluster version.

  • The * DBInstanceParameterGroupName parameter is only valid in combination * with the AllowMajorVersionUpgrade parameter.

*/ inline void SetDBInstanceParameterGroupName(const char* value) { m_dBInstanceParameterGroupNameHasBeenSet = true; m_dBInstanceParameterGroupName.assign(value); } /** *

The name of the DB parameter group to apply to all instances of the DB * cluster.

When you apply a parameter group using * DBInstanceParameterGroupName, parameter changes aren't applied * during the next maintenance window but instead are applied immediately.

*

Default: The existing name setting

Constraints:

  • *

    The DB parameter group must be in the same DB parameter group family as the * target DB cluster version.

  • The * DBInstanceParameterGroupName parameter is only valid in combination * with the AllowMajorVersionUpgrade parameter.

*/ inline ModifyDBClusterRequest& WithDBInstanceParameterGroupName(const Aws::String& value) { SetDBInstanceParameterGroupName(value); return *this;} /** *

The name of the DB parameter group to apply to all instances of the DB * cluster.

When you apply a parameter group using * DBInstanceParameterGroupName, parameter changes aren't applied * during the next maintenance window but instead are applied immediately.

*

Default: The existing name setting

Constraints:

  • *

    The DB parameter group must be in the same DB parameter group family as the * target DB cluster version.

  • The * DBInstanceParameterGroupName parameter is only valid in combination * with the AllowMajorVersionUpgrade parameter.

*/ inline ModifyDBClusterRequest& WithDBInstanceParameterGroupName(Aws::String&& value) { SetDBInstanceParameterGroupName(std::move(value)); return *this;} /** *

The name of the DB parameter group to apply to all instances of the DB * cluster.

When you apply a parameter group using * DBInstanceParameterGroupName, parameter changes aren't applied * during the next maintenance window but instead are applied immediately.

*

Default: The existing name setting

Constraints:

  • *

    The DB parameter group must be in the same DB parameter group family as the * target DB cluster version.

  • The * DBInstanceParameterGroupName parameter is only valid in combination * with the AllowMajorVersionUpgrade parameter.

*/ inline ModifyDBClusterRequest& WithDBInstanceParameterGroupName(const char* value) { SetDBInstanceParameterGroupName(value); return *this;} /** *

A value that indicates whether the DB cluster has deletion protection * enabled. The database can't be deleted when deletion protection is enabled. By * default, deletion protection is disabled.

*/ inline bool GetDeletionProtection() const{ return m_deletionProtection; } /** *

A value that indicates whether the DB cluster has deletion protection * enabled. The database can't be deleted when deletion protection is enabled. By * default, deletion protection is disabled.

*/ inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; } /** *

A value that indicates whether the DB cluster has deletion protection * enabled. The database can't be deleted when deletion protection is enabled. By * default, deletion protection is disabled.

*/ inline void SetDeletionProtection(bool value) { m_deletionProtectionHasBeenSet = true; m_deletionProtection = value; } /** *

A value that indicates whether the DB cluster has deletion protection * enabled. The database can't be deleted when deletion protection is enabled. By * default, deletion protection is disabled.

*/ inline ModifyDBClusterRequest& WithDeletionProtection(bool value) { SetDeletionProtection(value); return *this;} /** *

If set to true, tags are copied to any snapshot of the DB * cluster that is created.

*/ inline bool GetCopyTagsToSnapshot() const{ return m_copyTagsToSnapshot; } /** *

If set to true, tags are copied to any snapshot of the DB * cluster that is created.

*/ inline bool CopyTagsToSnapshotHasBeenSet() const { return m_copyTagsToSnapshotHasBeenSet; } /** *

If set to true, tags are copied to any snapshot of the DB * cluster that is created.

*/ inline void SetCopyTagsToSnapshot(bool value) { m_copyTagsToSnapshotHasBeenSet = true; m_copyTagsToSnapshot = value; } /** *

If set to true, tags are copied to any snapshot of the DB * cluster that is created.

*/ inline ModifyDBClusterRequest& WithCopyTagsToSnapshot(bool value) { SetCopyTagsToSnapshot(value); return *this;} inline const ServerlessV2ScalingConfiguration& GetServerlessV2ScalingConfiguration() const{ return m_serverlessV2ScalingConfiguration; } inline bool ServerlessV2ScalingConfigurationHasBeenSet() const { return m_serverlessV2ScalingConfigurationHasBeenSet; } inline void SetServerlessV2ScalingConfiguration(const ServerlessV2ScalingConfiguration& value) { m_serverlessV2ScalingConfigurationHasBeenSet = true; m_serverlessV2ScalingConfiguration = value; } inline void SetServerlessV2ScalingConfiguration(ServerlessV2ScalingConfiguration&& value) { m_serverlessV2ScalingConfigurationHasBeenSet = true; m_serverlessV2ScalingConfiguration = std::move(value); } inline ModifyDBClusterRequest& WithServerlessV2ScalingConfiguration(const ServerlessV2ScalingConfiguration& value) { SetServerlessV2ScalingConfiguration(value); return *this;} inline ModifyDBClusterRequest& WithServerlessV2ScalingConfiguration(ServerlessV2ScalingConfiguration&& value) { SetServerlessV2ScalingConfiguration(std::move(value)); return *this;} private: Aws::String m_dBClusterIdentifier; bool m_dBClusterIdentifierHasBeenSet = false; Aws::String m_newDBClusterIdentifier; bool m_newDBClusterIdentifierHasBeenSet = false; bool m_applyImmediately; bool m_applyImmediatelyHasBeenSet = false; int m_backupRetentionPeriod; bool m_backupRetentionPeriodHasBeenSet = false; Aws::String m_dBClusterParameterGroupName; bool m_dBClusterParameterGroupNameHasBeenSet = false; Aws::Vector m_vpcSecurityGroupIds; bool m_vpcSecurityGroupIdsHasBeenSet = false; int m_port; bool m_portHasBeenSet = false; Aws::String m_masterUserPassword; bool m_masterUserPasswordHasBeenSet = false; Aws::String m_optionGroupName; bool m_optionGroupNameHasBeenSet = false; Aws::String m_preferredBackupWindow; bool m_preferredBackupWindowHasBeenSet = false; Aws::String m_preferredMaintenanceWindow; bool m_preferredMaintenanceWindowHasBeenSet = false; bool m_enableIAMDatabaseAuthentication; bool m_enableIAMDatabaseAuthenticationHasBeenSet = false; CloudwatchLogsExportConfiguration m_cloudwatchLogsExportConfiguration; bool m_cloudwatchLogsExportConfigurationHasBeenSet = false; Aws::String m_engineVersion; bool m_engineVersionHasBeenSet = false; bool m_allowMajorVersionUpgrade; bool m_allowMajorVersionUpgradeHasBeenSet = false; Aws::String m_dBInstanceParameterGroupName; bool m_dBInstanceParameterGroupNameHasBeenSet = false; bool m_deletionProtection; bool m_deletionProtectionHasBeenSet = false; bool m_copyTagsToSnapshot; bool m_copyTagsToSnapshotHasBeenSet = false; ServerlessV2ScalingConfiguration m_serverlessV2ScalingConfiguration; bool m_serverlessV2ScalingConfigurationHasBeenSet = false; }; } // namespace Model } // namespace Neptune } // namespace Aws