AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateIntegrationResponseResult.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 CreateIntegrationResponseResult();
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); }
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); }
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 CreateIntegrationResponseResult& AddResponseParameters(const Aws::String& key, const Aws::String& value) { m_responseParameters.emplace(key, value); return *this; }
101 inline CreateIntegrationResponseResult& AddResponseParameters(Aws::String&& key, const Aws::String& value) { m_responseParameters.emplace(std::move(key), value); return *this; }
102 inline CreateIntegrationResponseResult& AddResponseParameters(const Aws::String& key, Aws::String&& value) { m_responseParameters.emplace(key, std::move(value)); return *this; }
103 inline CreateIntegrationResponseResult& AddResponseParameters(Aws::String&& key, Aws::String&& value) { m_responseParameters.emplace(std::move(key), std::move(value)); return *this; }
104 inline CreateIntegrationResponseResult& AddResponseParameters(const char* key, Aws::String&& value) { m_responseParameters.emplace(key, std::move(value)); return *this; }
105 inline CreateIntegrationResponseResult& AddResponseParameters(Aws::String&& key, const char* value) { m_responseParameters.emplace(std::move(key), value); return *this; }
106 inline CreateIntegrationResponseResult& 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 CreateIntegrationResponseResult& AddResponseTemplates(const Aws::String& key, const Aws::String& value) { m_responseTemplates.emplace(key, value); return *this; }
121 inline CreateIntegrationResponseResult& AddResponseTemplates(Aws::String&& key, const Aws::String& value) { m_responseTemplates.emplace(std::move(key), value); return *this; }
122 inline CreateIntegrationResponseResult& AddResponseTemplates(const Aws::String& key, Aws::String&& value) { m_responseTemplates.emplace(key, std::move(value)); return *this; }
123 inline CreateIntegrationResponseResult& AddResponseTemplates(Aws::String&& key, Aws::String&& value) { m_responseTemplates.emplace(std::move(key), std::move(value)); return *this; }
124 inline CreateIntegrationResponseResult& AddResponseTemplates(const char* key, Aws::String&& value) { m_responseTemplates.emplace(key, std::move(value)); return *this; }
125 inline CreateIntegrationResponseResult& AddResponseTemplates(Aws::String&& key, const char* value) { m_responseTemplates.emplace(std::move(key), value); return *this; }
126 inline CreateIntegrationResponseResult& 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 CreateIntegrationResponseResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
149 inline CreateIntegrationResponseResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
150 inline CreateIntegrationResponseResult& 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
CreateIntegrationResponseResult & WithTemplateSelectionExpression(Aws::String &&value)
CreateIntegrationResponseResult & WithResponseParameters(Aws::Map< Aws::String, Aws::String > &&value)
CreateIntegrationResponseResult & WithTemplateSelectionExpression(const Aws::String &value)
CreateIntegrationResponseResult & AddResponseTemplates(const char *key, Aws::String &&value)
CreateIntegrationResponseResult & WithResponseTemplates(Aws::Map< Aws::String, Aws::String > &&value)
CreateIntegrationResponseResult & WithContentHandlingStrategy(const ContentHandlingStrategy &value)
void SetResponseParameters(const Aws::Map< Aws::String, Aws::String > &value)
CreateIntegrationResponseResult & WithIntegrationResponseKey(const char *value)
CreateIntegrationResponseResult & AddResponseParameters(Aws::String &&key, const char *value)
CreateIntegrationResponseResult & AddResponseParameters(const Aws::String &key, const Aws::String &value)
CreateIntegrationResponseResult & WithIntegrationResponseId(Aws::String &&value)
AWS_APIGATEWAYV2_API CreateIntegrationResponseResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateIntegrationResponseResult & WithTemplateSelectionExpression(const char *value)
CreateIntegrationResponseResult & WithIntegrationResponseId(const Aws::String &value)
CreateIntegrationResponseResult & WithIntegrationResponseId(const char *value)
CreateIntegrationResponseResult & WithIntegrationResponseKey(Aws::String &&value)
CreateIntegrationResponseResult & WithIntegrationResponseKey(const Aws::String &value)
void SetResponseTemplates(Aws::Map< Aws::String, Aws::String > &&value)
CreateIntegrationResponseResult & AddResponseTemplates(Aws::String &&key, const Aws::String &value)
CreateIntegrationResponseResult & AddResponseTemplates(const Aws::String &key, Aws::String &&value)
CreateIntegrationResponseResult & AddResponseParameters(const char *key, Aws::String &&value)
CreateIntegrationResponseResult & WithRequestId(const char *value)
CreateIntegrationResponseResult & WithResponseTemplates(const Aws::Map< Aws::String, Aws::String > &value)
CreateIntegrationResponseResult & WithRequestId(const Aws::String &value)
CreateIntegrationResponseResult & AddResponseParameters(Aws::String &&key, Aws::String &&value)
CreateIntegrationResponseResult & WithContentHandlingStrategy(ContentHandlingStrategy &&value)
AWS_APIGATEWAYV2_API CreateIntegrationResponseResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Map< Aws::String, Aws::String > & GetResponseTemplates() const
CreateIntegrationResponseResult & WithResponseParameters(const Aws::Map< Aws::String, Aws::String > &value)
CreateIntegrationResponseResult & AddResponseTemplates(const char *key, const char *value)
CreateIntegrationResponseResult & WithRequestId(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetResponseParameters() const
CreateIntegrationResponseResult & AddResponseTemplates(Aws::String &&key, const char *value)
CreateIntegrationResponseResult & AddResponseParameters(const Aws::String &key, Aws::String &&value)
CreateIntegrationResponseResult & AddResponseTemplates(const Aws::String &key, const Aws::String &value)
CreateIntegrationResponseResult & AddResponseTemplates(Aws::String &&key, Aws::String &&value)
CreateIntegrationResponseResult & AddResponseParameters(Aws::String &&key, const Aws::String &value)
void SetResponseParameters(Aws::Map< Aws::String, Aws::String > &&value)
CreateIntegrationResponseResult & AddResponseParameters(const char *key, const char *value)
void SetResponseTemplates(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