/*
* 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
{
///
/// Contains information about the domain controllers for a specified directory.
///
public partial class DomainController
{
private string _availabilityZone;
private string _directoryId;
private string _dnsIpAddr;
private string _domainControllerId;
private DateTime? _launchTime;
private DomainControllerStatus _status;
private DateTime? _statusLastUpdatedDateTime;
private string _statusReason;
private string _subnetId;
private string _vpcId;
///
/// Gets and sets the property AvailabilityZone.
///
/// The Availability Zone where the domain controller is located.
///
///
public string AvailabilityZone
{
get { return this._availabilityZone; }
set { this._availabilityZone = value; }
}
// Check to see if AvailabilityZone property is set
internal bool IsSetAvailabilityZone()
{
return this._availabilityZone != null;
}
///
/// Gets and sets the property DirectoryId.
///
/// Identifier of the directory where the domain controller resides.
///
///
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 DnsIpAddr.
///
/// The IP address of the domain controller.
///
///
public string DnsIpAddr
{
get { return this._dnsIpAddr; }
set { this._dnsIpAddr = value; }
}
// Check to see if DnsIpAddr property is set
internal bool IsSetDnsIpAddr()
{
return this._dnsIpAddr != null;
}
///
/// Gets and sets the property DomainControllerId.
///
/// Identifies a specific domain controller in the directory.
///
///
public string DomainControllerId
{
get { return this._domainControllerId; }
set { this._domainControllerId = value; }
}
// Check to see if DomainControllerId property is set
internal bool IsSetDomainControllerId()
{
return this._domainControllerId != null;
}
///
/// Gets and sets the property LaunchTime.
///
/// Specifies when the domain controller was created.
///
///
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 Status.
///
/// The status of the domain controller.
///
///
public DomainControllerStatus 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 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 StatusReason.
///
/// A description of the domain controller state.
///
///
public string StatusReason
{
get { return this._statusReason; }
set { this._statusReason = value; }
}
// Check to see if StatusReason property is set
internal bool IsSetStatusReason()
{
return this._statusReason != null;
}
///
/// Gets and sets the property SubnetId.
///
/// Identifier of the subnet in the VPC that contains the domain controller.
///
///
public string SubnetId
{
get { return this._subnetId; }
set { this._subnetId = value; }
}
// Check to see if SubnetId property is set
internal bool IsSetSubnetId()
{
return this._subnetId != null;
}
///
/// Gets and sets the property VpcId.
///
/// The identifier of the VPC that contains the domain controller.
///
///
public string VpcId
{
get { return this._vpcId; }
set { this._vpcId = value; }
}
// Check to see if VpcId property is set
internal bool IsSetVpcId()
{
return this._vpcId != null;
}
}
}