7#include <aws/awstransfer/TransferRequest.h>
8#include <aws/awstransfer/Transfer_EXPORTS.h>
9#include <aws/awstransfer/model/HomeDirectoryMapEntry.h>
10#include <aws/awstransfer/model/HomeDirectoryType.h>
11#include <aws/awstransfer/model/PosixProfile.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
47 template <
typename HomeDirectoryT = Aws::String>
49 m_homeDirectoryHasBeenSet =
true;
50 m_homeDirectory = std::forward<HomeDirectoryT>(value);
52 template <
typename HomeDirectoryT = Aws::String>
78 m_homeDirectoryTypeHasBeenSet =
true;
79 m_homeDirectoryType = value;
109 template <
typename HomeDirectoryMappingsT = Aws::Vector<HomeDirectoryMapEntry>>
111 m_homeDirectoryMappingsHasBeenSet =
true;
112 m_homeDirectoryMappings = std::forward<HomeDirectoryMappingsT>(value);
114 template <
typename HomeDirectoryMappingsT = Aws::Vector<HomeDirectoryMapEntry>>
119 template <
typename HomeDirectoryMappingsT = HomeDirectoryMapEntry>
121 m_homeDirectoryMappingsHasBeenSet =
true;
122 m_homeDirectoryMappings.emplace_back(std::forward<HomeDirectoryMappingsT>(value));
148 template <
typename PolicyT = Aws::String>
150 m_policyHasBeenSet =
true;
151 m_policy = std::forward<PolicyT>(value);
153 template <
typename PolicyT = Aws::String>
171 template <
typename PosixProfileT = PosixProfile>
173 m_posixProfileHasBeenSet =
true;
174 m_posixProfile = std::forward<PosixProfileT>(value);
176 template <
typename PosixProfileT = PosixProfile>
195 template <
typename RoleT = Aws::String>
197 m_roleHasBeenSet =
true;
198 m_role = std::forward<RoleT>(value);
200 template <
typename RoleT = Aws::String>
202 SetRole(std::forward<RoleT>(value));
214 template <
typename ServerIdT = Aws::String>
216 m_serverIdHasBeenSet =
true;
217 m_serverId = std::forward<ServerIdT>(value);
219 template <
typename ServerIdT = Aws::String>
236 template <
typename UserNameT = Aws::String>
238 m_userNameHasBeenSet =
true;
239 m_userName = std::forward<UserNameT>(value);
241 template <
typename UserNameT = Aws::String>
249 bool m_homeDirectoryHasBeenSet =
false;
252 bool m_homeDirectoryTypeHasBeenSet =
false;
255 bool m_homeDirectoryMappingsHasBeenSet =
false;
258 bool m_policyHasBeenSet =
false;
260 PosixProfile m_posixProfile;
261 bool m_posixProfileHasBeenSet =
false;
264 bool m_roleHasBeenSet =
false;
267 bool m_serverIdHasBeenSet =
false;
270 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