AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IntegrationResponse.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{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ApiGatewayV2
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_APIGATEWAYV2_API IntegrationResponse();
37 AWS_APIGATEWAYV2_API IntegrationResponse(Aws::Utils::Json::JsonView jsonValue);
39 AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
53 inline const ContentHandlingStrategy& GetContentHandlingStrategy() const{ return m_contentHandlingStrategy; }
54 inline bool ContentHandlingStrategyHasBeenSet() const { return m_contentHandlingStrategyHasBeenSet; }
55 inline void SetContentHandlingStrategy(const ContentHandlingStrategy& value) { m_contentHandlingStrategyHasBeenSet = true; m_contentHandlingStrategy = value; }
56 inline void SetContentHandlingStrategy(ContentHandlingStrategy&& value) { m_contentHandlingStrategyHasBeenSet = true; m_contentHandlingStrategy = std::move(value); }
60
62
65 inline const Aws::String& GetIntegrationResponseId() const{ return m_integrationResponseId; }
66 inline bool IntegrationResponseIdHasBeenSet() const { return m_integrationResponseIdHasBeenSet; }
67 inline void SetIntegrationResponseId(const Aws::String& value) { m_integrationResponseIdHasBeenSet = true; m_integrationResponseId = value; }
68 inline void SetIntegrationResponseId(Aws::String&& value) { m_integrationResponseIdHasBeenSet = true; m_integrationResponseId = std::move(value); }
69 inline void SetIntegrationResponseId(const char* value) { m_integrationResponseIdHasBeenSet = true; m_integrationResponseId.assign(value); }
71 inline IntegrationResponse& WithIntegrationResponseId(Aws::String&& value) { SetIntegrationResponseId(std::move(value)); return *this;}
72 inline IntegrationResponse& WithIntegrationResponseId(const char* value) { SetIntegrationResponseId(value); return *this;}
74
76
79 inline const Aws::String& GetIntegrationResponseKey() const{ return m_integrationResponseKey; }
80 inline bool IntegrationResponseKeyHasBeenSet() const { return m_integrationResponseKeyHasBeenSet; }
81 inline void SetIntegrationResponseKey(const Aws::String& value) { m_integrationResponseKeyHasBeenSet = true; m_integrationResponseKey = value; }
82 inline void SetIntegrationResponseKey(Aws::String&& value) { m_integrationResponseKeyHasBeenSet = true; m_integrationResponseKey = std::move(value); }
83 inline void SetIntegrationResponseKey(const char* value) { m_integrationResponseKeyHasBeenSet = true; m_integrationResponseKey.assign(value); }
85 inline IntegrationResponse& WithIntegrationResponseKey(Aws::String&& value) { SetIntegrationResponseKey(std::move(value)); return *this;}
86 inline IntegrationResponse& WithIntegrationResponseKey(const char* value) { SetIntegrationResponseKey(value); return *this;}
88
90
103 inline const Aws::Map<Aws::String, Aws::String>& GetResponseParameters() const{ return m_responseParameters; }
104 inline bool ResponseParametersHasBeenSet() const { return m_responseParametersHasBeenSet; }
105 inline void SetResponseParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_responseParametersHasBeenSet = true; m_responseParameters = value; }
106 inline void SetResponseParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_responseParametersHasBeenSet = true; m_responseParameters = std::move(value); }
109 inline IntegrationResponse& AddResponseParameters(const Aws::String& key, const Aws::String& value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(key, value); return *this; }
110 inline IntegrationResponse& AddResponseParameters(Aws::String&& key, const Aws::String& value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(std::move(key), value); return *this; }
111 inline IntegrationResponse& AddResponseParameters(const Aws::String& key, Aws::String&& value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(key, std::move(value)); return *this; }
112 inline IntegrationResponse& AddResponseParameters(Aws::String&& key, Aws::String&& value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(std::move(key), std::move(value)); return *this; }
113 inline IntegrationResponse& AddResponseParameters(const char* key, Aws::String&& value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(key, std::move(value)); return *this; }
114 inline IntegrationResponse& AddResponseParameters(Aws::String&& key, const char* value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(std::move(key), value); return *this; }
115 inline IntegrationResponse& AddResponseParameters(const char* key, const char* value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(key, value); return *this; }
117
119
124 inline const Aws::Map<Aws::String, Aws::String>& GetResponseTemplates() const{ return m_responseTemplates; }
125 inline bool ResponseTemplatesHasBeenSet() const { return m_responseTemplatesHasBeenSet; }
126 inline void SetResponseTemplates(const Aws::Map<Aws::String, Aws::String>& value) { m_responseTemplatesHasBeenSet = true; m_responseTemplates = value; }
127 inline void SetResponseTemplates(Aws::Map<Aws::String, Aws::String>&& value) { m_responseTemplatesHasBeenSet = true; m_responseTemplates = std::move(value); }
130 inline IntegrationResponse& AddResponseTemplates(const Aws::String& key, const Aws::String& value) { m_responseTemplatesHasBeenSet = true; m_responseTemplates.emplace(key, value); return *this; }
131 inline IntegrationResponse& AddResponseTemplates(Aws::String&& key, const Aws::String& value) { m_responseTemplatesHasBeenSet = true; m_responseTemplates.emplace(std::move(key), value); return *this; }
132 inline IntegrationResponse& AddResponseTemplates(const Aws::String& key, Aws::String&& value) { m_responseTemplatesHasBeenSet = true; m_responseTemplates.emplace(key, std::move(value)); return *this; }
133 inline IntegrationResponse& AddResponseTemplates(Aws::String&& key, Aws::String&& value) { m_responseTemplatesHasBeenSet = true; m_responseTemplates.emplace(std::move(key), std::move(value)); return *this; }
134 inline IntegrationResponse& AddResponseTemplates(const char* key, Aws::String&& value) { m_responseTemplatesHasBeenSet = true; m_responseTemplates.emplace(key, std::move(value)); return *this; }
135 inline IntegrationResponse& AddResponseTemplates(Aws::String&& key, const char* value) { m_responseTemplatesHasBeenSet = true; m_responseTemplates.emplace(std::move(key), value); return *this; }
136 inline IntegrationResponse& AddResponseTemplates(const char* key, const char* value) { m_responseTemplatesHasBeenSet = true; m_responseTemplates.emplace(key, value); return *this; }
138
140
143 inline const Aws::String& GetTemplateSelectionExpression() const{ return m_templateSelectionExpression; }
144 inline bool TemplateSelectionExpressionHasBeenSet() const { return m_templateSelectionExpressionHasBeenSet; }
145 inline void SetTemplateSelectionExpression(const Aws::String& value) { m_templateSelectionExpressionHasBeenSet = true; m_templateSelectionExpression = value; }
146 inline void SetTemplateSelectionExpression(Aws::String&& value) { m_templateSelectionExpressionHasBeenSet = true; m_templateSelectionExpression = std::move(value); }
147 inline void SetTemplateSelectionExpression(const char* value) { m_templateSelectionExpressionHasBeenSet = true; m_templateSelectionExpression.assign(value); }
152 private:
153
154 ContentHandlingStrategy m_contentHandlingStrategy;
155 bool m_contentHandlingStrategyHasBeenSet = false;
156
157 Aws::String m_integrationResponseId;
158 bool m_integrationResponseIdHasBeenSet = false;
159
160 Aws::String m_integrationResponseKey;
161 bool m_integrationResponseKeyHasBeenSet = false;
162
163 Aws::Map<Aws::String, Aws::String> m_responseParameters;
164 bool m_responseParametersHasBeenSet = false;
165
166 Aws::Map<Aws::String, Aws::String> m_responseTemplates;
167 bool m_responseTemplatesHasBeenSet = false;
168
169 Aws::String m_templateSelectionExpression;
170 bool m_templateSelectionExpressionHasBeenSet = false;
171 };
172
173} // namespace Model
174} // namespace ApiGatewayV2
175} // namespace Aws
IntegrationResponse & AddResponseTemplates(const char *key, const char *value)
IntegrationResponse & AddResponseTemplates(const Aws::String &key, Aws::String &&value)
IntegrationResponse & WithResponseParameters(Aws::Map< Aws::String, Aws::String > &&value)
IntegrationResponse & AddResponseTemplates(Aws::String &&key, const Aws::String &value)
IntegrationResponse & AddResponseTemplates(const char *key, Aws::String &&value)
void SetResponseParameters(Aws::Map< Aws::String, Aws::String > &&value)
IntegrationResponse & WithContentHandlingStrategy(const ContentHandlingStrategy &value)
void SetIntegrationResponseId(const Aws::String &value)
AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const
IntegrationResponse & WithTemplateSelectionExpression(const Aws::String &value)
IntegrationResponse & AddResponseTemplates(Aws::String &&key, const char *value)
void SetIntegrationResponseKey(const Aws::String &value)
IntegrationResponse & WithResponseParameters(const Aws::Map< Aws::String, Aws::String > &value)
IntegrationResponse & WithIntegrationResponseKey(Aws::String &&value)
IntegrationResponse & AddResponseParameters(const Aws::String &key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetResponseTemplates() const
IntegrationResponse & WithResponseTemplates(const Aws::Map< Aws::String, Aws::String > &value)
void SetTemplateSelectionExpression(const Aws::String &value)
IntegrationResponse & AddResponseParameters(const char *key, const char *value)
IntegrationResponse & AddResponseParameters(Aws::String &&key, const Aws::String &value)
void SetContentHandlingStrategy(ContentHandlingStrategy &&value)
const ContentHandlingStrategy & GetContentHandlingStrategy() const
IntegrationResponse & WithTemplateSelectionExpression(Aws::String &&value)
IntegrationResponse & AddResponseParameters(Aws::String &&key, Aws::String &&value)
IntegrationResponse & AddResponseTemplates(Aws::String &&key, Aws::String &&value)
IntegrationResponse & AddResponseParameters(const Aws::String &key, Aws::String &&value)
void SetResponseParameters(const Aws::Map< Aws::String, Aws::String > &value)
void SetResponseTemplates(const Aws::Map< Aws::String, Aws::String > &value)
IntegrationResponse & WithIntegrationResponseId(Aws::String &&value)
IntegrationResponse & WithIntegrationResponseId(const Aws::String &value)
const Aws::String & GetIntegrationResponseKey() const
IntegrationResponse & WithIntegrationResponseId(const char *value)
const Aws::String & GetTemplateSelectionExpression() const
IntegrationResponse & WithTemplateSelectionExpression(const char *value)
IntegrationResponse & WithResponseTemplates(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetResponseParameters() const
void SetContentHandlingStrategy(const ContentHandlingStrategy &value)
AWS_APIGATEWAYV2_API IntegrationResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetResponseTemplates(Aws::Map< Aws::String, Aws::String > &&value)
AWS_APIGATEWAYV2_API IntegrationResponse(Aws::Utils::Json::JsonView jsonValue)
IntegrationResponse & AddResponseParameters(Aws::String &&key, const char *value)
IntegrationResponse & AddResponseParameters(const char *key, Aws::String &&value)
IntegrationResponse & AddResponseTemplates(const Aws::String &key, const Aws::String &value)
IntegrationResponse & WithIntegrationResponseKey(const Aws::String &value)
IntegrationResponse & WithContentHandlingStrategy(ContentHandlingStrategy &&value)
IntegrationResponse & WithIntegrationResponseKey(const char *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