7#include <aws/workdocs/WorkDocs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workdocs/model/UserStatusType.h>
10#include <aws/workdocs/model/UserType.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/workdocs/model/LocaleType.h>
13#include <aws/workdocs/model/UserStorageMetadata.h>
52 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
53 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
67 inline void SetUsername(
const char* value) { m_usernameHasBeenSet =
true; m_username.assign(value); }
81 inline void SetEmailAddress(
const char* value) { m_emailAddressHasBeenSet =
true; m_emailAddress.assign(value); }
95 inline void SetGivenName(
const char* value) { m_givenNameHasBeenSet =
true; m_givenName.assign(value); }
109 inline void SetSurname(
const char* value) { m_surnameHasBeenSet =
true; m_surname.assign(value); }
123 inline void SetOrganizationId(
const char* value) { m_organizationIdHasBeenSet =
true; m_organizationId.assign(value); }
137 inline void SetRootFolderId(
const char* value) { m_rootFolderIdHasBeenSet =
true; m_rootFolderId.assign(value); }
151 inline void SetRecycleBinFolderId(
const char* value) { m_recycleBinFolderIdHasBeenSet =
true; m_recycleBinFolderId.assign(value); }
175 inline void SetType(
const UserType& value) { m_typeHasBeenSet =
true; m_type = value; }
176 inline void SetType(
UserType&& value) { m_typeHasBeenSet =
true; m_type = std::move(value); }
213 inline void SetTimeZoneId(
const char* value) { m_timeZoneIdHasBeenSet =
true; m_timeZoneId.assign(value); }
245 bool m_idHasBeenSet =
false;
248 bool m_usernameHasBeenSet =
false;
251 bool m_emailAddressHasBeenSet =
false;
254 bool m_givenNameHasBeenSet =
false;
257 bool m_surnameHasBeenSet =
false;
260 bool m_organizationIdHasBeenSet =
false;
263 bool m_rootFolderIdHasBeenSet =
false;
266 bool m_recycleBinFolderIdHasBeenSet =
false;
269 bool m_statusHasBeenSet =
false;
272 bool m_typeHasBeenSet =
false;
275 bool m_createdTimestampHasBeenSet =
false;
278 bool m_modifiedTimestampHasBeenSet =
false;
281 bool m_timeZoneIdHasBeenSet =
false;
284 bool m_localeHasBeenSet =
false;
287 bool m_storageHasBeenSet =
false;
void SetSurname(const char *value)
void SetSurname(Aws::String &&value)
bool RecycleBinFolderIdHasBeenSet() const
void SetTimeZoneId(const char *value)
void SetEmailAddress(const char *value)
void SetUsername(const char *value)
void SetStatus(UserStatusType &&value)
User & WithEmailAddress(Aws::String &&value)
void SetOrganizationId(Aws::String &&value)
void SetId(const char *value)
const Aws::String & GetSurname() const
User & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
bool SurnameHasBeenSet() const
User & WithRecycleBinFolderId(const char *value)
void SetOrganizationId(const Aws::String &value)
User & WithRecycleBinFolderId(Aws::String &&value)
bool GivenNameHasBeenSet() const
const Aws::String & GetRecycleBinFolderId() const
AWS_WORKDOCS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStorage(const UserStorageMetadata &value)
User & WithType(UserType &&value)
User & WithOrganizationId(Aws::String &&value)
User & WithEmailAddress(const Aws::String &value)
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
User & WithId(const Aws::String &value)
User & WithEmailAddress(const char *value)
User & WithRootFolderId(Aws::String &&value)
User & WithRecycleBinFolderId(const Aws::String &value)
void SetType(const UserType &value)
void SetLocale(LocaleType &&value)
void SetTimeZoneId(Aws::String &&value)
const UserType & GetType() const
User & WithRootFolderId(const Aws::String &value)
User & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
User & WithType(const UserType &value)
bool RootFolderIdHasBeenSet() const
User & WithGivenName(Aws::String &&value)
User & WithTimeZoneId(const Aws::String &value)
User & WithGivenName(const Aws::String &value)
void SetUsername(Aws::String &&value)
bool ModifiedTimestampHasBeenSet() const
const Aws::String & GetGivenName() const
bool IdHasBeenSet() const
const Aws::Utils::DateTime & GetModifiedTimestamp() const
const LocaleType & GetLocale() const
void SetTimeZoneId(const Aws::String &value)
void SetGivenName(Aws::String &&value)
bool EmailAddressHasBeenSet() const
void SetId(const Aws::String &value)
bool StatusHasBeenSet() const
void SetEmailAddress(const Aws::String &value)
void SetRootFolderId(const char *value)
void SetGivenName(const char *value)
const UserStorageMetadata & GetStorage() const
void SetUsername(const Aws::String &value)
void SetLocale(const LocaleType &value)
const Aws::String & GetRootFolderId() const
const Aws::Utils::DateTime & GetCreatedTimestamp() const
User & WithUsername(const Aws::String &value)
void SetEmailAddress(Aws::String &&value)
bool StorageHasBeenSet() const
User & WithOrganizationId(const char *value)
User & WithId(const char *value)
User & WithUsername(Aws::String &&value)
User & WithModifiedTimestamp(const Aws::Utils::DateTime &value)
const UserStatusType & GetStatus() const
const Aws::String & GetUsername() const
User & WithRootFolderId(const char *value)
User & WithOrganizationId(const Aws::String &value)
User & WithLocale(LocaleType &&value)
User & WithGivenName(const char *value)
void SetStorage(UserStorageMetadata &&value)
User & WithSurname(Aws::String &&value)
bool CreatedTimestampHasBeenSet() const
AWS_WORKDOCS_API User(Aws::Utils::Json::JsonView jsonValue)
void SetRecycleBinFolderId(Aws::String &&value)
void SetRootFolderId(const Aws::String &value)
User & WithStorage(const UserStorageMetadata &value)
void SetId(Aws::String &&value)
void SetModifiedTimestamp(Aws::Utils::DateTime &&value)
User & WithStatus(const UserStatusType &value)
bool UsernameHasBeenSet() const
void SetModifiedTimestamp(const Aws::Utils::DateTime &value)
void SetOrganizationId(const char *value)
User & WithSurname(const char *value)
bool TypeHasBeenSet() const
User & WithId(Aws::String &&value)
const Aws::String & GetOrganizationId() const
User & WithLocale(const LocaleType &value)
User & WithUsername(const char *value)
void SetStatus(const UserStatusType &value)
void SetRecycleBinFolderId(const char *value)
bool TimeZoneIdHasBeenSet() const
User & WithTimeZoneId(Aws::String &&value)
const Aws::String & GetId() const
User & WithModifiedTimestamp(Aws::Utils::DateTime &&value)
User & WithStorage(UserStorageMetadata &&value)
User & WithStatus(UserStatusType &&value)
void SetSurname(const Aws::String &value)
void SetType(UserType &&value)
bool LocaleHasBeenSet() const
bool OrganizationIdHasBeenSet() const
User & WithTimeZoneId(const char *value)
const Aws::String & GetTimeZoneId() const
AWS_WORKDOCS_API User & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetGivenName(const Aws::String &value)
User & WithSurname(const Aws::String &value)
const Aws::String & GetEmailAddress() const
void SetRootFolderId(Aws::String &&value)
void SetRecycleBinFolderId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue