This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-dms/include/aws/dms/model/ReplicationInstance.h

1155 lines
55 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/DateTime.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/dms/model/ReplicationSubnetGroup.h>
#include <aws/dms/model/ReplicationPendingModifiedValues.h>
#include <aws/dms/model/VpcSecurityGroupMembership.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace DatabaseMigrationService
{
namespace Model
{
/**
* <p>Provides information that defines a replication instance.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReplicationInstance">AWS
* API Reference</a></p>
*/
class AWS_DATABASEMIGRATIONSERVICE_API ReplicationInstance
{
public:
ReplicationInstance();
ReplicationInstance(Aws::Utils::Json::JsonView jsonValue);
ReplicationInstance& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The replication instance identifier is a required parameter. This parameter
* is stored as a lowercase string.</p> <p>Constraints:</p> <ul> <li> <p>Must
* contain 1-63 alphanumeric characters or hyphens.</p> </li> <li> <p>First
* character must be a letter.</p> </li> <li> <p>Cannot end with a hyphen or
* contain two consecutive hyphens.</p> </li> </ul> <p>Example:
* <code>myrepinstance</code> </p>
*/
inline const Aws::String& GetReplicationInstanceIdentifier() const{ return m_replicationInstanceIdentifier; }
/**
* <p>The replication instance identifier is a required parameter. This parameter
* is stored as a lowercase string.</p> <p>Constraints:</p> <ul> <li> <p>Must
* contain 1-63 alphanumeric characters or hyphens.</p> </li> <li> <p>First
* character must be a letter.</p> </li> <li> <p>Cannot end with a hyphen or
* contain two consecutive hyphens.</p> </li> </ul> <p>Example:
* <code>myrepinstance</code> </p>
*/
inline bool ReplicationInstanceIdentifierHasBeenSet() const { return m_replicationInstanceIdentifierHasBeenSet; }
/**
* <p>The replication instance identifier is a required parameter. This parameter
* is stored as a lowercase string.</p> <p>Constraints:</p> <ul> <li> <p>Must
* contain 1-63 alphanumeric characters or hyphens.</p> </li> <li> <p>First
* character must be a letter.</p> </li> <li> <p>Cannot end with a hyphen or
* contain two consecutive hyphens.</p> </li> </ul> <p>Example:
* <code>myrepinstance</code> </p>
*/
inline void SetReplicationInstanceIdentifier(const Aws::String& value) { m_replicationInstanceIdentifierHasBeenSet = true; m_replicationInstanceIdentifier = value; }
/**
* <p>The replication instance identifier is a required parameter. This parameter
* is stored as a lowercase string.</p> <p>Constraints:</p> <ul> <li> <p>Must
* contain 1-63 alphanumeric characters or hyphens.</p> </li> <li> <p>First
* character must be a letter.</p> </li> <li> <p>Cannot end with a hyphen or
* contain two consecutive hyphens.</p> </li> </ul> <p>Example:
* <code>myrepinstance</code> </p>
*/
inline void SetReplicationInstanceIdentifier(Aws::String&& value) { m_replicationInstanceIdentifierHasBeenSet = true; m_replicationInstanceIdentifier = std::move(value); }
/**
* <p>The replication instance identifier is a required parameter. This parameter
* is stored as a lowercase string.</p> <p>Constraints:</p> <ul> <li> <p>Must
* contain 1-63 alphanumeric characters or hyphens.</p> </li> <li> <p>First
* character must be a letter.</p> </li> <li> <p>Cannot end with a hyphen or
* contain two consecutive hyphens.</p> </li> </ul> <p>Example:
* <code>myrepinstance</code> </p>
*/
inline void SetReplicationInstanceIdentifier(const char* value) { m_replicationInstanceIdentifierHasBeenSet = true; m_replicationInstanceIdentifier.assign(value); }
/**
* <p>The replication instance identifier is a required parameter. This parameter
* is stored as a lowercase string.</p> <p>Constraints:</p> <ul> <li> <p>Must
* contain 1-63 alphanumeric characters or hyphens.</p> </li> <li> <p>First
* character must be a letter.</p> </li> <li> <p>Cannot end with a hyphen or
* contain two consecutive hyphens.</p> </li> </ul> <p>Example:
* <code>myrepinstance</code> </p>
*/
inline ReplicationInstance& WithReplicationInstanceIdentifier(const Aws::String& value) { SetReplicationInstanceIdentifier(value); return *this;}
/**
* <p>The replication instance identifier is a required parameter. This parameter
* is stored as a lowercase string.</p> <p>Constraints:</p> <ul> <li> <p>Must
* contain 1-63 alphanumeric characters or hyphens.</p> </li> <li> <p>First
* character must be a letter.</p> </li> <li> <p>Cannot end with a hyphen or
* contain two consecutive hyphens.</p> </li> </ul> <p>Example:
* <code>myrepinstance</code> </p>
*/
inline ReplicationInstance& WithReplicationInstanceIdentifier(Aws::String&& value) { SetReplicationInstanceIdentifier(std::move(value)); return *this;}
/**
* <p>The replication instance identifier is a required parameter. This parameter
* is stored as a lowercase string.</p> <p>Constraints:</p> <ul> <li> <p>Must
* contain 1-63 alphanumeric characters or hyphens.</p> </li> <li> <p>First
* character must be a letter.</p> </li> <li> <p>Cannot end with a hyphen or
* contain two consecutive hyphens.</p> </li> </ul> <p>Example:
* <code>myrepinstance</code> </p>
*/
inline ReplicationInstance& WithReplicationInstanceIdentifier(const char* value) { SetReplicationInstanceIdentifier(value); return *this;}
/**
* <p>The compute and memory capacity of the replication instance as defined for
* the specified replication instance class. It is a required parameter, although a
* defualt value is pre-selected in the DMS console.</p> <p>For more information on
* the settings and capacities for the available replication instance classes, see
* <a
* href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_ReplicationInstance.html#CHAP_ReplicationInstance.InDepth">
* Selecting the right AWS DMS replication instance for your migration</a>. </p>
*/
inline const Aws::String& GetReplicationInstanceClass() const{ return m_replicationInstanceClass; }
/**
* <p>The compute and memory capacity of the replication instance as defined for
* the specified replication instance class. It is a required parameter, although a
* defualt value is pre-selected in the DMS console.</p> <p>For more information on
* the settings and capacities for the available replication instance classes, see
* <a
* href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_ReplicationInstance.html#CHAP_ReplicationInstance.InDepth">
* Selecting the right AWS DMS replication instance for your migration</a>. </p>
*/
inline bool ReplicationInstanceClassHasBeenSet() const { return m_replicationInstanceClassHasBeenSet; }
/**
* <p>The compute and memory capacity of the replication instance as defined for
* the specified replication instance class. It is a required parameter, although a
* defualt value is pre-selected in the DMS console.</p> <p>For more information on
* the settings and capacities for the available replication instance classes, see
* <a
* href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_ReplicationInstance.html#CHAP_ReplicationInstance.InDepth">
* Selecting the right AWS DMS replication instance for your migration</a>. </p>
*/
inline void SetReplicationInstanceClass(const Aws::String& value) { m_replicationInstanceClassHasBeenSet = true; m_replicationInstanceClass = value; }
/**
* <p>The compute and memory capacity of the replication instance as defined for
* the specified replication instance class. It is a required parameter, although a
* defualt value is pre-selected in the DMS console.</p> <p>For more information on
* the settings and capacities for the available replication instance classes, see
* <a
* href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_ReplicationInstance.html#CHAP_ReplicationInstance.InDepth">
* Selecting the right AWS DMS replication instance for your migration</a>. </p>
*/
inline void SetReplicationInstanceClass(Aws::String&& value) { m_replicationInstanceClassHasBeenSet = true; m_replicationInstanceClass = std::move(value); }
/**
* <p>The compute and memory capacity of the replication instance as defined for
* the specified replication instance class. It is a required parameter, although a
* defualt value is pre-selected in the DMS console.</p> <p>For more information on
* the settings and capacities for the available replication instance classes, see
* <a
* href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_ReplicationInstance.html#CHAP_ReplicationInstance.InDepth">
* Selecting the right AWS DMS replication instance for your migration</a>. </p>
*/
inline void SetReplicationInstanceClass(const char* value) { m_replicationInstanceClassHasBeenSet = true; m_replicationInstanceClass.assign(value); }
/**
* <p>The compute and memory capacity of the replication instance as defined for
* the specified replication instance class. It is a required parameter, although a
* defualt value is pre-selected in the DMS console.</p> <p>For more information on
* the settings and capacities for the available replication instance classes, see
* <a
* href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_ReplicationInstance.html#CHAP_ReplicationInstance.InDepth">
* Selecting the right AWS DMS replication instance for your migration</a>. </p>
*/
inline ReplicationInstance& WithReplicationInstanceClass(const Aws::String& value) { SetReplicationInstanceClass(value); return *this;}
/**
* <p>The compute and memory capacity of the replication instance as defined for
* the specified replication instance class. It is a required parameter, although a
* defualt value is pre-selected in the DMS console.</p> <p>For more information on
* the settings and capacities for the available replication instance classes, see
* <a
* href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_ReplicationInstance.html#CHAP_ReplicationInstance.InDepth">
* Selecting the right AWS DMS replication instance for your migration</a>. </p>
*/
inline ReplicationInstance& WithReplicationInstanceClass(Aws::String&& value) { SetReplicationInstanceClass(std::move(value)); return *this;}
/**
* <p>The compute and memory capacity of the replication instance as defined for
* the specified replication instance class. It is a required parameter, although a
* defualt value is pre-selected in the DMS console.</p> <p>For more information on
* the settings and capacities for the available replication instance classes, see
* <a
* href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_ReplicationInstance.html#CHAP_ReplicationInstance.InDepth">
* Selecting the right AWS DMS replication instance for your migration</a>. </p>
*/
inline ReplicationInstance& WithReplicationInstanceClass(const char* value) { SetReplicationInstanceClass(value); return *this;}
/**
* <p>The status of the replication instance. The possible return values
* include:</p> <ul> <li> <p> <code>"available"</code> </p> </li> <li> <p>
* <code>"creating"</code> </p> </li> <li> <p> <code>"deleted"</code> </p> </li>
* <li> <p> <code>"deleting"</code> </p> </li> <li> <p> <code>"failed"</code> </p>
* </li> <li> <p> <code>"modifying"</code> </p> </li> <li> <p>
* <code>"upgrading"</code> </p> </li> <li> <p> <code>"rebooting"</code> </p> </li>
* <li> <p> <code>"resetting-master-credentials"</code> </p> </li> <li> <p>
* <code>"storage-full"</code> </p> </li> <li> <p>
* <code>"incompatible-credentials"</code> </p> </li> <li> <p>
* <code>"incompatible-network"</code> </p> </li> <li> <p>
* <code>"maintenance"</code> </p> </li> </ul>
*/
inline const Aws::String& GetReplicationInstanceStatus() const{ return m_replicationInstanceStatus; }
/**
* <p>The status of the replication instance. The possible return values
* include:</p> <ul> <li> <p> <code>"available"</code> </p> </li> <li> <p>
* <code>"creating"</code> </p> </li> <li> <p> <code>"deleted"</code> </p> </li>
* <li> <p> <code>"deleting"</code> </p> </li> <li> <p> <code>"failed"</code> </p>
* </li> <li> <p> <code>"modifying"</code> </p> </li> <li> <p>
* <code>"upgrading"</code> </p> </li> <li> <p> <code>"rebooting"</code> </p> </li>
* <li> <p> <code>"resetting-master-credentials"</code> </p> </li> <li> <p>
* <code>"storage-full"</code> </p> </li> <li> <p>
* <code>"incompatible-credentials"</code> </p> </li> <li> <p>
* <code>"incompatible-network"</code> </p> </li> <li> <p>
* <code>"maintenance"</code> </p> </li> </ul>
*/
inline bool ReplicationInstanceStatusHasBeenSet() const { return m_replicationInstanceStatusHasBeenSet; }
/**
* <p>The status of the replication instance. The possible return values
* include:</p> <ul> <li> <p> <code>"available"</code> </p> </li> <li> <p>
* <code>"creating"</code> </p> </li> <li> <p> <code>"deleted"</code> </p> </li>
* <li> <p> <code>"deleting"</code> </p> </li> <li> <p> <code>"failed"</code> </p>
* </li> <li> <p> <code>"modifying"</code> </p> </li> <li> <p>
* <code>"upgrading"</code> </p> </li> <li> <p> <code>"rebooting"</code> </p> </li>
* <li> <p> <code>"resetting-master-credentials"</code> </p> </li> <li> <p>
* <code>"storage-full"</code> </p> </li> <li> <p>
* <code>"incompatible-credentials"</code> </p> </li> <li> <p>
* <code>"incompatible-network"</code> </p> </li> <li> <p>
* <code>"maintenance"</code> </p> </li> </ul>
*/
inline void SetReplicationInstanceStatus(const Aws::String& value) { m_replicationInstanceStatusHasBeenSet = true; m_replicationInstanceStatus = value; }
/**
* <p>The status of the replication instance. The possible return values
* include:</p> <ul> <li> <p> <code>"available"</code> </p> </li> <li> <p>
* <code>"creating"</code> </p> </li> <li> <p> <code>"deleted"</code> </p> </li>
* <li> <p> <code>"deleting"</code> </p> </li> <li> <p> <code>"failed"</code> </p>
* </li> <li> <p> <code>"modifying"</code> </p> </li> <li> <p>
* <code>"upgrading"</code> </p> </li> <li> <p> <code>"rebooting"</code> </p> </li>
* <li> <p> <code>"resetting-master-credentials"</code> </p> </li> <li> <p>
* <code>"storage-full"</code> </p> </li> <li> <p>
* <code>"incompatible-credentials"</code> </p> </li> <li> <p>
* <code>"incompatible-network"</code> </p> </li> <li> <p>
* <code>"maintenance"</code> </p> </li> </ul>
*/
inline void SetReplicationInstanceStatus(Aws::String&& value) { m_replicationInstanceStatusHasBeenSet = true; m_replicationInstanceStatus = std::move(value); }
/**
* <p>The status of the replication instance. The possible return values
* include:</p> <ul> <li> <p> <code>"available"</code> </p> </li> <li> <p>
* <code>"creating"</code> </p> </li> <li> <p> <code>"deleted"</code> </p> </li>
* <li> <p> <code>"deleting"</code> </p> </li> <li> <p> <code>"failed"</code> </p>
* </li> <li> <p> <code>"modifying"</code> </p> </li> <li> <p>
* <code>"upgrading"</code> </p> </li> <li> <p> <code>"rebooting"</code> </p> </li>
* <li> <p> <code>"resetting-master-credentials"</code> </p> </li> <li> <p>
* <code>"storage-full"</code> </p> </li> <li> <p>
* <code>"incompatible-credentials"</code> </p> </li> <li> <p>
* <code>"incompatible-network"</code> </p> </li> <li> <p>
* <code>"maintenance"</code> </p> </li> </ul>
*/
inline void SetReplicationInstanceStatus(const char* value) { m_replicationInstanceStatusHasBeenSet = true; m_replicationInstanceStatus.assign(value); }
/**
* <p>The status of the replication instance. The possible return values
* include:</p> <ul> <li> <p> <code>"available"</code> </p> </li> <li> <p>
* <code>"creating"</code> </p> </li> <li> <p> <code>"deleted"</code> </p> </li>
* <li> <p> <code>"deleting"</code> </p> </li> <li> <p> <code>"failed"</code> </p>
* </li> <li> <p> <code>"modifying"</code> </p> </li> <li> <p>
* <code>"upgrading"</code> </p> </li> <li> <p> <code>"rebooting"</code> </p> </li>
* <li> <p> <code>"resetting-master-credentials"</code> </p> </li> <li> <p>
* <code>"storage-full"</code> </p> </li> <li> <p>
* <code>"incompatible-credentials"</code> </p> </li> <li> <p>
* <code>"incompatible-network"</code> </p> </li> <li> <p>
* <code>"maintenance"</code> </p> </li> </ul>
*/
inline ReplicationInstance& WithReplicationInstanceStatus(const Aws::String& value) { SetReplicationInstanceStatus(value); return *this;}
/**
* <p>The status of the replication instance. The possible return values
* include:</p> <ul> <li> <p> <code>"available"</code> </p> </li> <li> <p>
* <code>"creating"</code> </p> </li> <li> <p> <code>"deleted"</code> </p> </li>
* <li> <p> <code>"deleting"</code> </p> </li> <li> <p> <code>"failed"</code> </p>
* </li> <li> <p> <code>"modifying"</code> </p> </li> <li> <p>
* <code>"upgrading"</code> </p> </li> <li> <p> <code>"rebooting"</code> </p> </li>
* <li> <p> <code>"resetting-master-credentials"</code> </p> </li> <li> <p>
* <code>"storage-full"</code> </p> </li> <li> <p>
* <code>"incompatible-credentials"</code> </p> </li> <li> <p>
* <code>"incompatible-network"</code> </p> </li> <li> <p>
* <code>"maintenance"</code> </p> </li> </ul>
*/
inline ReplicationInstance& WithReplicationInstanceStatus(Aws::String&& value) { SetReplicationInstanceStatus(std::move(value)); return *this;}
/**
* <p>The status of the replication instance. The possible return values
* include:</p> <ul> <li> <p> <code>"available"</code> </p> </li> <li> <p>
* <code>"creating"</code> </p> </li> <li> <p> <code>"deleted"</code> </p> </li>
* <li> <p> <code>"deleting"</code> </p> </li> <li> <p> <code>"failed"</code> </p>
* </li> <li> <p> <code>"modifying"</code> </p> </li> <li> <p>
* <code>"upgrading"</code> </p> </li> <li> <p> <code>"rebooting"</code> </p> </li>
* <li> <p> <code>"resetting-master-credentials"</code> </p> </li> <li> <p>
* <code>"storage-full"</code> </p> </li> <li> <p>
* <code>"incompatible-credentials"</code> </p> </li> <li> <p>
* <code>"incompatible-network"</code> </p> </li> <li> <p>
* <code>"maintenance"</code> </p> </li> </ul>
*/
inline ReplicationInstance& WithReplicationInstanceStatus(const char* value) { SetReplicationInstanceStatus(value); return *this;}
/**
* <p>The amount of storage (in gigabytes) that is allocated for the replication
* instance.</p>
*/
inline int GetAllocatedStorage() const{ return m_allocatedStorage; }
/**
* <p>The amount of storage (in gigabytes) that is allocated for the replication
* instance.</p>
*/
inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; }
/**
* <p>The amount of storage (in gigabytes) that is allocated for the replication
* instance.</p>
*/
inline void SetAllocatedStorage(int value) { m_allocatedStorageHasBeenSet = true; m_allocatedStorage = value; }
/**
* <p>The amount of storage (in gigabytes) that is allocated for the replication
* instance.</p>
*/
inline ReplicationInstance& WithAllocatedStorage(int value) { SetAllocatedStorage(value); return *this;}
/**
* <p>The time the replication instance was created.</p>
*/
inline const Aws::Utils::DateTime& GetInstanceCreateTime() const{ return m_instanceCreateTime; }
/**
* <p>The time the replication instance was created.</p>
*/
inline bool InstanceCreateTimeHasBeenSet() const { return m_instanceCreateTimeHasBeenSet; }
/**
* <p>The time the replication instance was created.</p>
*/
inline void SetInstanceCreateTime(const Aws::Utils::DateTime& value) { m_instanceCreateTimeHasBeenSet = true; m_instanceCreateTime = value; }
/**
* <p>The time the replication instance was created.</p>
*/
inline void SetInstanceCreateTime(Aws::Utils::DateTime&& value) { m_instanceCreateTimeHasBeenSet = true; m_instanceCreateTime = std::move(value); }
/**
* <p>The time the replication instance was created.</p>
*/
inline ReplicationInstance& WithInstanceCreateTime(const Aws::Utils::DateTime& value) { SetInstanceCreateTime(value); return *this;}
/**
* <p>The time the replication instance was created.</p>
*/
inline ReplicationInstance& WithInstanceCreateTime(Aws::Utils::DateTime&& value) { SetInstanceCreateTime(std::move(value)); return *this;}
/**
* <p>The VPC security group for the instance.</p>
*/
inline const Aws::Vector<VpcSecurityGroupMembership>& GetVpcSecurityGroups() const{ return m_vpcSecurityGroups; }
/**
* <p>The VPC security group for the instance.</p>
*/
inline bool VpcSecurityGroupsHasBeenSet() const { return m_vpcSecurityGroupsHasBeenSet; }
/**
* <p>The VPC security group for the instance.</p>
*/
inline void SetVpcSecurityGroups(const Aws::Vector<VpcSecurityGroupMembership>& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups = value; }
/**
* <p>The VPC security group for the instance.</p>
*/
inline void SetVpcSecurityGroups(Aws::Vector<VpcSecurityGroupMembership>&& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups = std::move(value); }
/**
* <p>The VPC security group for the instance.</p>
*/
inline ReplicationInstance& WithVpcSecurityGroups(const Aws::Vector<VpcSecurityGroupMembership>& value) { SetVpcSecurityGroups(value); return *this;}
/**
* <p>The VPC security group for the instance.</p>
*/
inline ReplicationInstance& WithVpcSecurityGroups(Aws::Vector<VpcSecurityGroupMembership>&& value) { SetVpcSecurityGroups(std::move(value)); return *this;}
/**
* <p>The VPC security group for the instance.</p>
*/
inline ReplicationInstance& AddVpcSecurityGroups(const VpcSecurityGroupMembership& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups.push_back(value); return *this; }
/**
* <p>The VPC security group for the instance.</p>
*/
inline ReplicationInstance& AddVpcSecurityGroups(VpcSecurityGroupMembership&& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups.push_back(std::move(value)); return *this; }
/**
* <p>The Availability Zone for the instance.</p>
*/
inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
/**
* <p>The Availability Zone for the instance.</p>
*/
inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
/**
* <p>The Availability Zone for the instance.</p>
*/
inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
/**
* <p>The Availability Zone for the instance.</p>
*/
inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
/**
* <p>The Availability Zone for the instance.</p>
*/
inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
/**
* <p>The Availability Zone for the instance.</p>
*/
inline ReplicationInstance& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;}
/**
* <p>The Availability Zone for the instance.</p>
*/
inline ReplicationInstance& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
/**
* <p>The Availability Zone for the instance.</p>
*/
inline ReplicationInstance& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
/**
* <p>The subnet group for the replication instance.</p>
*/
inline const ReplicationSubnetGroup& GetReplicationSubnetGroup() const{ return m_replicationSubnetGroup; }
/**
* <p>The subnet group for the replication instance.</p>
*/
inline bool ReplicationSubnetGroupHasBeenSet() const { return m_replicationSubnetGroupHasBeenSet; }
/**
* <p>The subnet group for the replication instance.</p>
*/
inline void SetReplicationSubnetGroup(const ReplicationSubnetGroup& value) { m_replicationSubnetGroupHasBeenSet = true; m_replicationSubnetGroup = value; }
/**
* <p>The subnet group for the replication instance.</p>
*/
inline void SetReplicationSubnetGroup(ReplicationSubnetGroup&& value) { m_replicationSubnetGroupHasBeenSet = true; m_replicationSubnetGroup = std::move(value); }
/**
* <p>The subnet group for the replication instance.</p>
*/
inline ReplicationInstance& WithReplicationSubnetGroup(const ReplicationSubnetGroup& value) { SetReplicationSubnetGroup(value); return *this;}
/**
* <p>The subnet group for the replication instance.</p>
*/
inline ReplicationInstance& WithReplicationSubnetGroup(ReplicationSubnetGroup&& value) { SetReplicationSubnetGroup(std::move(value)); return *this;}
/**
* <p>The maintenance window times for the replication instance. Any pending
* upgrades to the replication instance are performed during this time.</p>
*/
inline const Aws::String& GetPreferredMaintenanceWindow() const{ return m_preferredMaintenanceWindow; }
/**
* <p>The maintenance window times for the replication instance. Any pending
* upgrades to the replication instance are performed during this time.</p>
*/
inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
/**
* <p>The maintenance window times for the replication instance. Any pending
* upgrades to the replication instance are performed during this time.</p>
*/
inline void SetPreferredMaintenanceWindow(const Aws::String& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = value; }
/**
* <p>The maintenance window times for the replication instance. Any pending
* upgrades to the replication instance are performed during this time.</p>
*/
inline void SetPreferredMaintenanceWindow(Aws::String&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = std::move(value); }
/**
* <p>The maintenance window times for the replication instance. Any pending
* upgrades to the replication instance are performed during this time.</p>
*/
inline void SetPreferredMaintenanceWindow(const char* value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow.assign(value); }
/**
* <p>The maintenance window times for the replication instance. Any pending
* upgrades to the replication instance are performed during this time.</p>
*/
inline ReplicationInstance& WithPreferredMaintenanceWindow(const Aws::String& value) { SetPreferredMaintenanceWindow(value); return *this;}
/**
* <p>The maintenance window times for the replication instance. Any pending
* upgrades to the replication instance are performed during this time.</p>
*/
inline ReplicationInstance& WithPreferredMaintenanceWindow(Aws::String&& value) { SetPreferredMaintenanceWindow(std::move(value)); return *this;}
/**
* <p>The maintenance window times for the replication instance. Any pending
* upgrades to the replication instance are performed during this time.</p>
*/
inline ReplicationInstance& WithPreferredMaintenanceWindow(const char* value) { SetPreferredMaintenanceWindow(value); return *this;}
/**
* <p>The pending modification values.</p>
*/
inline const ReplicationPendingModifiedValues& GetPendingModifiedValues() const{ return m_pendingModifiedValues; }
/**
* <p>The pending modification values.</p>
*/
inline bool PendingModifiedValuesHasBeenSet() const { return m_pendingModifiedValuesHasBeenSet; }
/**
* <p>The pending modification values.</p>
*/
inline void SetPendingModifiedValues(const ReplicationPendingModifiedValues& value) { m_pendingModifiedValuesHasBeenSet = true; m_pendingModifiedValues = value; }
/**
* <p>The pending modification values.</p>
*/
inline void SetPendingModifiedValues(ReplicationPendingModifiedValues&& value) { m_pendingModifiedValuesHasBeenSet = true; m_pendingModifiedValues = std::move(value); }
/**
* <p>The pending modification values.</p>
*/
inline ReplicationInstance& WithPendingModifiedValues(const ReplicationPendingModifiedValues& value) { SetPendingModifiedValues(value); return *this;}
/**
* <p>The pending modification values.</p>
*/
inline ReplicationInstance& WithPendingModifiedValues(ReplicationPendingModifiedValues&& value) { SetPendingModifiedValues(std::move(value)); return *this;}
/**
* <p> Specifies whether the replication instance is a Multi-AZ deployment. You
* can't set the <code>AvailabilityZone</code> parameter if the Multi-AZ parameter
* is set to <code>true</code>. </p>
*/
inline bool GetMultiAZ() const{ return m_multiAZ; }
/**
* <p> Specifies whether the replication instance is a Multi-AZ deployment. You
* can't set the <code>AvailabilityZone</code> parameter if the Multi-AZ parameter
* is set to <code>true</code>. </p>
*/
inline bool MultiAZHasBeenSet() const { return m_multiAZHasBeenSet; }
/**
* <p> Specifies whether the replication instance is a Multi-AZ deployment. You
* can't set the <code>AvailabilityZone</code> parameter if the Multi-AZ parameter
* is set to <code>true</code>. </p>
*/
inline void SetMultiAZ(bool value) { m_multiAZHasBeenSet = true; m_multiAZ = value; }
/**
* <p> Specifies whether the replication instance is a Multi-AZ deployment. You
* can't set the <code>AvailabilityZone</code> parameter if the Multi-AZ parameter
* is set to <code>true</code>. </p>
*/
inline ReplicationInstance& WithMultiAZ(bool value) { SetMultiAZ(value); return *this;}
/**
* <p>The engine version number of the replication instance.</p> <p>If an engine
* version number is not specified when a replication instance is created, the
* default is the latest engine version available.</p> <p>When modifying a major
* engine version of an instance, also set <code>AllowMajorVersionUpgrade</code> to
* <code>true</code>.</p>
*/
inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
/**
* <p>The engine version number of the replication instance.</p> <p>If an engine
* version number is not specified when a replication instance is created, the
* default is the latest engine version available.</p> <p>When modifying a major
* engine version of an instance, also set <code>AllowMajorVersionUpgrade</code> to
* <code>true</code>.</p>
*/
inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
/**
* <p>The engine version number of the replication instance.</p> <p>If an engine
* version number is not specified when a replication instance is created, the
* default is the latest engine version available.</p> <p>When modifying a major
* engine version of an instance, also set <code>AllowMajorVersionUpgrade</code> to
* <code>true</code>.</p>
*/
inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
/**
* <p>The engine version number of the replication instance.</p> <p>If an engine
* version number is not specified when a replication instance is created, the
* default is the latest engine version available.</p> <p>When modifying a major
* engine version of an instance, also set <code>AllowMajorVersionUpgrade</code> to
* <code>true</code>.</p>
*/
inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
/**
* <p>The engine version number of the replication instance.</p> <p>If an engine
* version number is not specified when a replication instance is created, the
* default is the latest engine version available.</p> <p>When modifying a major
* engine version of an instance, also set <code>AllowMajorVersionUpgrade</code> to
* <code>true</code>.</p>
*/
inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
/**
* <p>The engine version number of the replication instance.</p> <p>If an engine
* version number is not specified when a replication instance is created, the
* default is the latest engine version available.</p> <p>When modifying a major
* engine version of an instance, also set <code>AllowMajorVersionUpgrade</code> to
* <code>true</code>.</p>
*/
inline ReplicationInstance& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
/**
* <p>The engine version number of the replication instance.</p> <p>If an engine
* version number is not specified when a replication instance is created, the
* default is the latest engine version available.</p> <p>When modifying a major
* engine version of an instance, also set <code>AllowMajorVersionUpgrade</code> to
* <code>true</code>.</p>
*/
inline ReplicationInstance& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
/**
* <p>The engine version number of the replication instance.</p> <p>If an engine
* version number is not specified when a replication instance is created, the
* default is the latest engine version available.</p> <p>When modifying a major
* engine version of an instance, also set <code>AllowMajorVersionUpgrade</code> to
* <code>true</code>.</p>
*/
inline ReplicationInstance& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
/**
* <p>Boolean value indicating if minor version upgrades will be automatically
* applied to the instance.</p>
*/
inline bool GetAutoMinorVersionUpgrade() const{ return m_autoMinorVersionUpgrade; }
/**
* <p>Boolean value indicating if minor version upgrades will be automatically
* applied to the instance.</p>
*/
inline bool AutoMinorVersionUpgradeHasBeenSet() const { return m_autoMinorVersionUpgradeHasBeenSet; }
/**
* <p>Boolean value indicating if minor version upgrades will be automatically
* applied to the instance.</p>
*/
inline void SetAutoMinorVersionUpgrade(bool value) { m_autoMinorVersionUpgradeHasBeenSet = true; m_autoMinorVersionUpgrade = value; }
/**
* <p>Boolean value indicating if minor version upgrades will be automatically
* applied to the instance.</p>
*/
inline ReplicationInstance& WithAutoMinorVersionUpgrade(bool value) { SetAutoMinorVersionUpgrade(value); return *this;}
/**
* <p>An AWS KMS key identifier that is used to encrypt the data on the replication
* instance.</p> <p>If you don't specify a value for the <code>KmsKeyId</code>
* parameter, then AWS DMS uses your default encryption key.</p> <p>AWS KMS creates
* the default encryption key for your AWS account. Your AWS account has a
* different default encryption key for each AWS Region.</p>
*/
inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
/**
* <p>An AWS KMS key identifier that is used to encrypt the data on the replication
* instance.</p> <p>If you don't specify a value for the <code>KmsKeyId</code>
* parameter, then AWS DMS uses your default encryption key.</p> <p>AWS KMS creates
* the default encryption key for your AWS account. Your AWS account has a
* different default encryption key for each AWS Region.</p>
*/
inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
/**
* <p>An AWS KMS key identifier that is used to encrypt the data on the replication
* instance.</p> <p>If you don't specify a value for the <code>KmsKeyId</code>
* parameter, then AWS DMS uses your default encryption key.</p> <p>AWS KMS creates
* the default encryption key for your AWS account. Your AWS account has a
* different default encryption key for each AWS Region.</p>
*/
inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
/**
* <p>An AWS KMS key identifier that is used to encrypt the data on the replication
* instance.</p> <p>If you don't specify a value for the <code>KmsKeyId</code>
* parameter, then AWS DMS uses your default encryption key.</p> <p>AWS KMS creates
* the default encryption key for your AWS account. Your AWS account has a
* different default encryption key for each AWS Region.</p>
*/
inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
/**
* <p>An AWS KMS key identifier that is used to encrypt the data on the replication
* instance.</p> <p>If you don't specify a value for the <code>KmsKeyId</code>
* parameter, then AWS DMS uses your default encryption key.</p> <p>AWS KMS creates
* the default encryption key for your AWS account. Your AWS account has a
* different default encryption key for each AWS Region.</p>
*/
inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
/**
* <p>An AWS KMS key identifier that is used to encrypt the data on the replication
* instance.</p> <p>If you don't specify a value for the <code>KmsKeyId</code>
* parameter, then AWS DMS uses your default encryption key.</p> <p>AWS KMS creates
* the default encryption key for your AWS account. Your AWS account has a
* different default encryption key for each AWS Region.</p>
*/
inline ReplicationInstance& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
/**
* <p>An AWS KMS key identifier that is used to encrypt the data on the replication
* instance.</p> <p>If you don't specify a value for the <code>KmsKeyId</code>
* parameter, then AWS DMS uses your default encryption key.</p> <p>AWS KMS creates
* the default encryption key for your AWS account. Your AWS account has a
* different default encryption key for each AWS Region.</p>
*/
inline ReplicationInstance& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
/**
* <p>An AWS KMS key identifier that is used to encrypt the data on the replication
* instance.</p> <p>If you don't specify a value for the <code>KmsKeyId</code>
* parameter, then AWS DMS uses your default encryption key.</p> <p>AWS KMS creates
* the default encryption key for your AWS account. Your AWS account has a
* different default encryption key for each AWS Region.</p>
*/
inline ReplicationInstance& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the replication instance.</p>
*/
inline const Aws::String& GetReplicationInstanceArn() const{ return m_replicationInstanceArn; }
/**
* <p>The Amazon Resource Name (ARN) of the replication instance.</p>
*/
inline bool ReplicationInstanceArnHasBeenSet() const { return m_replicationInstanceArnHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the replication instance.</p>
*/
inline void SetReplicationInstanceArn(const Aws::String& value) { m_replicationInstanceArnHasBeenSet = true; m_replicationInstanceArn = value; }
/**
* <p>The Amazon Resource Name (ARN) of the replication instance.</p>
*/
inline void SetReplicationInstanceArn(Aws::String&& value) { m_replicationInstanceArnHasBeenSet = true; m_replicationInstanceArn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the replication instance.</p>
*/
inline void SetReplicationInstanceArn(const char* value) { m_replicationInstanceArnHasBeenSet = true; m_replicationInstanceArn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the replication instance.</p>
*/
inline ReplicationInstance& WithReplicationInstanceArn(const Aws::String& value) { SetReplicationInstanceArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the replication instance.</p>
*/
inline ReplicationInstance& WithReplicationInstanceArn(Aws::String&& value) { SetReplicationInstanceArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the replication instance.</p>
*/
inline ReplicationInstance& WithReplicationInstanceArn(const char* value) { SetReplicationInstanceArn(value); return *this;}
/**
* <p>One or more public IP addresses for the replication instance.</p>
*/
inline const Aws::Vector<Aws::String>& GetReplicationInstancePublicIpAddresses() const{ return m_replicationInstancePublicIpAddresses; }
/**
* <p>One or more public IP addresses for the replication instance.</p>
*/
inline bool ReplicationInstancePublicIpAddressesHasBeenSet() const { return m_replicationInstancePublicIpAddressesHasBeenSet; }
/**
* <p>One or more public IP addresses for the replication instance.</p>
*/
inline void SetReplicationInstancePublicIpAddresses(const Aws::Vector<Aws::String>& value) { m_replicationInstancePublicIpAddressesHasBeenSet = true; m_replicationInstancePublicIpAddresses = value; }
/**
* <p>One or more public IP addresses for the replication instance.</p>
*/
inline void SetReplicationInstancePublicIpAddresses(Aws::Vector<Aws::String>&& value) { m_replicationInstancePublicIpAddressesHasBeenSet = true; m_replicationInstancePublicIpAddresses = std::move(value); }
/**
* <p>One or more public IP addresses for the replication instance.</p>
*/
inline ReplicationInstance& WithReplicationInstancePublicIpAddresses(const Aws::Vector<Aws::String>& value) { SetReplicationInstancePublicIpAddresses(value); return *this;}
/**
* <p>One or more public IP addresses for the replication instance.</p>
*/
inline ReplicationInstance& WithReplicationInstancePublicIpAddresses(Aws::Vector<Aws::String>&& value) { SetReplicationInstancePublicIpAddresses(std::move(value)); return *this;}
/**
* <p>One or more public IP addresses for the replication instance.</p>
*/
inline ReplicationInstance& AddReplicationInstancePublicIpAddresses(const Aws::String& value) { m_replicationInstancePublicIpAddressesHasBeenSet = true; m_replicationInstancePublicIpAddresses.push_back(value); return *this; }
/**
* <p>One or more public IP addresses for the replication instance.</p>
*/
inline ReplicationInstance& AddReplicationInstancePublicIpAddresses(Aws::String&& value) { m_replicationInstancePublicIpAddressesHasBeenSet = true; m_replicationInstancePublicIpAddresses.push_back(std::move(value)); return *this; }
/**
* <p>One or more public IP addresses for the replication instance.</p>
*/
inline ReplicationInstance& AddReplicationInstancePublicIpAddresses(const char* value) { m_replicationInstancePublicIpAddressesHasBeenSet = true; m_replicationInstancePublicIpAddresses.push_back(value); return *this; }
/**
* <p>One or more private IP addresses for the replication instance.</p>
*/
inline const Aws::Vector<Aws::String>& GetReplicationInstancePrivateIpAddresses() const{ return m_replicationInstancePrivateIpAddresses; }
/**
* <p>One or more private IP addresses for the replication instance.</p>
*/
inline bool ReplicationInstancePrivateIpAddressesHasBeenSet() const { return m_replicationInstancePrivateIpAddressesHasBeenSet; }
/**
* <p>One or more private IP addresses for the replication instance.</p>
*/
inline void SetReplicationInstancePrivateIpAddresses(const Aws::Vector<Aws::String>& value) { m_replicationInstancePrivateIpAddressesHasBeenSet = true; m_replicationInstancePrivateIpAddresses = value; }
/**
* <p>One or more private IP addresses for the replication instance.</p>
*/
inline void SetReplicationInstancePrivateIpAddresses(Aws::Vector<Aws::String>&& value) { m_replicationInstancePrivateIpAddressesHasBeenSet = true; m_replicationInstancePrivateIpAddresses = std::move(value); }
/**
* <p>One or more private IP addresses for the replication instance.</p>
*/
inline ReplicationInstance& WithReplicationInstancePrivateIpAddresses(const Aws::Vector<Aws::String>& value) { SetReplicationInstancePrivateIpAddresses(value); return *this;}
/**
* <p>One or more private IP addresses for the replication instance.</p>
*/
inline ReplicationInstance& WithReplicationInstancePrivateIpAddresses(Aws::Vector<Aws::String>&& value) { SetReplicationInstancePrivateIpAddresses(std::move(value)); return *this;}
/**
* <p>One or more private IP addresses for the replication instance.</p>
*/
inline ReplicationInstance& AddReplicationInstancePrivateIpAddresses(const Aws::String& value) { m_replicationInstancePrivateIpAddressesHasBeenSet = true; m_replicationInstancePrivateIpAddresses.push_back(value); return *this; }
/**
* <p>One or more private IP addresses for the replication instance.</p>
*/
inline ReplicationInstance& AddReplicationInstancePrivateIpAddresses(Aws::String&& value) { m_replicationInstancePrivateIpAddressesHasBeenSet = true; m_replicationInstancePrivateIpAddresses.push_back(std::move(value)); return *this; }
/**
* <p>One or more private IP addresses for the replication instance.</p>
*/
inline ReplicationInstance& AddReplicationInstancePrivateIpAddresses(const char* value) { m_replicationInstancePrivateIpAddressesHasBeenSet = true; m_replicationInstancePrivateIpAddresses.push_back(value); return *this; }
/**
* <p> Specifies the accessibility options for the replication instance. A value of
* <code>true</code> represents an instance with a public IP address. A value of
* <code>false</code> represents an instance with a private IP address. The default
* value is <code>true</code>. </p>
*/
inline bool GetPubliclyAccessible() const{ return m_publiclyAccessible; }
/**
* <p> Specifies the accessibility options for the replication instance. A value of
* <code>true</code> represents an instance with a public IP address. A value of
* <code>false</code> represents an instance with a private IP address. The default
* value is <code>true</code>. </p>
*/
inline bool PubliclyAccessibleHasBeenSet() const { return m_publiclyAccessibleHasBeenSet; }
/**
* <p> Specifies the accessibility options for the replication instance. A value of
* <code>true</code> represents an instance with a public IP address. A value of
* <code>false</code> represents an instance with a private IP address. The default
* value is <code>true</code>. </p>
*/
inline void SetPubliclyAccessible(bool value) { m_publiclyAccessibleHasBeenSet = true; m_publiclyAccessible = value; }
/**
* <p> Specifies the accessibility options for the replication instance. A value of
* <code>true</code> represents an instance with a public IP address. A value of
* <code>false</code> represents an instance with a private IP address. The default
* value is <code>true</code>. </p>
*/
inline ReplicationInstance& WithPubliclyAccessible(bool value) { SetPubliclyAccessible(value); return *this;}
/**
* <p>The Availability Zone of the standby replication instance in a Multi-AZ
* deployment.</p>
*/
inline const Aws::String& GetSecondaryAvailabilityZone() const{ return m_secondaryAvailabilityZone; }
/**
* <p>The Availability Zone of the standby replication instance in a Multi-AZ
* deployment.</p>
*/
inline bool SecondaryAvailabilityZoneHasBeenSet() const { return m_secondaryAvailabilityZoneHasBeenSet; }
/**
* <p>The Availability Zone of the standby replication instance in a Multi-AZ
* deployment.</p>
*/
inline void SetSecondaryAvailabilityZone(const Aws::String& value) { m_secondaryAvailabilityZoneHasBeenSet = true; m_secondaryAvailabilityZone = value; }
/**
* <p>The Availability Zone of the standby replication instance in a Multi-AZ
* deployment.</p>
*/
inline void SetSecondaryAvailabilityZone(Aws::String&& value) { m_secondaryAvailabilityZoneHasBeenSet = true; m_secondaryAvailabilityZone = std::move(value); }
/**
* <p>The Availability Zone of the standby replication instance in a Multi-AZ
* deployment.</p>
*/
inline void SetSecondaryAvailabilityZone(const char* value) { m_secondaryAvailabilityZoneHasBeenSet = true; m_secondaryAvailabilityZone.assign(value); }
/**
* <p>The Availability Zone of the standby replication instance in a Multi-AZ
* deployment.</p>
*/
inline ReplicationInstance& WithSecondaryAvailabilityZone(const Aws::String& value) { SetSecondaryAvailabilityZone(value); return *this;}
/**
* <p>The Availability Zone of the standby replication instance in a Multi-AZ
* deployment.</p>
*/
inline ReplicationInstance& WithSecondaryAvailabilityZone(Aws::String&& value) { SetSecondaryAvailabilityZone(std::move(value)); return *this;}
/**
* <p>The Availability Zone of the standby replication instance in a Multi-AZ
* deployment.</p>
*/
inline ReplicationInstance& WithSecondaryAvailabilityZone(const char* value) { SetSecondaryAvailabilityZone(value); return *this;}
/**
* <p> The expiration date of the free replication instance that is part of the
* Free DMS program. </p>
*/
inline const Aws::Utils::DateTime& GetFreeUntil() const{ return m_freeUntil; }
/**
* <p> The expiration date of the free replication instance that is part of the
* Free DMS program. </p>
*/
inline bool FreeUntilHasBeenSet() const { return m_freeUntilHasBeenSet; }
/**
* <p> The expiration date of the free replication instance that is part of the
* Free DMS program. </p>
*/
inline void SetFreeUntil(const Aws::Utils::DateTime& value) { m_freeUntilHasBeenSet = true; m_freeUntil = value; }
/**
* <p> The expiration date of the free replication instance that is part of the
* Free DMS program. </p>
*/
inline void SetFreeUntil(Aws::Utils::DateTime&& value) { m_freeUntilHasBeenSet = true; m_freeUntil = std::move(value); }
/**
* <p> The expiration date of the free replication instance that is part of the
* Free DMS program. </p>
*/
inline ReplicationInstance& WithFreeUntil(const Aws::Utils::DateTime& value) { SetFreeUntil(value); return *this;}
/**
* <p> The expiration date of the free replication instance that is part of the
* Free DMS program. </p>
*/
inline ReplicationInstance& WithFreeUntil(Aws::Utils::DateTime&& value) { SetFreeUntil(std::move(value)); return *this;}
/**
* <p>The DNS name servers supported for the replication instance to access your
* on-premise source or target database.</p>
*/
inline const Aws::String& GetDnsNameServers() const{ return m_dnsNameServers; }
/**
* <p>The DNS name servers supported for the replication instance to access your
* on-premise source or target database.</p>
*/
inline bool DnsNameServersHasBeenSet() const { return m_dnsNameServersHasBeenSet; }
/**
* <p>The DNS name servers supported for the replication instance to access your
* on-premise source or target database.</p>
*/
inline void SetDnsNameServers(const Aws::String& value) { m_dnsNameServersHasBeenSet = true; m_dnsNameServers = value; }
/**
* <p>The DNS name servers supported for the replication instance to access your
* on-premise source or target database.</p>
*/
inline void SetDnsNameServers(Aws::String&& value) { m_dnsNameServersHasBeenSet = true; m_dnsNameServers = std::move(value); }
/**
* <p>The DNS name servers supported for the replication instance to access your
* on-premise source or target database.</p>
*/
inline void SetDnsNameServers(const char* value) { m_dnsNameServersHasBeenSet = true; m_dnsNameServers.assign(value); }
/**
* <p>The DNS name servers supported for the replication instance to access your
* on-premise source or target database.</p>
*/
inline ReplicationInstance& WithDnsNameServers(const Aws::String& value) { SetDnsNameServers(value); return *this;}
/**
* <p>The DNS name servers supported for the replication instance to access your
* on-premise source or target database.</p>
*/
inline ReplicationInstance& WithDnsNameServers(Aws::String&& value) { SetDnsNameServers(std::move(value)); return *this;}
/**
* <p>The DNS name servers supported for the replication instance to access your
* on-premise source or target database.</p>
*/
inline ReplicationInstance& WithDnsNameServers(const char* value) { SetDnsNameServers(value); return *this;}
private:
Aws::String m_replicationInstanceIdentifier;
bool m_replicationInstanceIdentifierHasBeenSet;
Aws::String m_replicationInstanceClass;
bool m_replicationInstanceClassHasBeenSet;
Aws::String m_replicationInstanceStatus;
bool m_replicationInstanceStatusHasBeenSet;
int m_allocatedStorage;
bool m_allocatedStorageHasBeenSet;
Aws::Utils::DateTime m_instanceCreateTime;
bool m_instanceCreateTimeHasBeenSet;
Aws::Vector<VpcSecurityGroupMembership> m_vpcSecurityGroups;
bool m_vpcSecurityGroupsHasBeenSet;
Aws::String m_availabilityZone;
bool m_availabilityZoneHasBeenSet;
ReplicationSubnetGroup m_replicationSubnetGroup;
bool m_replicationSubnetGroupHasBeenSet;
Aws::String m_preferredMaintenanceWindow;
bool m_preferredMaintenanceWindowHasBeenSet;
ReplicationPendingModifiedValues m_pendingModifiedValues;
bool m_pendingModifiedValuesHasBeenSet;
bool m_multiAZ;
bool m_multiAZHasBeenSet;
Aws::String m_engineVersion;
bool m_engineVersionHasBeenSet;
bool m_autoMinorVersionUpgrade;
bool m_autoMinorVersionUpgradeHasBeenSet;
Aws::String m_kmsKeyId;
bool m_kmsKeyIdHasBeenSet;
Aws::String m_replicationInstanceArn;
bool m_replicationInstanceArnHasBeenSet;
Aws::Vector<Aws::String> m_replicationInstancePublicIpAddresses;
bool m_replicationInstancePublicIpAddressesHasBeenSet;
Aws::Vector<Aws::String> m_replicationInstancePrivateIpAddresses;
bool m_replicationInstancePrivateIpAddressesHasBeenSet;
bool m_publiclyAccessible;
bool m_publiclyAccessibleHasBeenSet;
Aws::String m_secondaryAvailabilityZone;
bool m_secondaryAvailabilityZoneHasBeenSet;
Aws::Utils::DateTime m_freeUntil;
bool m_freeUntilHasBeenSet;
Aws::String m_dnsNameServers;
bool m_dnsNameServersHasBeenSet;
};
} // namespace Model
} // namespace DatabaseMigrationService
} // namespace Aws