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

Provides information about the values of pending modifications to a * replication instance. This data type is an object of the * ReplicationInstance user-defined data type.

See * Also:

AWS * API Reference

*/ class ReplicationPendingModifiedValues { public: AWS_DATABASEMIGRATIONSERVICE_API ReplicationPendingModifiedValues(); AWS_DATABASEMIGRATIONSERVICE_API ReplicationPendingModifiedValues(Aws::Utils::Json::JsonView jsonValue); AWS_DATABASEMIGRATIONSERVICE_API ReplicationPendingModifiedValues& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The compute and memory capacity of the replication instance as defined for * the specified replication instance class.

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 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 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 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 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 more information on the * settings and capacities for the available replication instance classes, see * Selecting the right DMS replication instance for your migration.

*/ inline ReplicationPendingModifiedValues& 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 more information on the * settings and capacities for the available replication instance classes, see * Selecting the right DMS replication instance for your migration.

*/ inline ReplicationPendingModifiedValues& 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 more information on the * settings and capacities for the available replication instance classes, see * Selecting the right DMS replication instance for your migration.

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

The amount of storage (in gigabytes) that is allocated for the replication * instance.

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

The amount of storage (in gigabytes) that is allocated for the replication * instance.

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

The amount of storage (in gigabytes) that is allocated for the replication * instance.

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

The amount of storage (in gigabytes) that is allocated for the replication * instance.

*/ inline ReplicationPendingModifiedValues& WithAllocatedStorage(int value) { SetAllocatedStorage(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 ReplicationPendingModifiedValues& WithMultiAZ(bool value) { SetMultiAZ(value); return *this;} /** *

The engine version number of the replication instance.

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

The engine version number of the replication instance.

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

The engine version number of the replication instance.

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

The engine version number of the replication instance.

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

The engine version number of the replication instance.

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

The engine version number of the replication instance.

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

The engine version number of the replication instance.

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

The engine version number of the replication instance.

*/ inline ReplicationPendingModifiedValues& WithEngineVersion(const char* value) { SetEngineVersion(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 ReplicationPendingModifiedValues& 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 ReplicationPendingModifiedValues& 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 ReplicationPendingModifiedValues& WithNetworkType(const char* value) { SetNetworkType(value); return *this;} private: Aws::String m_replicationInstanceClass; bool m_replicationInstanceClassHasBeenSet = false; int m_allocatedStorage; bool m_allocatedStorageHasBeenSet = false; bool m_multiAZ; bool m_multiAZHasBeenSet = false; Aws::String m_engineVersion; bool m_engineVersionHasBeenSet = false; Aws::String m_networkType; bool m_networkTypeHasBeenSet = false; }; } // namespace Model } // namespace DatabaseMigrationService } // namespace Aws