/* * 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 { /// /// Provides information that describes status of a schema at an endpoint specified by /// the DescribeRefreshSchemaStatus operation. /// public partial class RefreshSchemasStatus { private string _endpointArn; private string _lastFailureMessage; private DateTime? _lastRefreshDate; private string _replicationInstanceArn; private RefreshSchemasStatusTypeValue _status; /// /// Gets and sets the property EndpointArn. /// /// The Amazon Resource Name (ARN) string that uniquely identifies the endpoint. /// /// public string EndpointArn { get { return this._endpointArn; } set { this._endpointArn = value; } } // Check to see if EndpointArn property is set internal bool IsSetEndpointArn() { return this._endpointArn != null; } /// /// Gets and sets the property LastFailureMessage. /// /// The last failure message for the schema. /// /// public string LastFailureMessage { get { return this._lastFailureMessage; } set { this._lastFailureMessage = value; } } // Check to see if LastFailureMessage property is set internal bool IsSetLastFailureMessage() { return this._lastFailureMessage != null; } /// /// Gets and sets the property LastRefreshDate. /// /// The date the schema was last refreshed. /// /// public DateTime LastRefreshDate { get { return this._lastRefreshDate.GetValueOrDefault(); } set { this._lastRefreshDate = value; } } // Check to see if LastRefreshDate property is set internal bool IsSetLastRefreshDate() { return this._lastRefreshDate.HasValue; } /// /// Gets and sets the property ReplicationInstanceArn. /// /// The Amazon Resource Name (ARN) of the replication instance. /// /// public string ReplicationInstanceArn { get { return this._replicationInstanceArn; } set { this._replicationInstanceArn = value; } } // Check to see if ReplicationInstanceArn property is set internal bool IsSetReplicationInstanceArn() { return this._replicationInstanceArn != null; } /// /// Gets and sets the property Status. /// /// The status of the schema. /// /// public RefreshSchemasStatusTypeValue Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } } }