7#include <aws/workmail/WorkMail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workmail/model/EntityState.h>
10#include <aws/workmail/model/UserRole.h>
11#include <aws/core/utils/DateTime.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
43 template<
typename UserIdT = Aws::String>
44 void SetUserId(UserIdT&& value) { m_userIdHasBeenSet =
true; m_userId = std::forward<UserIdT>(value); }
45 template<
typename UserIdT = Aws::String>
54 template<
typename NameT = Aws::String>
55 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
56 template<
typename NameT = Aws::String>
65 template<
typename EmailT = Aws::String>
66 void SetEmail(EmailT&& value) { m_emailHasBeenSet =
true; m_email = std::forward<EmailT>(value); }
67 template<
typename EmailT = Aws::String>
76 template<
typename DisplayNameT = Aws::String>
77 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet =
true; m_displayName = std::forward<DisplayNameT>(value); }
78 template<
typename DisplayNameT = Aws::String>
112 template<
typename EnabledDateT = Aws::Utils::DateTime>
113 void SetEnabledDate(EnabledDateT&& value) { m_enabledDateHasBeenSet =
true; m_enabledDate = std::forward<EnabledDateT>(value); }
114 template<
typename EnabledDateT = Aws::Utils::DateTime>
124 template<
typename DisabledDateT = Aws::Utils::DateTime>
125 void SetDisabledDate(DisabledDateT&& value) { m_disabledDateHasBeenSet =
true; m_disabledDate = std::forward<DisabledDateT>(value); }
126 template<
typename DisabledDateT = Aws::Utils::DateTime>
135 template<
typename MailboxProvisionedDateT = Aws::Utils::DateTime>
136 void SetMailboxProvisionedDate(MailboxProvisionedDateT&& value) { m_mailboxProvisionedDateHasBeenSet =
true; m_mailboxProvisionedDate = std::forward<MailboxProvisionedDateT>(value); }
137 template<
typename MailboxProvisionedDateT = Aws::Utils::DateTime>
146 template<
typename MailboxDeprovisionedDateT = Aws::Utils::DateTime>
147 void SetMailboxDeprovisionedDate(MailboxDeprovisionedDateT&& value) { m_mailboxDeprovisionedDateHasBeenSet =
true; m_mailboxDeprovisionedDate = std::forward<MailboxDeprovisionedDateT>(value); }
148 template<
typename MailboxDeprovisionedDateT = Aws::Utils::DateTime>
157 template<
typename FirstNameT = Aws::String>
158 void SetFirstName(FirstNameT&& value) { m_firstNameHasBeenSet =
true; m_firstName = std::forward<FirstNameT>(value); }
159 template<
typename FirstNameT = Aws::String>
168 template<
typename LastNameT = Aws::String>
169 void SetLastName(LastNameT&& value) { m_lastNameHasBeenSet =
true; m_lastName = std::forward<LastNameT>(value); }
170 template<
typename LastNameT = Aws::String>
188 template<
typename InitialsT = Aws::String>
189 void SetInitials(InitialsT&& value) { m_initialsHasBeenSet =
true; m_initials = std::forward<InitialsT>(value); }
190 template<
typename InitialsT = Aws::String>
199 template<
typename TelephoneT = Aws::String>
200 void SetTelephone(TelephoneT&& value) { m_telephoneHasBeenSet =
true; m_telephone = std::forward<TelephoneT>(value); }
201 template<
typename TelephoneT = Aws::String>
210 template<
typename StreetT = Aws::String>
211 void SetStreet(StreetT&& value) { m_streetHasBeenSet =
true; m_street = std::forward<StreetT>(value); }
212 template<
typename StreetT = Aws::String>
221 template<
typename JobTitleT = Aws::String>
222 void SetJobTitle(JobTitleT&& value) { m_jobTitleHasBeenSet =
true; m_jobTitle = std::forward<JobTitleT>(value); }
223 template<
typename JobTitleT = Aws::String>
232 template<
typename CityT = Aws::String>
233 void SetCity(CityT&& value) { m_cityHasBeenSet =
true; m_city = std::forward<CityT>(value); }
234 template<
typename CityT = Aws::String>
243 template<
typename CompanyT = Aws::String>
244 void SetCompany(CompanyT&& value) { m_companyHasBeenSet =
true; m_company = std::forward<CompanyT>(value); }
245 template<
typename CompanyT = Aws::String>
254 template<
typename ZipCodeT = Aws::String>
255 void SetZipCode(ZipCodeT&& value) { m_zipCodeHasBeenSet =
true; m_zipCode = std::forward<ZipCodeT>(value); }
256 template<
typename ZipCodeT = Aws::String>
265 template<
typename DepartmentT = Aws::String>
266 void SetDepartment(DepartmentT&& value) { m_departmentHasBeenSet =
true; m_department = std::forward<DepartmentT>(value); }
267 template<
typename DepartmentT = Aws::String>
276 template<
typename CountryT = Aws::String>
277 void SetCountry(CountryT&& value) { m_countryHasBeenSet =
true; m_country = std::forward<CountryT>(value); }
278 template<
typename CountryT = Aws::String>
287 template<
typename OfficeT = Aws::String>
288 void SetOffice(OfficeT&& value) { m_officeHasBeenSet =
true; m_office = std::forward<OfficeT>(value); }
289 template<
typename OfficeT = Aws::String>
300 template<
typename IdentityProv
iderUserIdT = Aws::String>
301 void SetIdentityProviderUserId(IdentityProviderUserIdT&& value) { m_identityProviderUserIdHasBeenSet =
true; m_identityProviderUserId = std::forward<IdentityProviderUserIdT>(value); }
302 template<
typename IdentityProv
iderUserIdT = Aws::String>
313 template<
typename IdentityProv
iderIdentityStoreIdT = Aws::String>
314 void SetIdentityProviderIdentityStoreId(IdentityProviderIdentityStoreIdT&& value) { m_identityProviderIdentityStoreIdHasBeenSet =
true; m_identityProviderIdentityStoreId = std::forward<IdentityProviderIdentityStoreIdT>(value); }
315 template<
typename IdentityProv
iderIdentityStoreIdT = Aws::String>
322 template<
typename RequestIdT = Aws::String>
323 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
324 template<
typename RequestIdT = Aws::String>
330 bool m_userIdHasBeenSet =
false;
333 bool m_nameHasBeenSet =
false;
336 bool m_emailHasBeenSet =
false;
339 bool m_displayNameHasBeenSet =
false;
342 bool m_stateHasBeenSet =
false;
345 bool m_userRoleHasBeenSet =
false;
348 bool m_enabledDateHasBeenSet =
false;
351 bool m_disabledDateHasBeenSet =
false;
354 bool m_mailboxProvisionedDateHasBeenSet =
false;
357 bool m_mailboxDeprovisionedDateHasBeenSet =
false;
360 bool m_firstNameHasBeenSet =
false;
363 bool m_lastNameHasBeenSet =
false;
365 bool m_hiddenFromGlobalAddressList{
false};
366 bool m_hiddenFromGlobalAddressListHasBeenSet =
false;
369 bool m_initialsHasBeenSet =
false;
372 bool m_telephoneHasBeenSet =
false;
375 bool m_streetHasBeenSet =
false;
378 bool m_jobTitleHasBeenSet =
false;
381 bool m_cityHasBeenSet =
false;
384 bool m_companyHasBeenSet =
false;
387 bool m_zipCodeHasBeenSet =
false;
390 bool m_departmentHasBeenSet =
false;
393 bool m_countryHasBeenSet =
false;
396 bool m_officeHasBeenSet =
false;
399 bool m_identityProviderUserIdHasBeenSet =
false;
402 bool m_identityProviderIdentityStoreIdHasBeenSet =
false;
405 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)
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