7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/awstransfer/model/HomeDirectoryMapEntry.h>
9#include <aws/awstransfer/model/HomeDirectoryType.h>
10#include <aws/awstransfer/model/PosixProfile.h>
11#include <aws/awstransfer/model/SshPublicKey.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 ArnT = Aws::String>
50 m_arnHasBeenSet =
true;
51 m_arn = std::forward<ArnT>(value);
53 template <
typename ArnT = Aws::String>
55 SetArn(std::forward<ArnT>(value));
70 template <
typename HomeDirectoryT = Aws::String>
72 m_homeDirectoryHasBeenSet =
true;
73 m_homeDirectory = std::forward<HomeDirectoryT>(value);
75 template <
typename HomeDirectoryT = Aws::String>
99 template <
typename HomeDirectoryMappingsT = Aws::Vector<HomeDirectoryMapEntry>>
101 m_homeDirectoryMappingsHasBeenSet =
true;
102 m_homeDirectoryMappings = std::forward<HomeDirectoryMappingsT>(value);
104 template <
typename HomeDirectoryMappingsT = Aws::Vector<HomeDirectoryMapEntry>>
109 template <
typename HomeDirectoryMappingsT = HomeDirectoryMapEntry>
111 m_homeDirectoryMappingsHasBeenSet =
true;
112 m_homeDirectoryMappings.emplace_back(std::forward<HomeDirectoryMappingsT>(value));
136 m_homeDirectoryTypeHasBeenSet =
true;
137 m_homeDirectoryType = value;
156 template <
typename PolicyT = Aws::String>
158 m_policyHasBeenSet =
true;
159 m_policy = std::forward<PolicyT>(value);
161 template <
typename PolicyT = Aws::String>
180 template <
typename PosixProfileT = PosixProfile>
182 m_posixProfileHasBeenSet =
true;
183 m_posixProfile = std::forward<PosixProfileT>(value);
185 template <
typename PosixProfileT = PosixProfile>
204 template <
typename RoleT = Aws::String>
206 m_roleHasBeenSet =
true;
207 m_role = std::forward<RoleT>(value);
209 template <
typename RoleT = Aws::String>
211 SetRole(std::forward<RoleT>(value));
224 template <
typename SshPublicKeysT = Aws::Vector<SshPublicKey>>
226 m_sshPublicKeysHasBeenSet =
true;
227 m_sshPublicKeys = std::forward<SshPublicKeysT>(value);
229 template <
typename SshPublicKeysT = Aws::Vector<SshPublicKey>>
234 template <
typename SshPublicKeysT = SshPublicKey>
236 m_sshPublicKeysHasBeenSet =
true;
237 m_sshPublicKeys.emplace_back(std::forward<SshPublicKeysT>(value));
249 template <
typename TagsT = Aws::Vector<Tag>>
251 m_tagsHasBeenSet =
true;
252 m_tags = std::forward<TagsT>(value);
254 template <
typename TagsT = Aws::Vector<Tag>>
256 SetTags(std::forward<TagsT>(value));
259 template <
typename TagsT = Tag>
261 m_tagsHasBeenSet =
true;
262 m_tags.emplace_back(std::forward<TagsT>(value));
275 template <
typename UserNameT = Aws::String>
277 m_userNameHasBeenSet =
true;
278 m_userName = std::forward<UserNameT>(value);
280 template <
typename UserNameT = Aws::String>
297 PosixProfile m_posixProfile;
306 bool m_arnHasBeenSet =
false;
307 bool m_homeDirectoryHasBeenSet =
false;
308 bool m_homeDirectoryMappingsHasBeenSet =
false;
309 bool m_homeDirectoryTypeHasBeenSet =
false;
310 bool m_policyHasBeenSet =
false;
311 bool m_posixProfileHasBeenSet =
false;
312 bool m_roleHasBeenSet =
false;
313 bool m_sshPublicKeysHasBeenSet =
false;
314 bool m_tagsHasBeenSet =
false;
315 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