/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the dms-2016-01-01.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.DatabaseMigrationService.Model { /// /// Container for the parameters to the ModifyReplicationConfig operation. /// Modifies an existing DMS Serverless replication configuration that you can use to /// start a replication. This command includes input validation and logic to check the /// state of any replication that uses this configuration. You can only modify a replication /// configuration before any replication that uses it has started. As soon as you have /// initially started a replication with a given configuiration, you can't modify that /// configuration, even if you stop it. /// /// /// /// Other run statuses that allow you to run this command include FAILED and CREATED. /// A provisioning state that allows you to run this command is FAILED_PROVISION. /// /// public partial class ModifyReplicationConfigRequest : AmazonDatabaseMigrationServiceRequest { private ComputeConfig _computeConfig; private string _replicationConfigArn; private string _replicationConfigIdentifier; private string _replicationSettings; private MigrationTypeValue _replicationType; private string _sourceEndpointArn; private string _supplementalSettings; private string _tableMappings; private string _targetEndpointArn; /// /// Gets and sets the property ComputeConfig. /// /// Configuration parameters for provisioning an DMS Serverless replication. /// /// public ComputeConfig ComputeConfig { get { return this._computeConfig; } set { this._computeConfig = value; } } // Check to see if ComputeConfig property is set internal bool IsSetComputeConfig() { return this._computeConfig != null; } /// /// Gets and sets the property ReplicationConfigArn. /// /// The Amazon Resource Name of the replication to modify. /// /// [AWSProperty(Required=true)] public string ReplicationConfigArn { get { return this._replicationConfigArn; } set { this._replicationConfigArn = value; } } // Check to see if ReplicationConfigArn property is set internal bool IsSetReplicationConfigArn() { return this._replicationConfigArn != null; } /// /// Gets and sets the property ReplicationConfigIdentifier. /// /// The new replication config to apply to the replication. /// /// public string ReplicationConfigIdentifier { get { return this._replicationConfigIdentifier; } set { this._replicationConfigIdentifier = value; } } // Check to see if ReplicationConfigIdentifier property is set internal bool IsSetReplicationConfigIdentifier() { return this._replicationConfigIdentifier != null; } /// /// Gets and sets the property ReplicationSettings. /// /// The settings for the replication. /// /// public string ReplicationSettings { get { return this._replicationSettings; } set { this._replicationSettings = value; } } // Check to see if ReplicationSettings property is set internal bool IsSetReplicationSettings() { return this._replicationSettings != null; } /// /// Gets and sets the property ReplicationType. /// /// The type of replication. /// /// public MigrationTypeValue ReplicationType { get { return this._replicationType; } set { this._replicationType = value; } } // Check to see if ReplicationType property is set internal bool IsSetReplicationType() { return this._replicationType != null; } /// /// Gets and sets the property SourceEndpointArn. /// /// The Amazon Resource Name (ARN) of the source endpoint for this DMS serverless replication /// configuration. /// /// public string SourceEndpointArn { get { return this._sourceEndpointArn; } set { this._sourceEndpointArn = value; } } // Check to see if SourceEndpointArn property is set internal bool IsSetSourceEndpointArn() { return this._sourceEndpointArn != null; } /// /// Gets and sets the property SupplementalSettings. /// /// Additional settings for the replication. /// /// public string SupplementalSettings { get { return this._supplementalSettings; } set { this._supplementalSettings = value; } } // Check to see if SupplementalSettings property is set internal bool IsSetSupplementalSettings() { return this._supplementalSettings != null; } /// /// Gets and sets the property TableMappings. /// /// Table mappings specified in the replication. /// /// public string TableMappings { get { return this._tableMappings; } set { this._tableMappings = value; } } // Check to see if TableMappings property is set internal bool IsSetTableMappings() { return this._tableMappings != null; } /// /// Gets and sets the property TargetEndpointArn. /// /// The Amazon Resource Name (ARN) of the target endpoint for this DMS serverless replication /// configuration. /// /// public string TargetEndpointArn { get { return this._targetEndpointArn; } set { this._targetEndpointArn = value; } } // Check to see if TargetEndpointArn property is set internal bool IsSetTargetEndpointArn() { return this._targetEndpointArn != null; } } }