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

This object provides configuration information about a serverless * replication.

See Also:

AWS * API Reference

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

The identifier for the ReplicationConfig associated with the * replication.

*/ inline const Aws::String& GetReplicationConfigIdentifier() const{ return m_replicationConfigIdentifier; } /** *

The identifier for the ReplicationConfig associated with the * replication.

*/ inline bool ReplicationConfigIdentifierHasBeenSet() const { return m_replicationConfigIdentifierHasBeenSet; } /** *

The identifier for the ReplicationConfig associated with the * replication.

*/ inline void SetReplicationConfigIdentifier(const Aws::String& value) { m_replicationConfigIdentifierHasBeenSet = true; m_replicationConfigIdentifier = value; } /** *

The identifier for the ReplicationConfig associated with the * replication.

*/ inline void SetReplicationConfigIdentifier(Aws::String&& value) { m_replicationConfigIdentifierHasBeenSet = true; m_replicationConfigIdentifier = std::move(value); } /** *

The identifier for the ReplicationConfig associated with the * replication.

*/ inline void SetReplicationConfigIdentifier(const char* value) { m_replicationConfigIdentifierHasBeenSet = true; m_replicationConfigIdentifier.assign(value); } /** *

The identifier for the ReplicationConfig associated with the * replication.

*/ inline ReplicationConfig& WithReplicationConfigIdentifier(const Aws::String& value) { SetReplicationConfigIdentifier(value); return *this;} /** *

The identifier for the ReplicationConfig associated with the * replication.

*/ inline ReplicationConfig& WithReplicationConfigIdentifier(Aws::String&& value) { SetReplicationConfigIdentifier(std::move(value)); return *this;} /** *

The identifier for the ReplicationConfig associated with the * replication.

*/ inline ReplicationConfig& WithReplicationConfigIdentifier(const char* value) { SetReplicationConfigIdentifier(value); return *this;} /** *

The Amazon Resource Name (ARN) of this DMS Serverless replication * configuration.

*/ inline const Aws::String& GetReplicationConfigArn() const{ return m_replicationConfigArn; } /** *

The Amazon Resource Name (ARN) of this DMS Serverless replication * configuration.

*/ inline bool ReplicationConfigArnHasBeenSet() const { return m_replicationConfigArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of this DMS Serverless replication * configuration.

*/ inline void SetReplicationConfigArn(const Aws::String& value) { m_replicationConfigArnHasBeenSet = true; m_replicationConfigArn = value; } /** *

The Amazon Resource Name (ARN) of this DMS Serverless replication * configuration.

*/ inline void SetReplicationConfigArn(Aws::String&& value) { m_replicationConfigArnHasBeenSet = true; m_replicationConfigArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of this DMS Serverless replication * configuration.

*/ inline void SetReplicationConfigArn(const char* value) { m_replicationConfigArnHasBeenSet = true; m_replicationConfigArn.assign(value); } /** *

The Amazon Resource Name (ARN) of this DMS Serverless replication * configuration.

*/ inline ReplicationConfig& WithReplicationConfigArn(const Aws::String& value) { SetReplicationConfigArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of this DMS Serverless replication * configuration.

*/ inline ReplicationConfig& WithReplicationConfigArn(Aws::String&& value) { SetReplicationConfigArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of this DMS Serverless replication * configuration.

*/ inline ReplicationConfig& WithReplicationConfigArn(const char* value) { SetReplicationConfigArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the source endpoint for this DMS serverless * replication configuration.

*/ inline const Aws::String& GetSourceEndpointArn() const{ return m_sourceEndpointArn; } /** *

The Amazon Resource Name (ARN) of the source endpoint for this DMS serverless * replication configuration.

*/ inline bool SourceEndpointArnHasBeenSet() const { return m_sourceEndpointArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the source endpoint for this DMS serverless * replication configuration.

*/ inline void SetSourceEndpointArn(const Aws::String& value) { m_sourceEndpointArnHasBeenSet = true; m_sourceEndpointArn = value; } /** *

The Amazon Resource Name (ARN) of the source endpoint for this DMS serverless * replication configuration.

*/ inline void SetSourceEndpointArn(Aws::String&& value) { m_sourceEndpointArnHasBeenSet = true; m_sourceEndpointArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the source endpoint for this DMS serverless * replication configuration.

*/ inline void SetSourceEndpointArn(const char* value) { m_sourceEndpointArnHasBeenSet = true; m_sourceEndpointArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the source endpoint for this DMS serverless * replication configuration.

*/ inline ReplicationConfig& WithSourceEndpointArn(const Aws::String& value) { SetSourceEndpointArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the source endpoint for this DMS serverless * replication configuration.

*/ inline ReplicationConfig& WithSourceEndpointArn(Aws::String&& value) { SetSourceEndpointArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the source endpoint for this DMS serverless * replication configuration.

*/ inline ReplicationConfig& WithSourceEndpointArn(const char* value) { SetSourceEndpointArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the target endpoint for this DMS serverless * replication configuration.

*/ inline const Aws::String& GetTargetEndpointArn() const{ return m_targetEndpointArn; } /** *

The Amazon Resource Name (ARN) of the target endpoint for this DMS serverless * replication configuration.

*/ inline bool TargetEndpointArnHasBeenSet() const { return m_targetEndpointArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the target endpoint for this DMS serverless * replication configuration.

*/ inline void SetTargetEndpointArn(const Aws::String& value) { m_targetEndpointArnHasBeenSet = true; m_targetEndpointArn = value; } /** *

The Amazon Resource Name (ARN) of the target endpoint for this DMS serverless * replication configuration.

*/ inline void SetTargetEndpointArn(Aws::String&& value) { m_targetEndpointArnHasBeenSet = true; m_targetEndpointArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the target endpoint for this DMS serverless * replication configuration.

*/ inline void SetTargetEndpointArn(const char* value) { m_targetEndpointArnHasBeenSet = true; m_targetEndpointArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the target endpoint for this DMS serverless * replication configuration.

*/ inline ReplicationConfig& WithTargetEndpointArn(const Aws::String& value) { SetTargetEndpointArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the target endpoint for this DMS serverless * replication configuration.

*/ inline ReplicationConfig& WithTargetEndpointArn(Aws::String&& value) { SetTargetEndpointArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the target endpoint for this DMS serverless * replication configuration.

*/ inline ReplicationConfig& WithTargetEndpointArn(const char* value) { SetTargetEndpointArn(value); return *this;} /** *

The type of the replication.

*/ inline const MigrationTypeValue& GetReplicationType() const{ return m_replicationType; } /** *

The type of the replication.

*/ inline bool ReplicationTypeHasBeenSet() const { return m_replicationTypeHasBeenSet; } /** *

The type of the replication.

*/ inline void SetReplicationType(const MigrationTypeValue& value) { m_replicationTypeHasBeenSet = true; m_replicationType = value; } /** *

The type of the replication.

*/ inline void SetReplicationType(MigrationTypeValue&& value) { m_replicationTypeHasBeenSet = true; m_replicationType = std::move(value); } /** *

The type of the replication.

*/ inline ReplicationConfig& WithReplicationType(const MigrationTypeValue& value) { SetReplicationType(value); return *this;} /** *

The type of the replication.

*/ inline ReplicationConfig& WithReplicationType(MigrationTypeValue&& value) { SetReplicationType(std::move(value)); return *this;} /** *

Configuration parameters for provisioning an DMS serverless replication.

*/ inline const ComputeConfig& GetComputeConfig() const{ return m_computeConfig; } /** *

Configuration parameters for provisioning an DMS serverless replication.

*/ inline bool ComputeConfigHasBeenSet() const { return m_computeConfigHasBeenSet; } /** *

Configuration parameters for provisioning an DMS serverless replication.

*/ inline void SetComputeConfig(const ComputeConfig& value) { m_computeConfigHasBeenSet = true; m_computeConfig = value; } /** *

Configuration parameters for provisioning an DMS serverless replication.

*/ inline void SetComputeConfig(ComputeConfig&& value) { m_computeConfigHasBeenSet = true; m_computeConfig = std::move(value); } /** *

Configuration parameters for provisioning an DMS serverless replication.

*/ inline ReplicationConfig& WithComputeConfig(const ComputeConfig& value) { SetComputeConfig(value); return *this;} /** *

Configuration parameters for provisioning an DMS serverless replication.

*/ inline ReplicationConfig& WithComputeConfig(ComputeConfig&& value) { SetComputeConfig(std::move(value)); return *this;} /** *

Configuration parameters for an DMS serverless replication.

*/ inline const Aws::String& GetReplicationSettings() const{ return m_replicationSettings; } /** *

Configuration parameters for an DMS serverless replication.

*/ inline bool ReplicationSettingsHasBeenSet() const { return m_replicationSettingsHasBeenSet; } /** *

Configuration parameters for an DMS serverless replication.

*/ inline void SetReplicationSettings(const Aws::String& value) { m_replicationSettingsHasBeenSet = true; m_replicationSettings = value; } /** *

Configuration parameters for an DMS serverless replication.

*/ inline void SetReplicationSettings(Aws::String&& value) { m_replicationSettingsHasBeenSet = true; m_replicationSettings = std::move(value); } /** *

Configuration parameters for an DMS serverless replication.

*/ inline void SetReplicationSettings(const char* value) { m_replicationSettingsHasBeenSet = true; m_replicationSettings.assign(value); } /** *

Configuration parameters for an DMS serverless replication.

*/ inline ReplicationConfig& WithReplicationSettings(const Aws::String& value) { SetReplicationSettings(value); return *this;} /** *

Configuration parameters for an DMS serverless replication.

*/ inline ReplicationConfig& WithReplicationSettings(Aws::String&& value) { SetReplicationSettings(std::move(value)); return *this;} /** *

Configuration parameters for an DMS serverless replication.

*/ inline ReplicationConfig& WithReplicationSettings(const char* value) { SetReplicationSettings(value); return *this;} /** *

Additional parameters for an DMS serverless replication.

*/ inline const Aws::String& GetSupplementalSettings() const{ return m_supplementalSettings; } /** *

Additional parameters for an DMS serverless replication.

*/ inline bool SupplementalSettingsHasBeenSet() const { return m_supplementalSettingsHasBeenSet; } /** *

Additional parameters for an DMS serverless replication.

*/ inline void SetSupplementalSettings(const Aws::String& value) { m_supplementalSettingsHasBeenSet = true; m_supplementalSettings = value; } /** *

Additional parameters for an DMS serverless replication.

*/ inline void SetSupplementalSettings(Aws::String&& value) { m_supplementalSettingsHasBeenSet = true; m_supplementalSettings = std::move(value); } /** *

Additional parameters for an DMS serverless replication.

*/ inline void SetSupplementalSettings(const char* value) { m_supplementalSettingsHasBeenSet = true; m_supplementalSettings.assign(value); } /** *

Additional parameters for an DMS serverless replication.

*/ inline ReplicationConfig& WithSupplementalSettings(const Aws::String& value) { SetSupplementalSettings(value); return *this;} /** *

Additional parameters for an DMS serverless replication.

*/ inline ReplicationConfig& WithSupplementalSettings(Aws::String&& value) { SetSupplementalSettings(std::move(value)); return *this;} /** *

Additional parameters for an DMS serverless replication.

*/ inline ReplicationConfig& WithSupplementalSettings(const char* value) { SetSupplementalSettings(value); return *this;} /** *

Table mappings specified in the replication.

*/ inline const Aws::String& GetTableMappings() const{ return m_tableMappings; } /** *

Table mappings specified in the replication.

*/ inline bool TableMappingsHasBeenSet() const { return m_tableMappingsHasBeenSet; } /** *

Table mappings specified in the replication.

*/ inline void SetTableMappings(const Aws::String& value) { m_tableMappingsHasBeenSet = true; m_tableMappings = value; } /** *

Table mappings specified in the replication.

*/ inline void SetTableMappings(Aws::String&& value) { m_tableMappingsHasBeenSet = true; m_tableMappings = std::move(value); } /** *

Table mappings specified in the replication.

*/ inline void SetTableMappings(const char* value) { m_tableMappingsHasBeenSet = true; m_tableMappings.assign(value); } /** *

Table mappings specified in the replication.

*/ inline ReplicationConfig& WithTableMappings(const Aws::String& value) { SetTableMappings(value); return *this;} /** *

Table mappings specified in the replication.

*/ inline ReplicationConfig& WithTableMappings(Aws::String&& value) { SetTableMappings(std::move(value)); return *this;} /** *

Table mappings specified in the replication.

*/ inline ReplicationConfig& WithTableMappings(const char* value) { SetTableMappings(value); return *this;} /** *

The time the serverless replication config was created.

*/ inline const Aws::Utils::DateTime& GetReplicationConfigCreateTime() const{ return m_replicationConfigCreateTime; } /** *

The time the serverless replication config was created.

*/ inline bool ReplicationConfigCreateTimeHasBeenSet() const { return m_replicationConfigCreateTimeHasBeenSet; } /** *

The time the serverless replication config was created.

*/ inline void SetReplicationConfigCreateTime(const Aws::Utils::DateTime& value) { m_replicationConfigCreateTimeHasBeenSet = true; m_replicationConfigCreateTime = value; } /** *

The time the serverless replication config was created.

*/ inline void SetReplicationConfigCreateTime(Aws::Utils::DateTime&& value) { m_replicationConfigCreateTimeHasBeenSet = true; m_replicationConfigCreateTime = std::move(value); } /** *

The time the serverless replication config was created.

*/ inline ReplicationConfig& WithReplicationConfigCreateTime(const Aws::Utils::DateTime& value) { SetReplicationConfigCreateTime(value); return *this;} /** *

The time the serverless replication config was created.

*/ inline ReplicationConfig& WithReplicationConfigCreateTime(Aws::Utils::DateTime&& value) { SetReplicationConfigCreateTime(std::move(value)); return *this;} /** *

The time the serverless replication config was updated.

*/ inline const Aws::Utils::DateTime& GetReplicationConfigUpdateTime() const{ return m_replicationConfigUpdateTime; } /** *

The time the serverless replication config was updated.

*/ inline bool ReplicationConfigUpdateTimeHasBeenSet() const { return m_replicationConfigUpdateTimeHasBeenSet; } /** *

The time the serverless replication config was updated.

*/ inline void SetReplicationConfigUpdateTime(const Aws::Utils::DateTime& value) { m_replicationConfigUpdateTimeHasBeenSet = true; m_replicationConfigUpdateTime = value; } /** *

The time the serverless replication config was updated.

*/ inline void SetReplicationConfigUpdateTime(Aws::Utils::DateTime&& value) { m_replicationConfigUpdateTimeHasBeenSet = true; m_replicationConfigUpdateTime = std::move(value); } /** *

The time the serverless replication config was updated.

*/ inline ReplicationConfig& WithReplicationConfigUpdateTime(const Aws::Utils::DateTime& value) { SetReplicationConfigUpdateTime(value); return *this;} /** *

The time the serverless replication config was updated.

*/ inline ReplicationConfig& WithReplicationConfigUpdateTime(Aws::Utils::DateTime&& value) { SetReplicationConfigUpdateTime(std::move(value)); return *this;} private: Aws::String m_replicationConfigIdentifier; bool m_replicationConfigIdentifierHasBeenSet = false; Aws::String m_replicationConfigArn; bool m_replicationConfigArnHasBeenSet = false; Aws::String m_sourceEndpointArn; bool m_sourceEndpointArnHasBeenSet = false; Aws::String m_targetEndpointArn; bool m_targetEndpointArnHasBeenSet = false; MigrationTypeValue m_replicationType; bool m_replicationTypeHasBeenSet = false; ComputeConfig m_computeConfig; bool m_computeConfigHasBeenSet = false; Aws::String m_replicationSettings; bool m_replicationSettingsHasBeenSet = false; Aws::String m_supplementalSettings; bool m_supplementalSettingsHasBeenSet = false; Aws::String m_tableMappings; bool m_tableMappingsHasBeenSet = false; Aws::Utils::DateTime m_replicationConfigCreateTime; bool m_replicationConfigCreateTimeHasBeenSet = false; Aws::Utils::DateTime m_replicationConfigUpdateTime; bool m_replicationConfigUpdateTimeHasBeenSet = false; }; } // namespace Model } // namespace DatabaseMigrationService } // namespace Aws