/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ResourceGroups { namespace Model { class GetGroupQueryResult { public: AWS_RESOURCEGROUPS_API GetGroupQueryResult(); AWS_RESOURCEGROUPS_API GetGroupQueryResult(const Aws::AmazonWebServiceResult& result); AWS_RESOURCEGROUPS_API GetGroupQueryResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The resource query associated with the specified group. For more information * about resource queries, see Create * a tag-based group in Resource Groups.

*/ inline const GroupQuery& GetGroupQuery() const{ return m_groupQuery; } /** *

The resource query associated with the specified group. For more information * about resource queries, see Create * a tag-based group in Resource Groups.

*/ inline void SetGroupQuery(const GroupQuery& value) { m_groupQuery = value; } /** *

The resource query associated with the specified group. For more information * about resource queries, see Create * a tag-based group in Resource Groups.

*/ inline void SetGroupQuery(GroupQuery&& value) { m_groupQuery = std::move(value); } /** *

The resource query associated with the specified group. For more information * about resource queries, see Create * a tag-based group in Resource Groups.

*/ inline GetGroupQueryResult& WithGroupQuery(const GroupQuery& value) { SetGroupQuery(value); return *this;} /** *

The resource query associated with the specified group. For more information * about resource queries, see Create * a tag-based group in Resource Groups.

*/ inline GetGroupQueryResult& WithGroupQuery(GroupQuery&& value) { SetGroupQuery(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetGroupQueryResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetGroupQueryResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetGroupQueryResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: GroupQuery m_groupQuery; Aws::String m_requestId; }; } // namespace Model } // namespace ResourceGroups } // namespace Aws