AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetIntrospectionSchemaResult.h
1
6#pragma once
7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/core/utils/stream/ResponseStream.h>
9#include <aws/core/utils/Array.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace AppSync
19{
20namespace Model
21{
23 {
24 public:
26 //We have to define these because Microsoft doesn't auto generate them
29 //we delete these because Microsoft doesn't handle move generation correctly
30 //and we therefore don't trust them to get it right here either.
33
34
37
38
39
41
46 inline Aws::IOStream& GetSchema() const { return m_schema.GetUnderlyingStream(); }
47 inline void ReplaceBody(Aws::IOStream* body) { m_schema = Aws::Utils::Stream::ResponseStream(body); }
48
50
52
53 inline const Aws::String& GetRequestId() const{ return m_requestId; }
54 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
55 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
56 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
57 inline GetIntrospectionSchemaResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
58 inline GetIntrospectionSchemaResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
59 inline GetIntrospectionSchemaResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
61 private:
62
64
65 Aws::String m_requestId;
66 };
67
68} // namespace Model
69} // namespace AppSync
70} // namespace Aws
AWS_APPSYNC_API GetIntrospectionSchemaResult & operator=(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
GetIntrospectionSchemaResult(const GetIntrospectionSchemaResult &)=delete
AWS_APPSYNC_API GetIntrospectionSchemaResult(GetIntrospectionSchemaResult &&)
GetIntrospectionSchemaResult & operator=(const GetIntrospectionSchemaResult &)=delete
GetIntrospectionSchemaResult & WithRequestId(const char *value)
GetIntrospectionSchemaResult & WithRequestId(const Aws::String &value)
AWS_APPSYNC_API GetIntrospectionSchemaResult & operator=(GetIntrospectionSchemaResult &&)
GetIntrospectionSchemaResult & WithRequestId(Aws::String &&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