AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateIntegrationResponseRequest.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/apigatewayv2/ApiGatewayV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/apigatewayv2/model/ContentHandlingStrategy.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ApiGatewayV2
17{
18namespace Model
19{
20
27 {
28 public:
29 AWS_APIGATEWAYV2_API UpdateIntegrationResponseRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "UpdateIntegrationResponse"; }
36
37 AWS_APIGATEWAYV2_API Aws::String SerializePayload() const override;
38
39
41
44 inline const Aws::String& GetApiId() const{ return m_apiId; }
45 inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; }
46 inline void SetApiId(const Aws::String& value) { m_apiIdHasBeenSet = true; m_apiId = value; }
47 inline void SetApiId(Aws::String&& value) { m_apiIdHasBeenSet = true; m_apiId = std::move(value); }
48 inline void SetApiId(const char* value) { m_apiIdHasBeenSet = true; m_apiId.assign(value); }
49 inline UpdateIntegrationResponseRequest& WithApiId(const Aws::String& value) { SetApiId(value); return *this;}
50 inline UpdateIntegrationResponseRequest& WithApiId(Aws::String&& value) { SetApiId(std::move(value)); return *this;}
51 inline UpdateIntegrationResponseRequest& WithApiId(const char* value) { SetApiId(value); return *this;}
53
55
65 inline const ContentHandlingStrategy& GetContentHandlingStrategy() const{ return m_contentHandlingStrategy; }
66 inline bool ContentHandlingStrategyHasBeenSet() const { return m_contentHandlingStrategyHasBeenSet; }
67 inline void SetContentHandlingStrategy(const ContentHandlingStrategy& value) { m_contentHandlingStrategyHasBeenSet = true; m_contentHandlingStrategy = value; }
68 inline void SetContentHandlingStrategy(ContentHandlingStrategy&& value) { m_contentHandlingStrategyHasBeenSet = true; m_contentHandlingStrategy = std::move(value); }
72
74
77 inline const Aws::String& GetIntegrationId() const{ return m_integrationId; }
78 inline bool IntegrationIdHasBeenSet() const { return m_integrationIdHasBeenSet; }
79 inline void SetIntegrationId(const Aws::String& value) { m_integrationIdHasBeenSet = true; m_integrationId = value; }
80 inline void SetIntegrationId(Aws::String&& value) { m_integrationIdHasBeenSet = true; m_integrationId = std::move(value); }
81 inline void SetIntegrationId(const char* value) { m_integrationIdHasBeenSet = true; m_integrationId.assign(value); }
83 inline UpdateIntegrationResponseRequest& WithIntegrationId(Aws::String&& value) { SetIntegrationId(std::move(value)); return *this;}
84 inline UpdateIntegrationResponseRequest& WithIntegrationId(const char* value) { SetIntegrationId(value); return *this;}
86
88
91 inline const Aws::String& GetIntegrationResponseId() const{ return m_integrationResponseId; }
92 inline bool IntegrationResponseIdHasBeenSet() const { return m_integrationResponseIdHasBeenSet; }
93 inline void SetIntegrationResponseId(const Aws::String& value) { m_integrationResponseIdHasBeenSet = true; m_integrationResponseId = value; }
94 inline void SetIntegrationResponseId(Aws::String&& value) { m_integrationResponseIdHasBeenSet = true; m_integrationResponseId = std::move(value); }
95 inline void SetIntegrationResponseId(const char* value) { m_integrationResponseIdHasBeenSet = true; m_integrationResponseId.assign(value); }
100
102
105 inline const Aws::String& GetIntegrationResponseKey() const{ return m_integrationResponseKey; }
106 inline bool IntegrationResponseKeyHasBeenSet() const { return m_integrationResponseKeyHasBeenSet; }
107 inline void SetIntegrationResponseKey(const Aws::String& value) { m_integrationResponseKeyHasBeenSet = true; m_integrationResponseKey = value; }
108 inline void SetIntegrationResponseKey(Aws::String&& value) { m_integrationResponseKeyHasBeenSet = true; m_integrationResponseKey = std::move(value); }
109 inline void SetIntegrationResponseKey(const char* value) { m_integrationResponseKeyHasBeenSet = true; m_integrationResponseKey.assign(value); }
114
116
138 inline const Aws::Map<Aws::String, Aws::String>& GetResponseParameters() const{ return m_responseParameters; }
139 inline bool ResponseParametersHasBeenSet() const { return m_responseParametersHasBeenSet; }
140 inline void SetResponseParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_responseParametersHasBeenSet = true; m_responseParameters = value; }
141 inline void SetResponseParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_responseParametersHasBeenSet = true; m_responseParameters = std::move(value); }
144 inline UpdateIntegrationResponseRequest& AddResponseParameters(const Aws::String& key, const Aws::String& value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(key, value); return *this; }
145 inline UpdateIntegrationResponseRequest& AddResponseParameters(Aws::String&& key, const Aws::String& value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(std::move(key), value); return *this; }
146 inline UpdateIntegrationResponseRequest& AddResponseParameters(const Aws::String& key, Aws::String&& value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(key, std::move(value)); return *this; }
147 inline UpdateIntegrationResponseRequest& AddResponseParameters(Aws::String&& key, Aws::String&& value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(std::move(key), std::move(value)); return *this; }
148 inline UpdateIntegrationResponseRequest& AddResponseParameters(const char* key, Aws::String&& value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(key, std::move(value)); return *this; }
149 inline UpdateIntegrationResponseRequest& AddResponseParameters(Aws::String&& key, const char* value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(std::move(key), value); return *this; }
150 inline UpdateIntegrationResponseRequest& AddResponseParameters(const char* key, const char* value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(key, value); return *this; }
152
154
159 inline const Aws::Map<Aws::String, Aws::String>& GetResponseTemplates() const{ return m_responseTemplates; }
160 inline bool ResponseTemplatesHasBeenSet() const { return m_responseTemplatesHasBeenSet; }
161 inline void SetResponseTemplates(const Aws::Map<Aws::String, Aws::String>& value) { m_responseTemplatesHasBeenSet = true; m_responseTemplates = value; }
162 inline void SetResponseTemplates(Aws::Map<Aws::String, Aws::String>&& value) { m_responseTemplatesHasBeenSet = true; m_responseTemplates = std::move(value); }
165 inline UpdateIntegrationResponseRequest& AddResponseTemplates(const Aws::String& key, const Aws::String& value) { m_responseTemplatesHasBeenSet = true; m_responseTemplates.emplace(key, value); return *this; }
166 inline UpdateIntegrationResponseRequest& AddResponseTemplates(Aws::String&& key, const Aws::String& value) { m_responseTemplatesHasBeenSet = true; m_responseTemplates.emplace(std::move(key), value); return *this; }
167 inline UpdateIntegrationResponseRequest& AddResponseTemplates(const Aws::String& key, Aws::String&& value) { m_responseTemplatesHasBeenSet = true; m_responseTemplates.emplace(key, std::move(value)); return *this; }
168 inline UpdateIntegrationResponseRequest& AddResponseTemplates(Aws::String&& key, Aws::String&& value) { m_responseTemplatesHasBeenSet = true; m_responseTemplates.emplace(std::move(key), std::move(value)); return *this; }
169 inline UpdateIntegrationResponseRequest& AddResponseTemplates(const char* key, Aws::String&& value) { m_responseTemplatesHasBeenSet = true; m_responseTemplates.emplace(key, std::move(value)); return *this; }
170 inline UpdateIntegrationResponseRequest& AddResponseTemplates(Aws::String&& key, const char* value) { m_responseTemplatesHasBeenSet = true; m_responseTemplates.emplace(std::move(key), value); return *this; }
171 inline UpdateIntegrationResponseRequest& AddResponseTemplates(const char* key, const char* value) { m_responseTemplatesHasBeenSet = true; m_responseTemplates.emplace(key, value); return *this; }
173
175
179 inline const Aws::String& GetTemplateSelectionExpression() const{ return m_templateSelectionExpression; }
180 inline bool TemplateSelectionExpressionHasBeenSet() const { return m_templateSelectionExpressionHasBeenSet; }
181 inline void SetTemplateSelectionExpression(const Aws::String& value) { m_templateSelectionExpressionHasBeenSet = true; m_templateSelectionExpression = value; }
182 inline void SetTemplateSelectionExpression(Aws::String&& value) { m_templateSelectionExpressionHasBeenSet = true; m_templateSelectionExpression = std::move(value); }
183 inline void SetTemplateSelectionExpression(const char* value) { m_templateSelectionExpressionHasBeenSet = true; m_templateSelectionExpression.assign(value); }
188 private:
189
190 Aws::String m_apiId;
191 bool m_apiIdHasBeenSet = false;
192
193 ContentHandlingStrategy m_contentHandlingStrategy;
194 bool m_contentHandlingStrategyHasBeenSet = false;
195
196 Aws::String m_integrationId;
197 bool m_integrationIdHasBeenSet = false;
198
199 Aws::String m_integrationResponseId;
200 bool m_integrationResponseIdHasBeenSet = false;
201
202 Aws::String m_integrationResponseKey;
203 bool m_integrationResponseKeyHasBeenSet = false;
204
205 Aws::Map<Aws::String, Aws::String> m_responseParameters;
206 bool m_responseParametersHasBeenSet = false;
207
208 Aws::Map<Aws::String, Aws::String> m_responseTemplates;
209 bool m_responseTemplatesHasBeenSet = false;
210
211 Aws::String m_templateSelectionExpression;
212 bool m_templateSelectionExpressionHasBeenSet = false;
213 };
214
215} // namespace Model
216} // namespace ApiGatewayV2
217} // namespace Aws
UpdateIntegrationResponseRequest & AddResponseTemplates(Aws::String &&key, const char *value)
UpdateIntegrationResponseRequest & AddResponseParameters(const Aws::String &key, const Aws::String &value)
UpdateIntegrationResponseRequest & AddResponseTemplates(const Aws::String &key, Aws::String &&value)
UpdateIntegrationResponseRequest & AddResponseTemplates(Aws::String &&key, Aws::String &&value)
void SetResponseParameters(Aws::Map< Aws::String, Aws::String > &&value)
UpdateIntegrationResponseRequest & AddResponseTemplates(const char *key, Aws::String &&value)
UpdateIntegrationResponseRequest & AddResponseParameters(Aws::String &&key, Aws::String &&value)
UpdateIntegrationResponseRequest & AddResponseParameters(const char *key, Aws::String &&value)
UpdateIntegrationResponseRequest & WithIntegrationId(Aws::String &&value)
UpdateIntegrationResponseRequest & AddResponseParameters(const char *key, const char *value)
UpdateIntegrationResponseRequest & AddResponseParameters(const Aws::String &key, Aws::String &&value)
UpdateIntegrationResponseRequest & WithIntegrationResponseKey(const char *value)
AWS_APIGATEWAYV2_API Aws::String SerializePayload() const override
UpdateIntegrationResponseRequest & WithIntegrationResponseId(const char *value)
UpdateIntegrationResponseRequest & WithIntegrationId(const char *value)
UpdateIntegrationResponseRequest & WithContentHandlingStrategy(ContentHandlingStrategy &&value)
UpdateIntegrationResponseRequest & WithApiId(Aws::String &&value)
UpdateIntegrationResponseRequest & AddResponseTemplates(Aws::String &&key, const Aws::String &value)
UpdateIntegrationResponseRequest & WithApiId(const char *value)
UpdateIntegrationResponseRequest & WithTemplateSelectionExpression(Aws::String &&value)
void SetResponseTemplates(Aws::Map< Aws::String, Aws::String > &&value)
UpdateIntegrationResponseRequest & AddResponseParameters(Aws::String &&key, const Aws::String &value)
UpdateIntegrationResponseRequest & WithResponseTemplates(Aws::Map< Aws::String, Aws::String > &&value)
UpdateIntegrationResponseRequest & WithResponseParameters(const Aws::Map< Aws::String, Aws::String > &value)
UpdateIntegrationResponseRequest & AddResponseTemplates(const char *key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetResponseParameters() const
UpdateIntegrationResponseRequest & WithIntegrationResponseKey(const Aws::String &value)
UpdateIntegrationResponseRequest & WithIntegrationResponseId(const Aws::String &value)
UpdateIntegrationResponseRequest & WithIntegrationId(const Aws::String &value)
void SetResponseTemplates(const Aws::Map< Aws::String, Aws::String > &value)
UpdateIntegrationResponseRequest & WithIntegrationResponseId(Aws::String &&value)
void SetResponseParameters(const Aws::Map< Aws::String, Aws::String > &value)
UpdateIntegrationResponseRequest & WithIntegrationResponseKey(Aws::String &&value)
UpdateIntegrationResponseRequest & WithTemplateSelectionExpression(const char *value)
UpdateIntegrationResponseRequest & AddResponseParameters(Aws::String &&key, const char *value)
UpdateIntegrationResponseRequest & WithApiId(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetResponseTemplates() const
UpdateIntegrationResponseRequest & WithResponseTemplates(const Aws::Map< Aws::String, Aws::String > &value)
UpdateIntegrationResponseRequest & WithResponseParameters(Aws::Map< Aws::String, Aws::String > &&value)
UpdateIntegrationResponseRequest & WithContentHandlingStrategy(const ContentHandlingStrategy &value)
UpdateIntegrationResponseRequest & WithTemplateSelectionExpression(const Aws::String &value)
UpdateIntegrationResponseRequest & AddResponseTemplates(const Aws::String &key, const 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