This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-appsync/include/aws/appsync/model/GetIntrospectionSchemaResult.h

61 lines
2.0 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/appsync/AppSync_EXPORTS.h>
#include <aws/core/utils/stream/ResponseStream.h>
#include <aws/core/utils/Array.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
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<Aws::Utils::Stream::ResponseStream>&& result);
GetIntrospectionSchemaResult& operator=(Aws::AmazonWebServiceResult<Aws::Utils::Stream::ResponseStream>&& result);
/**
* <p>The schema, in GraphQL Schema Definition Language (SDL) format.</p> <p>For
* more information, see the <a href="http://graphql.org/learn/schema/">GraphQL SDL
* documentation</a>.</p>
*/
inline Aws::IOStream& GetSchema() { return m_schema.GetUnderlyingStream(); }
/**
* <p>The schema, in GraphQL Schema Definition Language (SDL) format.</p> <p>For
* more information, see the <a href="http://graphql.org/learn/schema/">GraphQL SDL
* documentation</a>.</p>
*/
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