/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Neptune { namespace Model { /** */ class ModifyDBInstanceRequest : public NeptuneRequest { public: AWS_NEPTUNE_API ModifyDBInstanceRequest(); // 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 "ModifyDBInstance"; } AWS_NEPTUNE_API Aws::String SerializePayload() const override; protected: AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

The DB instance identifier. This value is stored as a lowercase string.

*

Constraints:

  • Must match the identifier of an existing * DBInstance.

*/ inline const Aws::String& GetDBInstanceIdentifier() const{ return m_dBInstanceIdentifier; } /** *

The DB instance identifier. This value is stored as a lowercase string.

*

Constraints:

  • Must match the identifier of an existing * DBInstance.

*/ inline bool DBInstanceIdentifierHasBeenSet() const { return m_dBInstanceIdentifierHasBeenSet; } /** *

The DB instance identifier. This value is stored as a lowercase string.

*

Constraints:

  • Must match the identifier of an existing * DBInstance.

*/ inline void SetDBInstanceIdentifier(const Aws::String& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = value; } /** *

The DB instance identifier. This value is stored as a lowercase string.

*

Constraints:

  • Must match the identifier of an existing * DBInstance.

*/ inline void SetDBInstanceIdentifier(Aws::String&& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = std::move(value); } /** *

The DB instance identifier. This value is stored as a lowercase string.

*

Constraints:

  • Must match the identifier of an existing * DBInstance.

*/ inline void SetDBInstanceIdentifier(const char* value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier.assign(value); } /** *

The DB instance identifier. This value is stored as a lowercase string.

*

Constraints:

  • Must match the identifier of an existing * DBInstance.

*/ inline ModifyDBInstanceRequest& WithDBInstanceIdentifier(const Aws::String& value) { SetDBInstanceIdentifier(value); return *this;} /** *

The DB instance identifier. This value is stored as a lowercase string.

*

Constraints:

  • Must match the identifier of an existing * DBInstance.

*/ inline ModifyDBInstanceRequest& WithDBInstanceIdentifier(Aws::String&& value) { SetDBInstanceIdentifier(std::move(value)); return *this;} /** *

The DB instance identifier. This value is stored as a lowercase string.

*

Constraints:

  • Must match the identifier of an existing * DBInstance.

*/ inline ModifyDBInstanceRequest& WithDBInstanceIdentifier(const char* value) { SetDBInstanceIdentifier(value); return *this;} /** *

Not supported by Neptune.

*/ inline int GetAllocatedStorage() const{ return m_allocatedStorage; } /** *

Not supported by Neptune.

*/ inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; } /** *

Not supported by Neptune.

*/ inline void SetAllocatedStorage(int value) { m_allocatedStorageHasBeenSet = true; m_allocatedStorage = value; } /** *

Not supported by Neptune.

*/ inline ModifyDBInstanceRequest& WithAllocatedStorage(int value) { SetAllocatedStorage(value); return *this;} /** *

The new compute and memory capacity of the DB instance, for example, * db.m4.large. Not all DB instance classes are available in all * Amazon Regions.

If you modify the DB instance class, an outage occurs * during the change. The change is applied during the next maintenance window, * unless ApplyImmediately is specified as true for this * request.

Default: Uses existing setting

*/ inline const Aws::String& GetDBInstanceClass() const{ return m_dBInstanceClass; } /** *

The new compute and memory capacity of the DB instance, for example, * db.m4.large. Not all DB instance classes are available in all * Amazon Regions.

If you modify the DB instance class, an outage occurs * during the change. The change is applied during the next maintenance window, * unless ApplyImmediately is specified as true for this * request.

Default: Uses existing setting

*/ inline bool DBInstanceClassHasBeenSet() const { return m_dBInstanceClassHasBeenSet; } /** *

The new compute and memory capacity of the DB instance, for example, * db.m4.large. Not all DB instance classes are available in all * Amazon Regions.

If you modify the DB instance class, an outage occurs * during the change. The change is applied during the next maintenance window, * unless ApplyImmediately is specified as true for this * request.

Default: Uses existing setting

*/ inline void SetDBInstanceClass(const Aws::String& value) { m_dBInstanceClassHasBeenSet = true; m_dBInstanceClass = value; } /** *

The new compute and memory capacity of the DB instance, for example, * db.m4.large. Not all DB instance classes are available in all * Amazon Regions.

If you modify the DB instance class, an outage occurs * during the change. The change is applied during the next maintenance window, * unless ApplyImmediately is specified as true for this * request.

Default: Uses existing setting

*/ inline void SetDBInstanceClass(Aws::String&& value) { m_dBInstanceClassHasBeenSet = true; m_dBInstanceClass = std::move(value); } /** *

The new compute and memory capacity of the DB instance, for example, * db.m4.large. Not all DB instance classes are available in all * Amazon Regions.

If you modify the DB instance class, an outage occurs * during the change. The change is applied during the next maintenance window, * unless ApplyImmediately is specified as true for this * request.

Default: Uses existing setting

*/ inline void SetDBInstanceClass(const char* value) { m_dBInstanceClassHasBeenSet = true; m_dBInstanceClass.assign(value); } /** *

The new compute and memory capacity of the DB instance, for example, * db.m4.large. Not all DB instance classes are available in all * Amazon Regions.

If you modify the DB instance class, an outage occurs * during the change. The change is applied during the next maintenance window, * unless ApplyImmediately is specified as true for this * request.

Default: Uses existing setting

*/ inline ModifyDBInstanceRequest& WithDBInstanceClass(const Aws::String& value) { SetDBInstanceClass(value); return *this;} /** *

The new compute and memory capacity of the DB instance, for example, * db.m4.large. Not all DB instance classes are available in all * Amazon Regions.

If you modify the DB instance class, an outage occurs * during the change. The change is applied during the next maintenance window, * unless ApplyImmediately is specified as true for this * request.

Default: Uses existing setting

*/ inline ModifyDBInstanceRequest& WithDBInstanceClass(Aws::String&& value) { SetDBInstanceClass(std::move(value)); return *this;} /** *

The new compute and memory capacity of the DB instance, for example, * db.m4.large. Not all DB instance classes are available in all * Amazon Regions.

If you modify the DB instance class, an outage occurs * during the change. The change is applied during the next maintenance window, * unless ApplyImmediately is specified as true for this * request.

Default: Uses existing setting

*/ inline ModifyDBInstanceRequest& WithDBInstanceClass(const char* value) { SetDBInstanceClass(value); return *this;} /** *

The new DB subnet group for the DB instance. You can use this parameter to * move your DB instance to a different VPC.

Changing the subnet group * causes an outage during the change. The change is applied during the next * maintenance window, unless you specify true for the * ApplyImmediately parameter.

Constraints: If supplied, must * match the name of an existing DBSubnetGroup.

Example: * mySubnetGroup

*/ inline const Aws::String& GetDBSubnetGroupName() const{ return m_dBSubnetGroupName; } /** *

The new DB subnet group for the DB instance. You can use this parameter to * move your DB instance to a different VPC.

Changing the subnet group * causes an outage during the change. The change is applied during the next * maintenance window, unless you specify true for the * ApplyImmediately parameter.

Constraints: If supplied, must * match the name of an existing DBSubnetGroup.

Example: * mySubnetGroup

*/ inline bool DBSubnetGroupNameHasBeenSet() const { return m_dBSubnetGroupNameHasBeenSet; } /** *

The new DB subnet group for the DB instance. You can use this parameter to * move your DB instance to a different VPC.

Changing the subnet group * causes an outage during the change. The change is applied during the next * maintenance window, unless you specify true for the * ApplyImmediately parameter.

Constraints: If supplied, must * match the name of an existing DBSubnetGroup.

Example: * mySubnetGroup

*/ inline void SetDBSubnetGroupName(const Aws::String& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = value; } /** *

The new DB subnet group for the DB instance. You can use this parameter to * move your DB instance to a different VPC.

Changing the subnet group * causes an outage during the change. The change is applied during the next * maintenance window, unless you specify true for the * ApplyImmediately parameter.

Constraints: If supplied, must * match the name of an existing DBSubnetGroup.

Example: * mySubnetGroup

*/ inline void SetDBSubnetGroupName(Aws::String&& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = std::move(value); } /** *

The new DB subnet group for the DB instance. You can use this parameter to * move your DB instance to a different VPC.

Changing the subnet group * causes an outage during the change. The change is applied during the next * maintenance window, unless you specify true for the * ApplyImmediately parameter.

Constraints: If supplied, must * match the name of an existing DBSubnetGroup.

Example: * mySubnetGroup

*/ inline void SetDBSubnetGroupName(const char* value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName.assign(value); } /** *

The new DB subnet group for the DB instance. You can use this parameter to * move your DB instance to a different VPC.

Changing the subnet group * causes an outage during the change. The change is applied during the next * maintenance window, unless you specify true for the * ApplyImmediately parameter.

Constraints: If supplied, must * match the name of an existing DBSubnetGroup.

Example: * mySubnetGroup

*/ inline ModifyDBInstanceRequest& WithDBSubnetGroupName(const Aws::String& value) { SetDBSubnetGroupName(value); return *this;} /** *

The new DB subnet group for the DB instance. You can use this parameter to * move your DB instance to a different VPC.

Changing the subnet group * causes an outage during the change. The change is applied during the next * maintenance window, unless you specify true for the * ApplyImmediately parameter.

Constraints: If supplied, must * match the name of an existing DBSubnetGroup.

Example: * mySubnetGroup

*/ inline ModifyDBInstanceRequest& WithDBSubnetGroupName(Aws::String&& value) { SetDBSubnetGroupName(std::move(value)); return *this;} /** *

The new DB subnet group for the DB instance. You can use this parameter to * move your DB instance to a different VPC.

Changing the subnet group * causes an outage during the change. The change is applied during the next * maintenance window, unless you specify true for the * ApplyImmediately parameter.

Constraints: If supplied, must * match the name of an existing DBSubnetGroup.

Example: * mySubnetGroup

*/ inline ModifyDBInstanceRequest& WithDBSubnetGroupName(const char* value) { SetDBSubnetGroupName(value); return *this;} /** *

A list of DB security groups to authorize on this DB instance. Changing this * setting doesn't result in an outage and the change is asynchronously applied as * soon as possible.

Constraints:

  • If supplied, must match * existing DBSecurityGroups.

*/ inline const Aws::Vector& GetDBSecurityGroups() const{ return m_dBSecurityGroups; } /** *

A list of DB security groups to authorize on this DB instance. Changing this * setting doesn't result in an outage and the change is asynchronously applied as * soon as possible.

Constraints:

  • If supplied, must match * existing DBSecurityGroups.

*/ inline bool DBSecurityGroupsHasBeenSet() const { return m_dBSecurityGroupsHasBeenSet; } /** *

A list of DB security groups to authorize on this DB instance. Changing this * setting doesn't result in an outage and the change is asynchronously applied as * soon as possible.

Constraints:

  • If supplied, must match * existing DBSecurityGroups.

*/ inline void SetDBSecurityGroups(const Aws::Vector& value) { m_dBSecurityGroupsHasBeenSet = true; m_dBSecurityGroups = value; } /** *

A list of DB security groups to authorize on this DB instance. Changing this * setting doesn't result in an outage and the change is asynchronously applied as * soon as possible.

Constraints:

  • If supplied, must match * existing DBSecurityGroups.

*/ inline void SetDBSecurityGroups(Aws::Vector&& value) { m_dBSecurityGroupsHasBeenSet = true; m_dBSecurityGroups = std::move(value); } /** *

A list of DB security groups to authorize on this DB instance. Changing this * setting doesn't result in an outage and the change is asynchronously applied as * soon as possible.

Constraints:

  • If supplied, must match * existing DBSecurityGroups.

*/ inline ModifyDBInstanceRequest& WithDBSecurityGroups(const Aws::Vector& value) { SetDBSecurityGroups(value); return *this;} /** *

A list of DB security groups to authorize on this DB instance. Changing this * setting doesn't result in an outage and the change is asynchronously applied as * soon as possible.

Constraints:

  • If supplied, must match * existing DBSecurityGroups.

*/ inline ModifyDBInstanceRequest& WithDBSecurityGroups(Aws::Vector&& value) { SetDBSecurityGroups(std::move(value)); return *this;} /** *

A list of DB security groups to authorize on this DB instance. Changing this * setting doesn't result in an outage and the change is asynchronously applied as * soon as possible.

Constraints:

  • If supplied, must match * existing DBSecurityGroups.

*/ inline ModifyDBInstanceRequest& AddDBSecurityGroups(const Aws::String& value) { m_dBSecurityGroupsHasBeenSet = true; m_dBSecurityGroups.push_back(value); return *this; } /** *

A list of DB security groups to authorize on this DB instance. Changing this * setting doesn't result in an outage and the change is asynchronously applied as * soon as possible.

Constraints:

  • If supplied, must match * existing DBSecurityGroups.

*/ inline ModifyDBInstanceRequest& AddDBSecurityGroups(Aws::String&& value) { m_dBSecurityGroupsHasBeenSet = true; m_dBSecurityGroups.push_back(std::move(value)); return *this; } /** *

A list of DB security groups to authorize on this DB instance. Changing this * setting doesn't result in an outage and the change is asynchronously applied as * soon as possible.

Constraints:

  • If supplied, must match * existing DBSecurityGroups.

*/ inline ModifyDBInstanceRequest& AddDBSecurityGroups(const char* value) { m_dBSecurityGroupsHasBeenSet = true; m_dBSecurityGroups.push_back(value); return *this; } /** *

A list of EC2 VPC security groups to authorize on this DB instance. This * change is asynchronously applied as soon as possible.

Not applicable. The * associated list of EC2 VPC security groups is managed by the DB cluster. For * more information, see ModifyDBCluster.

Constraints:

  • *

    If supplied, must match existing VpcSecurityGroupIds.

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

A list of EC2 VPC security groups to authorize on this DB instance. This * change is asynchronously applied as soon as possible.

Not applicable. The * associated list of EC2 VPC security groups is managed by the DB cluster. For * more information, see ModifyDBCluster.

Constraints:

  • *

    If supplied, must match existing VpcSecurityGroupIds.

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

A list of EC2 VPC security groups to authorize on this DB instance. This * change is asynchronously applied as soon as possible.

Not applicable. The * associated list of EC2 VPC security groups is managed by the DB cluster. For * more information, see ModifyDBCluster.

Constraints:

  • *

    If supplied, must match existing VpcSecurityGroupIds.

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

A list of EC2 VPC security groups to authorize on this DB instance. This * change is asynchronously applied as soon as possible.

Not applicable. The * associated list of EC2 VPC security groups is managed by the DB cluster. For * more information, see ModifyDBCluster.

Constraints:

  • *

    If supplied, must match existing VpcSecurityGroupIds.

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

A list of EC2 VPC security groups to authorize on this DB instance. This * change is asynchronously applied as soon as possible.

Not applicable. The * associated list of EC2 VPC security groups is managed by the DB cluster. For * more information, see ModifyDBCluster.

Constraints:

  • *

    If supplied, must match existing VpcSecurityGroupIds.

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

A list of EC2 VPC security groups to authorize on this DB instance. This * change is asynchronously applied as soon as possible.

Not applicable. The * associated list of EC2 VPC security groups is managed by the DB cluster. For * more information, see ModifyDBCluster.

Constraints:

  • *

    If supplied, must match existing VpcSecurityGroupIds.

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

A list of EC2 VPC security groups to authorize on this DB instance. This * change is asynchronously applied as soon as possible.

Not applicable. The * associated list of EC2 VPC security groups is managed by the DB cluster. For * more information, see ModifyDBCluster.

Constraints:

  • *

    If supplied, must match existing VpcSecurityGroupIds.

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

A list of EC2 VPC security groups to authorize on this DB instance. This * change is asynchronously applied as soon as possible.

Not applicable. The * associated list of EC2 VPC security groups is managed by the DB cluster. For * more information, see ModifyDBCluster.

Constraints:

  • *

    If supplied, must match existing VpcSecurityGroupIds.

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

A list of EC2 VPC security groups to authorize on this DB instance. This * change is asynchronously applied as soon as possible.

Not applicable. The * associated list of EC2 VPC security groups is managed by the DB cluster. For * more information, see ModifyDBCluster.

Constraints:

  • *

    If supplied, must match existing VpcSecurityGroupIds.

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

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 instance.

If * this parameter is set to false, changes to the DB instance are * applied during the next maintenance window. Some parameter changes can cause an * outage and are applied on the next call to RebootDBInstance, or the next * failure reboot.

Default: false

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

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 instance.

If * this parameter is set to false, changes to the DB instance are * applied during the next maintenance window. Some parameter changes can cause an * outage and are applied on the next call to RebootDBInstance, or the next * failure reboot.

Default: false

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

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 instance.

If * this parameter is set to false, changes to the DB instance are * applied during the next maintenance window. Some parameter changes can cause an * outage and are applied on the next call to RebootDBInstance, or the next * failure reboot.

Default: false

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

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 instance.

If * this parameter is set to false, changes to the DB instance are * applied during the next maintenance window. Some parameter changes can cause an * outage and are applied on the next call to RebootDBInstance, or the next * failure reboot.

Default: false

*/ inline ModifyDBInstanceRequest& WithApplyImmediately(bool value) { SetApplyImmediately(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 ModifyDBInstanceRequest& WithMasterUserPassword(const Aws::String& value) { SetMasterUserPassword(value); return *this;} /** *

Not supported by Neptune.

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

Not supported by Neptune.

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

The name of the DB parameter group to apply to the DB instance. Changing this * setting doesn't result in an outage. The parameter group name itself is changed * immediately, but the actual parameter changes are not applied until you reboot * the instance without failover. The db instance will NOT be rebooted * automatically and the parameter changes will NOT be applied during the next * maintenance window.

Default: Uses existing setting

Constraints: * The DB parameter group must be in the same DB parameter group family as this DB * instance.

*/ inline const Aws::String& GetDBParameterGroupName() const{ return m_dBParameterGroupName; } /** *

The name of the DB parameter group to apply to the DB instance. Changing this * setting doesn't result in an outage. The parameter group name itself is changed * immediately, but the actual parameter changes are not applied until you reboot * the instance without failover. The db instance will NOT be rebooted * automatically and the parameter changes will NOT be applied during the next * maintenance window.

Default: Uses existing setting

Constraints: * The DB parameter group must be in the same DB parameter group family as this DB * instance.

*/ inline bool DBParameterGroupNameHasBeenSet() const { return m_dBParameterGroupNameHasBeenSet; } /** *

The name of the DB parameter group to apply to the DB instance. Changing this * setting doesn't result in an outage. The parameter group name itself is changed * immediately, but the actual parameter changes are not applied until you reboot * the instance without failover. The db instance will NOT be rebooted * automatically and the parameter changes will NOT be applied during the next * maintenance window.

Default: Uses existing setting

Constraints: * The DB parameter group must be in the same DB parameter group family as this DB * instance.

*/ inline void SetDBParameterGroupName(const Aws::String& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = value; } /** *

The name of the DB parameter group to apply to the DB instance. Changing this * setting doesn't result in an outage. The parameter group name itself is changed * immediately, but the actual parameter changes are not applied until you reboot * the instance without failover. The db instance will NOT be rebooted * automatically and the parameter changes will NOT be applied during the next * maintenance window.

Default: Uses existing setting

Constraints: * The DB parameter group must be in the same DB parameter group family as this DB * instance.

*/ inline void SetDBParameterGroupName(Aws::String&& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = std::move(value); } /** *

The name of the DB parameter group to apply to the DB instance. Changing this * setting doesn't result in an outage. The parameter group name itself is changed * immediately, but the actual parameter changes are not applied until you reboot * the instance without failover. The db instance will NOT be rebooted * automatically and the parameter changes will NOT be applied during the next * maintenance window.

Default: Uses existing setting

Constraints: * The DB parameter group must be in the same DB parameter group family as this DB * instance.

*/ inline void SetDBParameterGroupName(const char* value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName.assign(value); } /** *

The name of the DB parameter group to apply to the DB instance. Changing this * setting doesn't result in an outage. The parameter group name itself is changed * immediately, but the actual parameter changes are not applied until you reboot * the instance without failover. The db instance will NOT be rebooted * automatically and the parameter changes will NOT be applied during the next * maintenance window.

Default: Uses existing setting

Constraints: * The DB parameter group must be in the same DB parameter group family as this DB * instance.

*/ inline ModifyDBInstanceRequest& WithDBParameterGroupName(const Aws::String& value) { SetDBParameterGroupName(value); return *this;} /** *

The name of the DB parameter group to apply to the DB instance. Changing this * setting doesn't result in an outage. The parameter group name itself is changed * immediately, but the actual parameter changes are not applied until you reboot * the instance without failover. The db instance will NOT be rebooted * automatically and the parameter changes will NOT be applied during the next * maintenance window.

Default: Uses existing setting

Constraints: * The DB parameter group must be in the same DB parameter group family as this DB * instance.

*/ inline ModifyDBInstanceRequest& WithDBParameterGroupName(Aws::String&& value) { SetDBParameterGroupName(std::move(value)); return *this;} /** *

The name of the DB parameter group to apply to the DB instance. Changing this * setting doesn't result in an outage. The parameter group name itself is changed * immediately, but the actual parameter changes are not applied until you reboot * the instance without failover. The db instance will NOT be rebooted * automatically and the parameter changes will NOT be applied during the next * maintenance window.

Default: Uses existing setting

Constraints: * The DB parameter group must be in the same DB parameter group family as this DB * instance.

*/ inline ModifyDBInstanceRequest& WithDBParameterGroupName(const char* value) { SetDBParameterGroupName(value); return *this;} /** *

Not applicable. The retention period for automated backups is managed by the * DB cluster. For more information, see ModifyDBCluster.

Default: * Uses existing setting

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

Not applicable. The retention period for automated backups is managed by the * DB cluster. For more information, see ModifyDBCluster.

Default: * Uses existing setting

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

Not applicable. The retention period for automated backups is managed by the * DB cluster. For more information, see ModifyDBCluster.

Default: * Uses existing setting

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

Not applicable. The retention period for automated backups is managed by the * DB cluster. For more information, see ModifyDBCluster.

Default: * Uses existing setting

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

The daily time range during which automated backups are created if automated * backups are enabled.

Not applicable. The daily time range for creating * automated backups is managed by the DB cluster. For more information, see * ModifyDBCluster.

Constraints:

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

  • Must be in Universal Time Coordinated * (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.

Not applicable. The daily time range for creating * automated backups is managed by the DB cluster. For more information, see * ModifyDBCluster.

Constraints:

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

  • Must be in Universal Time Coordinated * (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.

Not applicable. The daily time range for creating * automated backups is managed by the DB cluster. For more information, see * ModifyDBCluster.

Constraints:

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

  • Must be in Universal Time Coordinated * (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.

Not applicable. The daily time range for creating * automated backups is managed by the DB cluster. For more information, see * ModifyDBCluster.

Constraints:

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

  • Must be in Universal Time Coordinated * (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.

Not applicable. The daily time range for creating * automated backups is managed by the DB cluster. For more information, see * ModifyDBCluster.

Constraints:

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

  • Must be in Universal Time Coordinated * (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.

Not applicable. The daily time range for creating * automated backups is managed by the DB cluster. For more information, see * ModifyDBCluster.

Constraints:

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

  • Must be in Universal Time Coordinated * (UTC)

  • Must not conflict with the preferred maintenance * window

  • Must be at least 30 minutes

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

The daily time range during which automated backups are created if automated * backups are enabled.

Not applicable. The daily time range for creating * automated backups is managed by the DB cluster. For more information, see * ModifyDBCluster.

Constraints:

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

  • Must be in Universal Time Coordinated * (UTC)

  • Must not conflict with the preferred maintenance * window

  • Must be at least 30 minutes

*/ inline ModifyDBInstanceRequest& 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.

Not applicable. The daily time range for creating * automated backups is managed by the DB cluster. For more information, see * ModifyDBCluster.

Constraints:

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

  • Must be in Universal Time Coordinated * (UTC)

  • Must not conflict with the preferred maintenance * window

  • Must be at least 30 minutes

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

The weekly time range (in UTC) during which system maintenance can occur, * which might result in an outage. Changing this parameter doesn't result in an * outage, except in the following situation, and the change is asynchronously * applied as soon as possible. If there are pending actions that cause a reboot, * and the maintenance window is changed to include the current time, then changing * this parameter will cause a reboot of the DB instance. If moving this window to * the current time, there must be at least 30 minutes between the current time and * end of the window to ensure pending changes are applied.

Default: Uses * existing setting

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

Valid Days: Mon | * Tue | Wed | Thu | Fri | Sat | Sun

Constraints: Must be at least 30 * minutes

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

The weekly time range (in UTC) during which system maintenance can occur, * which might result in an outage. Changing this parameter doesn't result in an * outage, except in the following situation, and the change is asynchronously * applied as soon as possible. If there are pending actions that cause a reboot, * and the maintenance window is changed to include the current time, then changing * this parameter will cause a reboot of the DB instance. If moving this window to * the current time, there must be at least 30 minutes between the current time and * end of the window to ensure pending changes are applied.

Default: Uses * existing setting

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

Valid Days: Mon | * Tue | Wed | Thu | Fri | Sat | Sun

Constraints: Must be at least 30 * minutes

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

The weekly time range (in UTC) during which system maintenance can occur, * which might result in an outage. Changing this parameter doesn't result in an * outage, except in the following situation, and the change is asynchronously * applied as soon as possible. If there are pending actions that cause a reboot, * and the maintenance window is changed to include the current time, then changing * this parameter will cause a reboot of the DB instance. If moving this window to * the current time, there must be at least 30 minutes between the current time and * end of the window to ensure pending changes are applied.

Default: Uses * existing setting

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

Valid Days: Mon | * Tue | Wed | Thu | Fri | Sat | Sun

Constraints: Must be at least 30 * minutes

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

The weekly time range (in UTC) during which system maintenance can occur, * which might result in an outage. Changing this parameter doesn't result in an * outage, except in the following situation, and the change is asynchronously * applied as soon as possible. If there are pending actions that cause a reboot, * and the maintenance window is changed to include the current time, then changing * this parameter will cause a reboot of the DB instance. If moving this window to * the current time, there must be at least 30 minutes between the current time and * end of the window to ensure pending changes are applied.

Default: Uses * existing setting

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

Valid Days: Mon | * Tue | Wed | Thu | Fri | Sat | Sun

Constraints: Must be at least 30 * minutes

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

The weekly time range (in UTC) during which system maintenance can occur, * which might result in an outage. Changing this parameter doesn't result in an * outage, except in the following situation, and the change is asynchronously * applied as soon as possible. If there are pending actions that cause a reboot, * and the maintenance window is changed to include the current time, then changing * this parameter will cause a reboot of the DB instance. If moving this window to * the current time, there must be at least 30 minutes between the current time and * end of the window to ensure pending changes are applied.

Default: Uses * existing setting

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

Valid Days: Mon | * Tue | Wed | Thu | Fri | Sat | Sun

Constraints: Must be at least 30 * minutes

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

The weekly time range (in UTC) during which system maintenance can occur, * which might result in an outage. Changing this parameter doesn't result in an * outage, except in the following situation, and the change is asynchronously * applied as soon as possible. If there are pending actions that cause a reboot, * and the maintenance window is changed to include the current time, then changing * this parameter will cause a reboot of the DB instance. If moving this window to * the current time, there must be at least 30 minutes between the current time and * end of the window to ensure pending changes are applied.

Default: Uses * existing setting

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

Valid Days: Mon | * Tue | Wed | Thu | Fri | Sat | Sun

Constraints: Must be at least 30 * minutes

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

The weekly time range (in UTC) during which system maintenance can occur, * which might result in an outage. Changing this parameter doesn't result in an * outage, except in the following situation, and the change is asynchronously * applied as soon as possible. If there are pending actions that cause a reboot, * and the maintenance window is changed to include the current time, then changing * this parameter will cause a reboot of the DB instance. If moving this window to * the current time, there must be at least 30 minutes between the current time and * end of the window to ensure pending changes are applied.

Default: Uses * existing setting

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

Valid Days: Mon | * Tue | Wed | Thu | Fri | Sat | Sun

Constraints: Must be at least 30 * minutes

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

The weekly time range (in UTC) during which system maintenance can occur, * which might result in an outage. Changing this parameter doesn't result in an * outage, except in the following situation, and the change is asynchronously * applied as soon as possible. If there are pending actions that cause a reboot, * and the maintenance window is changed to include the current time, then changing * this parameter will cause a reboot of the DB instance. If moving this window to * the current time, there must be at least 30 minutes between the current time and * end of the window to ensure pending changes are applied.

Default: Uses * existing setting

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

Valid Days: Mon | * Tue | Wed | Thu | Fri | Sat | Sun

Constraints: Must be at least 30 * minutes

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

Specifies if the DB instance is a Multi-AZ deployment. Changing this * parameter doesn't result in an outage and the change is applied during the next * maintenance window unless the ApplyImmediately parameter is set to * true for this request.

*/ inline bool GetMultiAZ() const{ return m_multiAZ; } /** *

Specifies if the DB instance is a Multi-AZ deployment. Changing this * parameter doesn't result in an outage and the change is applied during the next * maintenance window unless the ApplyImmediately parameter is set to * true for this request.

*/ inline bool MultiAZHasBeenSet() const { return m_multiAZHasBeenSet; } /** *

Specifies if the DB instance is a Multi-AZ deployment. Changing this * parameter doesn't result in an outage and the change is applied during the next * maintenance window unless the ApplyImmediately parameter is set to * true for this request.

*/ inline void SetMultiAZ(bool value) { m_multiAZHasBeenSet = true; m_multiAZ = value; } /** *

Specifies if the DB instance is a Multi-AZ deployment. Changing this * parameter doesn't result in an outage and the change is applied during the next * maintenance window unless the ApplyImmediately parameter is set to * true for this request.

*/ inline ModifyDBInstanceRequest& WithMultiAZ(bool value) { SetMultiAZ(value); return *this;} /** *

The version number of the database engine to upgrade to. Currently, setting * this parameter has no effect. To upgrade your database engine to the most recent * release, use the ApplyPendingMaintenanceAction API.

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

The version number of the database engine to upgrade to. Currently, setting * this parameter has no effect. To upgrade your database engine to the most recent * release, use the ApplyPendingMaintenanceAction API.

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

The version number of the database engine to upgrade to. Currently, setting * this parameter has no effect. To upgrade your database engine to the most recent * release, use the ApplyPendingMaintenanceAction API.

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

The version number of the database engine to upgrade to. Currently, setting * this parameter has no effect. To upgrade your database engine to the most recent * release, use the ApplyPendingMaintenanceAction API.

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

The version number of the database engine to upgrade to. Currently, setting * this parameter has no effect. To upgrade your database engine to the most recent * release, use the ApplyPendingMaintenanceAction API.

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

The version number of the database engine to upgrade to. Currently, setting * this parameter has no effect. To upgrade your database engine to the most recent * release, use the ApplyPendingMaintenanceAction API.

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

The version number of the database engine to upgrade to. Currently, setting * this parameter has no effect. To upgrade your database engine to the most recent * release, use the ApplyPendingMaintenanceAction API.

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

The version number of the database engine to upgrade to. Currently, setting * this parameter has no effect. To upgrade your database engine to the most recent * release, use the ApplyPendingMaintenanceAction API.

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

Indicates that major version upgrades are allowed. Changing this parameter * doesn't result in an outage and the change is asynchronously applied as soon as * possible.

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

Indicates that major version upgrades are allowed. Changing this parameter * doesn't result in an outage and the change is asynchronously applied as soon as * possible.

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

Indicates that major version upgrades are allowed. Changing this parameter * doesn't result in an outage and the change is asynchronously applied as soon as * possible.

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

Indicates that major version upgrades are allowed. Changing this parameter * doesn't result in an outage and the change is asynchronously applied as soon as * possible.

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

Indicates that minor version upgrades are applied automatically to the DB * instance during the maintenance window. Changing this parameter doesn't result * in an outage except in the following case and the change is asynchronously * applied as soon as possible. An outage will result if this parameter is set to * true during the maintenance window, and a newer minor version is * available, and Neptune has enabled auto patching for that engine version.

*/ inline bool GetAutoMinorVersionUpgrade() const{ return m_autoMinorVersionUpgrade; } /** *

Indicates that minor version upgrades are applied automatically to the DB * instance during the maintenance window. Changing this parameter doesn't result * in an outage except in the following case and the change is asynchronously * applied as soon as possible. An outage will result if this parameter is set to * true during the maintenance window, and a newer minor version is * available, and Neptune has enabled auto patching for that engine version.

*/ inline bool AutoMinorVersionUpgradeHasBeenSet() const { return m_autoMinorVersionUpgradeHasBeenSet; } /** *

Indicates that minor version upgrades are applied automatically to the DB * instance during the maintenance window. Changing this parameter doesn't result * in an outage except in the following case and the change is asynchronously * applied as soon as possible. An outage will result if this parameter is set to * true during the maintenance window, and a newer minor version is * available, and Neptune has enabled auto patching for that engine version.

*/ inline void SetAutoMinorVersionUpgrade(bool value) { m_autoMinorVersionUpgradeHasBeenSet = true; m_autoMinorVersionUpgrade = value; } /** *

Indicates that minor version upgrades are applied automatically to the DB * instance during the maintenance window. Changing this parameter doesn't result * in an outage except in the following case and the change is asynchronously * applied as soon as possible. An outage will result if this parameter is set to * true during the maintenance window, and a newer minor version is * available, and Neptune has enabled auto patching for that engine version.

*/ inline ModifyDBInstanceRequest& WithAutoMinorVersionUpgrade(bool value) { SetAutoMinorVersionUpgrade(value); return *this;} /** *

Not supported by Neptune.

*/ inline const Aws::String& GetLicenseModel() const{ return m_licenseModel; } /** *

Not supported by Neptune.

*/ inline bool LicenseModelHasBeenSet() const { return m_licenseModelHasBeenSet; } /** *

Not supported by Neptune.

*/ inline void SetLicenseModel(const Aws::String& value) { m_licenseModelHasBeenSet = true; m_licenseModel = value; } /** *

Not supported by Neptune.

*/ inline void SetLicenseModel(Aws::String&& value) { m_licenseModelHasBeenSet = true; m_licenseModel = std::move(value); } /** *

Not supported by Neptune.

*/ inline void SetLicenseModel(const char* value) { m_licenseModelHasBeenSet = true; m_licenseModel.assign(value); } /** *

Not supported by Neptune.

*/ inline ModifyDBInstanceRequest& WithLicenseModel(const Aws::String& value) { SetLicenseModel(value); return *this;} /** *

Not supported by Neptune.

*/ inline ModifyDBInstanceRequest& WithLicenseModel(Aws::String&& value) { SetLicenseModel(std::move(value)); return *this;} /** *

Not supported by Neptune.

*/ inline ModifyDBInstanceRequest& WithLicenseModel(const char* value) { SetLicenseModel(value); return *this;} /** *

The new Provisioned IOPS (I/O operations per second) value for the * instance.

Changing this setting doesn't result in an outage and the * change is applied during the next maintenance window unless the * ApplyImmediately parameter is set to true for this * request.

Default: Uses existing setting

*/ inline int GetIops() const{ return m_iops; } /** *

The new Provisioned IOPS (I/O operations per second) value for the * instance.

Changing this setting doesn't result in an outage and the * change is applied during the next maintenance window unless the * ApplyImmediately parameter is set to true for this * request.

Default: Uses existing setting

*/ inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; } /** *

The new Provisioned IOPS (I/O operations per second) value for the * instance.

Changing this setting doesn't result in an outage and the * change is applied during the next maintenance window unless the * ApplyImmediately parameter is set to true for this * request.

Default: Uses existing setting

*/ inline void SetIops(int value) { m_iopsHasBeenSet = true; m_iops = value; } /** *

The new Provisioned IOPS (I/O operations per second) value for the * instance.

Changing this setting doesn't result in an outage and the * change is applied during the next maintenance window unless the * ApplyImmediately parameter is set to true for this * request.

Default: Uses existing setting

*/ inline ModifyDBInstanceRequest& WithIops(int value) { SetIops(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 ModifyDBInstanceRequest& WithOptionGroupName(const Aws::String& value) { SetOptionGroupName(value); return *this;} /** *

(Not supported by Neptune)

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

(Not supported by Neptune)

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

The new DB instance identifier for the DB instance when renaming a DB * instance. When you change the DB instance identifier, an instance reboot will * occur immediately if you set Apply Immediately to true, or will * occur during the next maintenance window if Apply Immediately to * false. 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: * mydbinstance

*/ inline const Aws::String& GetNewDBInstanceIdentifier() const{ return m_newDBInstanceIdentifier; } /** *

The new DB instance identifier for the DB instance when renaming a DB * instance. When you change the DB instance identifier, an instance reboot will * occur immediately if you set Apply Immediately to true, or will * occur during the next maintenance window if Apply Immediately to * false. 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: * mydbinstance

*/ inline bool NewDBInstanceIdentifierHasBeenSet() const { return m_newDBInstanceIdentifierHasBeenSet; } /** *

The new DB instance identifier for the DB instance when renaming a DB * instance. When you change the DB instance identifier, an instance reboot will * occur immediately if you set Apply Immediately to true, or will * occur during the next maintenance window if Apply Immediately to * false. 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: * mydbinstance

*/ inline void SetNewDBInstanceIdentifier(const Aws::String& value) { m_newDBInstanceIdentifierHasBeenSet = true; m_newDBInstanceIdentifier = value; } /** *

The new DB instance identifier for the DB instance when renaming a DB * instance. When you change the DB instance identifier, an instance reboot will * occur immediately if you set Apply Immediately to true, or will * occur during the next maintenance window if Apply Immediately to * false. 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: * mydbinstance

*/ inline void SetNewDBInstanceIdentifier(Aws::String&& value) { m_newDBInstanceIdentifierHasBeenSet = true; m_newDBInstanceIdentifier = std::move(value); } /** *

The new DB instance identifier for the DB instance when renaming a DB * instance. When you change the DB instance identifier, an instance reboot will * occur immediately if you set Apply Immediately to true, or will * occur during the next maintenance window if Apply Immediately to * false. 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: * mydbinstance

*/ inline void SetNewDBInstanceIdentifier(const char* value) { m_newDBInstanceIdentifierHasBeenSet = true; m_newDBInstanceIdentifier.assign(value); } /** *

The new DB instance identifier for the DB instance when renaming a DB * instance. When you change the DB instance identifier, an instance reboot will * occur immediately if you set Apply Immediately to true, or will * occur during the next maintenance window if Apply Immediately to * false. 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: * mydbinstance

*/ inline ModifyDBInstanceRequest& WithNewDBInstanceIdentifier(const Aws::String& value) { SetNewDBInstanceIdentifier(value); return *this;} /** *

The new DB instance identifier for the DB instance when renaming a DB * instance. When you change the DB instance identifier, an instance reboot will * occur immediately if you set Apply Immediately to true, or will * occur during the next maintenance window if Apply Immediately to * false. 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: * mydbinstance

*/ inline ModifyDBInstanceRequest& WithNewDBInstanceIdentifier(Aws::String&& value) { SetNewDBInstanceIdentifier(std::move(value)); return *this;} /** *

The new DB instance identifier for the DB instance when renaming a DB * instance. When you change the DB instance identifier, an instance reboot will * occur immediately if you set Apply Immediately to true, or will * occur during the next maintenance window if Apply Immediately to * false. 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: * mydbinstance

*/ inline ModifyDBInstanceRequest& WithNewDBInstanceIdentifier(const char* value) { SetNewDBInstanceIdentifier(value); return *this;} /** *

Not supported.

*/ inline const Aws::String& GetStorageType() const{ return m_storageType; } /** *

Not supported.

*/ inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; } /** *

Not supported.

*/ inline void SetStorageType(const Aws::String& value) { m_storageTypeHasBeenSet = true; m_storageType = value; } /** *

Not supported.

*/ inline void SetStorageType(Aws::String&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::move(value); } /** *

Not supported.

*/ inline void SetStorageType(const char* value) { m_storageTypeHasBeenSet = true; m_storageType.assign(value); } /** *

Not supported.

*/ inline ModifyDBInstanceRequest& WithStorageType(const Aws::String& value) { SetStorageType(value); return *this;} /** *

Not supported.

*/ inline ModifyDBInstanceRequest& WithStorageType(Aws::String&& value) { SetStorageType(std::move(value)); return *this;} /** *

Not supported.

*/ inline ModifyDBInstanceRequest& WithStorageType(const char* value) { SetStorageType(value); return *this;} /** *

The ARN from the key store with which to associate the instance for TDE * encryption.

*/ inline const Aws::String& GetTdeCredentialArn() const{ return m_tdeCredentialArn; } /** *

The ARN from the key store with which to associate the instance for TDE * encryption.

*/ inline bool TdeCredentialArnHasBeenSet() const { return m_tdeCredentialArnHasBeenSet; } /** *

The ARN from the key store with which to associate the instance for TDE * encryption.

*/ inline void SetTdeCredentialArn(const Aws::String& value) { m_tdeCredentialArnHasBeenSet = true; m_tdeCredentialArn = value; } /** *

The ARN from the key store with which to associate the instance for TDE * encryption.

*/ inline void SetTdeCredentialArn(Aws::String&& value) { m_tdeCredentialArnHasBeenSet = true; m_tdeCredentialArn = std::move(value); } /** *

The ARN from the key store with which to associate the instance for TDE * encryption.

*/ inline void SetTdeCredentialArn(const char* value) { m_tdeCredentialArnHasBeenSet = true; m_tdeCredentialArn.assign(value); } /** *

The ARN from the key store with which to associate the instance for TDE * encryption.

*/ inline ModifyDBInstanceRequest& WithTdeCredentialArn(const Aws::String& value) { SetTdeCredentialArn(value); return *this;} /** *

The ARN from the key store with which to associate the instance for TDE * encryption.

*/ inline ModifyDBInstanceRequest& WithTdeCredentialArn(Aws::String&& value) { SetTdeCredentialArn(std::move(value)); return *this;} /** *

The ARN from the key store with which to associate the instance for TDE * encryption.

*/ inline ModifyDBInstanceRequest& WithTdeCredentialArn(const char* value) { SetTdeCredentialArn(value); return *this;} /** *

The password for the given ARN from the key store in order to access the * device.

*/ inline const Aws::String& GetTdeCredentialPassword() const{ return m_tdeCredentialPassword; } /** *

The password for the given ARN from the key store in order to access the * device.

*/ inline bool TdeCredentialPasswordHasBeenSet() const { return m_tdeCredentialPasswordHasBeenSet; } /** *

The password for the given ARN from the key store in order to access the * device.

*/ inline void SetTdeCredentialPassword(const Aws::String& value) { m_tdeCredentialPasswordHasBeenSet = true; m_tdeCredentialPassword = value; } /** *

The password for the given ARN from the key store in order to access the * device.

*/ inline void SetTdeCredentialPassword(Aws::String&& value) { m_tdeCredentialPasswordHasBeenSet = true; m_tdeCredentialPassword = std::move(value); } /** *

The password for the given ARN from the key store in order to access the * device.

*/ inline void SetTdeCredentialPassword(const char* value) { m_tdeCredentialPasswordHasBeenSet = true; m_tdeCredentialPassword.assign(value); } /** *

The password for the given ARN from the key store in order to access the * device.

*/ inline ModifyDBInstanceRequest& WithTdeCredentialPassword(const Aws::String& value) { SetTdeCredentialPassword(value); return *this;} /** *

The password for the given ARN from the key store in order to access the * device.

*/ inline ModifyDBInstanceRequest& WithTdeCredentialPassword(Aws::String&& value) { SetTdeCredentialPassword(std::move(value)); return *this;} /** *

The password for the given ARN from the key store in order to access the * device.

*/ inline ModifyDBInstanceRequest& WithTdeCredentialPassword(const char* value) { SetTdeCredentialPassword(value); return *this;} /** *

Indicates the certificate that needs to be associated with the instance.

*/ inline const Aws::String& GetCACertificateIdentifier() const{ return m_cACertificateIdentifier; } /** *

Indicates the certificate that needs to be associated with the instance.

*/ inline bool CACertificateIdentifierHasBeenSet() const { return m_cACertificateIdentifierHasBeenSet; } /** *

Indicates the certificate that needs to be associated with the instance.

*/ inline void SetCACertificateIdentifier(const Aws::String& value) { m_cACertificateIdentifierHasBeenSet = true; m_cACertificateIdentifier = value; } /** *

Indicates the certificate that needs to be associated with the instance.

*/ inline void SetCACertificateIdentifier(Aws::String&& value) { m_cACertificateIdentifierHasBeenSet = true; m_cACertificateIdentifier = std::move(value); } /** *

Indicates the certificate that needs to be associated with the instance.

*/ inline void SetCACertificateIdentifier(const char* value) { m_cACertificateIdentifierHasBeenSet = true; m_cACertificateIdentifier.assign(value); } /** *

Indicates the certificate that needs to be associated with the instance.

*/ inline ModifyDBInstanceRequest& WithCACertificateIdentifier(const Aws::String& value) { SetCACertificateIdentifier(value); return *this;} /** *

Indicates the certificate that needs to be associated with the instance.

*/ inline ModifyDBInstanceRequest& WithCACertificateIdentifier(Aws::String&& value) { SetCACertificateIdentifier(std::move(value)); return *this;} /** *

Indicates the certificate that needs to be associated with the instance.

*/ inline ModifyDBInstanceRequest& WithCACertificateIdentifier(const char* value) { SetCACertificateIdentifier(value); return *this;} /** *

Not supported.

*/ inline const Aws::String& GetDomain() const{ return m_domain; } /** *

Not supported.

*/ inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; } /** *

Not supported.

*/ inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; } /** *

Not supported.

*/ inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); } /** *

Not supported.

*/ inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); } /** *

Not supported.

*/ inline ModifyDBInstanceRequest& WithDomain(const Aws::String& value) { SetDomain(value); return *this;} /** *

Not supported.

*/ inline ModifyDBInstanceRequest& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;} /** *

Not supported.

*/ inline ModifyDBInstanceRequest& WithDomain(const char* value) { SetDomain(value); return *this;} /** *

True to copy all tags from the DB instance to snapshots of the DB instance, * and otherwise false. The default is false.

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

True to copy all tags from the DB instance to snapshots of the DB instance, * and otherwise false. The default is false.

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

True to copy all tags from the DB instance to snapshots of the DB instance, * and otherwise false. The default is false.

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

True to copy all tags from the DB instance to snapshots of the DB instance, * and otherwise false. The default is false.

*/ inline ModifyDBInstanceRequest& WithCopyTagsToSnapshot(bool value) { SetCopyTagsToSnapshot(value); return *this;} /** *

The interval, in seconds, between points when Enhanced Monitoring metrics are * collected for the DB instance. To disable collecting Enhanced Monitoring * metrics, specify 0. The default is 0.

If MonitoringRoleArn * is specified, then you must also set MonitoringInterval to a value * other than 0.

Valid Values: 0, 1, 5, 10, 15, 30, 60

*/ inline int GetMonitoringInterval() const{ return m_monitoringInterval; } /** *

The interval, in seconds, between points when Enhanced Monitoring metrics are * collected for the DB instance. To disable collecting Enhanced Monitoring * metrics, specify 0. The default is 0.

If MonitoringRoleArn * is specified, then you must also set MonitoringInterval to a value * other than 0.

Valid Values: 0, 1, 5, 10, 15, 30, 60

*/ inline bool MonitoringIntervalHasBeenSet() const { return m_monitoringIntervalHasBeenSet; } /** *

The interval, in seconds, between points when Enhanced Monitoring metrics are * collected for the DB instance. To disable collecting Enhanced Monitoring * metrics, specify 0. The default is 0.

If MonitoringRoleArn * is specified, then you must also set MonitoringInterval to a value * other than 0.

Valid Values: 0, 1, 5, 10, 15, 30, 60

*/ inline void SetMonitoringInterval(int value) { m_monitoringIntervalHasBeenSet = true; m_monitoringInterval = value; } /** *

The interval, in seconds, between points when Enhanced Monitoring metrics are * collected for the DB instance. To disable collecting Enhanced Monitoring * metrics, specify 0. The default is 0.

If MonitoringRoleArn * is specified, then you must also set MonitoringInterval to a value * other than 0.

Valid Values: 0, 1, 5, 10, 15, 30, 60

*/ inline ModifyDBInstanceRequest& WithMonitoringInterval(int value) { SetMonitoringInterval(value); return *this;} /** *

The port number on which the database accepts connections.

The value * of the DBPortNumber parameter must not match any of the port values * specified for options in the option group for the DB instance.

Your * database will restart when you change the DBPortNumber value * regardless of the value of the ApplyImmediately parameter.

* Default: 8182

*/ inline int GetDBPortNumber() const{ return m_dBPortNumber; } /** *

The port number on which the database accepts connections.

The value * of the DBPortNumber parameter must not match any of the port values * specified for options in the option group for the DB instance.

Your * database will restart when you change the DBPortNumber value * regardless of the value of the ApplyImmediately parameter.

* Default: 8182

*/ inline bool DBPortNumberHasBeenSet() const { return m_dBPortNumberHasBeenSet; } /** *

The port number on which the database accepts connections.

The value * of the DBPortNumber parameter must not match any of the port values * specified for options in the option group for the DB instance.

Your * database will restart when you change the DBPortNumber value * regardless of the value of the ApplyImmediately parameter.

* Default: 8182

*/ inline void SetDBPortNumber(int value) { m_dBPortNumberHasBeenSet = true; m_dBPortNumber = value; } /** *

The port number on which the database accepts connections.

The value * of the DBPortNumber parameter must not match any of the port values * specified for options in the option group for the DB instance.

Your * database will restart when you change the DBPortNumber value * regardless of the value of the ApplyImmediately parameter.

* Default: 8182

*/ inline ModifyDBInstanceRequest& WithDBPortNumber(int value) { SetDBPortNumber(value); return *this;} /** *

The ARN for the IAM role that permits Neptune to send enhanced monitoring * metrics to Amazon CloudWatch Logs. For example, * arn:aws:iam:123456789012:role/emaccess.

If * MonitoringInterval is set to a value other than 0, then you must * supply a MonitoringRoleArn value.

*/ inline const Aws::String& GetMonitoringRoleArn() const{ return m_monitoringRoleArn; } /** *

The ARN for the IAM role that permits Neptune to send enhanced monitoring * metrics to Amazon CloudWatch Logs. For example, * arn:aws:iam:123456789012:role/emaccess.

If * MonitoringInterval is set to a value other than 0, then you must * supply a MonitoringRoleArn value.

*/ inline bool MonitoringRoleArnHasBeenSet() const { return m_monitoringRoleArnHasBeenSet; } /** *

The ARN for the IAM role that permits Neptune to send enhanced monitoring * metrics to Amazon CloudWatch Logs. For example, * arn:aws:iam:123456789012:role/emaccess.

If * MonitoringInterval is set to a value other than 0, then you must * supply a MonitoringRoleArn value.

*/ inline void SetMonitoringRoleArn(const Aws::String& value) { m_monitoringRoleArnHasBeenSet = true; m_monitoringRoleArn = value; } /** *

The ARN for the IAM role that permits Neptune to send enhanced monitoring * metrics to Amazon CloudWatch Logs. For example, * arn:aws:iam:123456789012:role/emaccess.

If * MonitoringInterval is set to a value other than 0, then you must * supply a MonitoringRoleArn value.

*/ inline void SetMonitoringRoleArn(Aws::String&& value) { m_monitoringRoleArnHasBeenSet = true; m_monitoringRoleArn = std::move(value); } /** *

The ARN for the IAM role that permits Neptune to send enhanced monitoring * metrics to Amazon CloudWatch Logs. For example, * arn:aws:iam:123456789012:role/emaccess.

If * MonitoringInterval is set to a value other than 0, then you must * supply a MonitoringRoleArn value.

*/ inline void SetMonitoringRoleArn(const char* value) { m_monitoringRoleArnHasBeenSet = true; m_monitoringRoleArn.assign(value); } /** *

The ARN for the IAM role that permits Neptune to send enhanced monitoring * metrics to Amazon CloudWatch Logs. For example, * arn:aws:iam:123456789012:role/emaccess.

If * MonitoringInterval is set to a value other than 0, then you must * supply a MonitoringRoleArn value.

*/ inline ModifyDBInstanceRequest& WithMonitoringRoleArn(const Aws::String& value) { SetMonitoringRoleArn(value); return *this;} /** *

The ARN for the IAM role that permits Neptune to send enhanced monitoring * metrics to Amazon CloudWatch Logs. For example, * arn:aws:iam:123456789012:role/emaccess.

If * MonitoringInterval is set to a value other than 0, then you must * supply a MonitoringRoleArn value.

*/ inline ModifyDBInstanceRequest& WithMonitoringRoleArn(Aws::String&& value) { SetMonitoringRoleArn(std::move(value)); return *this;} /** *

The ARN for the IAM role that permits Neptune to send enhanced monitoring * metrics to Amazon CloudWatch Logs. For example, * arn:aws:iam:123456789012:role/emaccess.

If * MonitoringInterval is set to a value other than 0, then you must * supply a MonitoringRoleArn value.

*/ inline ModifyDBInstanceRequest& WithMonitoringRoleArn(const char* value) { SetMonitoringRoleArn(value); return *this;} /** *

Not supported

*/ inline const Aws::String& GetDomainIAMRoleName() const{ return m_domainIAMRoleName; } /** *

Not supported

*/ inline bool DomainIAMRoleNameHasBeenSet() const { return m_domainIAMRoleNameHasBeenSet; } /** *

Not supported

*/ inline void SetDomainIAMRoleName(const Aws::String& value) { m_domainIAMRoleNameHasBeenSet = true; m_domainIAMRoleName = value; } /** *

Not supported

*/ inline void SetDomainIAMRoleName(Aws::String&& value) { m_domainIAMRoleNameHasBeenSet = true; m_domainIAMRoleName = std::move(value); } /** *

Not supported

*/ inline void SetDomainIAMRoleName(const char* value) { m_domainIAMRoleNameHasBeenSet = true; m_domainIAMRoleName.assign(value); } /** *

Not supported

*/ inline ModifyDBInstanceRequest& WithDomainIAMRoleName(const Aws::String& value) { SetDomainIAMRoleName(value); return *this;} /** *

Not supported

*/ inline ModifyDBInstanceRequest& WithDomainIAMRoleName(Aws::String&& value) { SetDomainIAMRoleName(std::move(value)); return *this;} /** *

Not supported

*/ inline ModifyDBInstanceRequest& WithDomainIAMRoleName(const char* value) { SetDomainIAMRoleName(value); return *this;} /** *

A value that specifies the order in which a Read Replica is promoted to the * primary instance after a failure of the existing primary instance.

*

Default: 1

Valid Values: 0 - 15

*/ inline int GetPromotionTier() const{ return m_promotionTier; } /** *

A value that specifies the order in which a Read Replica is promoted to the * primary instance after a failure of the existing primary instance.

*

Default: 1

Valid Values: 0 - 15

*/ inline bool PromotionTierHasBeenSet() const { return m_promotionTierHasBeenSet; } /** *

A value that specifies the order in which a Read Replica is promoted to the * primary instance after a failure of the existing primary instance.

*

Default: 1

Valid Values: 0 - 15

*/ inline void SetPromotionTier(int value) { m_promotionTierHasBeenSet = true; m_promotionTier = value; } /** *

A value that specifies the order in which a Read Replica is promoted to the * primary instance after a failure of the existing primary instance.

*

Default: 1

Valid Values: 0 - 15

*/ inline ModifyDBInstanceRequest& WithPromotionTier(int value) { SetPromotionTier(value); return *this;} /** *

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

You can enable IAM * database authentication for the following database engines

Not * applicable. Mapping Amazon IAM accounts to database accounts is managed by the * DB cluster. For more information, see ModifyDBCluster.

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.

You can enable IAM * database authentication for the following database engines

Not * applicable. Mapping Amazon IAM accounts to database accounts is managed by the * DB cluster. For more information, see ModifyDBCluster.

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.

You can enable IAM * database authentication for the following database engines

Not * applicable. Mapping Amazon IAM accounts to database accounts is managed by the * DB cluster. For more information, see ModifyDBCluster.

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.

You can enable IAM * database authentication for the following database engines

Not * applicable. Mapping Amazon IAM accounts to database accounts is managed by the * DB cluster. For more information, see ModifyDBCluster.

Default: * false

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

(Not supported by Neptune)

*/ inline bool GetEnablePerformanceInsights() const{ return m_enablePerformanceInsights; } /** *

(Not supported by Neptune)

*/ inline bool EnablePerformanceInsightsHasBeenSet() const { return m_enablePerformanceInsightsHasBeenSet; } /** *

(Not supported by Neptune)

*/ inline void SetEnablePerformanceInsights(bool value) { m_enablePerformanceInsightsHasBeenSet = true; m_enablePerformanceInsights = value; } /** *

(Not supported by Neptune)

*/ inline ModifyDBInstanceRequest& WithEnablePerformanceInsights(bool value) { SetEnablePerformanceInsights(value); return *this;} /** *

(Not supported by Neptune)

*/ inline const Aws::String& GetPerformanceInsightsKMSKeyId() const{ return m_performanceInsightsKMSKeyId; } /** *

(Not supported by Neptune)

*/ inline bool PerformanceInsightsKMSKeyIdHasBeenSet() const { return m_performanceInsightsKMSKeyIdHasBeenSet; } /** *

(Not supported by Neptune)

*/ inline void SetPerformanceInsightsKMSKeyId(const Aws::String& value) { m_performanceInsightsKMSKeyIdHasBeenSet = true; m_performanceInsightsKMSKeyId = value; } /** *

(Not supported by Neptune)

*/ inline void SetPerformanceInsightsKMSKeyId(Aws::String&& value) { m_performanceInsightsKMSKeyIdHasBeenSet = true; m_performanceInsightsKMSKeyId = std::move(value); } /** *

(Not supported by Neptune)

*/ inline void SetPerformanceInsightsKMSKeyId(const char* value) { m_performanceInsightsKMSKeyIdHasBeenSet = true; m_performanceInsightsKMSKeyId.assign(value); } /** *

(Not supported by Neptune)

*/ inline ModifyDBInstanceRequest& WithPerformanceInsightsKMSKeyId(const Aws::String& value) { SetPerformanceInsightsKMSKeyId(value); return *this;} /** *

(Not supported by Neptune)

*/ inline ModifyDBInstanceRequest& WithPerformanceInsightsKMSKeyId(Aws::String&& value) { SetPerformanceInsightsKMSKeyId(std::move(value)); return *this;} /** *

(Not supported by Neptune)

*/ inline ModifyDBInstanceRequest& WithPerformanceInsightsKMSKeyId(const char* value) { SetPerformanceInsightsKMSKeyId(value); return *this;} /** *

The configuration setting for the log types to be enabled for export to * CloudWatch Logs for a specific DB instance or 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 instance or 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 instance or 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 instance or 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 instance or DB cluster.

*/ inline ModifyDBInstanceRequest& 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 instance or DB cluster.

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

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

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

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

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

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

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

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

*/ inline ModifyDBInstanceRequest& WithDeletionProtection(bool value) { SetDeletionProtection(value); return *this;} private: Aws::String m_dBInstanceIdentifier; bool m_dBInstanceIdentifierHasBeenSet = false; int m_allocatedStorage; bool m_allocatedStorageHasBeenSet = false; Aws::String m_dBInstanceClass; bool m_dBInstanceClassHasBeenSet = false; Aws::String m_dBSubnetGroupName; bool m_dBSubnetGroupNameHasBeenSet = false; Aws::Vector m_dBSecurityGroups; bool m_dBSecurityGroupsHasBeenSet = false; Aws::Vector m_vpcSecurityGroupIds; bool m_vpcSecurityGroupIdsHasBeenSet = false; bool m_applyImmediately; bool m_applyImmediatelyHasBeenSet = false; Aws::String m_masterUserPassword; bool m_masterUserPasswordHasBeenSet = false; Aws::String m_dBParameterGroupName; bool m_dBParameterGroupNameHasBeenSet = false; int m_backupRetentionPeriod; bool m_backupRetentionPeriodHasBeenSet = false; Aws::String m_preferredBackupWindow; bool m_preferredBackupWindowHasBeenSet = false; Aws::String m_preferredMaintenanceWindow; bool m_preferredMaintenanceWindowHasBeenSet = false; bool m_multiAZ; bool m_multiAZHasBeenSet = false; Aws::String m_engineVersion; bool m_engineVersionHasBeenSet = false; bool m_allowMajorVersionUpgrade; bool m_allowMajorVersionUpgradeHasBeenSet = false; bool m_autoMinorVersionUpgrade; bool m_autoMinorVersionUpgradeHasBeenSet = false; Aws::String m_licenseModel; bool m_licenseModelHasBeenSet = false; int m_iops; bool m_iopsHasBeenSet = false; Aws::String m_optionGroupName; bool m_optionGroupNameHasBeenSet = false; Aws::String m_newDBInstanceIdentifier; bool m_newDBInstanceIdentifierHasBeenSet = false; Aws::String m_storageType; bool m_storageTypeHasBeenSet = false; Aws::String m_tdeCredentialArn; bool m_tdeCredentialArnHasBeenSet = false; Aws::String m_tdeCredentialPassword; bool m_tdeCredentialPasswordHasBeenSet = false; Aws::String m_cACertificateIdentifier; bool m_cACertificateIdentifierHasBeenSet = false; Aws::String m_domain; bool m_domainHasBeenSet = false; bool m_copyTagsToSnapshot; bool m_copyTagsToSnapshotHasBeenSet = false; int m_monitoringInterval; bool m_monitoringIntervalHasBeenSet = false; int m_dBPortNumber; bool m_dBPortNumberHasBeenSet = false; Aws::String m_monitoringRoleArn; bool m_monitoringRoleArnHasBeenSet = false; Aws::String m_domainIAMRoleName; bool m_domainIAMRoleNameHasBeenSet = false; int m_promotionTier; bool m_promotionTierHasBeenSet = false; bool m_enableIAMDatabaseAuthentication; bool m_enableIAMDatabaseAuthenticationHasBeenSet = false; bool m_enablePerformanceInsights; bool m_enablePerformanceInsightsHasBeenSet = false; Aws::String m_performanceInsightsKMSKeyId; bool m_performanceInsightsKMSKeyIdHasBeenSet = false; CloudwatchLogsExportConfiguration m_cloudwatchLogsExportConfiguration; bool m_cloudwatchLogsExportConfigurationHasBeenSet = false; bool m_deletionProtection; bool m_deletionProtectionHasBeenSet = false; }; } // namespace Model } // namespace Neptune } // namespace Aws