7#include <aws/workdocs/WorkDocs_EXPORTS.h>
8#include <aws/workdocs/WorkDocsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/workdocs/model/UserType.h>
11#include <aws/workdocs/model/StorageRuleType.h>
12#include <aws/workdocs/model/LocaleType.h>
13#include <aws/workdocs/model/BooleanEnumType.h>
50 inline void SetAuthenticationToken(
const char* value) { m_authenticationTokenHasBeenSet =
true; m_authenticationToken.assign(value); }
64 inline void SetUserId(
const char* value) { m_userIdHasBeenSet =
true; m_userId.assign(value); }
78 inline void SetGivenName(
const char* value) { m_givenNameHasBeenSet =
true; m_givenName.assign(value); }
92 inline void SetSurname(
const char* value) { m_surnameHasBeenSet =
true; m_surname.assign(value); }
104 inline void SetType(
const UserType& value) { m_typeHasBeenSet =
true; m_type = value; }
105 inline void SetType(
UserType&& value) { m_typeHasBeenSet =
true; m_type = std::move(value); }
130 inline void SetTimeZoneId(
const char* value) { m_timeZoneIdHasBeenSet =
true; m_timeZoneId.assign(value); }
163 bool m_authenticationTokenHasBeenSet =
false;
166 bool m_userIdHasBeenSet =
false;
169 bool m_givenNameHasBeenSet =
false;
172 bool m_surnameHasBeenSet =
false;
175 bool m_typeHasBeenSet =
false;
178 bool m_storageRuleHasBeenSet =
false;
181 bool m_timeZoneIdHasBeenSet =
false;
184 bool m_localeHasBeenSet =
false;
187 bool m_grantPoweruserPrivilegesHasBeenSet =
false;
UpdateUserRequest & WithAuthenticationToken(const char *value)
void SetGrantPoweruserPrivileges(const BooleanEnumType &value)
bool TimeZoneIdHasBeenSet() const
UpdateUserRequest & WithAuthenticationToken(Aws::String &&value)
UpdateUserRequest & WithGivenName(Aws::String &&value)
bool LocaleHasBeenSet() const
AWS_WORKDOCS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateUserRequest & WithTimeZoneId(Aws::String &&value)
void SetUserId(Aws::String &&value)
void SetTimeZoneId(const char *value)
UpdateUserRequest & WithType(const UserType &value)
AWS_WORKDOCS_API UpdateUserRequest()
void SetLocale(const LocaleType &value)
const Aws::String & GetAuthenticationToken() const
UpdateUserRequest & WithSurname(const Aws::String &value)
bool UserIdHasBeenSet() const
void SetLocale(LocaleType &&value)
UpdateUserRequest & WithSurname(const char *value)
UpdateUserRequest & WithSurname(Aws::String &&value)
bool StorageRuleHasBeenSet() const
UpdateUserRequest & WithAuthenticationToken(const Aws::String &value)
const Aws::String & GetGivenName() const
bool GrantPoweruserPrivilegesHasBeenSet() const
void SetTimeZoneId(const Aws::String &value)
void SetUserId(const char *value)
AWS_WORKDOCS_API Aws::String SerializePayload() const override
void SetSurname(Aws::String &&value)
void SetType(UserType &&value)
bool SurnameHasBeenSet() const
const Aws::String & GetTimeZoneId() const
UpdateUserRequest & WithType(UserType &&value)
bool TypeHasBeenSet() const
void SetType(const UserType &value)
const UserType & GetType() const
UpdateUserRequest & WithStorageRule(const StorageRuleType &value)
void SetSurname(const char *value)
void SetTimeZoneId(Aws::String &&value)
const StorageRuleType & GetStorageRule() const
void SetAuthenticationToken(const Aws::String &value)
UpdateUserRequest & WithGivenName(const Aws::String &value)
void SetGivenName(const Aws::String &value)
UpdateUserRequest & WithGrantPoweruserPrivileges(BooleanEnumType &&value)
const BooleanEnumType & GetGrantPoweruserPrivileges() const
UpdateUserRequest & WithUserId(const char *value)
UpdateUserRequest & WithGivenName(const char *value)
UpdateUserRequest & WithLocale(LocaleType &&value)
UpdateUserRequest & WithStorageRule(StorageRuleType &&value)
const Aws::String & GetUserId() const
void SetGivenName(Aws::String &&value)
const Aws::String & GetSurname() const
UpdateUserRequest & WithUserId(Aws::String &&value)
const LocaleType & GetLocale() const
virtual const char * GetServiceRequestName() const override
void SetSurname(const Aws::String &value)
UpdateUserRequest & WithTimeZoneId(const char *value)
void SetAuthenticationToken(const char *value)
bool AuthenticationTokenHasBeenSet() const
void SetGivenName(const char *value)
void SetUserId(const Aws::String &value)
UpdateUserRequest & WithLocale(const LocaleType &value)
void SetStorageRule(const StorageRuleType &value)
UpdateUserRequest & WithTimeZoneId(const Aws::String &value)
void SetStorageRule(StorageRuleType &&value)
void SetAuthenticationToken(Aws::String &&value)
bool GivenNameHasBeenSet() const
UpdateUserRequest & WithUserId(const Aws::String &value)
UpdateUserRequest & WithGrantPoweruserPrivileges(const BooleanEnumType &value)
void SetGrantPoweruserPrivileges(BooleanEnumType &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String