7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/workmail/WorkMailRequest.h>
9#include <aws/workmail/WorkMail_EXPORTS.h>
10#include <aws/workmail/model/UserRole.h>
40 template <
typename OrganizationIdT = Aws::String>
42 m_organizationIdHasBeenSet =
true;
43 m_organizationId = std::forward<OrganizationIdT>(value);
45 template <
typename OrganizationIdT = Aws::String>
59 template <
typename NameT = Aws::String>
61 m_nameHasBeenSet =
true;
62 m_name = std::forward<NameT>(value);
64 template <
typename NameT = Aws::String>
66 SetName(std::forward<NameT>(value));
77 template <
typename DisplayNameT = Aws::String>
79 m_displayNameHasBeenSet =
true;
80 m_displayName = std::forward<DisplayNameT>(value);
82 template <
typename DisplayNameT = Aws::String>
95 template <
typename PasswordT = Aws::String>
97 m_passwordHasBeenSet =
true;
98 m_password = std::forward<PasswordT>(value);
100 template <
typename PasswordT = Aws::String>
116 m_roleHasBeenSet =
true;
131 template <
typename FirstNameT = Aws::String>
133 m_firstNameHasBeenSet =
true;
134 m_firstName = std::forward<FirstNameT>(value);
136 template <
typename FirstNameT = Aws::String>
149 template <
typename LastNameT = Aws::String>
151 m_lastNameHasBeenSet =
true;
152 m_lastName = std::forward<LastNameT>(value);
154 template <
typename LastNameT = Aws::String>
169 m_hiddenFromGlobalAddressListHasBeenSet =
true;
170 m_hiddenFromGlobalAddressList = value;
186 template <
typename IdentityProv
iderUserIdT = Aws::String>
188 m_identityProviderUserIdHasBeenSet =
true;
189 m_identityProviderUserId = std::forward<IdentityProviderUserIdT>(value);
191 template <
typename IdentityProv
iderUserIdT = Aws::String>
212 bool m_hiddenFromGlobalAddressList{
false};
215 bool m_organizationIdHasBeenSet =
false;
216 bool m_nameHasBeenSet =
false;
217 bool m_displayNameHasBeenSet =
false;
218 bool m_passwordHasBeenSet =
false;
219 bool m_roleHasBeenSet =
false;
220 bool m_firstNameHasBeenSet =
false;
221 bool m_lastNameHasBeenSet =
false;
222 bool m_hiddenFromGlobalAddressListHasBeenSet =
false;
223 bool m_identityProviderUserIdHasBeenSet =
false;
const Aws::String & GetFirstName() const
CreateUserRequest & WithRole(UserRole value)
const Aws::String & GetName() const
const Aws::String & GetDisplayName() const
bool PasswordHasBeenSet() const
void SetName(NameT &&value)
bool RoleHasBeenSet() const
CreateUserRequest & WithHiddenFromGlobalAddressList(bool value)
const Aws::String & GetPassword() const
void SetIdentityProviderUserId(IdentityProviderUserIdT &&value)
const Aws::String & GetOrganizationId() const
void SetDisplayName(DisplayNameT &&value)
CreateUserRequest & WithDisplayName(DisplayNameT &&value)
bool OrganizationIdHasBeenSet() const
void SetHiddenFromGlobalAddressList(bool value)
const Aws::String & GetLastName() const
CreateUserRequest & WithName(NameT &&value)
virtual const char * GetServiceRequestName() const override
bool FirstNameHasBeenSet() const
bool IdentityProviderUserIdHasBeenSet() const
CreateUserRequest & WithLastName(LastNameT &&value)
bool NameHasBeenSet() const
const Aws::String & GetIdentityProviderUserId() const
bool HiddenFromGlobalAddressListHasBeenSet() const
void SetOrganizationId(OrganizationIdT &&value)
void SetPassword(PasswordT &&value)
CreateUserRequest & WithFirstName(FirstNameT &&value)
void SetLastName(LastNameT &&value)
void SetRole(UserRole value)
AWS_WORKMAIL_API Aws::String SerializePayload() const override
CreateUserRequest & WithIdentityProviderUserId(IdentityProviderUserIdT &&value)
bool DisplayNameHasBeenSet() const
bool GetHiddenFromGlobalAddressList() const
AWS_WORKMAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateUserRequest & WithOrganizationId(OrganizationIdT &&value)
bool LastNameHasBeenSet() const
void SetFirstName(FirstNameT &&value)
AWS_WORKMAIL_API CreateUserRequest()=default
CreateUserRequest & WithPassword(PasswordT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String