7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/securityhub/model/AwsIamPermissionsBoundary.h>
11#include <aws/securityhub/model/AwsIamAttachedManagedPolicy.h>
12#include <aws/securityhub/model/AwsIamUserPolicy.h>
50 template<
typename AttachedManagedPoliciesT = Aws::Vector<AwsIamAttachedManagedPolicy>>
51 void SetAttachedManagedPolicies(AttachedManagedPoliciesT&& value) { m_attachedManagedPoliciesHasBeenSet =
true; m_attachedManagedPolicies = std::forward<AttachedManagedPoliciesT>(value); }
52 template<
typename AttachedManagedPoliciesT = Aws::Vector<AwsIamAttachedManagedPolicy>>
54 template<
typename AttachedManagedPoliciesT = AwsIamAttachedManagedPolicy>
55 AwsIamUserDetails&
AddAttachedManagedPolicies(AttachedManagedPoliciesT&& value) { m_attachedManagedPoliciesHasBeenSet =
true; m_attachedManagedPolicies.emplace_back(std::forward<AttachedManagedPoliciesT>(value));
return *
this; }
66 template<
typename CreateDateT = Aws::String>
67 void SetCreateDate(CreateDateT&& value) { m_createDateHasBeenSet =
true; m_createDate = std::forward<CreateDateT>(value); }
68 template<
typename CreateDateT = Aws::String>
78 template<
typename GroupListT = Aws::Vector<Aws::String>>
79 void SetGroupList(GroupListT&& value) { m_groupListHasBeenSet =
true; m_groupList = std::forward<GroupListT>(value); }
80 template<
typename GroupListT = Aws::Vector<Aws::String>>
82 template<
typename GroupListT = Aws::String>
83 AwsIamUserDetails&
AddGroupList(GroupListT&& value) { m_groupListHasBeenSet =
true; m_groupList.emplace_back(std::forward<GroupListT>(value));
return *
this; }
92 template<
typename PathT = Aws::String>
93 void SetPath(PathT&& value) { m_pathHasBeenSet =
true; m_path = std::forward<PathT>(value); }
94 template<
typename PathT = Aws::String>
104 template<
typename PermissionsBoundaryT = AwsIamPermissionsBoundary>
105 void SetPermissionsBoundary(PermissionsBoundaryT&& value) { m_permissionsBoundaryHasBeenSet =
true; m_permissionsBoundary = std::forward<PermissionsBoundaryT>(value); }
106 template<
typename PermissionsBoundaryT = AwsIamPermissionsBoundary>
116 template<
typename UserIdT = Aws::String>
117 void SetUserId(UserIdT&& value) { m_userIdHasBeenSet =
true; m_userId = std::forward<UserIdT>(value); }
118 template<
typename UserIdT = Aws::String>
128 template<
typename UserNameT = Aws::String>
129 void SetUserName(UserNameT&& value) { m_userNameHasBeenSet =
true; m_userName = std::forward<UserNameT>(value); }
130 template<
typename UserNameT = Aws::String>
140 template<
typename UserPolicyListT = Aws::Vector<AwsIamUserPolicy>>
141 void SetUserPolicyList(UserPolicyListT&& value) { m_userPolicyListHasBeenSet =
true; m_userPolicyList = std::forward<UserPolicyListT>(value); }
142 template<
typename UserPolicyListT = Aws::Vector<AwsIamUserPolicy>>
144 template<
typename UserPolicyListT = AwsIamUserPolicy>
145 AwsIamUserDetails&
AddUserPolicyList(UserPolicyListT&& value) { m_userPolicyListHasBeenSet =
true; m_userPolicyList.emplace_back(std::forward<UserPolicyListT>(value));
return *
this; }
150 bool m_attachedManagedPoliciesHasBeenSet =
false;
153 bool m_createDateHasBeenSet =
false;
156 bool m_groupListHasBeenSet =
false;
159 bool m_pathHasBeenSet =
false;
162 bool m_permissionsBoundaryHasBeenSet =
false;
165 bool m_userIdHasBeenSet =
false;
168 bool m_userNameHasBeenSet =
false;
171 bool m_userPolicyListHasBeenSet =
false;
void SetPermissionsBoundary(PermissionsBoundaryT &&value)
void SetPath(PathT &&value)
bool GroupListHasBeenSet() const
AWS_SECURITYHUB_API AwsIamUserDetails(Aws::Utils::Json::JsonView jsonValue)
AwsIamUserDetails & WithUserName(UserNameT &&value)
AwsIamUserDetails & AddAttachedManagedPolicies(AttachedManagedPoliciesT &&value)
AwsIamUserDetails & WithGroupList(GroupListT &&value)
AwsIamUserDetails & WithCreateDate(CreateDateT &&value)
bool PermissionsBoundaryHasBeenSet() const
void SetUserPolicyList(UserPolicyListT &&value)
const Aws::String & GetCreateDate() const
const Aws::Vector< AwsIamAttachedManagedPolicy > & GetAttachedManagedPolicies() const
bool UserNameHasBeenSet() const
const Aws::Vector< AwsIamUserPolicy > & GetUserPolicyList() const
const Aws::String & GetUserId() const
bool CreateDateHasBeenSet() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AwsIamUserDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsIamUserDetails & WithAttachedManagedPolicies(AttachedManagedPoliciesT &&value)
bool AttachedManagedPoliciesHasBeenSet() const
void SetUserId(UserIdT &&value)
AwsIamUserDetails & WithPath(PathT &&value)
bool UserPolicyListHasBeenSet() const
AwsIamUserDetails & WithUserPolicyList(UserPolicyListT &&value)
bool UserIdHasBeenSet() const
const Aws::String & GetUserName() const
void SetGroupList(GroupListT &&value)
AwsIamUserDetails & AddUserPolicyList(UserPolicyListT &&value)
void SetCreateDate(CreateDateT &&value)
const Aws::String & GetPath() const
void SetAttachedManagedPolicies(AttachedManagedPoliciesT &&value)
AWS_SECURITYHUB_API AwsIamUserDetails()=default
const AwsIamPermissionsBoundary & GetPermissionsBoundary() const
AwsIamUserDetails & WithUserId(UserIdT &&value)
AwsIamUserDetails & AddGroupList(GroupListT &&value)
AwsIamUserDetails & WithPermissionsBoundary(PermissionsBoundaryT &&value)
void SetUserName(UserNameT &&value)
const Aws::Vector< Aws::String > & GetGroupList() const
bool PathHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue