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

The updated GraphqlApi object.

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

The updated GraphqlApi object.

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

The updated GraphqlApi object.

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

The updated GraphqlApi object.

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

The updated GraphqlApi object.

*/ inline UpdateGraphqlApiResult& WithGraphqlApi(GraphqlApi&& value) { SetGraphqlApi(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 UpdateGraphqlApiResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateGraphqlApiResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateGraphqlApiResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: GraphqlApi m_graphqlApi; Aws::String m_requestId; }; } // namespace Model } // namespace AppSync } // namespace Aws