/* * 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 identitystore-2020-06-15.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.IdentityStore.Model { /// /// This is the response object from the DescribeUser operation. /// public partial class DescribeUserResponse : AmazonWebServiceResponse { private List
_addresses = new List
(); private string _displayName; private List _emails = new List(); private List _externalIds = new List(); private string _identityStoreId; private string _locale; private Name _name; private string _nickName; private List _phoneNumbers = new List(); private string _preferredLanguage; private string _profileUrl; private string _timezone; private string _title; private string _userId; private string _userName; private string _userType; /// /// Gets and sets the property Addresses. /// /// The physical address of the user. /// /// [AWSProperty(Min=1, Max=1)] public List
Addresses { get { return this._addresses; } set { this._addresses = value; } } // Check to see if Addresses property is set internal bool IsSetAddresses() { return this._addresses != null && this._addresses.Count > 0; } /// /// Gets and sets the property DisplayName. /// /// The display name of the user. /// /// [AWSProperty(Sensitive=true, Min=1, Max=1024)] 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 Emails. /// /// The email address of the user. /// /// [AWSProperty(Min=1, Max=1)] public List Emails { get { return this._emails; } set { this._emails = value; } } // Check to see if Emails property is set internal bool IsSetEmails() { return this._emails != null && this._emails.Count > 0; } /// /// Gets and sets the property ExternalIds. /// /// A list of ExternalId objects that contains the identifiers issued to /// this resource by an external identity provider. /// /// [AWSProperty(Min=1, Max=10)] public List ExternalIds { get { return this._externalIds; } set { this._externalIds = value; } } // Check to see if ExternalIds property is set internal bool IsSetExternalIds() { return this._externalIds != null && this._externalIds.Count > 0; } /// /// Gets and sets the property IdentityStoreId. /// /// The globally unique identifier for the identity store. /// /// [AWSProperty(Required=true, Min=1, Max=36)] public string IdentityStoreId { get { return this._identityStoreId; } set { this._identityStoreId = value; } } // Check to see if IdentityStoreId property is set internal bool IsSetIdentityStoreId() { return this._identityStoreId != null; } /// /// Gets and sets the property Locale. /// /// A string containing the geographical region or location of the user. /// /// [AWSProperty(Sensitive=true, Min=1, Max=1024)] public string Locale { get { return this._locale; } set { this._locale = value; } } // Check to see if Locale property is set internal bool IsSetLocale() { return this._locale != null; } /// /// Gets and sets the property Name. /// /// The name of the user. /// /// public Name 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 NickName. /// /// An alternative descriptive name for the user. /// /// [AWSProperty(Sensitive=true, Min=1, Max=1024)] public string NickName { get { return this._nickName; } set { this._nickName = value; } } // Check to see if NickName property is set internal bool IsSetNickName() { return this._nickName != null; } /// /// Gets and sets the property PhoneNumbers. /// /// A list of PhoneNumber objects associated with a user. /// /// [AWSProperty(Min=1, Max=1)] public List PhoneNumbers { get { return this._phoneNumbers; } set { this._phoneNumbers = value; } } // Check to see if PhoneNumbers property is set internal bool IsSetPhoneNumbers() { return this._phoneNumbers != null && this._phoneNumbers.Count > 0; } /// /// Gets and sets the property PreferredLanguage. /// /// The preferred language of the user. /// /// [AWSProperty(Sensitive=true, Min=1, Max=1024)] public string PreferredLanguage { get { return this._preferredLanguage; } set { this._preferredLanguage = value; } } // Check to see if PreferredLanguage property is set internal bool IsSetPreferredLanguage() { return this._preferredLanguage != null; } /// /// Gets and sets the property ProfileUrl. /// /// A URL link for the user's profile. /// /// [AWSProperty(Sensitive=true, Min=1, Max=1024)] public string ProfileUrl { get { return this._profileUrl; } set { this._profileUrl = value; } } // Check to see if ProfileUrl property is set internal bool IsSetProfileUrl() { return this._profileUrl != null; } /// /// Gets and sets the property Timezone. /// /// The time zone for a user. /// /// [AWSProperty(Sensitive=true, Min=1, Max=1024)] public string Timezone { get { return this._timezone; } set { this._timezone = value; } } // Check to see if Timezone property is set internal bool IsSetTimezone() { return this._timezone != null; } /// /// Gets and sets the property Title. /// /// A string containing the title of the user. /// /// [AWSProperty(Sensitive=true, Min=1, Max=1024)] public string Title { get { return this._title; } set { this._title = value; } } // Check to see if Title property is set internal bool IsSetTitle() { return this._title != null; } /// /// Gets and sets the property UserId. /// /// The identifier for a user in the identity store. /// /// [AWSProperty(Required=true, Min=1, Max=47)] public string UserId { get { return this._userId; } set { this._userId = value; } } // Check to see if UserId property is set internal bool IsSetUserId() { return this._userId != null; } /// /// Gets and sets the property UserName. /// /// A unique string used to identify the user. The length limit is 128 characters. This /// value can consist of letters, accented characters, symbols, numbers, and punctuation. /// This value is specified at the time the user is created and stored as an attribute /// of the user object in the identity store. /// /// [AWSProperty(Sensitive=true, Min=1, Max=128)] 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; } /// /// Gets and sets the property UserType. /// /// A string indicating the type of user. /// /// [AWSProperty(Sensitive=true, Min=1, Max=1024)] public string UserType { get { return this._userType; } set { this._userType = value; } } // Check to see if UserType property is set internal bool IsSetUserType() { return this._userType != null; } } }