/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about a resource group. The resource group defines a set
* of tags that, when queried, identify the AWS resources that make up the
* assessment target. This data type is used as the response element in the
* DescribeResourceGroups action.See Also:
AWS
* API Reference
The ARN of the resource group.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The ARN of the resource group.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The ARN of the resource group.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The ARN of the resource group.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The ARN of the resource group.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The ARN of the resource group.
*/ inline ResourceGroup& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The ARN of the resource group.
*/ inline ResourceGroup& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The ARN of the resource group.
*/ inline ResourceGroup& WithArn(const char* value) { SetArn(value); return *this;} /** *The tags (key and value pairs) of the resource group. This data type property * is used in the CreateResourceGroup action.
*/ inline const Aws::VectorThe tags (key and value pairs) of the resource group. This data type property * is used in the CreateResourceGroup action.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The tags (key and value pairs) of the resource group. This data type property * is used in the CreateResourceGroup action.
*/ inline void SetTags(const Aws::VectorThe tags (key and value pairs) of the resource group. This data type property * is used in the CreateResourceGroup action.
*/ inline void SetTags(Aws::VectorThe tags (key and value pairs) of the resource group. This data type property * is used in the CreateResourceGroup action.
*/ inline ResourceGroup& WithTags(const Aws::VectorThe tags (key and value pairs) of the resource group. This data type property * is used in the CreateResourceGroup action.
*/ inline ResourceGroup& WithTags(Aws::VectorThe tags (key and value pairs) of the resource group. This data type property * is used in the CreateResourceGroup action.
*/ inline ResourceGroup& AddTags(const ResourceGroupTag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *The tags (key and value pairs) of the resource group. This data type property * is used in the CreateResourceGroup action.
*/ inline ResourceGroup& AddTags(ResourceGroupTag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } /** *The time at which resource group is created.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *The time at which resource group is created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *The time at which resource group is created.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *The time at which resource group is created.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *The time at which resource group is created.
*/ inline ResourceGroup& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The time at which resource group is created.
*/ inline ResourceGroup& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::Vector