7#include <aws/workmail/WorkMail_EXPORTS.h>
8#include <aws/workmail/WorkMailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/workmail/model/UserRole.h>
46 inline void SetOrganizationId(
const char* value) { m_organizationIdHasBeenSet =
true; m_organizationId.assign(value); }
61 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
75 inline void SetDisplayName(
const char* value) { m_displayNameHasBeenSet =
true; m_displayName.assign(value); }
89 inline void SetPassword(
const char* value) { m_passwordHasBeenSet =
true; m_password.assign(value); }
103 inline void SetRole(
const UserRole& value) { m_roleHasBeenSet =
true; m_role = value; }
104 inline void SetRole(
UserRole&& value) { m_roleHasBeenSet =
true; m_role = std::move(value); }
117 inline void SetFirstName(
const char* value) { m_firstNameHasBeenSet =
true; m_firstName.assign(value); }
131 inline void SetLastName(
const char* value) { m_lastNameHasBeenSet =
true; m_lastName.assign(value); }
158 inline void SetIdentityProviderUserId(
const char* value) { m_identityProviderUserIdHasBeenSet =
true; m_identityProviderUserId.assign(value); }
166 bool m_organizationIdHasBeenSet =
false;
169 bool m_nameHasBeenSet =
false;
172 bool m_displayNameHasBeenSet =
false;
175 bool m_passwordHasBeenSet =
false;
178 bool m_roleHasBeenSet =
false;
181 bool m_firstNameHasBeenSet =
false;
184 bool m_lastNameHasBeenSet =
false;
186 bool m_hiddenFromGlobalAddressList;
187 bool m_hiddenFromGlobalAddressListHasBeenSet =
false;
190 bool m_identityProviderUserIdHasBeenSet =
false;
void SetRole(const UserRole &value)
void SetName(const char *value)
const Aws::String & GetFirstName() const
void SetRole(UserRole &&value)
CreateUserRequest & WithDisplayName(Aws::String &&value)
CreateUserRequest & WithDisplayName(const Aws::String &value)
void SetFirstName(Aws::String &&value)
CreateUserRequest & WithOrganizationId(const char *value)
const Aws::String & GetName() const
const Aws::String & GetDisplayName() const
bool PasswordHasBeenSet() const
void SetIdentityProviderUserId(const char *value)
void SetName(Aws::String &&value)
CreateUserRequest & WithPassword(const char *value)
bool RoleHasBeenSet() const
void SetLastName(const Aws::String &value)
void SetOrganizationId(Aws::String &&value)
CreateUserRequest & WithHiddenFromGlobalAddressList(bool value)
const Aws::String & GetPassword() const
void SetLastName(const char *value)
CreateUserRequest & WithName(Aws::String &&value)
CreateUserRequest & WithRole(const UserRole &value)
CreateUserRequest & WithFirstName(const char *value)
CreateUserRequest & WithFirstName(const Aws::String &value)
const Aws::String & GetOrganizationId() const
void SetPassword(Aws::String &&value)
void SetPassword(const Aws::String &value)
CreateUserRequest & WithRole(UserRole &&value)
void SetPassword(const char *value)
AWS_WORKMAIL_API CreateUserRequest()
void SetLastName(Aws::String &&value)
bool OrganizationIdHasBeenSet() const
void SetHiddenFromGlobalAddressList(bool value)
const Aws::String & GetLastName() const
CreateUserRequest & WithLastName(Aws::String &&value)
CreateUserRequest & WithOrganizationId(Aws::String &&value)
CreateUserRequest & WithPassword(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
bool FirstNameHasBeenSet() const
bool IdentityProviderUserIdHasBeenSet() const
bool NameHasBeenSet() const
const Aws::String & GetIdentityProviderUserId() const
bool HiddenFromGlobalAddressListHasBeenSet() const
void SetDisplayName(const Aws::String &value)
const UserRole & GetRole() const
CreateUserRequest & WithDisplayName(const char *value)
CreateUserRequest & WithLastName(const Aws::String &value)
AWS_WORKMAIL_API Aws::String SerializePayload() const override
void SetOrganizationId(const char *value)
void SetName(const Aws::String &value)
CreateUserRequest & WithIdentityProviderUserId(const char *value)
CreateUserRequest & WithIdentityProviderUserId(Aws::String &&value)
void SetFirstName(const char *value)
CreateUserRequest & WithOrganizationId(const Aws::String &value)
void SetDisplayName(Aws::String &&value)
CreateUserRequest & WithFirstName(Aws::String &&value)
void SetOrganizationId(const Aws::String &value)
bool DisplayNameHasBeenSet() const
CreateUserRequest & WithName(const char *value)
void SetIdentityProviderUserId(Aws::String &&value)
CreateUserRequest & WithName(const Aws::String &value)
bool GetHiddenFromGlobalAddressList() const
CreateUserRequest & WithLastName(const char *value)
AWS_WORKMAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetIdentityProviderUserId(const Aws::String &value)
void SetDisplayName(const char *value)
void SetFirstName(const Aws::String &value)
bool LastNameHasBeenSet() const
CreateUserRequest & WithPassword(const Aws::String &value)
CreateUserRequest & WithIdentityProviderUserId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String