/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A user object that contains the metadata and attributes for a specified
* user.See Also:
AWS
* API Reference
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 bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; } /** *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_userNameHasBeenSet = true; 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_userNameHasBeenSet = true; 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_userNameHasBeenSet = true; 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 User& 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 User& 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 User& 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 bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; } /** *The identifier for a user in the identity store.
*/ inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; } /** *The identifier for a user in the identity store.
*/ inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); } /** *The identifier for a user in the identity store.
*/ inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); } /** *The identifier for a user in the identity store.
*/ inline User& WithUserId(const Aws::String& value) { SetUserId(value); return *this;} /** *The identifier for a user in the identity store.
*/ inline User& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;} /** *The identifier for a user in the identity store.
*/ inline User& 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.
A list of ExternalId
objects that contains the identifiers
* issued to this resource by an external identity provider.
A list of ExternalId
objects that contains the identifiers
* issued to this resource by an external identity provider.
A list of ExternalId
objects that contains the identifiers
* issued to this resource by an external identity provider.
A list of ExternalId
objects that contains the identifiers
* issued to this resource by an external identity provider.
A list of ExternalId
objects that contains the identifiers
* issued to this resource by an external identity provider.
A list of ExternalId
objects that contains the identifiers
* issued to this resource by an external identity provider.
A list of ExternalId
objects that contains the identifiers
* issued to this resource by an external identity provider.
An object containing the name of the user.
*/ inline const Name& GetName() const{ return m_name; } /** *An object containing the name of the user.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *An object containing the name of the user.
*/ inline void SetName(const Name& value) { m_nameHasBeenSet = true; m_name = value; } /** *An object containing the name of the user.
*/ inline void SetName(Name&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *An object containing the name of the user.
*/ inline User& WithName(const Name& value) { SetName(value); return *this;} /** *An object containing the name of the user.
*/ inline User& WithName(Name&& value) { SetName(std::move(value)); return *this;} /** *A string containing the name of the user that is formatted for display when * the user is referenced. For example, "John Doe."
*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } /** *A string containing the name of the user that is formatted for display when * the user is referenced. For example, "John Doe."
*/ inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } /** *A string containing the name of the user that is formatted for display when * the user is referenced. For example, "John Doe."
*/ inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } /** *A string containing the name of the user that is formatted for display when * the user is referenced. For example, "John Doe."
*/ inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } /** *A string containing the name of the user that is formatted for display when * the user is referenced. For example, "John Doe."
*/ inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } /** *A string containing the name of the user that is formatted for display when * the user is referenced. For example, "John Doe."
*/ inline User& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} /** *A string containing the name of the user that is formatted for display when * the user is referenced. For example, "John Doe."
*/ inline User& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} /** *A string containing the name of the user that is formatted for display when * the user is referenced. For example, "John Doe."
*/ inline User& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} /** *A string containing an alternate name for the user.
*/ inline const Aws::String& GetNickName() const{ return m_nickName; } /** *A string containing an alternate name for the user.
*/ inline bool NickNameHasBeenSet() const { return m_nickNameHasBeenSet; } /** *A string containing an alternate name for the user.
*/ inline void SetNickName(const Aws::String& value) { m_nickNameHasBeenSet = true; m_nickName = value; } /** *A string containing an alternate name for the user.
*/ inline void SetNickName(Aws::String&& value) { m_nickNameHasBeenSet = true; m_nickName = std::move(value); } /** *A string containing an alternate name for the user.
*/ inline void SetNickName(const char* value) { m_nickNameHasBeenSet = true; m_nickName.assign(value); } /** *A string containing an alternate name for the user.
*/ inline User& WithNickName(const Aws::String& value) { SetNickName(value); return *this;} /** *A string containing an alternate name for the user.
*/ inline User& WithNickName(Aws::String&& value) { SetNickName(std::move(value)); return *this;} /** *A string containing an alternate name for the user.
*/ inline User& WithNickName(const char* value) { SetNickName(value); return *this;} /** *A string containing a URL that might be associated with the user.
*/ inline const Aws::String& GetProfileUrl() const{ return m_profileUrl; } /** *A string containing a URL that might be associated with the user.
*/ inline bool ProfileUrlHasBeenSet() const { return m_profileUrlHasBeenSet; } /** *A string containing a URL that might be associated with the user.
*/ inline void SetProfileUrl(const Aws::String& value) { m_profileUrlHasBeenSet = true; m_profileUrl = value; } /** *A string containing a URL that might be associated with the user.
*/ inline void SetProfileUrl(Aws::String&& value) { m_profileUrlHasBeenSet = true; m_profileUrl = std::move(value); } /** *A string containing a URL that might be associated with the user.
*/ inline void SetProfileUrl(const char* value) { m_profileUrlHasBeenSet = true; m_profileUrl.assign(value); } /** *A string containing a URL that might be associated with the user.
*/ inline User& WithProfileUrl(const Aws::String& value) { SetProfileUrl(value); return *this;} /** *A string containing a URL that might be associated with the user.
*/ inline User& WithProfileUrl(Aws::String&& value) { SetProfileUrl(std::move(value)); return *this;} /** *A string containing a URL that might be associated with the user.
*/ inline User& WithProfileUrl(const char* value) { SetProfileUrl(value); return *this;} /** *A list of Email
objects containing email addresses associated
* with the user.
A list of Email
objects containing email addresses associated
* with the user.
A list of Email
objects containing email addresses associated
* with the user.
A list of Email
objects containing email addresses associated
* with the user.
A list of Email
objects containing email addresses associated
* with the user.
A list of Email
objects containing email addresses associated
* with the user.
A list of Email
objects containing email addresses associated
* with the user.
A list of Email
objects containing email addresses associated
* with the user.
A list of Address
objects containing addresses associated with
* the user.
A list of Address
objects containing addresses associated with
* the user.
A list of Address
objects containing addresses associated with
* the user.
A list of Address
objects containing addresses associated with
* the user.
A list of Address
objects containing addresses associated with
* the user.
A list of Address
objects containing addresses associated with
* the user.
A list of Address
objects containing addresses associated with
* the user.
A list of Address
objects containing addresses associated with
* the user.
A list of PhoneNumber
objects containing phone numbers
* associated with the user.
A list of PhoneNumber
objects containing phone numbers
* associated with the user.
A list of PhoneNumber
objects containing phone numbers
* associated with the user.
A list of PhoneNumber
objects containing phone numbers
* associated with the user.
A list of PhoneNumber
objects containing phone numbers
* associated with the user.
A list of PhoneNumber
objects containing phone numbers
* associated with the user.
A list of PhoneNumber
objects containing phone numbers
* associated with the user.
A list of PhoneNumber
objects containing phone numbers
* associated with the user.
A string indicating the type of user. Possible values are left unspecified. * The value can vary based on your specific use case.
*/ inline const Aws::String& GetUserType() const{ return m_userType; } /** *A string indicating the type of user. Possible values are left unspecified. * The value can vary based on your specific use case.
*/ inline bool UserTypeHasBeenSet() const { return m_userTypeHasBeenSet; } /** *A string indicating the type of user. Possible values are left unspecified. * The value can vary based on your specific use case.
*/ inline void SetUserType(const Aws::String& value) { m_userTypeHasBeenSet = true; m_userType = value; } /** *A string indicating the type of user. Possible values are left unspecified. * The value can vary based on your specific use case.
*/ inline void SetUserType(Aws::String&& value) { m_userTypeHasBeenSet = true; m_userType = std::move(value); } /** *A string indicating the type of user. Possible values are left unspecified. * The value can vary based on your specific use case.
*/ inline void SetUserType(const char* value) { m_userTypeHasBeenSet = true; m_userType.assign(value); } /** *A string indicating the type of user. Possible values are left unspecified. * The value can vary based on your specific use case.
*/ inline User& WithUserType(const Aws::String& value) { SetUserType(value); return *this;} /** *A string indicating the type of user. Possible values are left unspecified. * The value can vary based on your specific use case.
*/ inline User& WithUserType(Aws::String&& value) { SetUserType(std::move(value)); return *this;} /** *A string indicating the type of user. Possible values are left unspecified. * The value can vary based on your specific use case.
*/ inline User& WithUserType(const char* value) { SetUserType(value); return *this;} /** *A string containing the title of the user. Possible values are left * unspecified. The value can vary based on your specific use case.
*/ inline const Aws::String& GetTitle() const{ return m_title; } /** *A string containing the title of the user. Possible values are left * unspecified. The value can vary based on your specific use case.
*/ inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; } /** *A string containing the title of the user. Possible values are left * unspecified. The value can vary based on your specific use case.
*/ inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; } /** *A string containing the title of the user. Possible values are left * unspecified. The value can vary based on your specific use case.
*/ inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); } /** *A string containing the title of the user. Possible values are left * unspecified. The value can vary based on your specific use case.
*/ inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); } /** *A string containing the title of the user. Possible values are left * unspecified. The value can vary based on your specific use case.
*/ inline User& WithTitle(const Aws::String& value) { SetTitle(value); return *this;} /** *A string containing the title of the user. Possible values are left * unspecified. The value can vary based on your specific use case.
*/ inline User& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;} /** *A string containing the title of the user. Possible values are left * unspecified. The value can vary based on your specific use case.
*/ inline User& WithTitle(const char* value) { SetTitle(value); return *this;} /** *A string containing the preferred language of the user. For example, * "American English" or "en-us."
*/ inline const Aws::String& GetPreferredLanguage() const{ return m_preferredLanguage; } /** *A string containing the preferred language of the user. For example, * "American English" or "en-us."
*/ inline bool PreferredLanguageHasBeenSet() const { return m_preferredLanguageHasBeenSet; } /** *A string containing the preferred language of the user. For example, * "American English" or "en-us."
*/ inline void SetPreferredLanguage(const Aws::String& value) { m_preferredLanguageHasBeenSet = true; m_preferredLanguage = value; } /** *A string containing the preferred language of the user. For example, * "American English" or "en-us."
*/ inline void SetPreferredLanguage(Aws::String&& value) { m_preferredLanguageHasBeenSet = true; m_preferredLanguage = std::move(value); } /** *A string containing the preferred language of the user. For example, * "American English" or "en-us."
*/ inline void SetPreferredLanguage(const char* value) { m_preferredLanguageHasBeenSet = true; m_preferredLanguage.assign(value); } /** *A string containing the preferred language of the user. For example, * "American English" or "en-us."
*/ inline User& WithPreferredLanguage(const Aws::String& value) { SetPreferredLanguage(value); return *this;} /** *A string containing the preferred language of the user. For example, * "American English" or "en-us."
*/ inline User& WithPreferredLanguage(Aws::String&& value) { SetPreferredLanguage(std::move(value)); return *this;} /** *A string containing the preferred language of the user. For example, * "American English" or "en-us."
*/ inline User& 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 bool LocaleHasBeenSet() const { return m_localeHasBeenSet; } /** *A string containing the geographical region or location of the user.
*/ inline void SetLocale(const Aws::String& value) { m_localeHasBeenSet = true; m_locale = value; } /** *A string containing the geographical region or location of the user.
*/ inline void SetLocale(Aws::String&& value) { m_localeHasBeenSet = true; m_locale = std::move(value); } /** *A string containing the geographical region or location of the user.
*/ inline void SetLocale(const char* value) { m_localeHasBeenSet = true; m_locale.assign(value); } /** *A string containing the geographical region or location of the user.
*/ inline User& WithLocale(const Aws::String& value) { SetLocale(value); return *this;} /** *A string containing the geographical region or location of the user.
*/ inline User& WithLocale(Aws::String&& value) { SetLocale(std::move(value)); return *this;} /** *A string containing the geographical region or location of the user.
*/ inline User& WithLocale(const char* value) { SetLocale(value); return *this;} /** *A string containing the time zone of the user.
*/ inline const Aws::String& GetTimezone() const{ return m_timezone; } /** *A string containing the time zone of the user.
*/ inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; } /** *A string containing the time zone of the user.
*/ inline void SetTimezone(const Aws::String& value) { m_timezoneHasBeenSet = true; m_timezone = value; } /** *A string containing the time zone of the user.
*/ inline void SetTimezone(Aws::String&& value) { m_timezoneHasBeenSet = true; m_timezone = std::move(value); } /** *A string containing the time zone of the user.
*/ inline void SetTimezone(const char* value) { m_timezoneHasBeenSet = true; m_timezone.assign(value); } /** *A string containing the time zone of the user.
*/ inline User& WithTimezone(const Aws::String& value) { SetTimezone(value); return *this;} /** *A string containing the time zone of the user.
*/ inline User& WithTimezone(Aws::String&& value) { SetTimezone(std::move(value)); return *this;} /** *A string containing the time zone of the user.
*/ inline User& 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 bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; } /** *The globally unique identifier for the identity store.
*/ inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; } /** *The globally unique identifier for the identity store.
*/ inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); } /** *The globally unique identifier for the identity store.
*/ inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); } /** *The globally unique identifier for the identity store.
*/ inline User& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;} /** *The globally unique identifier for the identity store.
*/ inline User& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;} /** *The globally unique identifier for the identity store.
*/ inline User& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;} private: Aws::String m_userName; bool m_userNameHasBeenSet = false; Aws::String m_userId; bool m_userIdHasBeenSet = false; Aws::Vector