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/PolicyDetail.h>
13#include <aws/iam/model/AttachedPolicy.h>
57 template<
typename PathT = Aws::String>
58 void SetPath(PathT&& value) { m_pathHasBeenSet =
true; m_path = std::forward<PathT>(value); }
59 template<
typename PathT = Aws::String>
69 template<
typename GroupNameT = Aws::String>
70 void SetGroupName(GroupNameT&& value) { m_groupNameHasBeenSet =
true; m_groupName = std::forward<GroupNameT>(value); }
71 template<
typename GroupNameT = Aws::String>
84 template<
typename GroupIdT = Aws::String>
85 void SetGroupId(GroupIdT&& value) { m_groupIdHasBeenSet =
true; m_groupId = std::forward<GroupIdT>(value); }
86 template<
typename GroupIdT = Aws::String>
94 template<
typename ArnT = Aws::String>
95 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
96 template<
typename ArnT = Aws::String>
107 template<
typename CreateDateT = Aws::Utils::DateTime>
108 void SetCreateDate(CreateDateT&& value) { m_createDateHasBeenSet =
true; m_createDate = std::forward<CreateDateT>(value); }
109 template<
typename CreateDateT = Aws::Utils::DateTime>
119 template<
typename GroupPolicyListT = Aws::Vector<PolicyDetail>>
120 void SetGroupPolicyList(GroupPolicyListT&& value) { m_groupPolicyListHasBeenSet =
true; m_groupPolicyList = std::forward<GroupPolicyListT>(value); }
121 template<
typename GroupPolicyListT = Aws::Vector<PolicyDetail>>
123 template<
typename GroupPolicyListT = PolicyDetail>
124 GroupDetail&
AddGroupPolicyList(GroupPolicyListT&& value) { m_groupPolicyListHasBeenSet =
true; m_groupPolicyList.emplace_back(std::forward<GroupPolicyListT>(value));
return *
this; }
133 template<
typename AttachedManagedPoliciesT = Aws::Vector<AttachedPolicy>>
134 void SetAttachedManagedPolicies(AttachedManagedPoliciesT&& value) { m_attachedManagedPoliciesHasBeenSet =
true; m_attachedManagedPolicies = std::forward<AttachedManagedPoliciesT>(value); }
135 template<
typename AttachedManagedPoliciesT = Aws::Vector<AttachedPolicy>>
137 template<
typename AttachedManagedPoliciesT = AttachedPolicy>
138 GroupDetail&
AddAttachedManagedPolicies(AttachedManagedPoliciesT&& value) { m_attachedManagedPoliciesHasBeenSet =
true; m_attachedManagedPolicies.emplace_back(std::forward<AttachedManagedPoliciesT>(value));
return *
this; }
143 bool m_pathHasBeenSet =
false;
146 bool m_groupNameHasBeenSet =
false;
149 bool m_groupIdHasBeenSet =
false;
152 bool m_arnHasBeenSet =
false;
155 bool m_createDateHasBeenSet =
false;
158 bool m_groupPolicyListHasBeenSet =
false;
161 bool m_attachedManagedPoliciesHasBeenSet =
false;
void SetPath(PathT &&value)
const Aws::String & GetGroupName() const
const Aws::String & GetGroupId() const
AWS_IAM_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool GroupIdHasBeenSet() const
bool AttachedManagedPoliciesHasBeenSet() const
const Aws::String & GetArn() const
bool GroupNameHasBeenSet() const
GroupDetail & WithAttachedManagedPolicies(AttachedManagedPoliciesT &&value)
AWS_IAM_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_IAM_API GroupDetail(const Aws::Utils::Xml::XmlNode &xmlNode)
bool CreateDateHasBeenSet() const
void SetCreateDate(CreateDateT &&value)
GroupDetail & WithGroupId(GroupIdT &&value)
GroupDetail & WithPath(PathT &&value)
GroupDetail & WithCreateDate(CreateDateT &&value)
void SetGroupName(GroupNameT &&value)
void SetGroupPolicyList(GroupPolicyListT &&value)
bool PathHasBeenSet() const
bool GroupPolicyListHasBeenSet() const
AWS_IAM_API GroupDetail & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
GroupDetail & WithArn(ArnT &&value)
GroupDetail & WithGroupPolicyList(GroupPolicyListT &&value)
bool ArnHasBeenSet() const
const Aws::Utils::DateTime & GetCreateDate() const
void SetAttachedManagedPolicies(AttachedManagedPoliciesT &&value)
GroupDetail & AddAttachedManagedPolicies(AttachedManagedPoliciesT &&value)
GroupDetail & AddGroupPolicyList(GroupPolicyListT &&value)
const Aws::Vector< AttachedPolicy > & GetAttachedManagedPolicies() const
void SetGroupId(GroupIdT &&value)
void SetArn(ArnT &&value)
const Aws::Vector< PolicyDetail > & GetGroupPolicyList() const
const Aws::String & GetPath() const
AWS_IAM_API GroupDetail()=default
GroupDetail & WithGroupName(GroupNameT &&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