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/awstransfer/model/Tag.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
48 template <
typename HomeDirectoryT = Aws::String>
50 m_homeDirectoryHasBeenSet =
true;
51 m_homeDirectory = std::forward<HomeDirectoryT>(value);
53 template <
typename HomeDirectoryT = Aws::String>
79 m_homeDirectoryTypeHasBeenSet =
true;
80 m_homeDirectoryType = value;
111 template <
typename HomeDirectoryMappingsT = Aws::Vector<HomeDirectoryMapEntry>>
113 m_homeDirectoryMappingsHasBeenSet =
true;
114 m_homeDirectoryMappings = std::forward<HomeDirectoryMappingsT>(value);
116 template <
typename HomeDirectoryMappingsT = Aws::Vector<HomeDirectoryMapEntry>>
121 template <
typename HomeDirectoryMappingsT = HomeDirectoryMapEntry>
123 m_homeDirectoryMappingsHasBeenSet =
true;
124 m_homeDirectoryMappings.emplace_back(std::forward<HomeDirectoryMappingsT>(value));
150 template <
typename PolicyT = Aws::String>
152 m_policyHasBeenSet =
true;
153 m_policy = std::forward<PolicyT>(value);
155 template <
typename PolicyT = Aws::String>
173 template <
typename PosixProfileT = PosixProfile>
175 m_posixProfileHasBeenSet =
true;
176 m_posixProfile = std::forward<PosixProfileT>(value);
178 template <
typename PosixProfileT = PosixProfile>
197 template <
typename RoleT = Aws::String>
199 m_roleHasBeenSet =
true;
200 m_role = std::forward<RoleT>(value);
202 template <
typename RoleT = Aws::String>
204 SetRole(std::forward<RoleT>(value));
216 template <
typename ServerIdT = Aws::String>
218 m_serverIdHasBeenSet =
true;
219 m_serverId = std::forward<ServerIdT>(value);
221 template <
typename ServerIdT = Aws::String>
243 template <
typename SshPublicKeyBodyT = Aws::String>
245 m_sshPublicKeyBodyHasBeenSet =
true;
246 m_sshPublicKeyBody = std::forward<SshPublicKeyBodyT>(value);
248 template <
typename SshPublicKeyBodyT = Aws::String>
262 template <
typename TagsT = Aws::Vector<Tag>>
264 m_tagsHasBeenSet =
true;
265 m_tags = std::forward<TagsT>(value);
267 template <
typename TagsT = Aws::Vector<Tag>>
269 SetTags(std::forward<TagsT>(value));
272 template <
typename TagsT = Tag>
274 m_tagsHasBeenSet =
true;
275 m_tags.emplace_back(std::forward<TagsT>(value));
290 template <
typename UserNameT = Aws::String>
292 m_userNameHasBeenSet =
true;
293 m_userName = std::forward<UserNameT>(value);
295 template <
typename UserNameT = Aws::String>
310 PosixProfile m_posixProfile;
321 bool m_homeDirectoryHasBeenSet =
false;
322 bool m_homeDirectoryTypeHasBeenSet =
false;
323 bool m_homeDirectoryMappingsHasBeenSet =
false;
324 bool m_policyHasBeenSet =
false;
325 bool m_posixProfileHasBeenSet =
false;
326 bool m_roleHasBeenSet =
false;
327 bool m_serverIdHasBeenSet =
false;
328 bool m_sshPublicKeyBodyHasBeenSet =
false;
329 bool m_tagsHasBeenSet =
false;
330 bool m_userNameHasBeenSet =
false;
void SetHomeDirectoryType(HomeDirectoryType value)
const PosixProfile & GetPosixProfile() const
const Aws::String & GetServerId() const
CreateUserRequest & WithTags(TagsT &&value)
CreateUserRequest & WithRole(RoleT &&value)
void SetRole(RoleT &&value)
void SetHomeDirectoryMappings(HomeDirectoryMappingsT &&value)
void SetTags(TagsT &&value)
bool RoleHasBeenSet() const
const Aws::Vector< HomeDirectoryMapEntry > & GetHomeDirectoryMappings() const
const Aws::String & GetSshPublicKeyBody() const
CreateUserRequest & AddTags(TagsT &&value)
void SetServerId(ServerIdT &&value)
bool HomeDirectoryTypeHasBeenSet() const
bool PolicyHasBeenSet() const
AWS_TRANSFER_API Aws::String SerializePayload() const override
bool PosixProfileHasBeenSet() const
CreateUserRequest & WithPolicy(PolicyT &&value)
HomeDirectoryType GetHomeDirectoryType() const
void SetHomeDirectory(HomeDirectoryT &&value)
CreateUserRequest & WithHomeDirectory(HomeDirectoryT &&value)
bool HomeDirectoryMappingsHasBeenSet() const
void SetPosixProfile(PosixProfileT &&value)
CreateUserRequest & WithSshPublicKeyBody(SshPublicKeyBodyT &&value)
CreateUserRequest & WithPosixProfile(PosixProfileT &&value)
const Aws::Vector< Tag > & GetTags() const
void SetUserName(UserNameT &&value)
CreateUserRequest & WithUserName(UserNameT &&value)
CreateUserRequest & AddHomeDirectoryMappings(HomeDirectoryMappingsT &&value)
bool SshPublicKeyBodyHasBeenSet() const
const Aws::String & GetRole() const
virtual const char * GetServiceRequestName() const override
bool TagsHasBeenSet() const
CreateUserRequest & WithHomeDirectoryMappings(HomeDirectoryMappingsT &&value)
void SetSshPublicKeyBody(SshPublicKeyBodyT &&value)
bool HomeDirectoryHasBeenSet() const
const Aws::String & GetUserName() const
CreateUserRequest & WithServerId(ServerIdT &&value)
void SetPolicy(PolicyT &&value)
CreateUserRequest & WithHomeDirectoryType(HomeDirectoryType value)
AWS_TRANSFER_API CreateUserRequest()=default
AWS_TRANSFER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetPolicy() const
bool UserNameHasBeenSet() const
bool ServerIdHasBeenSet() const
const Aws::String & GetHomeDirectory() 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