/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about an IAM group, including all of the group's
* policies. This data type is used as a response element in the
* GetAccountAuthorizationDetails operation.See Also:
AWS API
* Reference
The path to the group. For more information about paths, see IAM * identifiers in the IAM User Guide.
*/ inline const Aws::String& GetPath() const{ return m_path; } /** *The path to the group. For more information about paths, see IAM * identifiers in the IAM User Guide.
*/ inline bool PathHasBeenSet() const { return m_pathHasBeenSet; } /** *The path to the group. For more information about paths, see IAM * identifiers in the IAM User Guide.
*/ inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; } /** *The path to the group. For more information about paths, see IAM * identifiers in the IAM User Guide.
*/ inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); } /** *The path to the group. For more information about paths, see IAM * identifiers in the IAM User Guide.
*/ inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); } /** *The path to the group. For more information about paths, see IAM * identifiers in the IAM User Guide.
*/ inline GroupDetail& WithPath(const Aws::String& value) { SetPath(value); return *this;} /** *The path to the group. For more information about paths, see IAM * identifiers in the IAM User Guide.
*/ inline GroupDetail& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;} /** *The path to the group. For more information about paths, see IAM * identifiers in the IAM User Guide.
*/ inline GroupDetail& WithPath(const char* value) { SetPath(value); return *this;} /** *The friendly name that identifies the group.
*/ inline const Aws::String& GetGroupName() const{ return m_groupName; } /** *The friendly name that identifies the group.
*/ inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; } /** *The friendly name that identifies the group.
*/ inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; } /** *The friendly name that identifies the group.
*/ inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); } /** *The friendly name that identifies the group.
*/ inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); } /** *The friendly name that identifies the group.
*/ inline GroupDetail& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;} /** *The friendly name that identifies the group.
*/ inline GroupDetail& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;} /** *The friendly name that identifies the group.
*/ inline GroupDetail& WithGroupName(const char* value) { SetGroupName(value); return *this;} /** *The stable and unique string identifying the group. For more information * about IDs, see IAM * identifiers in the IAM User Guide.
*/ inline const Aws::String& GetGroupId() const{ return m_groupId; } /** *The stable and unique string identifying the group. For more information * about IDs, see IAM * identifiers in the IAM User Guide.
*/ inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; } /** *The stable and unique string identifying the group. For more information * about IDs, see IAM * identifiers in the IAM User Guide.
*/ inline void SetGroupId(const Aws::String& value) { m_groupIdHasBeenSet = true; m_groupId = value; } /** *The stable and unique string identifying the group. For more information * about IDs, see IAM * identifiers in the IAM User Guide.
*/ inline void SetGroupId(Aws::String&& value) { m_groupIdHasBeenSet = true; m_groupId = std::move(value); } /** *The stable and unique string identifying the group. For more information * about IDs, see IAM * identifiers in the IAM User Guide.
*/ inline void SetGroupId(const char* value) { m_groupIdHasBeenSet = true; m_groupId.assign(value); } /** *The stable and unique string identifying the group. For more information * about IDs, see IAM * identifiers in the IAM User Guide.
*/ inline GroupDetail& WithGroupId(const Aws::String& value) { SetGroupId(value); return *this;} /** *The stable and unique string identifying the group. For more information * about IDs, see IAM * identifiers in the IAM User Guide.
*/ inline GroupDetail& WithGroupId(Aws::String&& value) { SetGroupId(std::move(value)); return *this;} /** *The stable and unique string identifying the group. For more information * about IDs, see IAM * identifiers in the IAM User Guide.
*/ inline GroupDetail& WithGroupId(const char* value) { SetGroupId(value); return *this;} inline const Aws::String& GetArn() const{ return m_arn; } inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } inline GroupDetail& WithArn(const Aws::String& value) { SetArn(value); return *this;} inline GroupDetail& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} inline GroupDetail& WithArn(const char* value) { SetArn(value); return *this;} /** *The date and time, in ISO 8601 * date-time format, when the group was created.
*/ inline const Aws::Utils::DateTime& GetCreateDate() const{ return m_createDate; } /** *The date and time, in ISO 8601 * date-time format, when the group was created.
*/ inline bool CreateDateHasBeenSet() const { return m_createDateHasBeenSet; } /** *The date and time, in ISO 8601 * date-time format, when the group was created.
*/ inline void SetCreateDate(const Aws::Utils::DateTime& value) { m_createDateHasBeenSet = true; m_createDate = value; } /** *The date and time, in ISO 8601 * date-time format, when the group was created.
*/ inline void SetCreateDate(Aws::Utils::DateTime&& value) { m_createDateHasBeenSet = true; m_createDate = std::move(value); } /** *The date and time, in ISO 8601 * date-time format, when the group was created.
*/ inline GroupDetail& WithCreateDate(const Aws::Utils::DateTime& value) { SetCreateDate(value); return *this;} /** *The date and time, in ISO 8601 * date-time format, when the group was created.
*/ inline GroupDetail& WithCreateDate(Aws::Utils::DateTime&& value) { SetCreateDate(std::move(value)); return *this;} /** *A list of the inline policies embedded in the group.
*/ inline const Aws::VectorA list of the inline policies embedded in the group.
*/ inline bool GroupPolicyListHasBeenSet() const { return m_groupPolicyListHasBeenSet; } /** *A list of the inline policies embedded in the group.
*/ inline void SetGroupPolicyList(const Aws::VectorA list of the inline policies embedded in the group.
*/ inline void SetGroupPolicyList(Aws::VectorA list of the inline policies embedded in the group.
*/ inline GroupDetail& WithGroupPolicyList(const Aws::VectorA list of the inline policies embedded in the group.
*/ inline GroupDetail& WithGroupPolicyList(Aws::VectorA list of the inline policies embedded in the group.
*/ inline GroupDetail& AddGroupPolicyList(const PolicyDetail& value) { m_groupPolicyListHasBeenSet = true; m_groupPolicyList.push_back(value); return *this; } /** *A list of the inline policies embedded in the group.
*/ inline GroupDetail& AddGroupPolicyList(PolicyDetail&& value) { m_groupPolicyListHasBeenSet = true; m_groupPolicyList.push_back(std::move(value)); return *this; } /** *A list of the managed policies attached to the group.
*/ inline const Aws::VectorA list of the managed policies attached to the group.
*/ inline bool AttachedManagedPoliciesHasBeenSet() const { return m_attachedManagedPoliciesHasBeenSet; } /** *A list of the managed policies attached to the group.
*/ inline void SetAttachedManagedPolicies(const Aws::VectorA list of the managed policies attached to the group.
*/ inline void SetAttachedManagedPolicies(Aws::VectorA list of the managed policies attached to the group.
*/ inline GroupDetail& WithAttachedManagedPolicies(const Aws::VectorA list of the managed policies attached to the group.
*/ inline GroupDetail& WithAttachedManagedPolicies(Aws::VectorA list of the managed policies attached to the group.
*/ inline GroupDetail& AddAttachedManagedPolicies(const AttachedPolicy& value) { m_attachedManagedPoliciesHasBeenSet = true; m_attachedManagedPolicies.push_back(value); return *this; } /** *A list of the managed policies attached to the group.
*/ inline GroupDetail& AddAttachedManagedPolicies(AttachedPolicy&& value) { m_attachedManagedPoliciesHasBeenSet = true; m_attachedManagedPolicies.push_back(std::move(value)); return *this; } private: Aws::String m_path; bool m_pathHasBeenSet = false; Aws::String m_groupName; bool m_groupNameHasBeenSet = false; Aws::String m_groupId; bool m_groupIdHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::Utils::DateTime m_createDate; bool m_createDateHasBeenSet = false; Aws::Vector