/*
* 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 connectcases-2022-10-03.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.ConnectCases.Model
{
///
/// This is the response object from the GetDomain operation.
///
public partial class GetDomainResponse : AmazonWebServiceResponse
{
private DateTime? _createdTime;
private string _domainArn;
private string _domainId;
private DomainStatus _domainStatus;
private string _name;
private Dictionary _tags = new Dictionary();
///
/// Gets and sets the property CreatedTime.
///
/// The timestamp when the Cases domain was created.
///
///
[AWSProperty(Required=true)]
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 DomainArn.
///
/// The Amazon Resource Name (ARN) for the Cases domain.
///
///
[AWSProperty(Required=true, Min=1, Max=500)]
public string DomainArn
{
get { return this._domainArn; }
set { this._domainArn = value; }
}
// Check to see if DomainArn property is set
internal bool IsSetDomainArn()
{
return this._domainArn != null;
}
///
/// Gets and sets the property DomainId.
///
/// The unique identifier of the Cases domain.
///
///
[AWSProperty(Required=true, Min=1, Max=500)]
public string DomainId
{
get { return this._domainId; }
set { this._domainId = value; }
}
// Check to see if DomainId property is set
internal bool IsSetDomainId()
{
return this._domainId != null;
}
///
/// Gets and sets the property DomainStatus.
///
/// The status of the Cases domain.
///
///
[AWSProperty(Required=true)]
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;
}
///
/// Gets and sets the property Name.
///
/// The name of the Cases domain.
///
///
[AWSProperty(Required=true, Min=1, Max=100)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
///
/// Gets and sets the property Tags.
///
/// A map of of key-value pairs that represent tags on a resource. Tags are used to organize,
/// track, or control access for this resource.
///
///
public Dictionary Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
}