AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetExportResult.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/stream/ResponseStream.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/Array.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace APIGateway
19{
20namespace Model
21{
29 {
30 public:
31 AWS_APIGATEWAY_API GetExportResult();
32 //We have to define these because Microsoft doesn't auto generate them
33 AWS_APIGATEWAY_API GetExportResult(GetExportResult&&);
35 //we delete these because Microsoft doesn't handle move generation correctly
36 //and we therefore don't trust them to get it right here either.
39
40
43
44
45
47
51 inline const Aws::String& GetContentType() const{ return m_contentType; }
52 inline void SetContentType(const Aws::String& value) { m_contentType = value; }
53 inline void SetContentType(Aws::String&& value) { m_contentType = std::move(value); }
54 inline void SetContentType(const char* value) { m_contentType.assign(value); }
55 inline GetExportResult& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
56 inline GetExportResult& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
57 inline GetExportResult& WithContentType(const char* value) { SetContentType(value); return *this;}
59
61
64 inline const Aws::String& GetContentDisposition() const{ return m_contentDisposition; }
65 inline void SetContentDisposition(const Aws::String& value) { m_contentDisposition = value; }
66 inline void SetContentDisposition(Aws::String&& value) { m_contentDisposition = std::move(value); }
67 inline void SetContentDisposition(const char* value) { m_contentDisposition.assign(value); }
68 inline GetExportResult& WithContentDisposition(const Aws::String& value) { SetContentDisposition(value); return *this;}
69 inline GetExportResult& WithContentDisposition(Aws::String&& value) { SetContentDisposition(std::move(value)); return *this;}
70 inline GetExportResult& WithContentDisposition(const char* value) { SetContentDisposition(value); return *this;}
72
74
77 inline Aws::IOStream& GetBody() const { return m_body.GetUnderlyingStream(); }
78 inline void ReplaceBody(Aws::IOStream* body) { m_body = Aws::Utils::Stream::ResponseStream(body); }
79
81
83
84 inline const Aws::String& GetRequestId() const{ return m_requestId; }
85 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
86 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
87 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
88 inline GetExportResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
89 inline GetExportResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
90 inline GetExportResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
92 private:
93
94 Aws::String m_contentType;
95
96 Aws::String m_contentDisposition;
97
99
100 Aws::String m_requestId;
101 };
102
103} // namespace Model
104} // namespace APIGateway
105} // namespace Aws
AWS_APIGATEWAY_API GetExportResult(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
void SetContentType(const Aws::String &value)
const Aws::String & GetRequestId() const
AWS_APIGATEWAY_API GetExportResult(GetExportResult &&)
void SetContentDisposition(const Aws::String &value)
GetExportResult & WithRequestId(const char *value)
void SetRequestId(const Aws::String &value)
GetExportResult & operator=(const GetExportResult &)=delete
GetExportResult(const GetExportResult &)=delete
GetExportResult & WithContentDisposition(Aws::String &&value)
GetExportResult & WithContentDisposition(const char *value)
void SetContentType(Aws::String &&value)
void SetContentDisposition(const char *value)
AWS_APIGATEWAY_API GetExportResult & operator=(GetExportResult &&)
GetExportResult & WithContentType(Aws::String &&value)
GetExportResult & WithRequestId(Aws::String &&value)
GetExportResult & WithContentType(const char *value)
void ReplaceBody(Aws::IOStream *body)
GetExportResult & WithContentType(const Aws::String &value)
AWS_APIGATEWAY_API GetExportResult & operator=(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
const Aws::String & GetContentDisposition() const
GetExportResult & WithContentDisposition(const Aws::String &value)
const Aws::String & GetContentType() const
GetExportResult & WithRequestId(const Aws::String &value)
void SetContentDisposition(Aws::String &&value)
void SetRequestId(Aws::String &&value)
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