AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateIntegrationResponseRequest.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
28 {
29 public:
30 AWS_APIGATEWAYV2_API CreateIntegrationResponseRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "CreateIntegrationResponse"; }
37
38 AWS_APIGATEWAYV2_API Aws::String SerializePayload() const override;
39
40
42
45 inline const Aws::String& GetApiId() const{ return m_apiId; }
46 inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; }
47 inline void SetApiId(const Aws::String& value) { m_apiIdHasBeenSet = true; m_apiId = value; }
48 inline void SetApiId(Aws::String&& value) { m_apiIdHasBeenSet = true; m_apiId = std::move(value); }
49 inline void SetApiId(const char* value) { m_apiIdHasBeenSet = true; m_apiId.assign(value); }
50 inline CreateIntegrationResponseRequest& WithApiId(const Aws::String& value) { SetApiId(value); return *this;}
51 inline CreateIntegrationResponseRequest& WithApiId(Aws::String&& value) { SetApiId(std::move(value)); return *this;}
52 inline CreateIntegrationResponseRequest& WithApiId(const char* value) { SetApiId(value); return *this;}
54
56
66 inline const ContentHandlingStrategy& GetContentHandlingStrategy() const{ return m_contentHandlingStrategy; }
67 inline bool ContentHandlingStrategyHasBeenSet() const { return m_contentHandlingStrategyHasBeenSet; }
68 inline void SetContentHandlingStrategy(const ContentHandlingStrategy& value) { m_contentHandlingStrategyHasBeenSet = true; m_contentHandlingStrategy = value; }
69 inline void SetContentHandlingStrategy(ContentHandlingStrategy&& value) { m_contentHandlingStrategyHasBeenSet = true; m_contentHandlingStrategy = std::move(value); }
73
75
78 inline const Aws::String& GetIntegrationId() const{ return m_integrationId; }
79 inline bool IntegrationIdHasBeenSet() const { return m_integrationIdHasBeenSet; }
80 inline void SetIntegrationId(const Aws::String& value) { m_integrationIdHasBeenSet = true; m_integrationId = value; }
81 inline void SetIntegrationId(Aws::String&& value) { m_integrationIdHasBeenSet = true; m_integrationId = std::move(value); }
82 inline void SetIntegrationId(const char* value) { m_integrationIdHasBeenSet = true; m_integrationId.assign(value); }
84 inline CreateIntegrationResponseRequest& WithIntegrationId(Aws::String&& value) { SetIntegrationId(std::move(value)); return *this;}
85 inline CreateIntegrationResponseRequest& WithIntegrationId(const char* value) { SetIntegrationId(value); return *this;}
87
89
92 inline const Aws::String& GetIntegrationResponseKey() const{ return m_integrationResponseKey; }
93 inline bool IntegrationResponseKeyHasBeenSet() const { return m_integrationResponseKeyHasBeenSet; }
94 inline void SetIntegrationResponseKey(const Aws::String& value) { m_integrationResponseKeyHasBeenSet = true; m_integrationResponseKey = value; }
95 inline void SetIntegrationResponseKey(Aws::String&& value) { m_integrationResponseKeyHasBeenSet = true; m_integrationResponseKey = std::move(value); }
96 inline void SetIntegrationResponseKey(const char* value) { m_integrationResponseKeyHasBeenSet = true; m_integrationResponseKey.assign(value); }
101
103
116 inline const Aws::Map<Aws::String, Aws::String>& GetResponseParameters() const{ return m_responseParameters; }
117 inline bool ResponseParametersHasBeenSet() const { return m_responseParametersHasBeenSet; }
118 inline void SetResponseParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_responseParametersHasBeenSet = true; m_responseParameters = value; }
119 inline void SetResponseParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_responseParametersHasBeenSet = true; m_responseParameters = std::move(value); }
122 inline CreateIntegrationResponseRequest& AddResponseParameters(const Aws::String& key, const Aws::String& value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(key, value); return *this; }
123 inline CreateIntegrationResponseRequest& AddResponseParameters(Aws::String&& key, const Aws::String& value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(std::move(key), value); return *this; }
124 inline CreateIntegrationResponseRequest& AddResponseParameters(const Aws::String& key, Aws::String&& value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(key, std::move(value)); return *this; }
125 inline CreateIntegrationResponseRequest& AddResponseParameters(Aws::String&& key, Aws::String&& value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(std::move(key), std::move(value)); return *this; }
126 inline CreateIntegrationResponseRequest& AddResponseParameters(const char* key, Aws::String&& value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(key, std::move(value)); return *this; }
127 inline CreateIntegrationResponseRequest& AddResponseParameters(Aws::String&& key, const char* value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(std::move(key), value); return *this; }
128 inline CreateIntegrationResponseRequest& AddResponseParameters(const char* key, const char* value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(key, value); return *this; }
130
132
137 inline const Aws::Map<Aws::String, Aws::String>& GetResponseTemplates() const{ return m_responseTemplates; }
138 inline bool ResponseTemplatesHasBeenSet() const { return m_responseTemplatesHasBeenSet; }
139 inline void SetResponseTemplates(const Aws::Map<Aws::String, Aws::String>& value) { m_responseTemplatesHasBeenSet = true; m_responseTemplates = value; }
140 inline void SetResponseTemplates(Aws::Map<Aws::String, Aws::String>&& value) { m_responseTemplatesHasBeenSet = true; m_responseTemplates = std::move(value); }
143 inline CreateIntegrationResponseRequest& AddResponseTemplates(const Aws::String& key, const Aws::String& value) { m_responseTemplatesHasBeenSet = true; m_responseTemplates.emplace(key, value); return *this; }
144 inline CreateIntegrationResponseRequest& AddResponseTemplates(Aws::String&& key, const Aws::String& value) { m_responseTemplatesHasBeenSet = true; m_responseTemplates.emplace(std::move(key), value); return *this; }
145 inline CreateIntegrationResponseRequest& AddResponseTemplates(const Aws::String& key, Aws::String&& value) { m_responseTemplatesHasBeenSet = true; m_responseTemplates.emplace(key, std::move(value)); return *this; }
146 inline CreateIntegrationResponseRequest& AddResponseTemplates(Aws::String&& key, Aws::String&& value) { m_responseTemplatesHasBeenSet = true; m_responseTemplates.emplace(std::move(key), std::move(value)); return *this; }
147 inline CreateIntegrationResponseRequest& AddResponseTemplates(const char* key, Aws::String&& value) { m_responseTemplatesHasBeenSet = true; m_responseTemplates.emplace(key, std::move(value)); return *this; }
148 inline CreateIntegrationResponseRequest& AddResponseTemplates(Aws::String&& key, const char* value) { m_responseTemplatesHasBeenSet = true; m_responseTemplates.emplace(std::move(key), value); return *this; }
149 inline CreateIntegrationResponseRequest& AddResponseTemplates(const char* key, const char* value) { m_responseTemplatesHasBeenSet = true; m_responseTemplates.emplace(key, value); return *this; }
151
153
157 inline const Aws::String& GetTemplateSelectionExpression() const{ return m_templateSelectionExpression; }
158 inline bool TemplateSelectionExpressionHasBeenSet() const { return m_templateSelectionExpressionHasBeenSet; }
159 inline void SetTemplateSelectionExpression(const Aws::String& value) { m_templateSelectionExpressionHasBeenSet = true; m_templateSelectionExpression = value; }
160 inline void SetTemplateSelectionExpression(Aws::String&& value) { m_templateSelectionExpressionHasBeenSet = true; m_templateSelectionExpression = std::move(value); }
161 inline void SetTemplateSelectionExpression(const char* value) { m_templateSelectionExpressionHasBeenSet = true; m_templateSelectionExpression.assign(value); }
166 private:
167
168 Aws::String m_apiId;
169 bool m_apiIdHasBeenSet = false;
170
171 ContentHandlingStrategy m_contentHandlingStrategy;
172 bool m_contentHandlingStrategyHasBeenSet = false;
173
174 Aws::String m_integrationId;
175 bool m_integrationIdHasBeenSet = false;
176
177 Aws::String m_integrationResponseKey;
178 bool m_integrationResponseKeyHasBeenSet = false;
179
180 Aws::Map<Aws::String, Aws::String> m_responseParameters;
181 bool m_responseParametersHasBeenSet = false;
182
183 Aws::Map<Aws::String, Aws::String> m_responseTemplates;
184 bool m_responseTemplatesHasBeenSet = false;
185
186 Aws::String m_templateSelectionExpression;
187 bool m_templateSelectionExpressionHasBeenSet = false;
188 };
189
190} // namespace Model
191} // namespace ApiGatewayV2
192} // namespace Aws
CreateIntegrationResponseRequest & WithIntegrationResponseKey(const Aws::String &value)
CreateIntegrationResponseRequest & WithIntegrationId(const char *value)
AWS_APIGATEWAYV2_API Aws::String SerializePayload() const override
const Aws::Map< Aws::String, Aws::String > & GetResponseTemplates() const
void SetResponseTemplates(const Aws::Map< Aws::String, Aws::String > &value)
CreateIntegrationResponseRequest & WithResponseTemplates(const Aws::Map< Aws::String, Aws::String > &value)
CreateIntegrationResponseRequest & WithApiId(Aws::String &&value)
CreateIntegrationResponseRequest & WithApiId(const Aws::String &value)
CreateIntegrationResponseRequest & WithTemplateSelectionExpression(const char *value)
CreateIntegrationResponseRequest & WithResponseTemplates(Aws::Map< Aws::String, Aws::String > &&value)
CreateIntegrationResponseRequest & WithResponseParameters(const Aws::Map< Aws::String, Aws::String > &value)
CreateIntegrationResponseRequest & AddResponseTemplates(Aws::String &&key, const char *value)
CreateIntegrationResponseRequest & WithApiId(const char *value)
CreateIntegrationResponseRequest & AddResponseParameters(const char *key, Aws::String &&value)
CreateIntegrationResponseRequest & AddResponseTemplates(const Aws::String &key, const Aws::String &value)
CreateIntegrationResponseRequest & AddResponseParameters(Aws::String &&key, Aws::String &&value)
CreateIntegrationResponseRequest & WithTemplateSelectionExpression(Aws::String &&value)
CreateIntegrationResponseRequest & AddResponseTemplates(const char *key, const char *value)
void SetResponseTemplates(Aws::Map< Aws::String, Aws::String > &&value)
CreateIntegrationResponseRequest & AddResponseParameters(const Aws::String &key, const Aws::String &value)
CreateIntegrationResponseRequest & WithIntegrationResponseKey(Aws::String &&value)
CreateIntegrationResponseRequest & WithIntegrationId(Aws::String &&value)
CreateIntegrationResponseRequest & AddResponseParameters(const Aws::String &key, Aws::String &&value)
CreateIntegrationResponseRequest & WithIntegrationId(const Aws::String &value)
CreateIntegrationResponseRequest & AddResponseTemplates(Aws::String &&key, const Aws::String &value)
CreateIntegrationResponseRequest & AddResponseParameters(Aws::String &&key, const Aws::String &value)
CreateIntegrationResponseRequest & AddResponseTemplates(const char *key, Aws::String &&value)
CreateIntegrationResponseRequest & WithResponseParameters(Aws::Map< Aws::String, Aws::String > &&value)
void SetResponseParameters(const Aws::Map< Aws::String, Aws::String > &value)
CreateIntegrationResponseRequest & WithIntegrationResponseKey(const char *value)
CreateIntegrationResponseRequest & WithContentHandlingStrategy(ContentHandlingStrategy &&value)
CreateIntegrationResponseRequest & WithContentHandlingStrategy(const ContentHandlingStrategy &value)
CreateIntegrationResponseRequest & AddResponseParameters(Aws::String &&key, const char *value)
CreateIntegrationResponseRequest & AddResponseTemplates(const Aws::String &key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetResponseParameters() const
CreateIntegrationResponseRequest & AddResponseParameters(const char *key, const char *value)
void SetResponseParameters(Aws::Map< Aws::String, Aws::String > &&value)
CreateIntegrationResponseRequest & AddResponseTemplates(Aws::String &&key, Aws::String &&value)
CreateIntegrationResponseRequest & WithTemplateSelectionExpression(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