AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutIntegrationResponseResult.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/apigateway/model/ContentHandlingStrategy.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace APIGateway
26{
27namespace Model
28{
37 {
38 public:
39 AWS_APIGATEWAY_API PutIntegrationResponseResult();
42
43
45
49 inline const Aws::String& GetStatusCode() const{ return m_statusCode; }
50 inline void SetStatusCode(const Aws::String& value) { m_statusCode = value; }
51 inline void SetStatusCode(Aws::String&& value) { m_statusCode = std::move(value); }
52 inline void SetStatusCode(const char* value) { m_statusCode.assign(value); }
53 inline PutIntegrationResponseResult& WithStatusCode(const Aws::String& value) { SetStatusCode(value); return *this;}
54 inline PutIntegrationResponseResult& WithStatusCode(Aws::String&& value) { SetStatusCode(std::move(value)); return *this;}
55 inline PutIntegrationResponseResult& WithStatusCode(const char* value) { SetStatusCode(value); return *this;}
57
59
69 inline const Aws::String& GetSelectionPattern() const{ return m_selectionPattern; }
70 inline void SetSelectionPattern(const Aws::String& value) { m_selectionPattern = value; }
71 inline void SetSelectionPattern(Aws::String&& value) { m_selectionPattern = std::move(value); }
72 inline void SetSelectionPattern(const char* value) { m_selectionPattern.assign(value); }
74 inline PutIntegrationResponseResult& WithSelectionPattern(Aws::String&& value) { SetSelectionPattern(std::move(value)); return *this;}
75 inline PutIntegrationResponseResult& WithSelectionPattern(const char* value) { SetSelectionPattern(value); return *this;}
77
79
93 inline const Aws::Map<Aws::String, Aws::String>& GetResponseParameters() const{ return m_responseParameters; }
94 inline void SetResponseParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_responseParameters = value; }
95 inline void SetResponseParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_responseParameters = std::move(value); }
98 inline PutIntegrationResponseResult& AddResponseParameters(const Aws::String& key, const Aws::String& value) { m_responseParameters.emplace(key, value); return *this; }
99 inline PutIntegrationResponseResult& AddResponseParameters(Aws::String&& key, const Aws::String& value) { m_responseParameters.emplace(std::move(key), value); return *this; }
100 inline PutIntegrationResponseResult& AddResponseParameters(const Aws::String& key, Aws::String&& value) { m_responseParameters.emplace(key, std::move(value)); return *this; }
101 inline PutIntegrationResponseResult& AddResponseParameters(Aws::String&& key, Aws::String&& value) { m_responseParameters.emplace(std::move(key), std::move(value)); return *this; }
102 inline PutIntegrationResponseResult& AddResponseParameters(const char* key, Aws::String&& value) { m_responseParameters.emplace(key, std::move(value)); return *this; }
103 inline PutIntegrationResponseResult& AddResponseParameters(Aws::String&& key, const char* value) { m_responseParameters.emplace(std::move(key), value); return *this; }
104 inline PutIntegrationResponseResult& AddResponseParameters(const char* key, const char* value) { m_responseParameters.emplace(key, value); return *this; }
106
108
113 inline const Aws::Map<Aws::String, Aws::String>& GetResponseTemplates() const{ return m_responseTemplates; }
114 inline void SetResponseTemplates(const Aws::Map<Aws::String, Aws::String>& value) { m_responseTemplates = value; }
115 inline void SetResponseTemplates(Aws::Map<Aws::String, Aws::String>&& value) { m_responseTemplates = std::move(value); }
118 inline PutIntegrationResponseResult& AddResponseTemplates(const Aws::String& key, const Aws::String& value) { m_responseTemplates.emplace(key, value); return *this; }
119 inline PutIntegrationResponseResult& AddResponseTemplates(Aws::String&& key, const Aws::String& value) { m_responseTemplates.emplace(std::move(key), value); return *this; }
120 inline PutIntegrationResponseResult& AddResponseTemplates(const Aws::String& key, Aws::String&& value) { m_responseTemplates.emplace(key, std::move(value)); return *this; }
121 inline PutIntegrationResponseResult& AddResponseTemplates(Aws::String&& key, Aws::String&& value) { m_responseTemplates.emplace(std::move(key), std::move(value)); return *this; }
122 inline PutIntegrationResponseResult& AddResponseTemplates(const char* key, Aws::String&& value) { m_responseTemplates.emplace(key, std::move(value)); return *this; }
123 inline PutIntegrationResponseResult& AddResponseTemplates(Aws::String&& key, const char* value) { m_responseTemplates.emplace(std::move(key), value); return *this; }
124 inline PutIntegrationResponseResult& AddResponseTemplates(const char* key, const char* value) { m_responseTemplates.emplace(key, value); return *this; }
126
128
135 inline const ContentHandlingStrategy& GetContentHandling() const{ return m_contentHandling; }
136 inline void SetContentHandling(const ContentHandlingStrategy& value) { m_contentHandling = value; }
137 inline void SetContentHandling(ContentHandlingStrategy&& value) { m_contentHandling = std::move(value); }
141
143
144 inline const Aws::String& GetRequestId() const{ return m_requestId; }
145 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
146 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
147 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
148 inline PutIntegrationResponseResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
149 inline PutIntegrationResponseResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
150 inline PutIntegrationResponseResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
152 private:
153
154 Aws::String m_statusCode;
155
156 Aws::String m_selectionPattern;
157
158 Aws::Map<Aws::String, Aws::String> m_responseParameters;
159
160 Aws::Map<Aws::String, Aws::String> m_responseTemplates;
161
162 ContentHandlingStrategy m_contentHandling;
163
164 Aws::String m_requestId;
165 };
166
167} // namespace Model
168} // namespace APIGateway
169} // namespace Aws
AWS_APIGATEWAY_API PutIntegrationResponseResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutIntegrationResponseResult & AddResponseParameters(Aws::String &&key, const char *value)
PutIntegrationResponseResult & AddResponseTemplates(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetResponseTemplates() const
PutIntegrationResponseResult & WithResponseTemplates(Aws::Map< Aws::String, Aws::String > &&value)
void SetResponseTemplates(const Aws::Map< Aws::String, Aws::String > &value)
PutIntegrationResponseResult & AddResponseTemplates(const char *key, const char *value)
PutIntegrationResponseResult & AddResponseTemplates(const Aws::String &key, Aws::String &&value)
PutIntegrationResponseResult & AddResponseParameters(Aws::String &&key, const Aws::String &value)
PutIntegrationResponseResult & WithRequestId(const char *value)
PutIntegrationResponseResult & WithRequestId(const Aws::String &value)
void SetResponseParameters(Aws::Map< Aws::String, Aws::String > &&value)
void SetContentHandling(const ContentHandlingStrategy &value)
PutIntegrationResponseResult & WithStatusCode(const Aws::String &value)
PutIntegrationResponseResult & AddResponseParameters(const char *key, const char *value)
AWS_APIGATEWAY_API PutIntegrationResponseResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutIntegrationResponseResult & WithRequestId(Aws::String &&value)
PutIntegrationResponseResult & AddResponseParameters(const Aws::String &key, const Aws::String &value)
PutIntegrationResponseResult & WithSelectionPattern(Aws::String &&value)
PutIntegrationResponseResult & WithContentHandling(const ContentHandlingStrategy &value)
PutIntegrationResponseResult & AddResponseTemplates(Aws::String &&key, Aws::String &&value)
PutIntegrationResponseResult & WithSelectionPattern(const Aws::String &value)
PutIntegrationResponseResult & WithContentHandling(ContentHandlingStrategy &&value)
PutIntegrationResponseResult & WithStatusCode(const char *value)
void SetResponseParameters(const Aws::Map< Aws::String, Aws::String > &value)
PutIntegrationResponseResult & AddResponseTemplates(const Aws::String &key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetResponseParameters() const
PutIntegrationResponseResult & AddResponseTemplates(Aws::String &&key, const char *value)
PutIntegrationResponseResult & AddResponseTemplates(const char *key, Aws::String &&value)
PutIntegrationResponseResult & AddResponseParameters(Aws::String &&key, Aws::String &&value)
PutIntegrationResponseResult & WithResponseTemplates(const Aws::Map< Aws::String, Aws::String > &value)
PutIntegrationResponseResult & AddResponseParameters(const char *key, Aws::String &&value)
PutIntegrationResponseResult & WithStatusCode(Aws::String &&value)
PutIntegrationResponseResult & WithResponseParameters(Aws::Map< Aws::String, Aws::String > &&value)
PutIntegrationResponseResult & AddResponseParameters(const Aws::String &key, Aws::String &&value)
PutIntegrationResponseResult & WithSelectionPattern(const char *value)
void SetResponseTemplates(Aws::Map< Aws::String, Aws::String > &&value)
PutIntegrationResponseResult & WithResponseParameters(const Aws::Map< Aws::String, Aws::String > &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue