7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/iam/model/AttachedPermissionsBoundary.h>
13#include <aws/iam/model/PolicyDetail.h>
14#include <aws/iam/model/AttachedPolicy.h>
15#include <aws/iam/model/Tag.h>
61 inline void SetPath(
const char* value) { m_pathHasBeenSet =
true; m_path.assign(value); }
75 inline void SetUserName(
const char* value) { m_userNameHasBeenSet =
true; m_userName.assign(value); }
92 inline void SetUserId(
const char* value) { m_userIdHasBeenSet =
true; m_userId.assign(value); }
104 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
149 inline UserDetail&
AddGroupList(
const char* value) { m_groupListHasBeenSet =
true; m_groupList.push_back(value);
return *
this; }
194 inline UserDetail&
AddTags(
const Tag& value) { m_tagsHasBeenSet =
true; m_tags.push_back(value);
return *
this; }
195 inline UserDetail&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
200 bool m_pathHasBeenSet =
false;
203 bool m_userNameHasBeenSet =
false;
206 bool m_userIdHasBeenSet =
false;
209 bool m_arnHasBeenSet =
false;
212 bool m_createDateHasBeenSet =
false;
215 bool m_userPolicyListHasBeenSet =
false;
218 bool m_groupListHasBeenSet =
false;
221 bool m_attachedManagedPoliciesHasBeenSet =
false;
224 bool m_permissionsBoundaryHasBeenSet =
false;
227 bool m_tagsHasBeenSet =
false;
void SetPermissionsBoundary(AttachedPermissionsBoundary &&value)
void SetTags(Aws::Vector< Tag > &&value)
bool ArnHasBeenSet() const
bool PathHasBeenSet() const
UserDetail & WithArn(Aws::String &&value)
void SetCreateDate(Aws::Utils::DateTime &&value)
bool GroupListHasBeenSet() const
const Aws::String & GetUserId() const
bool UserPolicyListHasBeenSet() const
void SetGroupList(Aws::Vector< Aws::String > &&value)
UserDetail & WithUserId(const char *value)
UserDetail & WithArn(const Aws::String &value)
void SetPath(Aws::String &&value)
UserDetail & WithUserPolicyList(const Aws::Vector< PolicyDetail > &value)
UserDetail & WithTags(const Aws::Vector< Tag > &value)
bool UserNameHasBeenSet() const
UserDetail & WithPath(const char *value)
void SetArn(Aws::String &&value)
void SetArn(const Aws::String &value)
const Aws::String & GetArn() const
const Aws::String & GetUserName() const
AWS_IAM_API UserDetail(const Aws::Utils::Xml::XmlNode &xmlNode)
bool AttachedManagedPoliciesHasBeenSet() const
UserDetail & WithPermissionsBoundary(AttachedPermissionsBoundary &&value)
const Aws::String & GetPath() const
UserDetail & WithPath(Aws::String &&value)
const AttachedPermissionsBoundary & GetPermissionsBoundary() const
const Aws::Vector< AttachedPolicy > & GetAttachedManagedPolicies() const
AWS_IAM_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetAttachedManagedPolicies(const Aws::Vector< AttachedPolicy > &value)
bool CreateDateHasBeenSet() const
void SetUserId(Aws::String &&value)
void SetPath(const Aws::String &value)
UserDetail & WithArn(const char *value)
UserDetail & AddTags(Tag &&value)
void SetUserName(Aws::String &&value)
const Aws::Utils::DateTime & GetCreateDate() const
const Aws::Vector< PolicyDetail > & GetUserPolicyList() const
UserDetail & WithUserId(Aws::String &&value)
void SetUserPolicyList(Aws::Vector< PolicyDetail > &&value)
UserDetail & WithUserName(const Aws::String &value)
UserDetail & WithUserId(const Aws::String &value)
bool UserIdHasBeenSet() const
UserDetail & WithPath(const Aws::String &value)
UserDetail & AddGroupList(Aws::String &&value)
UserDetail & WithCreateDate(Aws::Utils::DateTime &&value)
AWS_IAM_API UserDetail & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
UserDetail & AddGroupList(const char *value)
UserDetail & AddTags(const Tag &value)
void SetUserName(const char *value)
UserDetail & WithPermissionsBoundary(const AttachedPermissionsBoundary &value)
void SetPermissionsBoundary(const AttachedPermissionsBoundary &value)
UserDetail & AddGroupList(const Aws::String &value)
void SetUserPolicyList(const Aws::Vector< PolicyDetail > &value)
void SetUserId(const char *value)
void SetPath(const char *value)
const Aws::Vector< Aws::String > & GetGroupList() const
UserDetail & AddAttachedManagedPolicies(AttachedPolicy &&value)
void SetUserName(const Aws::String &value)
UserDetail & WithAttachedManagedPolicies(const Aws::Vector< AttachedPolicy > &value)
UserDetail & AddUserPolicyList(PolicyDetail &&value)
bool PermissionsBoundaryHasBeenSet() const
void SetUserId(const Aws::String &value)
UserDetail & WithCreateDate(const Aws::Utils::DateTime &value)
UserDetail & WithGroupList(Aws::Vector< Aws::String > &&value)
void SetTags(const Aws::Vector< Tag > &value)
bool TagsHasBeenSet() const
UserDetail & WithUserName(Aws::String &&value)
UserDetail & WithGroupList(const Aws::Vector< Aws::String > &value)
void SetGroupList(const Aws::Vector< Aws::String > &value)
void SetArn(const char *value)
const Aws::Vector< Tag > & GetTags() const
UserDetail & WithAttachedManagedPolicies(Aws::Vector< AttachedPolicy > &&value)
UserDetail & AddUserPolicyList(const PolicyDetail &value)
UserDetail & WithUserName(const char *value)
void SetCreateDate(const Aws::Utils::DateTime &value)
AWS_IAM_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
UserDetail & AddAttachedManagedPolicies(const AttachedPolicy &value)
void SetAttachedManagedPolicies(Aws::Vector< AttachedPolicy > &&value)
UserDetail & WithTags(Aws::Vector< Tag > &&value)
UserDetail & WithUserPolicyList(Aws::Vector< PolicyDetail > &&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