7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/workdocs/WorkDocsRequest.h>
9#include <aws/workdocs/WorkDocs_EXPORTS.h>
10#include <aws/workdocs/model/BooleanEnumType.h>
11#include <aws/workdocs/model/LocaleType.h>
12#include <aws/workdocs/model/StorageRuleType.h>
13#include <aws/workdocs/model/UserType.h>
44 template <
typename AuthenticationTokenT = Aws::String>
46 m_authenticationTokenHasBeenSet =
true;
47 m_authenticationToken = std::forward<AuthenticationTokenT>(value);
49 template <
typename AuthenticationTokenT = Aws::String>
62 template <
typename UserIdT = Aws::String>
64 m_userIdHasBeenSet =
true;
65 m_userId = std::forward<UserIdT>(value);
67 template <
typename UserIdT = Aws::String>
80 template <
typename GivenNameT = Aws::String>
82 m_givenNameHasBeenSet =
true;
83 m_givenName = std::forward<GivenNameT>(value);
85 template <
typename GivenNameT = Aws::String>
98 template <
typename SurnameT = Aws::String>
100 m_surnameHasBeenSet =
true;
101 m_surname = std::forward<SurnameT>(value);
103 template <
typename SurnameT = Aws::String>
117 m_typeHasBeenSet =
true;
132 template <
typename StorageRuleT = StorageRuleType>
134 m_storageRuleHasBeenSet =
true;
135 m_storageRule = std::forward<StorageRuleT>(value);
137 template <
typename StorageRuleT = StorageRuleType>
150 template <
typename TimeZoneIdT = Aws::String>
152 m_timeZoneIdHasBeenSet =
true;
153 m_timeZoneId = std::forward<TimeZoneIdT>(value);
155 template <
typename TimeZoneIdT = Aws::String>
169 m_localeHasBeenSet =
true;
186 m_grantPoweruserPrivilegesHasBeenSet =
true;
187 m_grantPoweruserPrivileges = value;
205 StorageRuleType m_storageRule;
212 bool m_authenticationTokenHasBeenSet =
false;
213 bool m_userIdHasBeenSet =
false;
214 bool m_givenNameHasBeenSet =
false;
215 bool m_surnameHasBeenSet =
false;
216 bool m_typeHasBeenSet =
false;
217 bool m_storageRuleHasBeenSet =
false;
218 bool m_timeZoneIdHasBeenSet =
false;
219 bool m_localeHasBeenSet =
false;
220 bool m_grantPoweruserPrivilegesHasBeenSet =
false;
UpdateUserRequest & WithAuthenticationToken(AuthenticationTokenT &&value)
void SetStorageRule(StorageRuleT &&value)
UpdateUserRequest & WithGivenName(GivenNameT &&value)
UpdateUserRequest & WithUserId(UserIdT &&value)
void SetAuthenticationToken(AuthenticationTokenT &&value)
bool TimeZoneIdHasBeenSet() const
bool LocaleHasBeenSet() const
AWS_WORKDOCS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateUserRequest & WithStorageRule(StorageRuleT &&value)
const Aws::String & GetAuthenticationToken() const
void SetLocale(LocaleType value)
UpdateUserRequest & WithSurname(SurnameT &&value)
bool UserIdHasBeenSet() const
bool StorageRuleHasBeenSet() const
const Aws::String & GetGivenName() const
bool GrantPoweruserPrivilegesHasBeenSet() const
AWS_WORKDOCS_API Aws::String SerializePayload() const override
UpdateUserRequest & WithLocale(LocaleType value)
bool SurnameHasBeenSet() const
const Aws::String & GetTimeZoneId() const
bool TypeHasBeenSet() const
void SetTimeZoneId(TimeZoneIdT &&value)
UpdateUserRequest & WithTimeZoneId(TimeZoneIdT &&value)
AWS_WORKDOCS_API UpdateUserRequest()=default
UpdateUserRequest & WithGrantPoweruserPrivileges(BooleanEnumType value)
void SetUserId(UserIdT &&value)
const StorageRuleType & GetStorageRule() const
void SetSurname(SurnameT &&value)
void SetGivenName(GivenNameT &&value)
const Aws::String & GetUserId() const
const Aws::String & GetSurname() const
BooleanEnumType GetGrantPoweruserPrivileges() const
virtual const char * GetServiceRequestName() const override
bool AuthenticationTokenHasBeenSet() const
void SetGrantPoweruserPrivileges(BooleanEnumType value)
void SetType(UserType value)
bool GivenNameHasBeenSet() const
UpdateUserRequest & WithType(UserType value)
LocaleType GetLocale() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String