7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/chime/model/AlexaForBusinessMetadata.h>
9#include <aws/chime/model/InviteStatus.h>
10#include <aws/chime/model/License.h>
11#include <aws/chime/model/RegistrationStatus.h>
12#include <aws/chime/model/UserType.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
35 AWS_CHIME_API
User() =
default;
46 template <
typename UserIdT = Aws::String>
48 m_userIdHasBeenSet =
true;
49 m_userId = std::forward<UserIdT>(value);
51 template <
typename UserIdT = Aws::String>
64 template <
typename AccountIdT = Aws::String>
66 m_accountIdHasBeenSet =
true;
67 m_accountId = std::forward<AccountIdT>(value);
69 template <
typename AccountIdT = Aws::String>
82 template <
typename PrimaryEmailT = Aws::String>
84 m_primaryEmailHasBeenSet =
true;
85 m_primaryEmail = std::forward<PrimaryEmailT>(value);
87 template <
typename PrimaryEmailT = Aws::String>
100 template <
typename PrimaryProvisionedNumberT = Aws::String>
102 m_primaryProvisionedNumberHasBeenSet =
true;
103 m_primaryProvisionedNumber = std::forward<PrimaryProvisionedNumberT>(value);
105 template <
typename PrimaryProvisionedNumberT = Aws::String>
118 template <
typename DisplayNameT = Aws::String>
120 m_displayNameHasBeenSet =
true;
121 m_displayName = std::forward<DisplayNameT>(value);
123 template <
typename DisplayNameT = Aws::String>
137 m_licenseTypeHasBeenSet =
true;
138 m_licenseType = value;
153 m_userTypeHasBeenSet =
true;
169 m_userRegistrationStatusHasBeenSet =
true;
170 m_userRegistrationStatus = value;
185 m_userInvitationStatusHasBeenSet =
true;
186 m_userInvitationStatus = value;
200 template <
typename RegisteredOnT = Aws::Utils::DateTime>
202 m_registeredOnHasBeenSet =
true;
203 m_registeredOn = std::forward<RegisteredOnT>(value);
205 template <
typename RegisteredOnT = Aws::Utils::DateTime>
219 template <
typename InvitedOnT = Aws::Utils::DateTime>
221 m_invitedOnHasBeenSet =
true;
222 m_invitedOn = std::forward<InvitedOnT>(value);
224 template <
typename InvitedOnT = Aws::Utils::DateTime>
237 template <
typename AlexaForBusinessMetadataT = AlexaForBusinessMetadata>
239 m_alexaForBusinessMetadataHasBeenSet =
true;
240 m_alexaForBusinessMetadata = std::forward<AlexaForBusinessMetadataT>(value);
242 template <
typename AlexaForBusinessMetadataT = AlexaForBusinessMetadata>
255 template <
typename PersonalPINT = Aws::String>
257 m_personalPINHasBeenSet =
true;
258 m_personalPIN = std::forward<PersonalPINT>(value);
260 template <
typename PersonalPINT = Aws::String>
289 AlexaForBusinessMetadata m_alexaForBusinessMetadata;
292 bool m_userIdHasBeenSet =
false;
293 bool m_accountIdHasBeenSet =
false;
294 bool m_primaryEmailHasBeenSet =
false;
295 bool m_primaryProvisionedNumberHasBeenSet =
false;
296 bool m_displayNameHasBeenSet =
false;
297 bool m_licenseTypeHasBeenSet =
false;
298 bool m_userTypeHasBeenSet =
false;
299 bool m_userRegistrationStatusHasBeenSet =
false;
300 bool m_userInvitationStatusHasBeenSet =
false;
301 bool m_registeredOnHasBeenSet =
false;
302 bool m_invitedOnHasBeenSet =
false;
303 bool m_alexaForBusinessMetadataHasBeenSet =
false;
304 bool m_personalPINHasBeenSet =
false;
User & WithRegisteredOn(RegisteredOnT &&value)
bool UserIdHasBeenSet() const
User & WithAlexaForBusinessMetadata(AlexaForBusinessMetadataT &&value)
const Aws::String & GetPrimaryProvisionedNumber() const
void SetInvitedOn(InvitedOnT &&value)
bool PrimaryProvisionedNumberHasBeenSet() const
const Aws::String & GetAccountId() const
bool UserInvitationStatusHasBeenSet() const
bool UserTypeHasBeenSet() const
void SetRegisteredOn(RegisteredOnT &&value)
const Aws::String & GetUserId() const
AWS_CHIME_API User(Aws::Utils::Json::JsonView jsonValue)
bool DisplayNameHasBeenSet() const
bool AlexaForBusinessMetadataHasBeenSet() const
bool PrimaryEmailHasBeenSet() const
const Aws::Utils::DateTime & GetInvitedOn() const
User & WithAccountId(AccountIdT &&value)
User & WithUserType(UserType value)
bool AccountIdHasBeenSet() const
AWS_CHIME_API User()=default
User & WithDisplayName(DisplayNameT &&value)
bool InvitedOnHasBeenSet() const
void SetPrimaryEmail(PrimaryEmailT &&value)
License GetLicenseType() const
const Aws::String & GetDisplayName() const
const Aws::String & GetPrimaryEmail() const
User & WithInvitedOn(InvitedOnT &&value)
void SetPrimaryProvisionedNumber(PrimaryProvisionedNumberT &&value)
User & WithUserId(UserIdT &&value)
bool PersonalPINHasBeenSet() const
User & WithPersonalPIN(PersonalPINT &&value)
bool LicenseTypeHasBeenSet() const
const Aws::String & GetPersonalPIN() const
User & WithPrimaryProvisionedNumber(PrimaryProvisionedNumberT &&value)
void SetAlexaForBusinessMetadata(AlexaForBusinessMetadataT &&value)
void SetPersonalPIN(PersonalPINT &&value)
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAccountId(AccountIdT &&value)
const Aws::Utils::DateTime & GetRegisteredOn() const
bool UserRegistrationStatusHasBeenSet() const
User & WithPrimaryEmail(PrimaryEmailT &&value)
User & WithUserInvitationStatus(InviteStatus value)
AWS_CHIME_API User & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLicenseType(License value)
void SetUserType(UserType value)
InviteStatus GetUserInvitationStatus() const
UserType GetUserType() const
bool RegisteredOnHasBeenSet() const
void SetUserRegistrationStatus(RegistrationStatus value)
User & WithUserRegistrationStatus(RegistrationStatus value)
void SetUserId(UserIdT &&value)
User & WithLicenseType(License value)
void SetUserInvitationStatus(InviteStatus value)
RegistrationStatus GetUserRegistrationStatus() const
const AlexaForBusinessMetadata & GetAlexaForBusinessMetadata() const
void SetDisplayName(DisplayNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue