AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetIntrospectionSchemaResult.h
1
6#pragma once
7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/Array.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/stream/ResponseStream.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace AppSync {
20namespace Model {
22 public:
23 AWS_APPSYNC_API GetIntrospectionSchemaResult() = default;
26 // we delete these because Microsoft doesn't handle move generation correctly
27 // and we therefore don't trust them to get it right here either.
30
33
35
40 inline Aws::IOStream& GetSchema() const { return m_schema.GetUnderlyingStream(); }
41 inline void ReplaceBody(Aws::IOStream* body) { m_schema = Aws::Utils::Stream::ResponseStream(body); }
42
44
46
47 inline const Aws::String& GetRequestId() const { return m_requestId; }
48 template <typename RequestIdT = Aws::String>
49 void SetRequestId(RequestIdT&& value) {
50 m_requestIdHasBeenSet = true;
51 m_requestId = std::forward<RequestIdT>(value);
52 }
53 template <typename RequestIdT = Aws::String>
55 SetRequestId(std::forward<RequestIdT>(value));
56 return *this;
57 }
59 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
60
61 private:
63
64 Aws::String m_requestId;
65 Aws::Http::HttpResponseCode m_HttpResponseCode;
66 bool m_schemaHasBeenSet = false;
67 bool m_requestIdHasBeenSet = false;
68};
69
70} // namespace Model
71} // namespace AppSync
72} // 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