/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains details about an IAM group.See Also:
AWS
* API Reference
A list of the managed policies that are attached to the IAM group.
*/ inline const Aws::VectorA list of the managed policies that are attached to the IAM group.
*/ inline bool AttachedManagedPoliciesHasBeenSet() const { return m_attachedManagedPoliciesHasBeenSet; } /** *A list of the managed policies that are attached to the IAM group.
*/ inline void SetAttachedManagedPolicies(const Aws::VectorA list of the managed policies that are attached to the IAM group.
*/ inline void SetAttachedManagedPolicies(Aws::VectorA list of the managed policies that are attached to the IAM group.
*/ inline AwsIamGroupDetails& WithAttachedManagedPolicies(const Aws::VectorA list of the managed policies that are attached to the IAM group.
*/ inline AwsIamGroupDetails& WithAttachedManagedPolicies(Aws::VectorA list of the managed policies that are attached to the IAM group.
*/ inline AwsIamGroupDetails& AddAttachedManagedPolicies(const AwsIamAttachedManagedPolicy& value) { m_attachedManagedPoliciesHasBeenSet = true; m_attachedManagedPolicies.push_back(value); return *this; } /** *A list of the managed policies that are attached to the IAM group.
*/ inline AwsIamGroupDetails& AddAttachedManagedPolicies(AwsIamAttachedManagedPolicy&& value) { m_attachedManagedPoliciesHasBeenSet = true; m_attachedManagedPolicies.push_back(std::move(value)); return *this; } /** *Indicates when the IAM group was created.
Uses the
* date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the IAM group was created.
Uses the
* date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the IAM group was created.
Uses the
* date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the IAM group was created.
Uses the
* date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the IAM group was created.
Uses the
* date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the IAM group was created.
Uses the
* date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the IAM group was created.
Uses the
* date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the IAM group was created.
Uses the
* date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
The identifier of the IAM group.
*/ inline const Aws::String& GetGroupId() const{ return m_groupId; } /** *The identifier of the IAM group.
*/ inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; } /** *The identifier of the IAM group.
*/ inline void SetGroupId(const Aws::String& value) { m_groupIdHasBeenSet = true; m_groupId = value; } /** *The identifier of the IAM group.
*/ inline void SetGroupId(Aws::String&& value) { m_groupIdHasBeenSet = true; m_groupId = std::move(value); } /** *The identifier of the IAM group.
*/ inline void SetGroupId(const char* value) { m_groupIdHasBeenSet = true; m_groupId.assign(value); } /** *The identifier of the IAM group.
*/ inline AwsIamGroupDetails& WithGroupId(const Aws::String& value) { SetGroupId(value); return *this;} /** *The identifier of the IAM group.
*/ inline AwsIamGroupDetails& WithGroupId(Aws::String&& value) { SetGroupId(std::move(value)); return *this;} /** *The identifier of the IAM group.
*/ inline AwsIamGroupDetails& WithGroupId(const char* value) { SetGroupId(value); return *this;} /** *The name of the IAM group.
*/ inline const Aws::String& GetGroupName() const{ return m_groupName; } /** *The name of the IAM group.
*/ inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; } /** *The name of the IAM group.
*/ inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; } /** *The name of the IAM group.
*/ inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); } /** *The name of the IAM group.
*/ inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); } /** *The name of the IAM group.
*/ inline AwsIamGroupDetails& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;} /** *The name of the IAM group.
*/ inline AwsIamGroupDetails& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;} /** *The name of the IAM group.
*/ inline AwsIamGroupDetails& WithGroupName(const char* value) { SetGroupName(value); return *this;} /** *The list of inline policies that are embedded in the group.
*/ inline const Aws::VectorThe list of inline policies that are embedded in the group.
*/ inline bool GroupPolicyListHasBeenSet() const { return m_groupPolicyListHasBeenSet; } /** *The list of inline policies that are embedded in the group.
*/ inline void SetGroupPolicyList(const Aws::VectorThe list of inline policies that are embedded in the group.
*/ inline void SetGroupPolicyList(Aws::VectorThe list of inline policies that are embedded in the group.
*/ inline AwsIamGroupDetails& WithGroupPolicyList(const Aws::VectorThe list of inline policies that are embedded in the group.
*/ inline AwsIamGroupDetails& WithGroupPolicyList(Aws::VectorThe list of inline policies that are embedded in the group.
*/ inline AwsIamGroupDetails& AddGroupPolicyList(const AwsIamGroupPolicy& value) { m_groupPolicyListHasBeenSet = true; m_groupPolicyList.push_back(value); return *this; } /** *The list of inline policies that are embedded in the group.
*/ inline AwsIamGroupDetails& AddGroupPolicyList(AwsIamGroupPolicy&& value) { m_groupPolicyListHasBeenSet = true; m_groupPolicyList.push_back(std::move(value)); return *this; } /** *The path to the group.
*/ inline const Aws::String& GetPath() const{ return m_path; } /** *The path to the group.
*/ inline bool PathHasBeenSet() const { return m_pathHasBeenSet; } /** *The path to the group.
*/ inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; } /** *The path to the group.
*/ inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); } /** *The path to the group.
*/ inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); } /** *The path to the group.
*/ inline AwsIamGroupDetails& WithPath(const Aws::String& value) { SetPath(value); return *this;} /** *The path to the group.
*/ inline AwsIamGroupDetails& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;} /** *The path to the group.
*/ inline AwsIamGroupDetails& WithPath(const char* value) { SetPath(value); return *this;} private: Aws::Vector