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

The resource query associated with the specified group.

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

The resource query associated with the specified group.

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

The resource query associated with the specified group.

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

The resource query associated with the specified group.

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

The resource query associated with the specified group.

*/ inline GetGroupQueryResult& WithGroupQuery(GroupQuery&& value) { SetGroupQuery(std::move(value)); return *this;} private: GroupQuery m_groupQuery; }; } // namespace Model } // namespace ResourceGroups } // namespace Aws