/** * 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 AppSync { namespace Model { class AWS_APPSYNC_API GetIntrospectionSchemaResult { public: GetIntrospectionSchemaResult(); //We have to define these because Microsoft doesn't auto generate them GetIntrospectionSchemaResult(GetIntrospectionSchemaResult&&); GetIntrospectionSchemaResult& operator=(GetIntrospectionSchemaResult&&); //we delete these because Microsoft doesn't handle move generation correctly //and we therefore don't trust them to get it right here either. GetIntrospectionSchemaResult(const GetIntrospectionSchemaResult&) = delete; GetIntrospectionSchemaResult& operator=(const GetIntrospectionSchemaResult&) = delete; GetIntrospectionSchemaResult(Aws::AmazonWebServiceResult&& result); GetIntrospectionSchemaResult& operator=(Aws::AmazonWebServiceResult&& result); /** *

The schema, in GraphQL Schema Definition Language (SDL) format.

For * more information, see the GraphQL SDL * documentation.

*/ inline Aws::IOStream& GetSchema() { return m_schema.GetUnderlyingStream(); } /** *

The schema, in GraphQL Schema Definition Language (SDL) format.

For * more information, see the GraphQL SDL * documentation.

*/ inline void ReplaceBody(Aws::IOStream* body) { m_schema = Aws::Utils::Stream::ResponseStream(body); } private: Aws::Utils::Stream::ResponseStream m_schema; }; } // namespace Model } // namespace AppSync } // namespace Aws