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>
54 template<
typename ArnT = Aws::String>
55 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
56 template<
typename ArnT = Aws::String>
70 template<
typename HomeDirectoryT = Aws::String>
71 void SetHomeDirectory(HomeDirectoryT&& value) { m_homeDirectoryHasBeenSet =
true; m_homeDirectory = std::forward<HomeDirectoryT>(value); }
72 template<
typename HomeDirectoryT = Aws::String>
93 template<
typename HomeDirectoryMappingsT = Aws::Vector<HomeDirectoryMapEntry>>
94 void SetHomeDirectoryMappings(HomeDirectoryMappingsT&& value) { m_homeDirectoryMappingsHasBeenSet =
true; m_homeDirectoryMappings = std::forward<HomeDirectoryMappingsT>(value); }
95 template<
typename HomeDirectoryMappingsT = Aws::Vector<HomeDirectoryMapEntry>>
97 template<
typename HomeDirectoryMappingsT = HomeDirectoryMapEntry>
98 DescribedUser&
AddHomeDirectoryMappings(HomeDirectoryMappingsT&& value) { m_homeDirectoryMappingsHasBeenSet =
true; m_homeDirectoryMappings.emplace_back(std::forward<HomeDirectoryMappingsT>(value));
return *
this; }
134 template<
typename PolicyT = Aws::String>
135 void SetPolicy(PolicyT&& value) { m_policyHasBeenSet =
true; m_policy = std::forward<PolicyT>(value); }
136 template<
typename PolicyT = Aws::String>
152 template<
typename PosixProfileT = PosixProfile>
153 void SetPosixProfile(PosixProfileT&& value) { m_posixProfileHasBeenSet =
true; m_posixProfile = std::forward<PosixProfileT>(value); }
154 template<
typename PosixProfileT = PosixProfile>
170 template<
typename RoleT = Aws::String>
171 void SetRole(RoleT&& value) { m_roleHasBeenSet =
true; m_role = std::forward<RoleT>(value); }
172 template<
typename RoleT = Aws::String>
184 template<
typename SshPublicKeysT = Aws::Vector<SshPublicKey>>
185 void SetSshPublicKeys(SshPublicKeysT&& value) { m_sshPublicKeysHasBeenSet =
true; m_sshPublicKeys = std::forward<SshPublicKeysT>(value); }
186 template<
typename SshPublicKeysT = Aws::Vector<SshPublicKey>>
188 template<
typename SshPublicKeysT = SshPublicKey>
189 DescribedUser&
AddSshPublicKeys(SshPublicKeysT&& value) { m_sshPublicKeysHasBeenSet =
true; m_sshPublicKeys.emplace_back(std::forward<SshPublicKeysT>(value));
return *
this; }
199 template<
typename TagsT = Aws::Vector<Tag>>
200 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
201 template<
typename TagsT = Aws::Vector<Tag>>
203 template<
typename TagsT = Tag>
204 DescribedUser&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
215 template<
typename UserNameT = Aws::String>
216 void SetUserName(UserNameT&& value) { m_userNameHasBeenSet =
true; m_userName = std::forward<UserNameT>(value); }
217 template<
typename UserNameT = Aws::String>
223 bool m_arnHasBeenSet =
false;
226 bool m_homeDirectoryHasBeenSet =
false;
229 bool m_homeDirectoryMappingsHasBeenSet =
false;
232 bool m_homeDirectoryTypeHasBeenSet =
false;
235 bool m_policyHasBeenSet =
false;
237 PosixProfile m_posixProfile;
238 bool m_posixProfileHasBeenSet =
false;
241 bool m_roleHasBeenSet =
false;
244 bool m_sshPublicKeysHasBeenSet =
false;
247 bool m_tagsHasBeenSet =
false;
250 bool m_userNameHasBeenSet =
false;
HomeDirectoryType GetHomeDirectoryType() const
DescribedUser & WithRole(RoleT &&value)
void SetPosixProfile(PosixProfileT &&value)
DescribedUser & WithTags(TagsT &&value)
const PosixProfile & GetPosixProfile() const
void SetHomeDirectory(HomeDirectoryT &&value)
bool PosixProfileHasBeenSet() const
bool HomeDirectoryHasBeenSet() const
DescribedUser & WithPolicy(PolicyT &&value)
bool UserNameHasBeenSet() const
AWS_TRANSFER_API DescribedUser & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PolicyHasBeenSet() const
DescribedUser & AddSshPublicKeys(SshPublicKeysT &&value)
DescribedUser & WithPosixProfile(PosixProfileT &&value)
void SetArn(ArnT &&value)
const Aws::String & GetUserName() const
void SetHomeDirectoryMappings(HomeDirectoryMappingsT &&value)
bool HomeDirectoryMappingsHasBeenSet() const
bool SshPublicKeysHasBeenSet() const
const Aws::String & GetHomeDirectory() const
DescribedUser & WithHomeDirectory(HomeDirectoryT &&value)
DescribedUser & AddTags(TagsT &&value)
const Aws::String & GetPolicy() const
DescribedUser & WithSshPublicKeys(SshPublicKeysT &&value)
const Aws::Vector< SshPublicKey > & GetSshPublicKeys() const
DescribedUser & WithUserName(UserNameT &&value)
DescribedUser & AddHomeDirectoryMappings(HomeDirectoryMappingsT &&value)
const Aws::Vector< HomeDirectoryMapEntry > & GetHomeDirectoryMappings() const
bool TagsHasBeenSet() const
AWS_TRANSFER_API DescribedUser()=default
AWS_TRANSFER_API DescribedUser(Aws::Utils::Json::JsonView jsonValue)
void SetPolicy(PolicyT &&value)
DescribedUser & WithHomeDirectoryMappings(HomeDirectoryMappingsT &&value)
void SetUserName(UserNameT &&value)
void SetRole(RoleT &&value)
void SetSshPublicKeys(SshPublicKeysT &&value)
const Aws::String & GetArn() const
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
DescribedUser & WithHomeDirectoryType(HomeDirectoryType value)
bool RoleHasBeenSet() const
void SetTags(TagsT &&value)
const Aws::Vector< Tag > & GetTags() const
DescribedUser & WithArn(ArnT &&value)
bool ArnHasBeenSet() const
const Aws::String & GetRole() const
bool HomeDirectoryTypeHasBeenSet() const
void SetHomeDirectoryType(HomeDirectoryType 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