/* * 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 ds-2015-04-16.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.DirectoryService.Model { /// /// The replicated Region information for a directory. /// public partial class RegionDescription { private int? _desiredNumberOfDomainControllers; private string _directoryId; private DateTime? _lastUpdatedDateTime; private DateTime? _launchTime; private string _regionName; private RegionType _regionType; private DirectoryStage _status; private DateTime? _statusLastUpdatedDateTime; private DirectoryVpcSettings _vpcSettings; /// /// Gets and sets the property DesiredNumberOfDomainControllers. /// /// The desired number of domain controllers in the specified Region for the specified /// directory. /// /// [AWSProperty(Min=2)] public int DesiredNumberOfDomainControllers { get { return this._desiredNumberOfDomainControllers.GetValueOrDefault(); } set { this._desiredNumberOfDomainControllers = value; } } // Check to see if DesiredNumberOfDomainControllers property is set internal bool IsSetDesiredNumberOfDomainControllers() { return this._desiredNumberOfDomainControllers.HasValue; } /// /// Gets and sets the property DirectoryId. /// /// The identifier of the directory. /// /// public string DirectoryId { get { return this._directoryId; } set { this._directoryId = value; } } // Check to see if DirectoryId property is set internal bool IsSetDirectoryId() { return this._directoryId != null; } /// /// Gets and sets the property LastUpdatedDateTime. /// /// The date and time that the Region description was last updated. /// /// public DateTime LastUpdatedDateTime { get { return this._lastUpdatedDateTime.GetValueOrDefault(); } set { this._lastUpdatedDateTime = value; } } // Check to see if LastUpdatedDateTime property is set internal bool IsSetLastUpdatedDateTime() { return this._lastUpdatedDateTime.HasValue; } /// /// Gets and sets the property LaunchTime. /// /// Specifies when the Region replication began. /// /// public DateTime LaunchTime { get { return this._launchTime.GetValueOrDefault(); } set { this._launchTime = value; } } // Check to see if LaunchTime property is set internal bool IsSetLaunchTime() { return this._launchTime.HasValue; } /// /// Gets and sets the property RegionName. /// /// The name of the Region. For example, us-east-1. /// /// [AWSProperty(Min=8, Max=32)] public string RegionName { get { return this._regionName; } set { this._regionName = value; } } // Check to see if RegionName property is set internal bool IsSetRegionName() { return this._regionName != null; } /// /// Gets and sets the property RegionType. /// /// Specifies whether the Region is the primary Region or an additional Region. /// /// public RegionType RegionType { get { return this._regionType; } set { this._regionType = value; } } // Check to see if RegionType property is set internal bool IsSetRegionType() { return this._regionType != null; } /// /// Gets and sets the property Status. /// /// The status of the replication process for the specified Region. /// /// public DirectoryStage Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } /// /// Gets and sets the property StatusLastUpdatedDateTime. /// /// The date and time that the Region status was last updated. /// /// public DateTime StatusLastUpdatedDateTime { get { return this._statusLastUpdatedDateTime.GetValueOrDefault(); } set { this._statusLastUpdatedDateTime = value; } } // Check to see if StatusLastUpdatedDateTime property is set internal bool IsSetStatusLastUpdatedDateTime() { return this._statusLastUpdatedDateTime.HasValue; } /// /// Gets and sets the property VpcSettings. /// public DirectoryVpcSettings VpcSettings { get { return this._vpcSettings; } set { this._vpcSettings = value; } } // Check to see if VpcSettings property is set internal bool IsSetVpcSettings() { return this._vpcSettings != null; } } }