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>
14#include <aws/awstransfer/model/Tag.h>
54 inline void SetHomeDirectory(
const char* value) { m_homeDirectoryHasBeenSet =
true; m_homeDirectory.assign(value); }
138 inline void SetPolicy(
const char* value) { m_policyHasBeenSet =
true; m_policy.assign(value); }
175 inline void SetRole(
const char* value) { m_roleHasBeenSet =
true; m_role.assign(value); }
190 inline void SetServerId(
const char* value) { m_serverIdHasBeenSet =
true; m_serverId.assign(value); }
213 inline void SetSshPublicKeyBody(
const char* value) { m_sshPublicKeyBodyHasBeenSet =
true; m_sshPublicKeyBody.assign(value); }
246 inline void SetUserName(
const char* value) { m_userNameHasBeenSet =
true; m_userName.assign(value); }
254 bool m_homeDirectoryHasBeenSet =
false;
257 bool m_homeDirectoryTypeHasBeenSet =
false;
260 bool m_homeDirectoryMappingsHasBeenSet =
false;
263 bool m_policyHasBeenSet =
false;
266 bool m_posixProfileHasBeenSet =
false;
269 bool m_roleHasBeenSet =
false;
272 bool m_serverIdHasBeenSet =
false;
275 bool m_sshPublicKeyBodyHasBeenSet =
false;
278 bool m_tagsHasBeenSet =
false;
281 bool m_userNameHasBeenSet =
false;
void SetPolicy(const char *value)
const PosixProfile & GetPosixProfile() const
const Aws::String & GetServerId() const
CreateUserRequest & WithServerId(const char *value)
void SetTags(Aws::Vector< Tag > &&value)
CreateUserRequest & WithTags(Aws::Vector< Tag > &&value)
CreateUserRequest & WithHomeDirectoryType(HomeDirectoryType &&value)
CreateUserRequest & AddTags(const Tag &value)
CreateUserRequest & WithUserName(const Aws::String &value)
CreateUserRequest & WithHomeDirectoryMappings(Aws::Vector< HomeDirectoryMapEntry > &&value)
void SetRole(const Aws::String &value)
CreateUserRequest & WithSshPublicKeyBody(const Aws::String &value)
void SetHomeDirectory(const Aws::String &value)
bool RoleHasBeenSet() const
void SetServerId(const Aws::String &value)
const Aws::Vector< HomeDirectoryMapEntry > & GetHomeDirectoryMappings() const
const Aws::String & GetSshPublicKeyBody() const
void SetHomeDirectory(Aws::String &&value)
CreateUserRequest & WithHomeDirectory(Aws::String &&value)
void SetServerId(Aws::String &&value)
CreateUserRequest & WithHomeDirectoryMappings(const Aws::Vector< HomeDirectoryMapEntry > &value)
void SetUserName(Aws::String &&value)
bool HomeDirectoryTypeHasBeenSet() const
bool PolicyHasBeenSet() const
AWS_TRANSFER_API Aws::String SerializePayload() const override
void SetPolicy(const Aws::String &value)
bool PosixProfileHasBeenSet() const
CreateUserRequest & WithPolicy(Aws::String &&value)
CreateUserRequest & AddHomeDirectoryMappings(const HomeDirectoryMapEntry &value)
void SetTags(const Aws::Vector< Tag > &value)
void SetHomeDirectoryMappings(const Aws::Vector< HomeDirectoryMapEntry > &value)
CreateUserRequest & WithPosixProfile(PosixProfile &&value)
void SetUserName(const Aws::String &value)
const HomeDirectoryType & GetHomeDirectoryType() const
bool HomeDirectoryMappingsHasBeenSet() const
void SetSshPublicKeyBody(const char *value)
CreateUserRequest & WithRole(const char *value)
CreateUserRequest & AddHomeDirectoryMappings(HomeDirectoryMapEntry &&value)
CreateUserRequest & WithServerId(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
void SetHomeDirectory(const char *value)
CreateUserRequest & WithPolicy(const Aws::String &value)
void SetPolicy(Aws::String &&value)
bool SshPublicKeyBodyHasBeenSet() const
CreateUserRequest & WithRole(Aws::String &&value)
const Aws::String & GetRole() const
virtual const char * GetServiceRequestName() const override
CreateUserRequest & WithHomeDirectoryType(const HomeDirectoryType &value)
AWS_TRANSFER_API CreateUserRequest()
void SetHomeDirectoryMappings(Aws::Vector< HomeDirectoryMapEntry > &&value)
bool TagsHasBeenSet() const
void SetPosixProfile(const PosixProfile &value)
void SetUserName(const char *value)
CreateUserRequest & WithPosixProfile(const PosixProfile &value)
void SetHomeDirectoryType(HomeDirectoryType &&value)
void SetServerId(const char *value)
bool HomeDirectoryHasBeenSet() const
CreateUserRequest & WithHomeDirectory(const Aws::String &value)
void SetHomeDirectoryType(const HomeDirectoryType &value)
void SetPosixProfile(PosixProfile &&value)
CreateUserRequest & WithSshPublicKeyBody(Aws::String &&value)
CreateUserRequest & WithSshPublicKeyBody(const char *value)
CreateUserRequest & WithUserName(Aws::String &&value)
const Aws::String & GetUserName() const
CreateUserRequest & WithServerId(const Aws::String &value)
CreateUserRequest & AddTags(Tag &&value)
void SetSshPublicKeyBody(const Aws::String &value)
void SetRole(const char *value)
AWS_TRANSFER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateUserRequest & WithTags(const Aws::Vector< Tag > &value)
const Aws::String & GetPolicy() const
bool UserNameHasBeenSet() const
bool ServerIdHasBeenSet() const
CreateUserRequest & WithPolicy(const char *value)
void SetRole(Aws::String &&value)
CreateUserRequest & WithUserName(const char *value)
const Aws::String & GetHomeDirectory() const
void SetSshPublicKeyBody(Aws::String &&value)
CreateUserRequest & WithRole(const Aws::String &value)
CreateUserRequest & WithHomeDirectory(const char *value)
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