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>
50 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
51 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
65 inline void SetEmail(
const char* value) { m_emailHasBeenSet =
true; m_email.assign(value); }
79 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
93 inline void SetDisplayName(
const char* value) { m_displayNameHasBeenSet =
true; m_displayName.assign(value); }
157 inline void SetIdentityProviderUserId(
const char* value) { m_identityProviderUserIdHasBeenSet =
true; m_identityProviderUserId.assign(value); }
181 bool m_idHasBeenSet =
false;
184 bool m_emailHasBeenSet =
false;
187 bool m_nameHasBeenSet =
false;
190 bool m_displayNameHasBeenSet =
false;
193 bool m_stateHasBeenSet =
false;
196 bool m_userRoleHasBeenSet =
false;
199 bool m_enabledDateHasBeenSet =
false;
202 bool m_disabledDateHasBeenSet =
false;
205 bool m_identityProviderUserIdHasBeenSet =
false;
208 bool m_identityProviderIdentityStoreIdHasBeenSet =
false;
User & WithIdentityProviderUserId(const Aws::String &value)
User & WithState(const EntityState &value)
const Aws::String & GetId() const
bool IdHasBeenSet() const
User & WithId(const char *value)
bool EnabledDateHasBeenSet() const
const Aws::String & GetName() const
const Aws::Utils::DateTime & GetEnabledDate() const
User & WithIdentityProviderUserId(Aws::String &&value)
User & WithEmail(const Aws::String &value)
bool NameHasBeenSet() const
void SetIdentityProviderUserId(const char *value)
void SetUserRole(UserRole &&value)
User & WithState(EntityState &&value)
bool DisplayNameHasBeenSet() const
void SetUserRole(const UserRole &value)
const EntityState & GetState() const
User & WithIdentityProviderIdentityStoreId(Aws::String &&value)
User & WithDisabledDate(Aws::Utils::DateTime &&value)
bool DisabledDateHasBeenSet() const
User & WithIdentityProviderIdentityStoreId(const char *value)
const UserRole & GetUserRole() const
void SetDisabledDate(const Aws::Utils::DateTime &value)
void SetId(Aws::String &&value)
AWS_WORKMAIL_API User(Aws::Utils::Json::JsonView jsonValue)
void SetIdentityProviderUserId(Aws::String &&value)
void SetEmail(Aws::String &&value)
void SetDisabledDate(Aws::Utils::DateTime &&value)
AWS_WORKMAIL_API User & operator=(Aws::Utils::Json::JsonView jsonValue)
User & WithDisabledDate(const Aws::Utils::DateTime &value)
AWS_WORKMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(const Aws::String &value)
User & WithId(const Aws::String &value)
void SetName(const char *value)
User & WithName(const char *value)
void SetIdentityProviderIdentityStoreId(const Aws::String &value)
User & WithId(Aws::String &&value)
const Aws::String & GetEmail() const
bool EmailHasBeenSet() const
User & WithEmail(const char *value)
void SetIdentityProviderUserId(const Aws::String &value)
const Aws::String & GetIdentityProviderUserId() const
bool IdentityProviderUserIdHasBeenSet() const
void SetName(Aws::String &&value)
void SetId(const char *value)
const Aws::String & GetDisplayName() const
void SetEmail(const char *value)
bool StateHasBeenSet() const
User & WithDisplayName(const Aws::String &value)
User & WithDisplayName(const char *value)
void SetEnabledDate(const Aws::Utils::DateTime &value)
const Aws::String & GetIdentityProviderIdentityStoreId() const
User & WithIdentityProviderIdentityStoreId(const Aws::String &value)
void SetState(EntityState &&value)
User & WithName(const Aws::String &value)
User & WithIdentityProviderUserId(const char *value)
void SetEmail(const Aws::String &value)
User & WithEnabledDate(const Aws::Utils::DateTime &value)
void SetState(const EntityState &value)
User & WithName(Aws::String &&value)
bool IdentityProviderIdentityStoreIdHasBeenSet() const
void SetDisplayName(const char *value)
User & WithDisplayName(Aws::String &&value)
User & WithUserRole(const UserRole &value)
User & WithEmail(Aws::String &&value)
void SetDisplayName(Aws::String &&value)
void SetIdentityProviderIdentityStoreId(const char *value)
const Aws::Utils::DateTime & GetDisabledDate() const
void SetId(const Aws::String &value)
User & WithEnabledDate(Aws::Utils::DateTime &&value)
bool UserRoleHasBeenSet() const
void SetEnabledDate(Aws::Utils::DateTime &&value)
User & WithUserRole(UserRole &&value)
void SetDisplayName(const Aws::String &value)
void SetIdentityProviderIdentityStoreId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue