/** * 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 AppSync { namespace Model { class AWS_APPSYNC_API GetGraphqlApiResult { public: GetGraphqlApiResult(); GetGraphqlApiResult(const Aws::AmazonWebServiceResult& result); GetGraphqlApiResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The GraphqlApi object.

*/ inline const GraphqlApi& GetGraphqlApi() const{ return m_graphqlApi; } /** *

The GraphqlApi object.

*/ inline void SetGraphqlApi(const GraphqlApi& value) { m_graphqlApi = value; } /** *

The GraphqlApi object.

*/ inline void SetGraphqlApi(GraphqlApi&& value) { m_graphqlApi = std::move(value); } /** *

The GraphqlApi object.

*/ inline GetGraphqlApiResult& WithGraphqlApi(const GraphqlApi& value) { SetGraphqlApi(value); return *this;} /** *

The GraphqlApi object.

*/ inline GetGraphqlApiResult& WithGraphqlApi(GraphqlApi&& value) { SetGraphqlApi(std::move(value)); return *this;} private: GraphqlApi m_graphqlApi; }; } // namespace Model } // namespace AppSync } // namespace Aws