/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A resource group that contains AWS resources. You can assign resources to the
* group by associating either of the following elements with the group: ResourceQuery - Use a resource query to specify a set of tag
* keys and values. All resources in the same AWS Region and AWS account that have
* those keys with the same values are included in the group. You can add a
* resource query when you create the group.
* GroupConfiguration - Use a service configuration to associate the group
* with an AWS service. The configuration specifies which resource types can be
* included in the group.
*
See Also:
AWS
* API Reference
The ARN of the resource group.
*/ inline const Aws::String& GetGroupArn() const{ return m_groupArn; } /** *The ARN of the resource group.
*/ inline bool GroupArnHasBeenSet() const { return m_groupArnHasBeenSet; } /** *The ARN of the resource group.
*/ inline void SetGroupArn(const Aws::String& value) { m_groupArnHasBeenSet = true; m_groupArn = value; } /** *The ARN of the resource group.
*/ inline void SetGroupArn(Aws::String&& value) { m_groupArnHasBeenSet = true; m_groupArn = std::move(value); } /** *The ARN of the resource group.
*/ inline void SetGroupArn(const char* value) { m_groupArnHasBeenSet = true; m_groupArn.assign(value); } /** *The ARN of the resource group.
*/ inline Group& WithGroupArn(const Aws::String& value) { SetGroupArn(value); return *this;} /** *The ARN of the resource group.
*/ inline Group& WithGroupArn(Aws::String&& value) { SetGroupArn(std::move(value)); return *this;} /** *The ARN of the resource group.
*/ inline Group& WithGroupArn(const char* value) { SetGroupArn(value); return *this;} /** *The name of the resource group.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the resource group.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the resource group.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the resource group.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the resource group.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the resource group.
*/ inline Group& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the resource group.
*/ inline Group& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the resource group.
*/ inline Group& WithName(const char* value) { SetName(value); return *this;} /** *The description of the resource group.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the resource group.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the resource group.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the resource group.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the resource group.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the resource group.
*/ inline Group& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the resource group.
*/ inline Group& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the resource group.
*/ inline Group& WithDescription(const char* value) { SetDescription(value); return *this;} private: Aws::String m_groupArn; bool m_groupArnHasBeenSet; Aws::String m_name; bool m_nameHasBeenSet; Aws::String m_description; bool m_descriptionHasBeenSet; }; } // namespace Model } // namespace ResourceGroups } // namespace Aws