/* * 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 drs-2020-02-26.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.Drs.Model { /// /// Information about Data Replication /// public partial class DataReplicationInfo { private DataReplicationError _dataReplicationError; private DataReplicationInitiation _dataReplicationInitiation; private DataReplicationState _dataReplicationState; private string _etaDateTime; private string _lagDuration; private List _replicatedDisks = new List(); private string _stagingAvailabilityZone; /// /// Gets and sets the property DataReplicationError. /// /// Error in data replication. /// /// public DataReplicationError DataReplicationError { get { return this._dataReplicationError; } set { this._dataReplicationError = value; } } // Check to see if DataReplicationError property is set internal bool IsSetDataReplicationError() { return this._dataReplicationError != null; } /// /// Gets and sets the property DataReplicationInitiation. /// /// Information about whether the data replication has been initiated. /// /// public DataReplicationInitiation DataReplicationInitiation { get { return this._dataReplicationInitiation; } set { this._dataReplicationInitiation = value; } } // Check to see if DataReplicationInitiation property is set internal bool IsSetDataReplicationInitiation() { return this._dataReplicationInitiation != null; } /// /// Gets and sets the property DataReplicationState. /// /// The state of the data replication. /// /// public DataReplicationState DataReplicationState { get { return this._dataReplicationState; } set { this._dataReplicationState = value; } } // Check to see if DataReplicationState property is set internal bool IsSetDataReplicationState() { return this._dataReplicationState != null; } /// /// Gets and sets the property EtaDateTime. /// /// An estimate of when the data replication will be completed. /// /// [AWSProperty(Min=19, Max=32)] public string EtaDateTime { get { return this._etaDateTime; } set { this._etaDateTime = value; } } // Check to see if EtaDateTime property is set internal bool IsSetEtaDateTime() { return this._etaDateTime != null; } /// /// Gets and sets the property LagDuration. /// /// Data replication lag duration. /// /// [AWSProperty(Min=1, Max=64)] public string LagDuration { get { return this._lagDuration; } set { this._lagDuration = value; } } // Check to see if LagDuration property is set internal bool IsSetLagDuration() { return this._lagDuration != null; } /// /// Gets and sets the property ReplicatedDisks. /// /// The disks that should be replicated. /// /// [AWSProperty(Min=0, Max=60)] public List ReplicatedDisks { get { return this._replicatedDisks; } set { this._replicatedDisks = value; } } // Check to see if ReplicatedDisks property is set internal bool IsSetReplicatedDisks() { return this._replicatedDisks != null && this._replicatedDisks.Count > 0; } /// /// Gets and sets the property StagingAvailabilityZone. /// /// AWS Availability zone into which data is being replicated. /// /// [AWSProperty(Min=0, Max=255)] public string StagingAvailabilityZone { get { return this._stagingAvailabilityZone; } set { this._stagingAvailabilityZone = value; } } // Check to see if StagingAvailabilityZone property is set internal bool IsSetStagingAvailabilityZone() { return this._stagingAvailabilityZone != null; } } }