/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace IdentityStore { namespace Model { class DescribeUserResult { public: AWS_IDENTITYSTORE_API DescribeUserResult(); AWS_IDENTITYSTORE_API DescribeUserResult(const Aws::AmazonWebServiceResult& result); AWS_IDENTITYSTORE_API DescribeUserResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

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.

*/ inline const Aws::String& GetUserName() const{ return m_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.

*/ inline void SetUserName(const Aws::String& value) { m_userName = value; } /** *

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.

*/ inline void SetUserName(Aws::String&& value) { m_userName = std::move(value); } /** *

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.

*/ inline void SetUserName(const char* value) { m_userName.assign(value); } /** *

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.

*/ inline DescribeUserResult& WithUserName(const Aws::String& value) { SetUserName(value); return *this;} /** *

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.

*/ inline DescribeUserResult& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;} /** *

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.

*/ inline DescribeUserResult& WithUserName(const char* value) { SetUserName(value); return *this;} /** *

The identifier for a user in the identity store.

*/ inline const Aws::String& GetUserId() const{ return m_userId; } /** *

The identifier for a user in the identity store.

*/ inline void SetUserId(const Aws::String& value) { m_userId = value; } /** *

The identifier for a user in the identity store.

*/ inline void SetUserId(Aws::String&& value) { m_userId = std::move(value); } /** *

The identifier for a user in the identity store.

*/ inline void SetUserId(const char* value) { m_userId.assign(value); } /** *

The identifier for a user in the identity store.

*/ inline DescribeUserResult& WithUserId(const Aws::String& value) { SetUserId(value); return *this;} /** *

The identifier for a user in the identity store.

*/ inline DescribeUserResult& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;} /** *

The identifier for a user in the identity store.

*/ inline DescribeUserResult& WithUserId(const char* value) { SetUserId(value); return *this;} /** *

A list of ExternalId objects that contains the identifiers * issued to this resource by an external identity provider.

*/ inline const Aws::Vector& GetExternalIds() const{ return m_externalIds; } /** *

A list of ExternalId objects that contains the identifiers * issued to this resource by an external identity provider.

*/ inline void SetExternalIds(const Aws::Vector& value) { m_externalIds = value; } /** *

A list of ExternalId objects that contains the identifiers * issued to this resource by an external identity provider.

*/ inline void SetExternalIds(Aws::Vector&& value) { m_externalIds = std::move(value); } /** *

A list of ExternalId objects that contains the identifiers * issued to this resource by an external identity provider.

*/ inline DescribeUserResult& WithExternalIds(const Aws::Vector& value) { SetExternalIds(value); return *this;} /** *

A list of ExternalId objects that contains the identifiers * issued to this resource by an external identity provider.

*/ inline DescribeUserResult& WithExternalIds(Aws::Vector&& value) { SetExternalIds(std::move(value)); return *this;} /** *

A list of ExternalId objects that contains the identifiers * issued to this resource by an external identity provider.

*/ inline DescribeUserResult& AddExternalIds(const ExternalId& value) { m_externalIds.push_back(value); return *this; } /** *

A list of ExternalId objects that contains the identifiers * issued to this resource by an external identity provider.

*/ inline DescribeUserResult& AddExternalIds(ExternalId&& value) { m_externalIds.push_back(std::move(value)); return *this; } /** *

The name of the user.

*/ inline const Name& GetName() const{ return m_name; } /** *

The name of the user.

*/ inline void SetName(const Name& value) { m_name = value; } /** *

The name of the user.

*/ inline void SetName(Name&& value) { m_name = std::move(value); } /** *

The name of the user.

*/ inline DescribeUserResult& WithName(const Name& value) { SetName(value); return *this;} /** *

The name of the user.

*/ inline DescribeUserResult& WithName(Name&& value) { SetName(std::move(value)); return *this;} /** *

The display name of the user.

*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } /** *

The display name of the user.

*/ inline void SetDisplayName(const Aws::String& value) { m_displayName = value; } /** *

The display name of the user.

*/ inline void SetDisplayName(Aws::String&& value) { m_displayName = std::move(value); } /** *

The display name of the user.

*/ inline void SetDisplayName(const char* value) { m_displayName.assign(value); } /** *

The display name of the user.

*/ inline DescribeUserResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} /** *

The display name of the user.

*/ inline DescribeUserResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} /** *

The display name of the user.

*/ inline DescribeUserResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} /** *

An alternative descriptive name for the user.

*/ inline const Aws::String& GetNickName() const{ return m_nickName; } /** *

An alternative descriptive name for the user.

*/ inline void SetNickName(const Aws::String& value) { m_nickName = value; } /** *

An alternative descriptive name for the user.

*/ inline void SetNickName(Aws::String&& value) { m_nickName = std::move(value); } /** *

An alternative descriptive name for the user.

*/ inline void SetNickName(const char* value) { m_nickName.assign(value); } /** *

An alternative descriptive name for the user.

*/ inline DescribeUserResult& WithNickName(const Aws::String& value) { SetNickName(value); return *this;} /** *

An alternative descriptive name for the user.

*/ inline DescribeUserResult& WithNickName(Aws::String&& value) { SetNickName(std::move(value)); return *this;} /** *

An alternative descriptive name for the user.

*/ inline DescribeUserResult& WithNickName(const char* value) { SetNickName(value); return *this;} /** *

A URL link for the user's profile.

*/ inline const Aws::String& GetProfileUrl() const{ return m_profileUrl; } /** *

A URL link for the user's profile.

*/ inline void SetProfileUrl(const Aws::String& value) { m_profileUrl = value; } /** *

A URL link for the user's profile.

*/ inline void SetProfileUrl(Aws::String&& value) { m_profileUrl = std::move(value); } /** *

A URL link for the user's profile.

*/ inline void SetProfileUrl(const char* value) { m_profileUrl.assign(value); } /** *

A URL link for the user's profile.

*/ inline DescribeUserResult& WithProfileUrl(const Aws::String& value) { SetProfileUrl(value); return *this;} /** *

A URL link for the user's profile.

*/ inline DescribeUserResult& WithProfileUrl(Aws::String&& value) { SetProfileUrl(std::move(value)); return *this;} /** *

A URL link for the user's profile.

*/ inline DescribeUserResult& WithProfileUrl(const char* value) { SetProfileUrl(value); return *this;} /** *

The email address of the user.

*/ inline const Aws::Vector& GetEmails() const{ return m_emails; } /** *

The email address of the user.

*/ inline void SetEmails(const Aws::Vector& value) { m_emails = value; } /** *

The email address of the user.

*/ inline void SetEmails(Aws::Vector&& value) { m_emails = std::move(value); } /** *

The email address of the user.

*/ inline DescribeUserResult& WithEmails(const Aws::Vector& value) { SetEmails(value); return *this;} /** *

The email address of the user.

*/ inline DescribeUserResult& WithEmails(Aws::Vector&& value) { SetEmails(std::move(value)); return *this;} /** *

The email address of the user.

*/ inline DescribeUserResult& AddEmails(const Email& value) { m_emails.push_back(value); return *this; } /** *

The email address of the user.

*/ inline DescribeUserResult& AddEmails(Email&& value) { m_emails.push_back(std::move(value)); return *this; } /** *

The physical address of the user.

*/ inline const Aws::Vector
& GetAddresses() const{ return m_addresses; } /** *

The physical address of the user.

*/ inline void SetAddresses(const Aws::Vector
& value) { m_addresses = value; } /** *

The physical address of the user.

*/ inline void SetAddresses(Aws::Vector
&& value) { m_addresses = std::move(value); } /** *

The physical address of the user.

*/ inline DescribeUserResult& WithAddresses(const Aws::Vector
& value) { SetAddresses(value); return *this;} /** *

The physical address of the user.

*/ inline DescribeUserResult& WithAddresses(Aws::Vector
&& value) { SetAddresses(std::move(value)); return *this;} /** *

The physical address of the user.

*/ inline DescribeUserResult& AddAddresses(const Address& value) { m_addresses.push_back(value); return *this; } /** *

The physical address of the user.

*/ inline DescribeUserResult& AddAddresses(Address&& value) { m_addresses.push_back(std::move(value)); return *this; } /** *

A list of PhoneNumber objects associated with a user.

*/ inline const Aws::Vector& GetPhoneNumbers() const{ return m_phoneNumbers; } /** *

A list of PhoneNumber objects associated with a user.

*/ inline void SetPhoneNumbers(const Aws::Vector& value) { m_phoneNumbers = value; } /** *

A list of PhoneNumber objects associated with a user.

*/ inline void SetPhoneNumbers(Aws::Vector&& value) { m_phoneNumbers = std::move(value); } /** *

A list of PhoneNumber objects associated with a user.

*/ inline DescribeUserResult& WithPhoneNumbers(const Aws::Vector& value) { SetPhoneNumbers(value); return *this;} /** *

A list of PhoneNumber objects associated with a user.

*/ inline DescribeUserResult& WithPhoneNumbers(Aws::Vector&& value) { SetPhoneNumbers(std::move(value)); return *this;} /** *

A list of PhoneNumber objects associated with a user.

*/ inline DescribeUserResult& AddPhoneNumbers(const PhoneNumber& value) { m_phoneNumbers.push_back(value); return *this; } /** *

A list of PhoneNumber objects associated with a user.

*/ inline DescribeUserResult& AddPhoneNumbers(PhoneNumber&& value) { m_phoneNumbers.push_back(std::move(value)); return *this; } /** *

A string indicating the type of user.

*/ inline const Aws::String& GetUserType() const{ return m_userType; } /** *

A string indicating the type of user.

*/ inline void SetUserType(const Aws::String& value) { m_userType = value; } /** *

A string indicating the type of user.

*/ inline void SetUserType(Aws::String&& value) { m_userType = std::move(value); } /** *

A string indicating the type of user.

*/ inline void SetUserType(const char* value) { m_userType.assign(value); } /** *

A string indicating the type of user.

*/ inline DescribeUserResult& WithUserType(const Aws::String& value) { SetUserType(value); return *this;} /** *

A string indicating the type of user.

*/ inline DescribeUserResult& WithUserType(Aws::String&& value) { SetUserType(std::move(value)); return *this;} /** *

A string indicating the type of user.

*/ inline DescribeUserResult& WithUserType(const char* value) { SetUserType(value); return *this;} /** *

A string containing the title of the user.

*/ inline const Aws::String& GetTitle() const{ return m_title; } /** *

A string containing the title of the user.

*/ inline void SetTitle(const Aws::String& value) { m_title = value; } /** *

A string containing the title of the user.

*/ inline void SetTitle(Aws::String&& value) { m_title = std::move(value); } /** *

A string containing the title of the user.

*/ inline void SetTitle(const char* value) { m_title.assign(value); } /** *

A string containing the title of the user.

*/ inline DescribeUserResult& WithTitle(const Aws::String& value) { SetTitle(value); return *this;} /** *

A string containing the title of the user.

*/ inline DescribeUserResult& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;} /** *

A string containing the title of the user.

*/ inline DescribeUserResult& WithTitle(const char* value) { SetTitle(value); return *this;} /** *

The preferred language of the user.

*/ inline const Aws::String& GetPreferredLanguage() const{ return m_preferredLanguage; } /** *

The preferred language of the user.

*/ inline void SetPreferredLanguage(const Aws::String& value) { m_preferredLanguage = value; } /** *

The preferred language of the user.

*/ inline void SetPreferredLanguage(Aws::String&& value) { m_preferredLanguage = std::move(value); } /** *

The preferred language of the user.

*/ inline void SetPreferredLanguage(const char* value) { m_preferredLanguage.assign(value); } /** *

The preferred language of the user.

*/ inline DescribeUserResult& WithPreferredLanguage(const Aws::String& value) { SetPreferredLanguage(value); return *this;} /** *

The preferred language of the user.

*/ inline DescribeUserResult& WithPreferredLanguage(Aws::String&& value) { SetPreferredLanguage(std::move(value)); return *this;} /** *

The preferred language of the user.

*/ inline DescribeUserResult& WithPreferredLanguage(const char* value) { SetPreferredLanguage(value); return *this;} /** *

A string containing the geographical region or location of the user.

*/ inline const Aws::String& GetLocale() const{ return m_locale; } /** *

A string containing the geographical region or location of the user.

*/ inline void SetLocale(const Aws::String& value) { m_locale = value; } /** *

A string containing the geographical region or location of the user.

*/ inline void SetLocale(Aws::String&& value) { m_locale = std::move(value); } /** *

A string containing the geographical region or location of the user.

*/ inline void SetLocale(const char* value) { m_locale.assign(value); } /** *

A string containing the geographical region or location of the user.

*/ inline DescribeUserResult& WithLocale(const Aws::String& value) { SetLocale(value); return *this;} /** *

A string containing the geographical region or location of the user.

*/ inline DescribeUserResult& WithLocale(Aws::String&& value) { SetLocale(std::move(value)); return *this;} /** *

A string containing the geographical region or location of the user.

*/ inline DescribeUserResult& WithLocale(const char* value) { SetLocale(value); return *this;} /** *

The time zone for a user.

*/ inline const Aws::String& GetTimezone() const{ return m_timezone; } /** *

The time zone for a user.

*/ inline void SetTimezone(const Aws::String& value) { m_timezone = value; } /** *

The time zone for a user.

*/ inline void SetTimezone(Aws::String&& value) { m_timezone = std::move(value); } /** *

The time zone for a user.

*/ inline void SetTimezone(const char* value) { m_timezone.assign(value); } /** *

The time zone for a user.

*/ inline DescribeUserResult& WithTimezone(const Aws::String& value) { SetTimezone(value); return *this;} /** *

The time zone for a user.

*/ inline DescribeUserResult& WithTimezone(Aws::String&& value) { SetTimezone(std::move(value)); return *this;} /** *

The time zone for a user.

*/ inline DescribeUserResult& WithTimezone(const char* value) { SetTimezone(value); return *this;} /** *

The globally unique identifier for the identity store.

*/ inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; } /** *

The globally unique identifier for the identity store.

*/ inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreId = value; } /** *

The globally unique identifier for the identity store.

*/ inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreId = std::move(value); } /** *

The globally unique identifier for the identity store.

*/ inline void SetIdentityStoreId(const char* value) { m_identityStoreId.assign(value); } /** *

The globally unique identifier for the identity store.

*/ inline DescribeUserResult& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;} /** *

The globally unique identifier for the identity store.

*/ inline DescribeUserResult& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;} /** *

The globally unique identifier for the identity store.

*/ inline DescribeUserResult& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeUserResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeUserResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeUserResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_userName; Aws::String m_userId; Aws::Vector m_externalIds; Name m_name; Aws::String m_displayName; Aws::String m_nickName; Aws::String m_profileUrl; Aws::Vector m_emails; Aws::Vector
m_addresses; Aws::Vector m_phoneNumbers; Aws::String m_userType; Aws::String m_title; Aws::String m_preferredLanguage; Aws::String m_locale; Aws::String m_timezone; Aws::String m_identityStoreId; Aws::String m_requestId; }; } // namespace Model } // namespace IdentityStore } // namespace Aws