7#include <aws/identitystore/IdentityStore_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/identitystore/model/Name.h>
11#include <aws/identitystore/model/ExternalId.h>
12#include <aws/identitystore/model/Email.h>
13#include <aws/identitystore/model/Address.h>
14#include <aws/identitystore/model/PhoneNumber.h>
27namespace IdentityStore
41 AWS_IDENTITYSTORE_API
User();
58 inline void SetUserName(
const char* value) { m_userNameHasBeenSet =
true; m_userName.assign(value); }
72 inline void SetUserId(
const char* value) { m_userIdHasBeenSet =
true; m_userId.assign(value); }
99 inline void SetName(
const Name& value) { m_nameHasBeenSet =
true; m_name = value; }
100 inline void SetName(
Name&& value) { m_nameHasBeenSet =
true; m_name = std::move(value); }
114 inline void SetDisplayName(
const char* value) { m_displayNameHasBeenSet =
true; m_displayName.assign(value); }
128 inline void SetNickName(
const char* value) { m_nickNameHasBeenSet =
true; m_nickName.assign(value); }
142 inline void SetProfileUrl(
const char* value) { m_profileUrlHasBeenSet =
true; m_profileUrl.assign(value); }
159 inline User&
AddEmails(
const Email& value) { m_emailsHasBeenSet =
true; m_emails.push_back(value);
return *
this; }
160 inline User&
AddEmails(
Email&& value) { m_emailsHasBeenSet =
true; m_emails.push_back(std::move(value));
return *
this; }
175 inline User&
AddAddresses(
Address&& value) { m_addressesHasBeenSet =
true; m_addresses.push_back(std::move(value));
return *
this; }
202 inline void SetUserType(
const char* value) { m_userTypeHasBeenSet =
true; m_userType.assign(value); }
217 inline void SetTitle(
const char* value) { m_titleHasBeenSet =
true; m_title.assign(value); }
232 inline void SetPreferredLanguage(
const char* value) { m_preferredLanguageHasBeenSet =
true; m_preferredLanguage.assign(value); }
246 inline void SetLocale(
const char* value) { m_localeHasBeenSet =
true; m_locale.assign(value); }
260 inline void SetTimezone(
const char* value) { m_timezoneHasBeenSet =
true; m_timezone.assign(value); }
274 inline void SetIdentityStoreId(
const char* value) { m_identityStoreIdHasBeenSet =
true; m_identityStoreId.assign(value); }
282 bool m_userNameHasBeenSet =
false;
285 bool m_userIdHasBeenSet =
false;
288 bool m_externalIdsHasBeenSet =
false;
291 bool m_nameHasBeenSet =
false;
294 bool m_displayNameHasBeenSet =
false;
297 bool m_nickNameHasBeenSet =
false;
300 bool m_profileUrlHasBeenSet =
false;
303 bool m_emailsHasBeenSet =
false;
306 bool m_addressesHasBeenSet =
false;
309 bool m_phoneNumbersHasBeenSet =
false;
312 bool m_userTypeHasBeenSet =
false;
315 bool m_titleHasBeenSet =
false;
318 bool m_preferredLanguageHasBeenSet =
false;
321 bool m_localeHasBeenSet =
false;
324 bool m_timezoneHasBeenSet =
false;
327 bool m_identityStoreIdHasBeenSet =
false;
AWS_IDENTITYSTORE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Address > & GetAddresses() const
bool PhoneNumbersHasBeenSet() const
const Aws::String & GetUserType() const
User & WithTitle(const char *value)
User & AddEmails(const Email &value)
User & WithAddresses(Aws::Vector< Address > &&value)
User & WithDisplayName(const char *value)
User & WithTitle(const Aws::String &value)
void SetNickName(const char *value)
User & WithProfileUrl(const Aws::String &value)
User & WithPreferredLanguage(const char *value)
User & WithExternalIds(Aws::Vector< ExternalId > &&value)
void SetNickName(Aws::String &&value)
bool ExternalIdsHasBeenSet() const
bool PreferredLanguageHasBeenSet() const
User & WithProfileUrl(const char *value)
void SetPreferredLanguage(Aws::String &&value)
void SetEmails(Aws::Vector< Email > &&value)
void SetName(const Name &value)
User & WithUserId(const char *value)
const Aws::String & GetProfileUrl() const
void SetTimezone(Aws::String &&value)
User & WithPhoneNumbers(const Aws::Vector< PhoneNumber > &value)
const Aws::Vector< Email > & GetEmails() const
User & WithUserName(const char *value)
bool TitleHasBeenSet() const
bool DisplayNameHasBeenSet() const
User & WithLocale(const char *value)
User & WithIdentityStoreId(const Aws::String &value)
User & WithNickName(const char *value)
const Aws::String & GetTitle() const
User & AddAddresses(const Address &value)
User & AddAddresses(Address &&value)
void SetTitle(const char *value)
User & WithUserId(const Aws::String &value)
void SetUserId(const Aws::String &value)
const Aws::String & GetNickName() const
User & AddPhoneNumbers(const PhoneNumber &value)
User & WithTitle(Aws::String &&value)
void SetExternalIds(const Aws::Vector< ExternalId > &value)
User & WithUserName(const Aws::String &value)
User & WithUserId(Aws::String &&value)
User & WithTimezone(Aws::String &&value)
User & WithIdentityStoreId(Aws::String &&value)
User & WithExternalIds(const Aws::Vector< ExternalId > &value)
User & WithTimezone(const Aws::String &value)
const Aws::String & GetUserId() const
const Aws::String & GetUserName() const
void SetAddresses(const Aws::Vector< Address > &value)
const Aws::String & GetIdentityStoreId() const
bool TimezoneHasBeenSet() const
User & WithDisplayName(Aws::String &&value)
void SetIdentityStoreId(const char *value)
void SetUserName(Aws::String &&value)
User & WithEmails(const Aws::Vector< Email > &value)
User & WithUserType(const char *value)
const Name & GetName() const
User & WithNickName(Aws::String &&value)
AWS_IDENTITYSTORE_API User(Aws::Utils::Json::JsonView jsonValue)
void SetTitle(const Aws::String &value)
void SetLocale(const Aws::String &value)
bool AddressesHasBeenSet() const
void SetProfileUrl(const char *value)
void SetUserType(Aws::String &&value)
User & WithLocale(const Aws::String &value)
AWS_IDENTITYSTORE_API User()
void SetTimezone(const Aws::String &value)
void SetUserType(const Aws::String &value)
bool UserTypeHasBeenSet() const
User & WithDisplayName(const Aws::String &value)
const Aws::Vector< ExternalId > & GetExternalIds() const
bool IdentityStoreIdHasBeenSet() const
const Aws::String & GetLocale() const
void SetIdentityStoreId(const Aws::String &value)
bool EmailsHasBeenSet() const
void SetUserId(Aws::String &&value)
bool NickNameHasBeenSet() const
User & WithTimezone(const char *value)
User & WithLocale(Aws::String &&value)
const Aws::String & GetPreferredLanguage() const
User & AddPhoneNumbers(PhoneNumber &&value)
void SetLocale(Aws::String &&value)
User & WithNickName(const Aws::String &value)
User & WithAddresses(const Aws::Vector< Address > &value)
User & WithProfileUrl(Aws::String &&value)
void SetIdentityStoreId(Aws::String &&value)
void SetTimezone(const char *value)
void SetLocale(const char *value)
AWS_IDENTITYSTORE_API User & operator=(Aws::Utils::Json::JsonView jsonValue)
User & WithPhoneNumbers(Aws::Vector< PhoneNumber > &&value)
bool ProfileUrlHasBeenSet() const
void SetPhoneNumbers(Aws::Vector< PhoneNumber > &&value)
void SetAddresses(Aws::Vector< Address > &&value)
User & AddExternalIds(ExternalId &&value)
bool NameHasBeenSet() const
const Aws::String & GetDisplayName() const
void SetDisplayName(const char *value)
void SetTitle(Aws::String &&value)
bool UserIdHasBeenSet() const
void SetPreferredLanguage(const Aws::String &value)
void SetNickName(const Aws::String &value)
void SetProfileUrl(const Aws::String &value)
void SetUserName(const char *value)
void SetExternalIds(Aws::Vector< ExternalId > &&value)
void SetPreferredLanguage(const char *value)
void SetUserId(const char *value)
void SetDisplayName(const Aws::String &value)
User & WithIdentityStoreId(const char *value)
void SetUserType(const char *value)
void SetName(Name &&value)
bool UserNameHasBeenSet() const
void SetPhoneNumbers(const Aws::Vector< PhoneNumber > &value)
void SetProfileUrl(Aws::String &&value)
const Aws::String & GetTimezone() const
User & WithUserType(Aws::String &&value)
User & WithUserType(const Aws::String &value)
User & AddExternalIds(const ExternalId &value)
User & WithUserName(Aws::String &&value)
User & AddEmails(Email &&value)
void SetDisplayName(Aws::String &&value)
void SetEmails(const Aws::Vector< Email > &value)
User & WithEmails(Aws::Vector< Email > &&value)
User & WithPreferredLanguage(const Aws::String &value)
void SetUserName(const Aws::String &value)
User & WithName(Name &&value)
User & WithPreferredLanguage(Aws::String &&value)
User & WithName(const Name &value)
const Aws::Vector< PhoneNumber > & GetPhoneNumbers() const
bool LocaleHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue