AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
GetIntrospectionSchemaResult.h
1
6#pragma once
7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/core/utils/Array.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/stream/ResponseStream.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace AppSync {
19namespace Model {
21 public:
22 AWS_APPSYNC_API GetIntrospectionSchemaResult() = default;
25 // we delete these because Microsoft doesn't handle move generation correctly
26 // and we therefore don't trust them to get it right here either.
29
32
34
39 inline Aws::IOStream& GetSchema() const { return m_schema.GetUnderlyingStream(); }
40 inline void ReplaceBody(Aws::IOStream* body) { m_schema = Aws::Utils::Stream::ResponseStream(body); }
41
43
45
46 inline const Aws::String& GetRequestId() const { return m_requestId; }
47 template <typename RequestIdT = Aws::String>
48 void SetRequestId(RequestIdT&& value) {
49 m_requestIdHasBeenSet = true;
50 m_requestId = std::forward<RequestIdT>(value);
51 }
52 template <typename RequestIdT = Aws::String>
54 SetRequestId(std::forward<RequestIdT>(value));
55 return *this;
56 }
58 private:
60
61 Aws::String m_requestId;
62 bool m_schemaHasBeenSet = false;
63 bool m_requestIdHasBeenSet = false;
64};
65
66} // namespace Model
67} // namespace AppSync
68} // namespace Aws
AWS_APPSYNC_API GetIntrospectionSchemaResult & operator=(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
GetIntrospectionSchemaResult(const GetIntrospectionSchemaResult &)=delete
AWS_APPSYNC_API GetIntrospectionSchemaResult(GetIntrospectionSchemaResult &&)=default
GetIntrospectionSchemaResult & operator=(const GetIntrospectionSchemaResult &)=delete
AWS_APPSYNC_API GetIntrospectionSchemaResult & operator=(GetIntrospectionSchemaResult &&)=default
AWS_APPSYNC_API GetIntrospectionSchemaResult()=default
GetIntrospectionSchemaResult & WithRequestId(RequestIdT &&value)
AWS_APPSYNC_API GetIntrospectionSchemaResult(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
Aws::IOStream & GetUnderlyingStream() const
std::basic_iostream< char, std::char_traits< char > > IOStream
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String