AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetIntegrationResponseResult.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/apigatewayv2/model/ContentHandlingStrategy.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.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 ApiGatewayV2
26{
27namespace Model
28{
30 {
31 public:
32 AWS_APIGATEWAYV2_API GetIntegrationResponseResult();
35
36
38
48 inline const ContentHandlingStrategy& GetContentHandlingStrategy() const{ return m_contentHandlingStrategy; }
49 inline void SetContentHandlingStrategy(const ContentHandlingStrategy& value) { m_contentHandlingStrategy = value; }
50 inline void SetContentHandlingStrategy(ContentHandlingStrategy&& value) { m_contentHandlingStrategy = std::move(value); }
54
56
59 inline const Aws::String& GetIntegrationResponseId() const{ return m_integrationResponseId; }
60 inline void SetIntegrationResponseId(const Aws::String& value) { m_integrationResponseId = value; }
61 inline void SetIntegrationResponseId(Aws::String&& value) { m_integrationResponseId = std::move(value); }
62 inline void SetIntegrationResponseId(const char* value) { m_integrationResponseId.assign(value); }
65 inline GetIntegrationResponseResult& WithIntegrationResponseId(const char* value) { SetIntegrationResponseId(value); return *this;}
67
69
72 inline const Aws::String& GetIntegrationResponseKey() const{ return m_integrationResponseKey; }
73 inline void SetIntegrationResponseKey(const Aws::String& value) { m_integrationResponseKey = value; }
74 inline void SetIntegrationResponseKey(Aws::String&& value) { m_integrationResponseKey = std::move(value); }
75 inline void SetIntegrationResponseKey(const char* value) { m_integrationResponseKey.assign(value); }
78 inline GetIntegrationResponseResult& WithIntegrationResponseKey(const char* value) { SetIntegrationResponseKey(value); return *this;}
80
82
95 inline const Aws::Map<Aws::String, Aws::String>& GetResponseParameters() const{ return m_responseParameters; }
96 inline void SetResponseParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_responseParameters = value; }
97 inline void SetResponseParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_responseParameters = std::move(value); }
100 inline GetIntegrationResponseResult& AddResponseParameters(const Aws::String& key, const Aws::String& value) { m_responseParameters.emplace(key, value); return *this; }
101 inline GetIntegrationResponseResult& AddResponseParameters(Aws::String&& key, const Aws::String& value) { m_responseParameters.emplace(std::move(key), value); return *this; }
102 inline GetIntegrationResponseResult& AddResponseParameters(const Aws::String& key, Aws::String&& value) { m_responseParameters.emplace(key, std::move(value)); return *this; }
103 inline GetIntegrationResponseResult& AddResponseParameters(Aws::String&& key, Aws::String&& value) { m_responseParameters.emplace(std::move(key), std::move(value)); return *this; }
104 inline GetIntegrationResponseResult& AddResponseParameters(const char* key, Aws::String&& value) { m_responseParameters.emplace(key, std::move(value)); return *this; }
105 inline GetIntegrationResponseResult& AddResponseParameters(Aws::String&& key, const char* value) { m_responseParameters.emplace(std::move(key), value); return *this; }
106 inline GetIntegrationResponseResult& AddResponseParameters(const char* key, const char* value) { m_responseParameters.emplace(key, value); return *this; }
108
110
115 inline const Aws::Map<Aws::String, Aws::String>& GetResponseTemplates() const{ return m_responseTemplates; }
116 inline void SetResponseTemplates(const Aws::Map<Aws::String, Aws::String>& value) { m_responseTemplates = value; }
117 inline void SetResponseTemplates(Aws::Map<Aws::String, Aws::String>&& value) { m_responseTemplates = std::move(value); }
120 inline GetIntegrationResponseResult& AddResponseTemplates(const Aws::String& key, const Aws::String& value) { m_responseTemplates.emplace(key, value); return *this; }
121 inline GetIntegrationResponseResult& AddResponseTemplates(Aws::String&& key, const Aws::String& value) { m_responseTemplates.emplace(std::move(key), value); return *this; }
122 inline GetIntegrationResponseResult& AddResponseTemplates(const Aws::String& key, Aws::String&& value) { m_responseTemplates.emplace(key, std::move(value)); return *this; }
123 inline GetIntegrationResponseResult& AddResponseTemplates(Aws::String&& key, Aws::String&& value) { m_responseTemplates.emplace(std::move(key), std::move(value)); return *this; }
124 inline GetIntegrationResponseResult& AddResponseTemplates(const char* key, Aws::String&& value) { m_responseTemplates.emplace(key, std::move(value)); return *this; }
125 inline GetIntegrationResponseResult& AddResponseTemplates(Aws::String&& key, const char* value) { m_responseTemplates.emplace(std::move(key), value); return *this; }
126 inline GetIntegrationResponseResult& AddResponseTemplates(const char* key, const char* value) { m_responseTemplates.emplace(key, value); return *this; }
128
130
133 inline const Aws::String& GetTemplateSelectionExpression() const{ return m_templateSelectionExpression; }
134 inline void SetTemplateSelectionExpression(const Aws::String& value) { m_templateSelectionExpression = value; }
135 inline void SetTemplateSelectionExpression(Aws::String&& value) { m_templateSelectionExpression = std::move(value); }
136 inline void SetTemplateSelectionExpression(const char* value) { m_templateSelectionExpression.assign(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 GetIntegrationResponseResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
149 inline GetIntegrationResponseResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
150 inline GetIntegrationResponseResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
152 private:
153
154 ContentHandlingStrategy m_contentHandlingStrategy;
155
156 Aws::String m_integrationResponseId;
157
158 Aws::String m_integrationResponseKey;
159
160 Aws::Map<Aws::String, Aws::String> m_responseParameters;
161
162 Aws::Map<Aws::String, Aws::String> m_responseTemplates;
163
164 Aws::String m_templateSelectionExpression;
165
166 Aws::String m_requestId;
167 };
168
169} // namespace Model
170} // namespace ApiGatewayV2
171} // namespace Aws
void SetResponseParameters(const Aws::Map< Aws::String, Aws::String > &value)
GetIntegrationResponseResult & WithRequestId(const Aws::String &value)
AWS_APIGATEWAYV2_API GetIntegrationResponseResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetIntegrationResponseResult & AddResponseTemplates(const char *key, const char *value)
GetIntegrationResponseResult & AddResponseParameters(const char *key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetResponseTemplates() const
void SetResponseTemplates(Aws::Map< Aws::String, Aws::String > &&value)
GetIntegrationResponseResult & WithResponseTemplates(Aws::Map< Aws::String, Aws::String > &&value)
GetIntegrationResponseResult & AddResponseParameters(Aws::String &&key, const Aws::String &value)
void SetResponseTemplates(const Aws::Map< Aws::String, Aws::String > &value)
GetIntegrationResponseResult & WithIntegrationResponseId(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetResponseParameters() const
GetIntegrationResponseResult & WithIntegrationResponseKey(const char *value)
void SetContentHandlingStrategy(const ContentHandlingStrategy &value)
GetIntegrationResponseResult & AddResponseTemplates(const char *key, Aws::String &&value)
GetIntegrationResponseResult & AddResponseParameters(Aws::String &&key, const char *value)
GetIntegrationResponseResult & AddResponseTemplates(Aws::String &&key, const Aws::String &value)
GetIntegrationResponseResult & WithTemplateSelectionExpression(const Aws::String &value)
AWS_APIGATEWAYV2_API GetIntegrationResponseResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetIntegrationResponseResult & AddResponseParameters(const char *key, const char *value)
GetIntegrationResponseResult & AddResponseTemplates(const Aws::String &key, Aws::String &&value)
GetIntegrationResponseResult & WithTemplateSelectionExpression(Aws::String &&value)
GetIntegrationResponseResult & AddResponseTemplates(Aws::String &&key, Aws::String &&value)
GetIntegrationResponseResult & AddResponseParameters(Aws::String &&key, Aws::String &&value)
GetIntegrationResponseResult & WithTemplateSelectionExpression(const char *value)
GetIntegrationResponseResult & AddResponseParameters(const Aws::String &key, const Aws::String &value)
GetIntegrationResponseResult & AddResponseTemplates(const Aws::String &key, const Aws::String &value)
GetIntegrationResponseResult & WithIntegrationResponseKey(const Aws::String &value)
GetIntegrationResponseResult & WithContentHandlingStrategy(const ContentHandlingStrategy &value)
GetIntegrationResponseResult & WithIntegrationResponseId(Aws::String &&value)
GetIntegrationResponseResult & WithResponseParameters(const Aws::Map< Aws::String, Aws::String > &value)
GetIntegrationResponseResult & WithIntegrationResponseId(const Aws::String &value)
GetIntegrationResponseResult & WithRequestId(Aws::String &&value)
GetIntegrationResponseResult & WithIntegrationResponseKey(Aws::String &&value)
void SetResponseParameters(Aws::Map< Aws::String, Aws::String > &&value)
const ContentHandlingStrategy & GetContentHandlingStrategy() const
GetIntegrationResponseResult & WithRequestId(const char *value)
GetIntegrationResponseResult & AddResponseParameters(const Aws::String &key, Aws::String &&value)
GetIntegrationResponseResult & AddResponseTemplates(Aws::String &&key, const char *value)
GetIntegrationResponseResult & WithResponseParameters(Aws::Map< Aws::String, Aws::String > &&value)
GetIntegrationResponseResult & WithContentHandlingStrategy(ContentHandlingStrategy &&value)
GetIntegrationResponseResult & WithResponseTemplates(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