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>
48 template<
typename AuthenticationTokenT = Aws::String>
49 void SetAuthenticationToken(AuthenticationTokenT&& value) { m_authenticationTokenHasBeenSet =
true; m_authenticationToken = std::forward<AuthenticationTokenT>(value); }
50 template<
typename AuthenticationTokenT = Aws::String>
60 template<
typename UserIdT = Aws::String>
61 void SetUserId(UserIdT&& value) { m_userIdHasBeenSet =
true; m_userId = std::forward<UserIdT>(value); }
62 template<
typename UserIdT = Aws::String>
72 template<
typename GivenNameT = Aws::String>
73 void SetGivenName(GivenNameT&& value) { m_givenNameHasBeenSet =
true; m_givenName = std::forward<GivenNameT>(value); }
74 template<
typename GivenNameT = Aws::String>
84 template<
typename SurnameT = Aws::String>
85 void SetSurname(SurnameT&& value) { m_surnameHasBeenSet =
true; m_surname = std::forward<SurnameT>(value); }
86 template<
typename SurnameT = Aws::String>
106 template<
typename StorageRuleT = StorageRuleType>
107 void SetStorageRule(StorageRuleT&& value) { m_storageRuleHasBeenSet =
true; m_storageRule = std::forward<StorageRuleT>(value); }
108 template<
typename StorageRuleT = StorageRuleType>
118 template<
typename TimeZoneIdT = Aws::String>
119 void SetTimeZoneId(TimeZoneIdT&& value) { m_timeZoneIdHasBeenSet =
true; m_timeZoneId = std::forward<TimeZoneIdT>(value); }
120 template<
typename TimeZoneIdT = Aws::String>
147 bool m_authenticationTokenHasBeenSet =
false;
150 bool m_userIdHasBeenSet =
false;
153 bool m_givenNameHasBeenSet =
false;
156 bool m_surnameHasBeenSet =
false;
159 bool m_typeHasBeenSet =
false;
161 StorageRuleType m_storageRule;
162 bool m_storageRuleHasBeenSet =
false;
165 bool m_timeZoneIdHasBeenSet =
false;
168 bool m_localeHasBeenSet =
false;
171 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