/* * 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 { /// /// Container for the parameters to the CreateUser operation. /// Creates a user within the specified identity store. /// public partial class CreateUserRequest : AmazonIdentityStoreRequest { private List
_addresses = new List
(); private string _displayName; private List _emails = 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 _userName; private string _userType; /// /// Gets and sets the property Addresses. /// /// A list of Address objects containing addresses associated with 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. /// /// A string containing the name of the user. This value is typically formatted for display /// when the user is referenced. For example, "John Doe." /// /// [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. /// /// A list of Email objects containing email addresses associated with 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 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. /// /// An object containing 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. /// /// A string containing an alternate 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 containing phone numbers associated with /// the 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. /// /// A string containing the preferred language of the user. For example, "American English" /// or "en-us." /// /// [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 string containing a URL that might be associated with the user. /// /// [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. /// /// A string containing the time zone of the 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. Possible values are left unspecified. The /// value can vary based on your specific use case. /// /// [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 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. "Administrator" and "AWSAdministrators" /// are reserved names and can't be used for users or groups. /// /// [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. Possible values are left unspecified. The value /// can vary based on your specific use case. /// /// [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; } } }