7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/awstransfer/TransferRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/awstransfer/model/HomeDirectoryType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/awstransfer/model/PosixProfile.h>
13#include <aws/awstransfer/model/HomeDirectoryMapEntry.h>
51 template<
typename HomeDirectoryT = Aws::String>
52 void SetHomeDirectory(HomeDirectoryT&& value) { m_homeDirectoryHasBeenSet =
true; m_homeDirectory = std::forward<HomeDirectoryT>(value); }
53 template<
typename HomeDirectoryT = Aws::String>
101 template<
typename HomeDirectoryMappingsT = Aws::Vector<HomeDirectoryMapEntry>>
102 void SetHomeDirectoryMappings(HomeDirectoryMappingsT&& value) { m_homeDirectoryMappingsHasBeenSet =
true; m_homeDirectoryMappings = std::forward<HomeDirectoryMappingsT>(value); }
103 template<
typename HomeDirectoryMappingsT = Aws::Vector<HomeDirectoryMapEntry>>
105 template<
typename HomeDirectoryMappingsT = HomeDirectoryMapEntry>
106 UpdateUserRequest&
AddHomeDirectoryMappings(HomeDirectoryMappingsT&& value) { m_homeDirectoryMappingsHasBeenSet =
true; m_homeDirectoryMappings.emplace_back(std::forward<HomeDirectoryMappingsT>(value));
return *
this; }
130 template<
typename PolicyT = Aws::String>
131 void SetPolicy(PolicyT&& value) { m_policyHasBeenSet =
true; m_policy = std::forward<PolicyT>(value); }
132 template<
typename PolicyT = Aws::String>
147 template<
typename PosixProfileT = PosixProfile>
148 void SetPosixProfile(PosixProfileT&& value) { m_posixProfileHasBeenSet =
true; m_posixProfile = std::forward<PosixProfileT>(value); }
149 template<
typename PosixProfileT = PosixProfile>
165 template<
typename RoleT = Aws::String>
166 void SetRole(RoleT&& value) { m_roleHasBeenSet =
true; m_role = std::forward<RoleT>(value); }
167 template<
typename RoleT = Aws::String>
178 template<
typename ServerIdT = Aws::String>
179 void SetServerId(ServerIdT&& value) { m_serverIdHasBeenSet =
true; m_serverId = std::forward<ServerIdT>(value); }
180 template<
typename ServerIdT = Aws::String>
194 template<
typename UserNameT = Aws::String>
195 void SetUserName(UserNameT&& value) { m_userNameHasBeenSet =
true; m_userName = std::forward<UserNameT>(value); }
196 template<
typename UserNameT = Aws::String>
202 bool m_homeDirectoryHasBeenSet =
false;
205 bool m_homeDirectoryTypeHasBeenSet =
false;
208 bool m_homeDirectoryMappingsHasBeenSet =
false;
211 bool m_policyHasBeenSet =
false;
213 PosixProfile m_posixProfile;
214 bool m_posixProfileHasBeenSet =
false;
217 bool m_roleHasBeenSet =
false;
220 bool m_serverIdHasBeenSet =
false;
223 bool m_userNameHasBeenSet =
false;
UpdateUserRequest & WithHomeDirectoryMappings(HomeDirectoryMappingsT &&value)
bool HomeDirectoryTypeHasBeenSet() const
HomeDirectoryType GetHomeDirectoryType() const
const Aws::Vector< HomeDirectoryMapEntry > & GetHomeDirectoryMappings() const
bool UserNameHasBeenSet() const
UpdateUserRequest & WithRole(RoleT &&value)
virtual const char * GetServiceRequestName() const override
UpdateUserRequest & AddHomeDirectoryMappings(HomeDirectoryMappingsT &&value)
bool HomeDirectoryHasBeenSet() const
UpdateUserRequest & WithUserName(UserNameT &&value)
AWS_TRANSFER_API Aws::String SerializePayload() const override
bool HomeDirectoryMappingsHasBeenSet() const
bool PosixProfileHasBeenSet() const
void SetPolicy(PolicyT &&value)
UpdateUserRequest & WithPolicy(PolicyT &&value)
const Aws::String & GetRole() const
const Aws::String & GetPolicy() const
void SetPosixProfile(PosixProfileT &&value)
AWS_TRANSFER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetServerId(ServerIdT &&value)
void SetHomeDirectory(HomeDirectoryT &&value)
void SetHomeDirectoryType(HomeDirectoryType value)
const Aws::String & GetUserName() const
const PosixProfile & GetPosixProfile() const
UpdateUserRequest & WithServerId(ServerIdT &&value)
void SetUserName(UserNameT &&value)
const Aws::String & GetServerId() const
void SetHomeDirectoryMappings(HomeDirectoryMappingsT &&value)
AWS_TRANSFER_API UpdateUserRequest()=default
UpdateUserRequest & WithPosixProfile(PosixProfileT &&value)
void SetRole(RoleT &&value)
bool PolicyHasBeenSet() const
bool RoleHasBeenSet() const
UpdateUserRequest & WithHomeDirectory(HomeDirectoryT &&value)
UpdateUserRequest & WithHomeDirectoryType(HomeDirectoryType value)
const Aws::String & GetHomeDirectory() const
bool ServerIdHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector