/*
* 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 worklink-2018-09-25.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.WorkLink.Model
{
///
/// This is the response object from the DescribeDomain operation.
///
public partial class DescribeDomainResponse : AmazonWebServiceResponse
{
private string _acmCertificateArn;
private DateTime? _createdTime;
private string _displayName;
private string _domainName;
private DomainStatus _domainStatus;
///
/// Gets and sets the property AcmCertificateArn.
///
/// The ARN of an issued ACM certificate that is valid for the domain being associated.
///
///
public string AcmCertificateArn
{
get { return this._acmCertificateArn; }
set { this._acmCertificateArn = value; }
}
// Check to see if AcmCertificateArn property is set
internal bool IsSetAcmCertificateArn()
{
return this._acmCertificateArn != null;
}
///
/// Gets and sets the property CreatedTime.
///
/// The time that the domain was added.
///
///
public DateTime CreatedTime
{
get { return this._createdTime.GetValueOrDefault(); }
set { this._createdTime = value; }
}
// Check to see if CreatedTime property is set
internal bool IsSetCreatedTime()
{
return this._createdTime.HasValue;
}
///
/// Gets and sets the property DisplayName.
///
/// The name to display.
///
///
[AWSProperty(Max=100)]
public string DisplayName
{
get { return this._displayName; }
set { this._displayName = value; }
}
// Check to see if DisplayName property is set
internal bool IsSetDisplayName()
{
return this._displayName != null;
}
///
/// Gets and sets the property DomainName.
///
/// The name of the domain.
///
///
[AWSProperty(Min=1, Max=253)]
public string DomainName
{
get { return this._domainName; }
set { this._domainName = value; }
}
// Check to see if DomainName property is set
internal bool IsSetDomainName()
{
return this._domainName != null;
}
///
/// Gets and sets the property DomainStatus.
///
/// The current state for the domain.
///
///
public DomainStatus DomainStatus
{
get { return this._domainStatus; }
set { this._domainStatus = value; }
}
// Check to see if DomainStatus property is set
internal bool IsSetDomainStatus()
{
return this._domainStatus != null;
}
}
}