/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A mapping of a query attached to a resource group that determines the Amazon
* Web Services resources that are members of the group.See Also:
* AWS
* API Reference
The name of the resource group that is associated with the specified resource * query.
*/ inline const Aws::String& GetGroupName() const{ return m_groupName; } /** *The name of the resource group that is associated with the specified resource * query.
*/ inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; } /** *The name of the resource group that is associated with the specified resource * query.
*/ inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; } /** *The name of the resource group that is associated with the specified resource * query.
*/ inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); } /** *The name of the resource group that is associated with the specified resource * query.
*/ inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); } /** *The name of the resource group that is associated with the specified resource * query.
*/ inline GroupQuery& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;} /** *The name of the resource group that is associated with the specified resource * query.
*/ inline GroupQuery& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;} /** *The name of the resource group that is associated with the specified resource * query.
*/ inline GroupQuery& WithGroupName(const char* value) { SetGroupName(value); return *this;} /** *The resource query that determines which Amazon Web Services resources are * members of the associated resource group.
*/ inline const ResourceQuery& GetResourceQuery() const{ return m_resourceQuery; } /** *The resource query that determines which Amazon Web Services resources are * members of the associated resource group.
*/ inline bool ResourceQueryHasBeenSet() const { return m_resourceQueryHasBeenSet; } /** *The resource query that determines which Amazon Web Services resources are * members of the associated resource group.
*/ inline void SetResourceQuery(const ResourceQuery& value) { m_resourceQueryHasBeenSet = true; m_resourceQuery = value; } /** *The resource query that determines which Amazon Web Services resources are * members of the associated resource group.
*/ inline void SetResourceQuery(ResourceQuery&& value) { m_resourceQueryHasBeenSet = true; m_resourceQuery = std::move(value); } /** *The resource query that determines which Amazon Web Services resources are * members of the associated resource group.
*/ inline GroupQuery& WithResourceQuery(const ResourceQuery& value) { SetResourceQuery(value); return *this;} /** *The resource query that determines which Amazon Web Services resources are * members of the associated resource group.
*/ inline GroupQuery& WithResourceQuery(ResourceQuery&& value) { SetResourceQuery(std::move(value)); return *this;} private: Aws::String m_groupName; bool m_groupNameHasBeenSet = false; ResourceQuery m_resourceQuery; bool m_resourceQueryHasBeenSet = false; }; } // namespace Model } // namespace ResourceGroups } // namespace Aws