/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace DatabaseMigrationService { namespace Model { /** *

See Also:

AWS * API Reference

*/ class ModifyReplicationInstanceRequest : public DatabaseMigrationServiceRequest { public: AWS_DATABASEMIGRATIONSERVICE_API ModifyReplicationInstanceRequest(); // 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 "ModifyReplicationInstance"; } AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override; AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The Amazon Resource Name (ARN) of the replication instance.

*/ inline const Aws::String& GetReplicationInstanceArn() const{ return m_replicationInstanceArn; } /** *

The Amazon Resource Name (ARN) of the replication instance.

*/ inline bool ReplicationInstanceArnHasBeenSet() const { return m_replicationInstanceArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the replication instance.

*/ inline void SetReplicationInstanceArn(const Aws::String& value) { m_replicationInstanceArnHasBeenSet = true; m_replicationInstanceArn = value; } /** *

The Amazon Resource Name (ARN) of the replication instance.

*/ inline void SetReplicationInstanceArn(Aws::String&& value) { m_replicationInstanceArnHasBeenSet = true; m_replicationInstanceArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the replication instance.

*/ inline void SetReplicationInstanceArn(const char* value) { m_replicationInstanceArnHasBeenSet = true; m_replicationInstanceArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the replication instance.

*/ inline ModifyReplicationInstanceRequest& WithReplicationInstanceArn(const Aws::String& value) { SetReplicationInstanceArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the replication instance.

*/ inline ModifyReplicationInstanceRequest& WithReplicationInstanceArn(Aws::String&& value) { SetReplicationInstanceArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the replication instance.

*/ inline ModifyReplicationInstanceRequest& WithReplicationInstanceArn(const char* value) { SetReplicationInstanceArn(value); return *this;} /** *

The amount of storage (in gigabytes) to be allocated for the replication * instance.

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

The amount of storage (in gigabytes) to be allocated for the replication * instance.

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

The amount of storage (in gigabytes) to be allocated for the replication * instance.

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

The amount of storage (in gigabytes) to be allocated for the replication * instance.

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

Indicates whether the changes should be applied immediately or during the * next maintenance window.

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

Indicates whether the changes should be applied immediately or during the * next maintenance window.

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

Indicates whether the changes should be applied immediately or during the * next maintenance window.

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

Indicates whether the changes should be applied immediately or during the * next maintenance window.

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

The compute and memory capacity of the replication instance as defined for * the specified replication instance class. For example to specify the instance * class dms.c4.large, set this parameter to "dms.c4.large".

*

For more information on the settings and capacities for the available * replication instance classes, see * Selecting the right DMS replication instance for your migration.

*/ inline const Aws::String& GetReplicationInstanceClass() const{ return m_replicationInstanceClass; } /** *

The compute and memory capacity of the replication instance as defined for * the specified replication instance class. For example to specify the instance * class dms.c4.large, set this parameter to "dms.c4.large".

*

For more information on the settings and capacities for the available * replication instance classes, see * Selecting the right DMS replication instance for your migration.

*/ inline bool ReplicationInstanceClassHasBeenSet() const { return m_replicationInstanceClassHasBeenSet; } /** *

The compute and memory capacity of the replication instance as defined for * the specified replication instance class. For example to specify the instance * class dms.c4.large, set this parameter to "dms.c4.large".

*

For more information on the settings and capacities for the available * replication instance classes, see * Selecting the right DMS replication instance for your migration.

*/ inline void SetReplicationInstanceClass(const Aws::String& value) { m_replicationInstanceClassHasBeenSet = true; m_replicationInstanceClass = value; } /** *

The compute and memory capacity of the replication instance as defined for * the specified replication instance class. For example to specify the instance * class dms.c4.large, set this parameter to "dms.c4.large".

*

For more information on the settings and capacities for the available * replication instance classes, see * Selecting the right DMS replication instance for your migration.

*/ inline void SetReplicationInstanceClass(Aws::String&& value) { m_replicationInstanceClassHasBeenSet = true; m_replicationInstanceClass = std::move(value); } /** *

The compute and memory capacity of the replication instance as defined for * the specified replication instance class. For example to specify the instance * class dms.c4.large, set this parameter to "dms.c4.large".

*

For more information on the settings and capacities for the available * replication instance classes, see * Selecting the right DMS replication instance for your migration.

*/ inline void SetReplicationInstanceClass(const char* value) { m_replicationInstanceClassHasBeenSet = true; m_replicationInstanceClass.assign(value); } /** *

The compute and memory capacity of the replication instance as defined for * the specified replication instance class. For example to specify the instance * class dms.c4.large, set this parameter to "dms.c4.large".

*

For more information on the settings and capacities for the available * replication instance classes, see * Selecting the right DMS replication instance for your migration.

*/ inline ModifyReplicationInstanceRequest& WithReplicationInstanceClass(const Aws::String& value) { SetReplicationInstanceClass(value); return *this;} /** *

The compute and memory capacity of the replication instance as defined for * the specified replication instance class. For example to specify the instance * class dms.c4.large, set this parameter to "dms.c4.large".

*

For more information on the settings and capacities for the available * replication instance classes, see * Selecting the right DMS replication instance for your migration.

*/ inline ModifyReplicationInstanceRequest& WithReplicationInstanceClass(Aws::String&& value) { SetReplicationInstanceClass(std::move(value)); return *this;} /** *

The compute and memory capacity of the replication instance as defined for * the specified replication instance class. For example to specify the instance * class dms.c4.large, set this parameter to "dms.c4.large".

*

For more information on the settings and capacities for the available * replication instance classes, see * Selecting the right DMS replication instance for your migration.

*/ inline ModifyReplicationInstanceRequest& WithReplicationInstanceClass(const char* value) { SetReplicationInstanceClass(value); return *this;} /** *

Specifies the VPC security group to be used with the replication instance. * The VPC security group must work with the VPC containing the replication * instance.

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

Specifies the VPC security group to be used with the replication instance. * The VPC security group must work with the VPC containing the replication * instance.

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

Specifies the VPC security group to be used with the replication instance. * The VPC security group must work with the VPC containing the replication * instance.

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

Specifies the VPC security group to be used with the replication instance. * The VPC security group must work with the VPC containing the replication * instance.

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

Specifies the VPC security group to be used with the replication instance. * The VPC security group must work with the VPC containing the replication * instance.

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

Specifies the VPC security group to be used with the replication instance. * The VPC security group must work with the VPC containing the replication * instance.

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

Specifies the VPC security group to be used with the replication instance. * The VPC security group must work with the VPC containing the replication * instance.

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

Specifies the VPC security group to be used with the replication instance. * The VPC security group must work with the VPC containing the replication * instance.

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

Specifies the VPC security group to be used with the replication instance. * The VPC security group must work with the VPC containing the replication * instance.

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

The weekly time range (in UTC) during which system maintenance can occur, * which might result in an outage. Changing this parameter does not result in an * outage, except in the following situation, and the change is asynchronously * applied as soon as possible. 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 does not result in an * outage, except in the following situation, and the change is asynchronously * applied as soon as possible. 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 does not result in an * outage, except in the following situation, and the change is asynchronously * applied as soon as possible. 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 does not result in an * outage, except in the following situation, and the change is asynchronously * applied as soon as possible. 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 does not result in an * outage, except in the following situation, and the change is asynchronously * applied as soon as possible. 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 does not result in an * outage, except in the following situation, and the change is asynchronously * applied as soon as possible. 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 ModifyReplicationInstanceRequest& 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 does not result in an * outage, except in the following situation, and the change is asynchronously * applied as soon as possible. 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 ModifyReplicationInstanceRequest& 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 does not result in an * outage, except in the following situation, and the change is asynchronously * applied as soon as possible. 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 ModifyReplicationInstanceRequest& WithPreferredMaintenanceWindow(const char* value) { SetPreferredMaintenanceWindow(value); return *this;} /** *

Specifies whether the replication instance is a Multi-AZ deployment. You * can't set the AvailabilityZone parameter if the Multi-AZ parameter * is set to true.

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

Specifies whether the replication instance is a Multi-AZ deployment. You * can't set the AvailabilityZone parameter if the Multi-AZ parameter * is set to true.

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

Specifies whether the replication instance is a Multi-AZ deployment. You * can't set the AvailabilityZone parameter if the Multi-AZ parameter * is set to true.

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

Specifies whether the replication instance is a Multi-AZ deployment. You * can't set the AvailabilityZone parameter if the Multi-AZ parameter * is set to true.

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

The engine version number of the replication instance.

When modifying * a major engine version of an instance, also set * AllowMajorVersionUpgrade to true.

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

The engine version number of the replication instance.

When modifying * a major engine version of an instance, also set * AllowMajorVersionUpgrade to true.

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

The engine version number of the replication instance.

When modifying * a major engine version of an instance, also set * AllowMajorVersionUpgrade to true.

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

The engine version number of the replication instance.

When modifying * a major engine version of an instance, also set * AllowMajorVersionUpgrade to true.

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

The engine version number of the replication instance.

When modifying * a major engine version of an instance, also set * AllowMajorVersionUpgrade to true.

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

The engine version number of the replication instance.

When modifying * a major engine version of an instance, also set * AllowMajorVersionUpgrade to true.

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

The engine version number of the replication instance.

When modifying * a major engine version of an instance, also set * AllowMajorVersionUpgrade to true.

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

The engine version number of the replication instance.

When modifying * a major engine version of an instance, also set * AllowMajorVersionUpgrade to true.

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

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

This parameter must be set to true when * specifying a value for the EngineVersion parameter that is a * different major version than the replication instance's current version.

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

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

This parameter must be set to true when * specifying a value for the EngineVersion parameter that is a * different major version than the replication instance's current version.

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

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

This parameter must be set to true when * specifying a value for the EngineVersion parameter that is a * different major version than the replication instance's current version.

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

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

This parameter must be set to true when * specifying a value for the EngineVersion parameter that is a * different major version than the replication instance's current version.

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

A value that indicates that minor version upgrades are applied automatically * to the replication instance during the maintenance window. Changing this * parameter doesn't result in an outage, except in the case described following. * The change is asynchronously applied as soon as possible.

An outage does * result if these factors apply:

  • This parameter is set to * true during the maintenance window.

  • A newer minor * version is available.

  • DMS has enabled automatic patching for * the given engine version.

When * AutoMinorVersionUpgrade is enabled, DMS uses the current default * engine version when you modify a replication instance. For example, if you set * EngineVersion to a lower version number than the current default * version, DMS uses the default version.

If * AutoMinorVersionUpgrade isn’t enabled when you modify a * replication instance, DMS uses the engine version specified by the * EngineVersion parameter.

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

A value that indicates that minor version upgrades are applied automatically * to the replication instance during the maintenance window. Changing this * parameter doesn't result in an outage, except in the case described following. * The change is asynchronously applied as soon as possible.

An outage does * result if these factors apply:

  • This parameter is set to * true during the maintenance window.

  • A newer minor * version is available.

  • DMS has enabled automatic patching for * the given engine version.

When * AutoMinorVersionUpgrade is enabled, DMS uses the current default * engine version when you modify a replication instance. For example, if you set * EngineVersion to a lower version number than the current default * version, DMS uses the default version.

If * AutoMinorVersionUpgrade isn’t enabled when you modify a * replication instance, DMS uses the engine version specified by the * EngineVersion parameter.

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

A value that indicates that minor version upgrades are applied automatically * to the replication instance during the maintenance window. Changing this * parameter doesn't result in an outage, except in the case described following. * The change is asynchronously applied as soon as possible.

An outage does * result if these factors apply:

  • This parameter is set to * true during the maintenance window.

  • A newer minor * version is available.

  • DMS has enabled automatic patching for * the given engine version.

When * AutoMinorVersionUpgrade is enabled, DMS uses the current default * engine version when you modify a replication instance. For example, if you set * EngineVersion to a lower version number than the current default * version, DMS uses the default version.

If * AutoMinorVersionUpgrade isn’t enabled when you modify a * replication instance, DMS uses the engine version specified by the * EngineVersion parameter.

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

A value that indicates that minor version upgrades are applied automatically * to the replication instance during the maintenance window. Changing this * parameter doesn't result in an outage, except in the case described following. * The change is asynchronously applied as soon as possible.

An outage does * result if these factors apply:

  • This parameter is set to * true during the maintenance window.

  • A newer minor * version is available.

  • DMS has enabled automatic patching for * the given engine version.

When * AutoMinorVersionUpgrade is enabled, DMS uses the current default * engine version when you modify a replication instance. For example, if you set * EngineVersion to a lower version number than the current default * version, DMS uses the default version.

If * AutoMinorVersionUpgrade isn’t enabled when you modify a * replication instance, DMS uses the engine version specified by the * EngineVersion parameter.

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

The replication instance identifier. This parameter is stored as a lowercase * string.

*/ inline const Aws::String& GetReplicationInstanceIdentifier() const{ return m_replicationInstanceIdentifier; } /** *

The replication instance identifier. This parameter is stored as a lowercase * string.

*/ inline bool ReplicationInstanceIdentifierHasBeenSet() const { return m_replicationInstanceIdentifierHasBeenSet; } /** *

The replication instance identifier. This parameter is stored as a lowercase * string.

*/ inline void SetReplicationInstanceIdentifier(const Aws::String& value) { m_replicationInstanceIdentifierHasBeenSet = true; m_replicationInstanceIdentifier = value; } /** *

The replication instance identifier. This parameter is stored as a lowercase * string.

*/ inline void SetReplicationInstanceIdentifier(Aws::String&& value) { m_replicationInstanceIdentifierHasBeenSet = true; m_replicationInstanceIdentifier = std::move(value); } /** *

The replication instance identifier. This parameter is stored as a lowercase * string.

*/ inline void SetReplicationInstanceIdentifier(const char* value) { m_replicationInstanceIdentifierHasBeenSet = true; m_replicationInstanceIdentifier.assign(value); } /** *

The replication instance identifier. This parameter is stored as a lowercase * string.

*/ inline ModifyReplicationInstanceRequest& WithReplicationInstanceIdentifier(const Aws::String& value) { SetReplicationInstanceIdentifier(value); return *this;} /** *

The replication instance identifier. This parameter is stored as a lowercase * string.

*/ inline ModifyReplicationInstanceRequest& WithReplicationInstanceIdentifier(Aws::String&& value) { SetReplicationInstanceIdentifier(std::move(value)); return *this;} /** *

The replication instance identifier. This parameter is stored as a lowercase * string.

*/ inline ModifyReplicationInstanceRequest& WithReplicationInstanceIdentifier(const char* value) { SetReplicationInstanceIdentifier(value); return *this;} /** *

The type of IP address protocol used by a replication instance, such as IPv4 * only or Dual-stack that supports both IPv4 and IPv6 addressing. IPv6 only is not * yet supported.

*/ inline const Aws::String& GetNetworkType() const{ return m_networkType; } /** *

The type of IP address protocol used by a replication instance, such as IPv4 * only or Dual-stack that supports both IPv4 and IPv6 addressing. IPv6 only is not * yet supported.

*/ inline bool NetworkTypeHasBeenSet() const { return m_networkTypeHasBeenSet; } /** *

The type of IP address protocol used by a replication instance, such as IPv4 * only or Dual-stack that supports both IPv4 and IPv6 addressing. IPv6 only is not * yet supported.

*/ inline void SetNetworkType(const Aws::String& value) { m_networkTypeHasBeenSet = true; m_networkType = value; } /** *

The type of IP address protocol used by a replication instance, such as IPv4 * only or Dual-stack that supports both IPv4 and IPv6 addressing. IPv6 only is not * yet supported.

*/ inline void SetNetworkType(Aws::String&& value) { m_networkTypeHasBeenSet = true; m_networkType = std::move(value); } /** *

The type of IP address protocol used by a replication instance, such as IPv4 * only or Dual-stack that supports both IPv4 and IPv6 addressing. IPv6 only is not * yet supported.

*/ inline void SetNetworkType(const char* value) { m_networkTypeHasBeenSet = true; m_networkType.assign(value); } /** *

The type of IP address protocol used by a replication instance, such as IPv4 * only or Dual-stack that supports both IPv4 and IPv6 addressing. IPv6 only is not * yet supported.

*/ inline ModifyReplicationInstanceRequest& WithNetworkType(const Aws::String& value) { SetNetworkType(value); return *this;} /** *

The type of IP address protocol used by a replication instance, such as IPv4 * only or Dual-stack that supports both IPv4 and IPv6 addressing. IPv6 only is not * yet supported.

*/ inline ModifyReplicationInstanceRequest& WithNetworkType(Aws::String&& value) { SetNetworkType(std::move(value)); return *this;} /** *

The type of IP address protocol used by a replication instance, such as IPv4 * only or Dual-stack that supports both IPv4 and IPv6 addressing. IPv6 only is not * yet supported.

*/ inline ModifyReplicationInstanceRequest& WithNetworkType(const char* value) { SetNetworkType(value); return *this;} private: Aws::String m_replicationInstanceArn; bool m_replicationInstanceArnHasBeenSet = false; int m_allocatedStorage; bool m_allocatedStorageHasBeenSet = false; bool m_applyImmediately; bool m_applyImmediatelyHasBeenSet = false; Aws::String m_replicationInstanceClass; bool m_replicationInstanceClassHasBeenSet = false; Aws::Vector m_vpcSecurityGroupIds; bool m_vpcSecurityGroupIdsHasBeenSet = 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_replicationInstanceIdentifier; bool m_replicationInstanceIdentifierHasBeenSet = false; Aws::String m_networkType; bool m_networkTypeHasBeenSet = false; }; } // namespace Model } // namespace DatabaseMigrationService } // namespace Aws