/* * 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 StartReplication operation. /// For a given DMS Serverless replication configuration, DMS connects to the source endpoint /// and collects the metadata to analyze the replication workload. Using this metadata, /// DMS then computes and provisions the required capacity and starts replicating to the /// target endpoint using the server resources that DMS has provisioned for the DMS Serverless /// replication. /// public partial class StartReplicationRequest : AmazonDatabaseMigrationServiceRequest { private string _cdcStartPosition; private DateTime? _cdcStartTime; private string _cdcStopPosition; private string _replicationConfigArn; private string _startReplicationType; /// /// Gets and sets the property CdcStartPosition. /// /// Indicates when you want a change data capture (CDC) operation to start. Use either /// CdcStartPosition or CdcStartTime to specify when you want /// a CDC operation to start. Specifying both values results in an error. /// /// /// /// The value can be in date, checkpoint, or LSN/SCN format. /// /// public string CdcStartPosition { get { return this._cdcStartPosition; } set { this._cdcStartPosition = value; } } // Check to see if CdcStartPosition property is set internal bool IsSetCdcStartPosition() { return this._cdcStartPosition != null; } /// /// Gets and sets the property CdcStartTime. /// /// Indicates the start time for a change data capture (CDC) operation. Use either CdcStartTime /// or CdcStartPosition to specify when you want a CDC operation to start. /// Specifying both values results in an error. /// /// public DateTime CdcStartTime { get { return this._cdcStartTime.GetValueOrDefault(); } set { this._cdcStartTime = value; } } // Check to see if CdcStartTime property is set internal bool IsSetCdcStartTime() { return this._cdcStartTime.HasValue; } /// /// Gets and sets the property CdcStopPosition. /// /// Indicates when you want a change data capture (CDC) operation to stop. The value can /// be either server time or commit time. /// /// public string CdcStopPosition { get { return this._cdcStopPosition; } set { this._cdcStopPosition = value; } } // Check to see if CdcStopPosition property is set internal bool IsSetCdcStopPosition() { return this._cdcStopPosition != null; } /// /// Gets and sets the property ReplicationConfigArn. /// /// The Amazon Resource Name of the replication for which to start replication. /// /// [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 StartReplicationType. /// /// The replication type. /// /// [AWSProperty(Required=true)] public string StartReplicationType { get { return this._startReplicationType; } set { this._startReplicationType = value; } } // Check to see if StartReplicationType property is set internal bool IsSetStartReplicationType() { return this._startReplicationType != null; } } }