7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/AwsIamAttachedManagedPolicy.h>
11#include <aws/securityhub/model/AwsIamPermissionsBoundary.h>
12#include <aws/securityhub/model/AwsIamUserPolicy.h>
44 template <
typename AttachedManagedPoliciesT = Aws::Vector<AwsIamAttachedManagedPolicy>>
46 m_attachedManagedPoliciesHasBeenSet =
true;
47 m_attachedManagedPolicies = std::forward<AttachedManagedPoliciesT>(value);
49 template <
typename AttachedManagedPoliciesT = Aws::Vector<AwsIamAttachedManagedPolicy>>
54 template <
typename AttachedManagedPoliciesT = AwsIamAttachedManagedPolicy>
56 m_attachedManagedPoliciesHasBeenSet =
true;
57 m_attachedManagedPolicies.emplace_back(std::forward<AttachedManagedPoliciesT>(value));
70 template <
typename CreateDateT = Aws::String>
72 m_createDateHasBeenSet =
true;
73 m_createDate = std::forward<CreateDateT>(value);
75 template <
typename CreateDateT = Aws::String>
88 template <
typename GroupListT = Aws::Vector<Aws::String>>
90 m_groupListHasBeenSet =
true;
91 m_groupList = std::forward<GroupListT>(value);
93 template <
typename GroupListT = Aws::Vector<Aws::String>>
98 template <
typename GroupListT = Aws::String>
100 m_groupListHasBeenSet =
true;
101 m_groupList.emplace_back(std::forward<GroupListT>(value));
112 template <
typename PathT = Aws::String>
114 m_pathHasBeenSet =
true;
115 m_path = std::forward<PathT>(value);
117 template <
typename PathT = Aws::String>
119 SetPath(std::forward<PathT>(value));
130 template <
typename PermissionsBoundaryT = AwsIamPermissionsBoundary>
132 m_permissionsBoundaryHasBeenSet =
true;
133 m_permissionsBoundary = std::forward<PermissionsBoundaryT>(value);
135 template <
typename PermissionsBoundaryT = AwsIamPermissionsBoundary>
148 template <
typename UserIdT = Aws::String>
150 m_userIdHasBeenSet =
true;
151 m_userId = std::forward<UserIdT>(value);
153 template <
typename UserIdT = Aws::String>
166 template <
typename UserNameT = Aws::String>
168 m_userNameHasBeenSet =
true;
169 m_userName = std::forward<UserNameT>(value);
171 template <
typename UserNameT = Aws::String>
184 template <
typename UserPolicyListT = Aws::Vector<AwsIamUserPolicy>>
186 m_userPolicyListHasBeenSet =
true;
187 m_userPolicyList = std::forward<UserPolicyListT>(value);
189 template <
typename UserPolicyListT = Aws::Vector<AwsIamUserPolicy>>
194 template <
typename UserPolicyListT = AwsIamUserPolicy>
196 m_userPolicyListHasBeenSet =
true;
197 m_userPolicyList.emplace_back(std::forward<UserPolicyListT>(value));
217 bool m_attachedManagedPoliciesHasBeenSet =
false;
218 bool m_createDateHasBeenSet =
false;
219 bool m_groupListHasBeenSet =
false;
220 bool m_pathHasBeenSet =
false;
221 bool m_permissionsBoundaryHasBeenSet =
false;
222 bool m_userIdHasBeenSet =
false;
223 bool m_userNameHasBeenSet =
false;
224 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