7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/Document.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/identitystore/IdentityStore_EXPORTS.h>
13#include <aws/identitystore/model/Address.h>
14#include <aws/identitystore/model/Email.h>
15#include <aws/identitystore/model/ExternalId.h>
16#include <aws/identitystore/model/Name.h>
17#include <aws/identitystore/model/PhoneNumber.h>
18#include <aws/identitystore/model/Photo.h>
19#include <aws/identitystore/model/Role.h>
20#include <aws/identitystore/model/UserStatus.h>
31namespace IdentityStore {
42 AWS_IDENTITYSTORE_API
User() =
default;
53 template <
typename IdentityStoreIdT = Aws::String>
55 m_identityStoreIdHasBeenSet =
true;
56 m_identityStoreId = std::forward<IdentityStoreIdT>(value);
58 template <
typename IdentityStoreIdT = Aws::String>
71 template <
typename UserIdT = Aws::String>
73 m_userIdHasBeenSet =
true;
74 m_userId = std::forward<UserIdT>(value);
76 template <
typename UserIdT = Aws::String>
91 template <
typename UserArnT = Aws::String>
93 m_userArnHasBeenSet =
true;
94 m_userArn = std::forward<UserArnT>(value);
96 template <
typename UserArnT = Aws::String>
113 template <
typename RevisionT = Aws::String>
115 m_revisionHasBeenSet =
true;
116 m_revision = std::forward<RevisionT>(value);
118 template <
typename RevisionT = Aws::String>
134 template <
typename UserNameT = Aws::String>
136 m_userNameHasBeenSet =
true;
137 m_userName = std::forward<UserNameT>(value);
139 template <
typename UserNameT = Aws::String>
153 template <
typename ExternalIdsT = Aws::Vector<ExternalId>>
155 m_externalIdsHasBeenSet =
true;
156 m_externalIds = std::forward<ExternalIdsT>(value);
158 template <
typename ExternalIdsT = Aws::Vector<ExternalId>>
163 template <
typename ExternalIdsT = ExternalId>
165 m_externalIdsHasBeenSet =
true;
166 m_externalIds.emplace_back(std::forward<ExternalIdsT>(value));
177 template <
typename NameT = Name>
179 m_nameHasBeenSet =
true;
180 m_name = std::forward<NameT>(value);
182 template <
typename NameT = Name>
184 SetName(std::forward<NameT>(value));
197 template <
typename DisplayNameT = Aws::String>
199 m_displayNameHasBeenSet =
true;
200 m_displayName = std::forward<DisplayNameT>(value);
202 template <
typename DisplayNameT = Aws::String>
215 template <
typename NickNameT = Aws::String>
217 m_nickNameHasBeenSet =
true;
218 m_nickName = std::forward<NickNameT>(value);
220 template <
typename NickNameT = Aws::String>
233 template <
typename ProfileUrlT = Aws::String>
235 m_profileUrlHasBeenSet =
true;
236 m_profileUrl = std::forward<ProfileUrlT>(value);
238 template <
typename ProfileUrlT = Aws::String>
252 template <
typename EmailsT = Aws::Vector<Email>>
254 m_emailsHasBeenSet =
true;
255 m_emails = std::forward<EmailsT>(value);
257 template <
typename EmailsT = Aws::Vector<Email>>
262 template <
typename EmailsT = Email>
264 m_emailsHasBeenSet =
true;
265 m_emails.emplace_back(std::forward<EmailsT>(value));
277 template <
typename AddressesT = Aws::Vector<Address>>
279 m_addressesHasBeenSet =
true;
280 m_addresses = std::forward<AddressesT>(value);
282 template <
typename AddressesT = Aws::Vector<Address>>
287 template <
typename AddressesT = Address>
289 m_addressesHasBeenSet =
true;
290 m_addresses.emplace_back(std::forward<AddressesT>(value));
302 template <
typename PhoneNumbersT = Aws::Vector<PhoneNumber>>
304 m_phoneNumbersHasBeenSet =
true;
305 m_phoneNumbers = std::forward<PhoneNumbersT>(value);
307 template <
typename PhoneNumbersT = Aws::Vector<PhoneNumber>>
312 template <
typename PhoneNumbersT = PhoneNumber>
314 m_phoneNumbersHasBeenSet =
true;
315 m_phoneNumbers.emplace_back(std::forward<PhoneNumbersT>(value));
327 template <
typename UserTypeT = Aws::String>
329 m_userTypeHasBeenSet =
true;
330 m_userType = std::forward<UserTypeT>(value);
332 template <
typename UserTypeT = Aws::String>
346 template <
typename TitleT = Aws::String>
348 m_titleHasBeenSet =
true;
349 m_title = std::forward<TitleT>(value);
351 template <
typename TitleT = Aws::String>
353 SetTitle(std::forward<TitleT>(value));
365 template <
typename PreferredLanguageT = Aws::String>
367 m_preferredLanguageHasBeenSet =
true;
368 m_preferredLanguage = std::forward<PreferredLanguageT>(value);
370 template <
typename PreferredLanguageT = Aws::String>
383 template <
typename LocaleT = Aws::String>
385 m_localeHasBeenSet =
true;
386 m_locale = std::forward<LocaleT>(value);
388 template <
typename LocaleT = Aws::String>
401 template <
typename TimezoneT = Aws::String>
403 m_timezoneHasBeenSet =
true;
404 m_timezone = std::forward<TimezoneT>(value);
406 template <
typename TimezoneT = Aws::String>
420 m_userStatusHasBeenSet =
true;
421 m_userStatus = value;
436 template <
typename PhotosT = Aws::Vector<Photo>>
438 m_photosHasBeenSet =
true;
439 m_photos = std::forward<PhotosT>(value);
441 template <
typename PhotosT = Aws::Vector<Photo>>
446 template <
typename PhotosT = Photo>
448 m_photosHasBeenSet =
true;
449 m_photos.emplace_back(std::forward<PhotosT>(value));
461 template <
typename WebsiteT = Aws::String>
463 m_websiteHasBeenSet =
true;
464 m_website = std::forward<WebsiteT>(value);
466 template <
typename WebsiteT = Aws::String>
480 template <
typename BirthdateT = Aws::String>
482 m_birthdateHasBeenSet =
true;
483 m_birthdate = std::forward<BirthdateT>(value);
485 template <
typename BirthdateT = Aws::String>
499 template <
typename RolesT = Aws::Vector<Role>>
501 m_rolesHasBeenSet =
true;
502 m_roles = std::forward<RolesT>(value);
504 template <
typename RolesT = Aws::Vector<Role>>
506 SetRoles(std::forward<RolesT>(value));
509 template <
typename RolesT = Role>
511 m_rolesHasBeenSet =
true;
512 m_roles.emplace_back(std::forward<RolesT>(value));
523 template <
typename CreatedAtT = Aws::Utils::DateTime>
525 m_createdAtHasBeenSet =
true;
526 m_createdAt = std::forward<CreatedAtT>(value);
528 template <
typename CreatedAtT = Aws::Utils::DateTime>
541 template <
typename CreatedByT = Aws::String>
543 m_createdByHasBeenSet =
true;
544 m_createdBy = std::forward<CreatedByT>(value);
546 template <
typename CreatedByT = Aws::String>
559 template <
typename UpdatedAtT = Aws::Utils::DateTime>
561 m_updatedAtHasBeenSet =
true;
562 m_updatedAt = std::forward<UpdatedAtT>(value);
564 template <
typename UpdatedAtT = Aws::Utils::DateTime>
577 template <
typename UpdatedByT = Aws::String>
579 m_updatedByHasBeenSet =
true;
580 m_updatedBy = std::forward<UpdatedByT>(value);
582 template <
typename UpdatedByT = Aws::String>
596 template <
typename ExtensionsT = Aws::Map<Aws::String, Aws::Utils::Document>>
598 m_extensionsHasBeenSet =
true;
599 m_extensions = std::forward<ExtensionsT>(value);
601 template <
typename ExtensionsT = Aws::Map<Aws::String, Aws::Utils::Document>>
606 template <
typename ExtensionsKeyT = Aws::String,
typename ExtensionsValueT = Aws::Utils::Document>
608 m_extensionsHasBeenSet =
true;
609 m_extensions.emplace(std::forward<ExtensionsKeyT>(key), std::forward<ExtensionsValueT>(value));
669 bool m_identityStoreIdHasBeenSet =
false;
670 bool m_userIdHasBeenSet =
false;
671 bool m_userArnHasBeenSet =
false;
672 bool m_revisionHasBeenSet =
false;
673 bool m_userNameHasBeenSet =
false;
674 bool m_externalIdsHasBeenSet =
false;
675 bool m_nameHasBeenSet =
false;
676 bool m_displayNameHasBeenSet =
false;
677 bool m_nickNameHasBeenSet =
false;
678 bool m_profileUrlHasBeenSet =
false;
679 bool m_emailsHasBeenSet =
false;
680 bool m_addressesHasBeenSet =
false;
681 bool m_phoneNumbersHasBeenSet =
false;
682 bool m_userTypeHasBeenSet =
false;
683 bool m_titleHasBeenSet =
false;
684 bool m_preferredLanguageHasBeenSet =
false;
685 bool m_localeHasBeenSet =
false;
686 bool m_timezoneHasBeenSet =
false;
687 bool m_userStatusHasBeenSet =
false;
688 bool m_photosHasBeenSet =
false;
689 bool m_websiteHasBeenSet =
false;
690 bool m_birthdateHasBeenSet =
false;
691 bool m_rolesHasBeenSet =
false;
692 bool m_createdAtHasBeenSet =
false;
693 bool m_createdByHasBeenSet =
false;
694 bool m_updatedAtHasBeenSet =
false;
695 bool m_updatedByHasBeenSet =
false;
696 bool m_extensionsHasBeenSet =
false;
AWS_IDENTITYSTORE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Address > & GetAddresses() const
bool PhoneNumbersHasBeenSet() const
User & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetUserType() const
bool RevisionHasBeenSet() const
bool WebsiteHasBeenSet() const
User & WithExternalIds(ExternalIdsT &&value)
User & WithAddresses(AddressesT &&value)
void SetIdentityStoreId(IdentityStoreIdT &&value)
bool UserStatusHasBeenSet() const
const Aws::Vector< Role > & GetRoles() const
void SetTimezone(TimezoneT &&value)
const Aws::String & GetBirthdate() const
void SetUpdatedAt(UpdatedAtT &&value)
bool ExternalIdsHasBeenSet() const
void SetPhotos(PhotosT &&value)
const Aws::Vector< Photo > & GetPhotos() const
bool PreferredLanguageHasBeenSet() const
void SetNickName(NickNameT &&value)
User & WithTimezone(TimezoneT &&value)
bool PhotosHasBeenSet() const
bool ExtensionsHasBeenSet() const
const Aws::String & GetProfileUrl() const
void SetCreatedAt(CreatedAtT &&value)
const Aws::Vector< Email > & GetEmails() const
const Aws::String & GetUpdatedBy() const
User & AddEmails(EmailsT &&value)
void SetUpdatedBy(UpdatedByT &&value)
bool TitleHasBeenSet() const
void SetExtensions(ExtensionsT &&value)
bool DisplayNameHasBeenSet() const
void SetExternalIds(ExternalIdsT &&value)
bool BirthdateHasBeenSet() const
const Aws::String & GetTitle() const
User & WithExtensions(ExtensionsT &&value)
void SetTitle(TitleT &&value)
const Aws::String & GetNickName() const
User & WithBirthdate(BirthdateT &&value)
const Aws::String & GetUserId() const
void SetUserName(UserNameT &&value)
const Aws::String & GetUserName() const
const Aws::String & GetIdentityStoreId() const
const Aws::String & GetCreatedBy() const
User & WithLocale(LocaleT &&value)
bool TimezoneHasBeenSet() const
User & WithIdentityStoreId(IdentityStoreIdT &&value)
AWS_IDENTITYSTORE_API User()=default
void SetDisplayName(DisplayNameT &&value)
void SetPhoneNumbers(PhoneNumbersT &&value)
bool RolesHasBeenSet() const
const Name & GetName() const
User & WithUserId(UserIdT &&value)
void SetRoles(RolesT &&value)
AWS_IDENTITYSTORE_API User(Aws::Utils::Json::JsonView jsonValue)
bool AddressesHasBeenSet() const
const Aws::String & GetRevision() const
void SetPreferredLanguage(PreferredLanguageT &&value)
void SetRevision(RevisionT &&value)
User & WithUserArn(UserArnT &&value)
const Aws::String & GetWebsite() const
bool UserArnHasBeenSet() const
void SetEmails(EmailsT &&value)
bool UserTypeHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetName(NameT &&value)
void SetAddresses(AddressesT &&value)
User & WithCreatedBy(CreatedByT &&value)
const Aws::Vector< ExternalId > & GetExternalIds() const
bool IdentityStoreIdHasBeenSet() const
const Aws::String & GetLocale() const
User & WithRoles(RolesT &&value)
const Aws::String & GetUserArn() const
bool EmailsHasBeenSet() const
bool NickNameHasBeenSet() const
void SetUserArn(UserArnT &&value)
User & AddPhotos(PhotosT &&value)
User & WithTitle(TitleT &&value)
const Aws::String & GetPreferredLanguage() const
User & WithPreferredLanguage(PreferredLanguageT &&value)
User & AddAddresses(AddressesT &&value)
void SetWebsite(WebsiteT &&value)
const Aws::Map< Aws::String, Aws::Utils::Document > & GetExtensions() const
bool CreatedAtHasBeenSet() const
AWS_IDENTITYSTORE_API User & operator=(Aws::Utils::Json::JsonView jsonValue)
User & WithPhoneNumbers(PhoneNumbersT &&value)
User & WithEmails(EmailsT &&value)
bool ProfileUrlHasBeenSet() const
void SetBirthdate(BirthdateT &&value)
User & WithRevision(RevisionT &&value)
void SetUserId(UserIdT &&value)
bool NameHasBeenSet() const
const Aws::String & GetDisplayName() const
void SetUserType(UserTypeT &&value)
User & AddRoles(RolesT &&value)
User & WithUserStatus(UserStatus value)
User & AddExtensions(ExtensionsKeyT &&key, ExtensionsValueT &&value)
User & WithUserName(UserNameT &&value)
void SetLocale(LocaleT &&value)
User & WithProfileUrl(ProfileUrlT &&value)
bool UserIdHasBeenSet() const
void SetCreatedBy(CreatedByT &&value)
User & WithPhotos(PhotosT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetUserStatus(UserStatus value)
User & WithUpdatedAt(UpdatedAtT &&value)
bool UserNameHasBeenSet() const
const Aws::String & GetTimezone() const
void SetProfileUrl(ProfileUrlT &&value)
User & WithWebsite(WebsiteT &&value)
bool CreatedByHasBeenSet() const
UserStatus GetUserStatus() const
User & WithUserType(UserTypeT &&value)
bool UpdatedByHasBeenSet() const
User & AddPhoneNumbers(PhoneNumbersT &&value)
User & WithUpdatedBy(UpdatedByT &&value)
User & WithDisplayName(DisplayNameT &&value)
User & WithNickName(NickNameT &&value)
bool UpdatedAtHasBeenSet() const
User & WithName(NameT &&value)
User & AddExternalIds(ExternalIdsT &&value)
const Aws::Vector< PhoneNumber > & GetPhoneNumbers() const
bool LocaleHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue