/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include See Also:
AWS
* API Reference
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::VectorSpecifies 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::VectorSpecifies 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::VectorSpecifies 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::VectorSpecifies 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::VectorSpecifies 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
.
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
.
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
.
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
.
The engine version number of the replication instance.
When modifying
* a major engine version of an instance, also set
* AllowMajorVersionUpgrade
to true
.
The engine version number of the replication instance.
When modifying
* a major engine version of an instance, also set
* AllowMajorVersionUpgrade
to true
.
The engine version number of the replication instance.
When modifying
* a major engine version of an instance, also set
* AllowMajorVersionUpgrade
to true
.
The engine version number of the replication instance.
When modifying
* a major engine version of an instance, also set
* AllowMajorVersionUpgrade
to true
.
The engine version number of the replication instance.
When modifying
* a major engine version of an instance, also set
* AllowMajorVersionUpgrade
to true
.
The engine version number of the replication instance.
When modifying
* a major engine version of an instance, also set
* AllowMajorVersionUpgrade
to true
.
The engine version number of the replication instance.
When modifying
* a major engine version of an instance, also set
* AllowMajorVersionUpgrade
to true
.
The engine version number of the replication instance.
When modifying
* a major engine version of an instance, also set
* AllowMajorVersionUpgrade
to true
.
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.
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.
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.
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.
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.
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.
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.
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.
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