/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The user on the Amazon Chime account.See Also:
AWS API
* Reference
The user ID.
*/ inline const Aws::String& GetUserId() const{ return m_userId; } /** *The user ID.
*/ inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; } /** *The user ID.
*/ inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; } /** *The user ID.
*/ inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); } /** *The user ID.
*/ inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); } /** *The user ID.
*/ inline User& WithUserId(const Aws::String& value) { SetUserId(value); return *this;} /** *The user ID.
*/ inline User& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;} /** *The user ID.
*/ inline User& WithUserId(const char* value) { SetUserId(value); return *this;} /** *The Amazon Chime account ID.
*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *The Amazon Chime account ID.
*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *The Amazon Chime account ID.
*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *The Amazon Chime account ID.
*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *The Amazon Chime account ID.
*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *The Amazon Chime account ID.
*/ inline User& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *The Amazon Chime account ID.
*/ inline User& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *The Amazon Chime account ID.
*/ inline User& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *The primary email address of the user.
*/ inline const Aws::String& GetPrimaryEmail() const{ return m_primaryEmail; } /** *The primary email address of the user.
*/ inline bool PrimaryEmailHasBeenSet() const { return m_primaryEmailHasBeenSet; } /** *The primary email address of the user.
*/ inline void SetPrimaryEmail(const Aws::String& value) { m_primaryEmailHasBeenSet = true; m_primaryEmail = value; } /** *The primary email address of the user.
*/ inline void SetPrimaryEmail(Aws::String&& value) { m_primaryEmailHasBeenSet = true; m_primaryEmail = std::move(value); } /** *The primary email address of the user.
*/ inline void SetPrimaryEmail(const char* value) { m_primaryEmailHasBeenSet = true; m_primaryEmail.assign(value); } /** *The primary email address of the user.
*/ inline User& WithPrimaryEmail(const Aws::String& value) { SetPrimaryEmail(value); return *this;} /** *The primary email address of the user.
*/ inline User& WithPrimaryEmail(Aws::String&& value) { SetPrimaryEmail(std::move(value)); return *this;} /** *The primary email address of the user.
*/ inline User& WithPrimaryEmail(const char* value) { SetPrimaryEmail(value); return *this;} /** *The primary phone number associated with the user.
*/ inline const Aws::String& GetPrimaryProvisionedNumber() const{ return m_primaryProvisionedNumber; } /** *The primary phone number associated with the user.
*/ inline bool PrimaryProvisionedNumberHasBeenSet() const { return m_primaryProvisionedNumberHasBeenSet; } /** *The primary phone number associated with the user.
*/ inline void SetPrimaryProvisionedNumber(const Aws::String& value) { m_primaryProvisionedNumberHasBeenSet = true; m_primaryProvisionedNumber = value; } /** *The primary phone number associated with the user.
*/ inline void SetPrimaryProvisionedNumber(Aws::String&& value) { m_primaryProvisionedNumberHasBeenSet = true; m_primaryProvisionedNumber = std::move(value); } /** *The primary phone number associated with the user.
*/ inline void SetPrimaryProvisionedNumber(const char* value) { m_primaryProvisionedNumberHasBeenSet = true; m_primaryProvisionedNumber.assign(value); } /** *The primary phone number associated with the user.
*/ inline User& WithPrimaryProvisionedNumber(const Aws::String& value) { SetPrimaryProvisionedNumber(value); return *this;} /** *The primary phone number associated with the user.
*/ inline User& WithPrimaryProvisionedNumber(Aws::String&& value) { SetPrimaryProvisionedNumber(std::move(value)); return *this;} /** *The primary phone number associated with the user.
*/ inline User& WithPrimaryProvisionedNumber(const char* value) { SetPrimaryProvisionedNumber(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 bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } /** *The display name of the user.
*/ inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } /** *The display name of the user.
*/ inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } /** *The display name of the user.
*/ inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } /** *The display name of the user.
*/ inline User& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} /** *The display name of the user.
*/ inline User& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} /** *The display name of the user.
*/ inline User& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} /** *The license type for the user.
*/ inline const License& GetLicenseType() const{ return m_licenseType; } /** *The license type for the user.
*/ inline bool LicenseTypeHasBeenSet() const { return m_licenseTypeHasBeenSet; } /** *The license type for the user.
*/ inline void SetLicenseType(const License& value) { m_licenseTypeHasBeenSet = true; m_licenseType = value; } /** *The license type for the user.
*/ inline void SetLicenseType(License&& value) { m_licenseTypeHasBeenSet = true; m_licenseType = std::move(value); } /** *The license type for the user.
*/ inline User& WithLicenseType(const License& value) { SetLicenseType(value); return *this;} /** *The license type for the user.
*/ inline User& WithLicenseType(License&& value) { SetLicenseType(std::move(value)); return *this;} /** *The user type.
*/ inline const UserType& GetUserType() const{ return m_userType; } /** *The user type.
*/ inline bool UserTypeHasBeenSet() const { return m_userTypeHasBeenSet; } /** *The user type.
*/ inline void SetUserType(const UserType& value) { m_userTypeHasBeenSet = true; m_userType = value; } /** *The user type.
*/ inline void SetUserType(UserType&& value) { m_userTypeHasBeenSet = true; m_userType = std::move(value); } /** *The user type.
*/ inline User& WithUserType(const UserType& value) { SetUserType(value); return *this;} /** *The user type.
*/ inline User& WithUserType(UserType&& value) { SetUserType(std::move(value)); return *this;} /** *The user registration status.
*/ inline const RegistrationStatus& GetUserRegistrationStatus() const{ return m_userRegistrationStatus; } /** *The user registration status.
*/ inline bool UserRegistrationStatusHasBeenSet() const { return m_userRegistrationStatusHasBeenSet; } /** *The user registration status.
*/ inline void SetUserRegistrationStatus(const RegistrationStatus& value) { m_userRegistrationStatusHasBeenSet = true; m_userRegistrationStatus = value; } /** *The user registration status.
*/ inline void SetUserRegistrationStatus(RegistrationStatus&& value) { m_userRegistrationStatusHasBeenSet = true; m_userRegistrationStatus = std::move(value); } /** *The user registration status.
*/ inline User& WithUserRegistrationStatus(const RegistrationStatus& value) { SetUserRegistrationStatus(value); return *this;} /** *The user registration status.
*/ inline User& WithUserRegistrationStatus(RegistrationStatus&& value) { SetUserRegistrationStatus(std::move(value)); return *this;} /** *The user invite status.
*/ inline const InviteStatus& GetUserInvitationStatus() const{ return m_userInvitationStatus; } /** *The user invite status.
*/ inline bool UserInvitationStatusHasBeenSet() const { return m_userInvitationStatusHasBeenSet; } /** *The user invite status.
*/ inline void SetUserInvitationStatus(const InviteStatus& value) { m_userInvitationStatusHasBeenSet = true; m_userInvitationStatus = value; } /** *The user invite status.
*/ inline void SetUserInvitationStatus(InviteStatus&& value) { m_userInvitationStatusHasBeenSet = true; m_userInvitationStatus = std::move(value); } /** *The user invite status.
*/ inline User& WithUserInvitationStatus(const InviteStatus& value) { SetUserInvitationStatus(value); return *this;} /** *The user invite status.
*/ inline User& WithUserInvitationStatus(InviteStatus&& value) { SetUserInvitationStatus(std::move(value)); return *this;} /** *Date and time when the user is registered, in ISO 8601 format.
*/ inline const Aws::Utils::DateTime& GetRegisteredOn() const{ return m_registeredOn; } /** *Date and time when the user is registered, in ISO 8601 format.
*/ inline bool RegisteredOnHasBeenSet() const { return m_registeredOnHasBeenSet; } /** *Date and time when the user is registered, in ISO 8601 format.
*/ inline void SetRegisteredOn(const Aws::Utils::DateTime& value) { m_registeredOnHasBeenSet = true; m_registeredOn = value; } /** *Date and time when the user is registered, in ISO 8601 format.
*/ inline void SetRegisteredOn(Aws::Utils::DateTime&& value) { m_registeredOnHasBeenSet = true; m_registeredOn = std::move(value); } /** *Date and time when the user is registered, in ISO 8601 format.
*/ inline User& WithRegisteredOn(const Aws::Utils::DateTime& value) { SetRegisteredOn(value); return *this;} /** *Date and time when the user is registered, in ISO 8601 format.
*/ inline User& WithRegisteredOn(Aws::Utils::DateTime&& value) { SetRegisteredOn(std::move(value)); return *this;} /** *Date and time when the user is invited to the Amazon Chime account, in ISO * 8601 format.
*/ inline const Aws::Utils::DateTime& GetInvitedOn() const{ return m_invitedOn; } /** *Date and time when the user is invited to the Amazon Chime account, in ISO * 8601 format.
*/ inline bool InvitedOnHasBeenSet() const { return m_invitedOnHasBeenSet; } /** *Date and time when the user is invited to the Amazon Chime account, in ISO * 8601 format.
*/ inline void SetInvitedOn(const Aws::Utils::DateTime& value) { m_invitedOnHasBeenSet = true; m_invitedOn = value; } /** *Date and time when the user is invited to the Amazon Chime account, in ISO * 8601 format.
*/ inline void SetInvitedOn(Aws::Utils::DateTime&& value) { m_invitedOnHasBeenSet = true; m_invitedOn = std::move(value); } /** *Date and time when the user is invited to the Amazon Chime account, in ISO * 8601 format.
*/ inline User& WithInvitedOn(const Aws::Utils::DateTime& value) { SetInvitedOn(value); return *this;} /** *Date and time when the user is invited to the Amazon Chime account, in ISO * 8601 format.
*/ inline User& WithInvitedOn(Aws::Utils::DateTime&& value) { SetInvitedOn(std::move(value)); return *this;} /** *The Alexa for Business metadata.
*/ inline const AlexaForBusinessMetadata& GetAlexaForBusinessMetadata() const{ return m_alexaForBusinessMetadata; } /** *The Alexa for Business metadata.
*/ inline bool AlexaForBusinessMetadataHasBeenSet() const { return m_alexaForBusinessMetadataHasBeenSet; } /** *The Alexa for Business metadata.
*/ inline void SetAlexaForBusinessMetadata(const AlexaForBusinessMetadata& value) { m_alexaForBusinessMetadataHasBeenSet = true; m_alexaForBusinessMetadata = value; } /** *The Alexa for Business metadata.
*/ inline void SetAlexaForBusinessMetadata(AlexaForBusinessMetadata&& value) { m_alexaForBusinessMetadataHasBeenSet = true; m_alexaForBusinessMetadata = std::move(value); } /** *The Alexa for Business metadata.
*/ inline User& WithAlexaForBusinessMetadata(const AlexaForBusinessMetadata& value) { SetAlexaForBusinessMetadata(value); return *this;} /** *The Alexa for Business metadata.
*/ inline User& WithAlexaForBusinessMetadata(AlexaForBusinessMetadata&& value) { SetAlexaForBusinessMetadata(std::move(value)); return *this;} /** *The user's personal meeting PIN.
*/ inline const Aws::String& GetPersonalPIN() const{ return m_personalPIN; } /** *The user's personal meeting PIN.
*/ inline bool PersonalPINHasBeenSet() const { return m_personalPINHasBeenSet; } /** *The user's personal meeting PIN.
*/ inline void SetPersonalPIN(const Aws::String& value) { m_personalPINHasBeenSet = true; m_personalPIN = value; } /** *The user's personal meeting PIN.
*/ inline void SetPersonalPIN(Aws::String&& value) { m_personalPINHasBeenSet = true; m_personalPIN = std::move(value); } /** *The user's personal meeting PIN.
*/ inline void SetPersonalPIN(const char* value) { m_personalPINHasBeenSet = true; m_personalPIN.assign(value); } /** *The user's personal meeting PIN.
*/ inline User& WithPersonalPIN(const Aws::String& value) { SetPersonalPIN(value); return *this;} /** *The user's personal meeting PIN.
*/ inline User& WithPersonalPIN(Aws::String&& value) { SetPersonalPIN(std::move(value)); return *this;} /** *The user's personal meeting PIN.
*/ inline User& WithPersonalPIN(const char* value) { SetPersonalPIN(value); return *this;} private: Aws::String m_userId; bool m_userIdHasBeenSet; Aws::String m_accountId; bool m_accountIdHasBeenSet; Aws::String m_primaryEmail; bool m_primaryEmailHasBeenSet; Aws::String m_primaryProvisionedNumber; bool m_primaryProvisionedNumberHasBeenSet; Aws::String m_displayName; bool m_displayNameHasBeenSet; License m_licenseType; bool m_licenseTypeHasBeenSet; UserType m_userType; bool m_userTypeHasBeenSet; RegistrationStatus m_userRegistrationStatus; bool m_userRegistrationStatusHasBeenSet; InviteStatus m_userInvitationStatus; bool m_userInvitationStatusHasBeenSet; Aws::Utils::DateTime m_registeredOn; bool m_registeredOnHasBeenSet; Aws::Utils::DateTime m_invitedOn; bool m_invitedOnHasBeenSet; AlexaForBusinessMetadata m_alexaForBusinessMetadata; bool m_alexaForBusinessMetadataHasBeenSet; Aws::String m_personalPIN; bool m_personalPINHasBeenSet; }; } // namespace Model } // namespace Chime } // namespace Aws