/** * 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 UpdateGroupQueryResult { public: AWS_RESOURCEGROUPS_API UpdateGroupQueryResult(); AWS_RESOURCEGROUPS_API UpdateGroupQueryResult(const Aws::AmazonWebServiceResult& result); AWS_RESOURCEGROUPS_API UpdateGroupQueryResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The updated resource query associated with the resource group after the * update.

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

The updated resource query associated with the resource group after the * update.

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

The updated resource query associated with the resource group after the * update.

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

The updated resource query associated with the resource group after the * update.

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

The updated resource query associated with the resource group after the * update.

*/ inline UpdateGroupQueryResult& 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 UpdateGroupQueryResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateGroupQueryResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateGroupQueryResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: GroupQuery m_groupQuery; Aws::String m_requestId; }; } // namespace Model } // namespace ResourceGroups } // namespace Aws