/* * 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 { /// /// Contains information about a user account for an Amazon Connect instance. /// public partial class User { private string _arn; private string _directoryUserId; private string _hierarchyGroupId; private string _id; private UserIdentityInfo _identityInfo; private UserPhoneConfig _phoneConfig; private string _routingProfileId; private List _securityProfileIds = new List(); private Dictionary _tags = new Dictionary(); private string _username; /// /// Gets and sets the property Arn. /// /// The Amazon Resource Name (ARN) of the user account. /// /// 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 DirectoryUserId. /// /// The identifier of the user account in the directory used for identity management. /// /// public string DirectoryUserId { get { return this._directoryUserId; } set { this._directoryUserId = value; } } // Check to see if DirectoryUserId property is set internal bool IsSetDirectoryUserId() { return this._directoryUserId != null; } /// /// Gets and sets the property HierarchyGroupId. /// /// The identifier of the hierarchy group for the user. /// /// public string HierarchyGroupId { get { return this._hierarchyGroupId; } set { this._hierarchyGroupId = value; } } // Check to see if HierarchyGroupId property is set internal bool IsSetHierarchyGroupId() { return this._hierarchyGroupId != null; } /// /// Gets and sets the property Id. /// /// The identifier of the user account. /// /// 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 IdentityInfo. /// /// Information about the user identity. /// /// public UserIdentityInfo IdentityInfo { get { return this._identityInfo; } set { this._identityInfo = value; } } // Check to see if IdentityInfo property is set internal bool IsSetIdentityInfo() { return this._identityInfo != null; } /// /// Gets and sets the property PhoneConfig. /// /// Information about the phone configuration for the user. /// /// public UserPhoneConfig PhoneConfig { get { return this._phoneConfig; } set { this._phoneConfig = value; } } // Check to see if PhoneConfig property is set internal bool IsSetPhoneConfig() { return this._phoneConfig != null; } /// /// Gets and sets the property RoutingProfileId. /// /// The identifier of the routing profile for the user. /// /// public string RoutingProfileId { get { return this._routingProfileId; } set { this._routingProfileId = value; } } // Check to see if RoutingProfileId property is set internal bool IsSetRoutingProfileId() { return this._routingProfileId != null; } /// /// Gets and sets the property SecurityProfileIds. /// /// The identifiers of the security profiles for the user. /// /// [AWSProperty(Min=1, Max=10)] public List SecurityProfileIds { get { return this._securityProfileIds; } set { this._securityProfileIds = value; } } // Check to see if SecurityProfileIds property is set internal bool IsSetSecurityProfileIds() { return this._securityProfileIds != null && this._securityProfileIds.Count > 0; } /// /// Gets and sets the property Tags. /// /// The tags. /// /// [AWSProperty(Min=1, Max=50)] 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; } /// /// Gets and sets the property Username. /// /// The user name assigned to the user account. /// /// [AWSProperty(Min=1, Max=100)] public string Username { get { return this._username; } set { this._username = value; } } // Check to see if Username property is set internal bool IsSetUsername() { return this._username != null; } } }