7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/iam/IAM_EXPORTS.h>
12#include <aws/iam/model/AttachedPermissionsBoundary.h>
13#include <aws/iam/model/Tag.h>
40 AWS_IAM_API
User() =
default;
56 template <
typename PathT = Aws::String>
58 m_pathHasBeenSet =
true;
59 m_path = std::forward<PathT>(value);
61 template <
typename PathT = Aws::String>
63 SetPath(std::forward<PathT>(value));
74 template <
typename UserNameT = Aws::String>
76 m_userNameHasBeenSet =
true;
77 m_userName = std::forward<UserNameT>(value);
79 template <
typename UserNameT = Aws::String>
95 template <
typename UserIdT = Aws::String>
97 m_userIdHasBeenSet =
true;
98 m_userId = std::forward<UserIdT>(value);
100 template <
typename UserIdT = Aws::String>
116 template <
typename ArnT = Aws::String>
118 m_arnHasBeenSet =
true;
119 m_arn = std::forward<ArnT>(value);
121 template <
typename ArnT = Aws::String>
123 SetArn(std::forward<ArnT>(value));
135 template <
typename CreateDateT = Aws::Utils::DateTime>
137 m_createDateHasBeenSet =
true;
138 m_createDate = std::forward<CreateDateT>(value);
140 template <
typename CreateDateT = Aws::Utils::DateTime>
171 template <
typename PasswordLastUsedT = Aws::Utils::DateTime>
173 m_passwordLastUsedHasBeenSet =
true;
174 m_passwordLastUsed = std::forward<PasswordLastUsedT>(value);
176 template <
typename PasswordLastUsedT = Aws::Utils::DateTime>
191 template <
typename PermissionsBoundaryT = AttachedPermissionsBoundary>
193 m_permissionsBoundaryHasBeenSet =
true;
194 m_permissionsBoundary = std::forward<PermissionsBoundaryT>(value);
196 template <
typename PermissionsBoundaryT = AttachedPermissionsBoundary>
212 template <
typename TagsT = Aws::Vector<Tag>>
214 m_tagsHasBeenSet =
true;
215 m_tags = std::forward<TagsT>(value);
217 template <
typename TagsT = Aws::Vector<Tag>>
219 SetTags(std::forward<TagsT>(value));
222 template <
typename TagsT = Tag>
224 m_tagsHasBeenSet =
true;
225 m_tags.emplace_back(std::forward<TagsT>(value));
242 AttachedPermissionsBoundary m_permissionsBoundary;
245 bool m_pathHasBeenSet =
false;
246 bool m_userNameHasBeenSet =
false;
247 bool m_userIdHasBeenSet =
false;
248 bool m_arnHasBeenSet =
false;
249 bool m_createDateHasBeenSet =
false;
250 bool m_passwordLastUsedHasBeenSet =
false;
251 bool m_permissionsBoundaryHasBeenSet =
false;
252 bool m_tagsHasBeenSet =
false;
void SetUserName(UserNameT &&value)
User & WithPasswordLastUsed(PasswordLastUsedT &&value)
void SetPermissionsBoundary(PermissionsBoundaryT &&value)
const AttachedPermissionsBoundary & GetPermissionsBoundary() const
AWS_IAM_API User & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< Tag > & GetTags() const
bool TagsHasBeenSet() const
void SetUserId(UserIdT &&value)
const Aws::Utils::DateTime & GetPasswordLastUsed() const
User & AddTags(TagsT &&value)
AWS_IAM_API void OutputToStream(Aws::OStream &oStream, const char *location) const
User & WithTags(TagsT &&value)
User & WithPath(PathT &&value)
const Aws::String & GetUserName() const
User & WithCreateDate(CreateDateT &&value)
User & WithUserId(UserIdT &&value)
void SetArn(ArnT &&value)
bool UserIdHasBeenSet() const
const Aws::Utils::DateTime & GetCreateDate() const
bool PermissionsBoundaryHasBeenSet() const
const Aws::String & GetPath() const
bool UserNameHasBeenSet() const
User & WithUserName(UserNameT &&value)
void SetTags(TagsT &&value)
void SetPasswordLastUsed(PasswordLastUsedT &&value)
User & WithPermissionsBoundary(PermissionsBoundaryT &&value)
const Aws::String & GetUserId() const
AWS_IAM_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool PathHasBeenSet() const
const Aws::String & GetArn() const
void SetCreateDate(CreateDateT &&value)
void SetPath(PathT &&value)
bool PasswordLastUsedHasBeenSet() const
AWS_IAM_API User(const Aws::Utils::Xml::XmlNode &xmlNode)
bool ArnHasBeenSet() const
bool CreateDateHasBeenSet() const
AWS_IAM_API User()=default
User & WithArn(ArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream