/* * 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 connect-2017-08-08.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.Connect.Model { /// /// Information about the instance. /// public partial class InstanceSummary { private string _arn; private DateTime? _createdTime; private string _id; private DirectoryType _identityManagementType; private bool? _inboundCallsEnabled; private string _instanceAccessUrl; private string _instanceAlias; private InstanceStatus _instanceStatus; private bool? _outboundCallsEnabled; private string _serviceRole; /// /// Gets and sets the property Arn. /// /// The Amazon Resource Name (ARN) of the instance. /// /// public string Arn { get { return this._arn; } set { this._arn = value; } } // Check to see if Arn property is set internal bool IsSetArn() { return this._arn != null; } /// /// Gets and sets the property CreatedTime. /// /// When the instance was created. /// /// 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 Id. /// /// The identifier of the instance. /// /// [AWSProperty(Min=1, Max=100)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } /// /// Gets and sets the property IdentityManagementType. /// /// The identity management type of the instance. /// /// public DirectoryType IdentityManagementType { get { return this._identityManagementType; } set { this._identityManagementType = value; } } // Check to see if IdentityManagementType property is set internal bool IsSetIdentityManagementType() { return this._identityManagementType != null; } /// /// Gets and sets the property InboundCallsEnabled. /// /// Whether inbound calls are enabled. /// /// public bool InboundCallsEnabled { get { return this._inboundCallsEnabled.GetValueOrDefault(); } set { this._inboundCallsEnabled = value; } } // Check to see if InboundCallsEnabled property is set internal bool IsSetInboundCallsEnabled() { return this._inboundCallsEnabled.HasValue; } /// /// Gets and sets the property InstanceAccessUrl. /// /// This URL allows contact center users to access the Amazon Connect admin website. /// /// public string InstanceAccessUrl { get { return this._instanceAccessUrl; } set { this._instanceAccessUrl = value; } } // Check to see if InstanceAccessUrl property is set internal bool IsSetInstanceAccessUrl() { return this._instanceAccessUrl != null; } /// /// Gets and sets the property InstanceAlias. /// /// The alias of the instance. /// /// [AWSProperty(Sensitive=true, Min=1, Max=45)] public string InstanceAlias { get { return this._instanceAlias; } set { this._instanceAlias = value; } } // Check to see if InstanceAlias property is set internal bool IsSetInstanceAlias() { return this._instanceAlias != null; } /// /// Gets and sets the property InstanceStatus. /// /// The state of the instance. /// /// public InstanceStatus InstanceStatus { get { return this._instanceStatus; } set { this._instanceStatus = value; } } // Check to see if InstanceStatus property is set internal bool IsSetInstanceStatus() { return this._instanceStatus != null; } /// /// Gets and sets the property OutboundCallsEnabled. /// /// Whether outbound calls are enabled. /// /// public bool OutboundCallsEnabled { get { return this._outboundCallsEnabled.GetValueOrDefault(); } set { this._outboundCallsEnabled = value; } } // Check to see if OutboundCallsEnabled property is set internal bool IsSetOutboundCallsEnabled() { return this._outboundCallsEnabled.HasValue; } /// /// Gets and sets the property ServiceRole. /// /// The service role of the instance. /// /// public string ServiceRole { get { return this._serviceRole; } set { this._serviceRole = value; } } // Check to see if ServiceRole property is set internal bool IsSetServiceRole() { return this._serviceRole != null; } } }