7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/workmail/WorkMail_EXPORTS.h>
11#include <aws/workmail/model/EntityState.h>
12#include <aws/workmail/model/UserRole.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
38 template <
typename UserIdT = Aws::String>
40 m_userIdHasBeenSet =
true;
41 m_userId = std::forward<UserIdT>(value);
43 template <
typename UserIdT = Aws::String>
55 template <
typename NameT = Aws::String>
57 m_nameHasBeenSet =
true;
58 m_name = std::forward<NameT>(value);
60 template <
typename NameT = Aws::String>
62 SetName(std::forward<NameT>(value));
72 template <
typename EmailT = Aws::String>
74 m_emailHasBeenSet =
true;
75 m_email = std::forward<EmailT>(value);
77 template <
typename EmailT = Aws::String>
79 SetEmail(std::forward<EmailT>(value));
89 template <
typename DisplayNameT = Aws::String>
91 m_displayNameHasBeenSet =
true;
92 m_displayName = std::forward<DisplayNameT>(value);
94 template <
typename DisplayNameT = Aws::String>
108 m_stateHasBeenSet =
true;
128 m_userRoleHasBeenSet =
true;
143 template <
typename EnabledDateT = Aws::Utils::DateTime>
145 m_enabledDateHasBeenSet =
true;
146 m_enabledDate = std::forward<EnabledDateT>(value);
148 template <
typename EnabledDateT = Aws::Utils::DateTime>
161 template <
typename DisabledDateT = Aws::Utils::DateTime>
163 m_disabledDateHasBeenSet =
true;
164 m_disabledDate = std::forward<DisabledDateT>(value);
166 template <
typename DisabledDateT = Aws::Utils::DateTime>
178 template <
typename MailboxProvisionedDateT = Aws::Utils::DateTime>
180 m_mailboxProvisionedDateHasBeenSet =
true;
181 m_mailboxProvisionedDate = std::forward<MailboxProvisionedDateT>(value);
183 template <
typename MailboxProvisionedDateT = Aws::Utils::DateTime>
195 template <
typename MailboxDeprovisionedDateT = Aws::Utils::DateTime>
197 m_mailboxDeprovisionedDateHasBeenSet =
true;
198 m_mailboxDeprovisionedDate = std::forward<MailboxDeprovisionedDateT>(value);
200 template <
typename MailboxDeprovisionedDateT = Aws::Utils::DateTime>
212 template <
typename FirstNameT = Aws::String>
214 m_firstNameHasBeenSet =
true;
215 m_firstName = std::forward<FirstNameT>(value);
217 template <
typename FirstNameT = Aws::String>
229 template <
typename LastNameT = Aws::String>
231 m_lastNameHasBeenSet =
true;
232 m_lastName = std::forward<LastNameT>(value);
234 template <
typename LastNameT = Aws::String>
247 m_hiddenFromGlobalAddressListHasBeenSet =
true;
248 m_hiddenFromGlobalAddressList = value;
261 template <
typename InitialsT = Aws::String>
263 m_initialsHasBeenSet =
true;
264 m_initials = std::forward<InitialsT>(value);
266 template <
typename InitialsT = Aws::String>
278 template <
typename TelephoneT = Aws::String>
280 m_telephoneHasBeenSet =
true;
281 m_telephone = std::forward<TelephoneT>(value);
283 template <
typename TelephoneT = Aws::String>
295 template <
typename StreetT = Aws::String>
297 m_streetHasBeenSet =
true;
298 m_street = std::forward<StreetT>(value);
300 template <
typename StreetT = Aws::String>
312 template <
typename JobTitleT = Aws::String>
314 m_jobTitleHasBeenSet =
true;
315 m_jobTitle = std::forward<JobTitleT>(value);
317 template <
typename JobTitleT = Aws::String>
329 template <
typename CityT = Aws::String>
331 m_cityHasBeenSet =
true;
332 m_city = std::forward<CityT>(value);
334 template <
typename CityT = Aws::String>
336 SetCity(std::forward<CityT>(value));
346 template <
typename CompanyT = Aws::String>
348 m_companyHasBeenSet =
true;
349 m_company = std::forward<CompanyT>(value);
351 template <
typename CompanyT = Aws::String>
363 template <
typename ZipCodeT = Aws::String>
365 m_zipCodeHasBeenSet =
true;
366 m_zipCode = std::forward<ZipCodeT>(value);
368 template <
typename ZipCodeT = Aws::String>
380 template <
typename DepartmentT = Aws::String>
382 m_departmentHasBeenSet =
true;
383 m_department = std::forward<DepartmentT>(value);
385 template <
typename DepartmentT = Aws::String>
397 template <
typename CountryT = Aws::String>
399 m_countryHasBeenSet =
true;
400 m_country = std::forward<CountryT>(value);
402 template <
typename CountryT = Aws::String>
414 template <
typename OfficeT = Aws::String>
416 m_officeHasBeenSet =
true;
417 m_office = std::forward<OfficeT>(value);
419 template <
typename OfficeT = Aws::String>
433 template <
typename IdentityProv
iderUserIdT = Aws::String>
435 m_identityProviderUserIdHasBeenSet =
true;
436 m_identityProviderUserId = std::forward<IdentityProviderUserIdT>(value);
438 template <
typename IdentityProv
iderUserIdT = Aws::String>
452 template <
typename IdentityProv
iderIdentityStoreIdT = Aws::String>
454 m_identityProviderIdentityStoreIdHasBeenSet =
true;
455 m_identityProviderIdentityStoreId = std::forward<IdentityProviderIdentityStoreIdT>(value);
457 template <
typename IdentityProv
iderIdentityStoreIdT = Aws::String>
467 template <
typename RequestIdT = Aws::String>
469 m_requestIdHasBeenSet =
true;
470 m_requestId = std::forward<RequestIdT>(value);
472 template <
typename RequestIdT = Aws::String>
505 bool m_hiddenFromGlobalAddressList{
false};
533 bool m_userIdHasBeenSet =
false;
534 bool m_nameHasBeenSet =
false;
535 bool m_emailHasBeenSet =
false;
536 bool m_displayNameHasBeenSet =
false;
537 bool m_stateHasBeenSet =
false;
538 bool m_userRoleHasBeenSet =
false;
539 bool m_enabledDateHasBeenSet =
false;
540 bool m_disabledDateHasBeenSet =
false;
541 bool m_mailboxProvisionedDateHasBeenSet =
false;
542 bool m_mailboxDeprovisionedDateHasBeenSet =
false;
543 bool m_firstNameHasBeenSet =
false;
544 bool m_lastNameHasBeenSet =
false;
545 bool m_hiddenFromGlobalAddressListHasBeenSet =
false;
546 bool m_initialsHasBeenSet =
false;
547 bool m_telephoneHasBeenSet =
false;
548 bool m_streetHasBeenSet =
false;
549 bool m_jobTitleHasBeenSet =
false;
550 bool m_cityHasBeenSet =
false;
551 bool m_companyHasBeenSet =
false;
552 bool m_zipCodeHasBeenSet =
false;
553 bool m_departmentHasBeenSet =
false;
554 bool m_countryHasBeenSet =
false;
555 bool m_officeHasBeenSet =
false;
556 bool m_identityProviderUserIdHasBeenSet =
false;
557 bool m_identityProviderIdentityStoreIdHasBeenSet =
false;
558 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetLastName() const
void SetCountry(CountryT &&value)
DescribeUserResult & WithLastName(LastNameT &&value)
DescribeUserResult & WithInitials(InitialsT &&value)
DescribeUserResult & WithIdentityProviderUserId(IdentityProviderUserIdT &&value)
const Aws::String & GetIdentityProviderUserId() const
DescribeUserResult & WithName(NameT &&value)
void SetStreet(StreetT &&value)
const Aws::String & GetDepartment() const
const Aws::String & GetTelephone() const
const Aws::String & GetCountry() const
void SetInitials(InitialsT &&value)
void SetEnabledDate(EnabledDateT &&value)
void SetJobTitle(JobTitleT &&value)
const Aws::String & GetCity() const
DescribeUserResult & WithMailboxDeprovisionedDate(MailboxDeprovisionedDateT &&value)
const Aws::Utils::DateTime & GetDisabledDate() const
const Aws::String & GetUserId() const
void SetEmail(EmailT &&value)
DescribeUserResult & WithJobTitle(JobTitleT &&value)
const Aws::Utils::DateTime & GetMailboxProvisionedDate() const
DescribeUserResult & WithDepartment(DepartmentT &&value)
DescribeUserResult & WithUserRole(UserRole value)
void SetIdentityProviderUserId(IdentityProviderUserIdT &&value)
void SetZipCode(ZipCodeT &&value)
DescribeUserResult & WithEmail(EmailT &&value)
const Aws::String & GetCompany() const
const Aws::String & GetJobTitle() const
void SetTelephone(TelephoneT &&value)
EntityState GetState() const
const Aws::String & GetFirstName() const
UserRole GetUserRole() const
DescribeUserResult & WithDisabledDate(DisabledDateT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetEmail() const
bool GetHiddenFromGlobalAddressList() const
AWS_WORKMAIL_API DescribeUserResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetMailboxDeprovisionedDate(MailboxDeprovisionedDateT &&value)
void SetCity(CityT &&value)
AWS_WORKMAIL_API DescribeUserResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetIdentityProviderIdentityStoreId(IdentityProviderIdentityStoreIdT &&value)
DescribeUserResult & WithRequestId(RequestIdT &&value)
DescribeUserResult & WithHiddenFromGlobalAddressList(bool value)
void SetLastName(LastNameT &&value)
const Aws::String & GetStreet() const
DescribeUserResult & WithStreet(StreetT &&value)
const Aws::String & GetOffice() const
const Aws::String & GetRequestId() const
DescribeUserResult & WithZipCode(ZipCodeT &&value)
DescribeUserResult & WithUserId(UserIdT &&value)
DescribeUserResult & WithIdentityProviderIdentityStoreId(IdentityProviderIdentityStoreIdT &&value)
void SetOffice(OfficeT &&value)
void SetUserId(UserIdT &&value)
DescribeUserResult & WithCity(CityT &&value)
const Aws::Utils::DateTime & GetEnabledDate() const
DescribeUserResult & WithCompany(CompanyT &&value)
void SetState(EntityState value)
DescribeUserResult & WithFirstName(FirstNameT &&value)
const Aws::String & GetIdentityProviderIdentityStoreId() const
void SetHiddenFromGlobalAddressList(bool value)
DescribeUserResult & WithMailboxProvisionedDate(MailboxProvisionedDateT &&value)
const Aws::String & GetInitials() const
void SetDisplayName(DisplayNameT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetName() const
DescribeUserResult & WithDisplayName(DisplayNameT &&value)
void SetMailboxProvisionedDate(MailboxProvisionedDateT &&value)
void SetCompany(CompanyT &&value)
void SetName(NameT &&value)
void SetFirstName(FirstNameT &&value)
AWS_WORKMAIL_API DescribeUserResult()=default
void SetDisabledDate(DisabledDateT &&value)
DescribeUserResult & WithOffice(OfficeT &&value)
DescribeUserResult & WithState(EntityState value)
DescribeUserResult & WithCountry(CountryT &&value)
void SetDepartment(DepartmentT &&value)
DescribeUserResult & WithEnabledDate(EnabledDateT &&value)
void SetUserRole(UserRole value)
const Aws::Utils::DateTime & GetMailboxDeprovisionedDate() const
DescribeUserResult & WithTelephone(TelephoneT &&value)
const Aws::String & GetZipCode() const
const Aws::String & GetDisplayName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue