7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/awstransfer/model/HomeDirectoryType.h>
11#include <aws/awstransfer/model/PosixProfile.h>
12#include <aws/awstransfer/model/HomeDirectoryMapEntry.h>
13#include <aws/awstransfer/model/SshPublicKey.h>
14#include <aws/awstransfer/model/Tag.h>
55 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
56 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
74 inline void SetHomeDirectory(
const char* value) { m_homeDirectoryHasBeenSet =
true; m_homeDirectory.assign(value); }
142 inline void SetPolicy(
const char* value) { m_policyHasBeenSet =
true; m_policy.assign(value); }
180 inline void SetRole(
const char* value) { m_roleHasBeenSet =
true; m_role.assign(value); }
226 inline void SetUserName(
const char* value) { m_userNameHasBeenSet =
true; m_userName.assign(value); }
234 bool m_arnHasBeenSet =
false;
237 bool m_homeDirectoryHasBeenSet =
false;
240 bool m_homeDirectoryMappingsHasBeenSet =
false;
243 bool m_homeDirectoryTypeHasBeenSet =
false;
246 bool m_policyHasBeenSet =
false;
249 bool m_posixProfileHasBeenSet =
false;
252 bool m_roleHasBeenSet =
false;
255 bool m_sshPublicKeysHasBeenSet =
false;
258 bool m_tagsHasBeenSet =
false;
261 bool m_userNameHasBeenSet =
false;
DescribedUser & WithHomeDirectory(const Aws::String &value)
void SetPolicy(const char *value)
void SetPolicy(const Aws::String &value)
DescribedUser & WithUserName(const Aws::String &value)
void SetSshPublicKeys(Aws::Vector< SshPublicKey > &&value)
void SetHomeDirectoryMappings(Aws::Vector< HomeDirectoryMapEntry > &&value)
DescribedUser & WithHomeDirectoryMappings(Aws::Vector< HomeDirectoryMapEntry > &&value)
DescribedUser & WithHomeDirectoryType(const HomeDirectoryType &value)
void SetPosixProfile(const PosixProfile &value)
void SetSshPublicKeys(const Aws::Vector< SshPublicKey > &value)
DescribedUser & WithHomeDirectoryType(HomeDirectoryType &&value)
void SetHomeDirectory(Aws::String &&value)
const PosixProfile & GetPosixProfile() const
DescribedUser & WithArn(const char *value)
bool PosixProfileHasBeenSet() const
DescribedUser & WithTags(Aws::Vector< Tag > &&value)
void SetTags(const Aws::Vector< Tag > &value)
bool HomeDirectoryHasBeenSet() const
void SetRole(Aws::String &&value)
void SetArn(const Aws::String &value)
void SetRole(const Aws::String &value)
bool UserNameHasBeenSet() const
AWS_TRANSFER_API DescribedUser & operator=(Aws::Utils::Json::JsonView jsonValue)
DescribedUser & AddSshPublicKeys(const SshPublicKey &value)
DescribedUser & AddHomeDirectoryMappings(HomeDirectoryMapEntry &&value)
bool PolicyHasBeenSet() const
void SetArn(Aws::String &&value)
DescribedUser & WithSshPublicKeys(Aws::Vector< SshPublicKey > &&value)
void SetHomeDirectory(const char *value)
DescribedUser & WithArn(const Aws::String &value)
void SetUserName(const Aws::String &value)
DescribedUser & WithPosixProfile(PosixProfile &&value)
void SetRole(const char *value)
DescribedUser & WithPolicy(const char *value)
const Aws::String & GetUserName() const
DescribedUser & WithTags(const Aws::Vector< Tag > &value)
bool HomeDirectoryMappingsHasBeenSet() const
void SetHomeDirectory(const Aws::String &value)
bool SshPublicKeysHasBeenSet() const
DescribedUser & AddTags(Tag &&value)
DescribedUser & WithUserName(Aws::String &&value)
void SetPosixProfile(PosixProfile &&value)
DescribedUser & WithRole(Aws::String &&value)
void SetArn(const char *value)
DescribedUser & WithPosixProfile(const PosixProfile &value)
DescribedUser & WithRole(const Aws::String &value)
const Aws::String & GetHomeDirectory() const
const Aws::String & GetPolicy() const
const Aws::Vector< SshPublicKey > & GetSshPublicKeys() const
void SetTags(Aws::Vector< Tag > &&value)
void SetHomeDirectoryType(const HomeDirectoryType &value)
const HomeDirectoryType & GetHomeDirectoryType() const
DescribedUser & WithHomeDirectory(const char *value)
void SetUserName(const char *value)
const Aws::Vector< HomeDirectoryMapEntry > & GetHomeDirectoryMappings() const
bool TagsHasBeenSet() const
void SetHomeDirectoryType(HomeDirectoryType &&value)
AWS_TRANSFER_API DescribedUser(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSFER_API DescribedUser()
DescribedUser & WithRole(const char *value)
void SetPolicy(Aws::String &&value)
DescribedUser & WithPolicy(const Aws::String &value)
DescribedUser & AddHomeDirectoryMappings(const HomeDirectoryMapEntry &value)
DescribedUser & WithArn(Aws::String &&value)
const Aws::String & GetArn() const
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
bool RoleHasBeenSet() const
void SetUserName(Aws::String &&value)
DescribedUser & WithHomeDirectory(Aws::String &&value)
DescribedUser & WithUserName(const char *value)
const Aws::Vector< Tag > & GetTags() const
DescribedUser & AddSshPublicKeys(SshPublicKey &&value)
bool ArnHasBeenSet() const
const Aws::String & GetRole() const
void SetHomeDirectoryMappings(const Aws::Vector< HomeDirectoryMapEntry > &value)
DescribedUser & WithPolicy(Aws::String &&value)
DescribedUser & AddTags(const Tag &value)
DescribedUser & WithHomeDirectoryMappings(const Aws::Vector< HomeDirectoryMapEntry > &value)
bool HomeDirectoryTypeHasBeenSet() const
DescribedUser & WithSshPublicKeys(const Aws::Vector< SshPublicKey > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue