7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/apigatewayv2/model/ConnectionType.h>
9#include <aws/apigatewayv2/model/ContentHandlingStrategy.h>
10#include <aws/apigatewayv2/model/IntegrationType.h>
11#include <aws/apigatewayv2/model/PassthroughBehavior.h>
12#include <aws/apigatewayv2/model/TlsConfig.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
25namespace ApiGatewayV2 {
49 m_apiGatewayManagedHasBeenSet =
true;
50 m_apiGatewayManaged = value;
65 template <
typename ConnectionIdT = Aws::String>
67 m_connectionIdHasBeenSet =
true;
68 m_connectionId = std::forward<ConnectionIdT>(value);
70 template <
typename ConnectionIdT = Aws::String>
87 m_connectionTypeHasBeenSet =
true;
88 m_connectionType = value;
110 m_contentHandlingStrategyHasBeenSet =
true;
111 m_contentHandlingStrategy = value;
130 template <
typename CredentialsArnT = Aws::String>
132 m_credentialsArnHasBeenSet =
true;
133 m_credentialsArn = std::forward<CredentialsArnT>(value);
135 template <
typename CredentialsArnT = Aws::String>
148 template <
typename DescriptionT = Aws::String>
150 m_descriptionHasBeenSet =
true;
151 m_description = std::forward<DescriptionT>(value);
153 template <
typename DescriptionT = Aws::String>
166 template <
typename IntegrationIdT = Aws::String>
168 m_integrationIdHasBeenSet =
true;
169 m_integrationId = std::forward<IntegrationIdT>(value);
171 template <
typename IntegrationIdT = Aws::String>
184 template <
typename IntegrationMethodT = Aws::String>
186 m_integrationMethodHasBeenSet =
true;
187 m_integrationMethod = std::forward<IntegrationMethodT>(value);
189 template <
typename IntegrationMethodT = Aws::String>
205 template <
typename IntegrationResponseSelectionExpressionT = Aws::String>
207 m_integrationResponseSelectionExpressionHasBeenSet =
true;
208 m_integrationResponseSelectionExpression = std::forward<IntegrationResponseSelectionExpressionT>(value);
210 template <
typename IntegrationResponseSelectionExpressionT = Aws::String>
226 template <
typename IntegrationSubtypeT = Aws::String>
228 m_integrationSubtypeHasBeenSet =
true;
229 m_integrationSubtype = std::forward<IntegrationSubtypeT>(value);
231 template <
typename IntegrationSubtypeT = Aws::String>
259 m_integrationTypeHasBeenSet =
true;
260 m_integrationType = value;
282 template <
typename IntegrationUriT = Aws::String>
284 m_integrationUriHasBeenSet =
true;
285 m_integrationUri = std::forward<IntegrationUriT>(value);
287 template <
typename IntegrationUriT = Aws::String>
311 m_passthroughBehaviorHasBeenSet =
true;
312 m_passthroughBehavior = value;
330 template <
typename PayloadFormatVersionT = Aws::String>
332 m_payloadFormatVersionHasBeenSet =
true;
333 m_payloadFormatVersion = std::forward<PayloadFormatVersionT>(value);
335 template <
typename PayloadFormatVersionT = Aws::String>
378 template <
typename RequestParametersT = Aws::Map<Aws::String, Aws::String>>
380 m_requestParametersHasBeenSet =
true;
381 m_requestParameters = std::forward<RequestParametersT>(value);
383 template <
typename RequestParametersT = Aws::Map<Aws::String, Aws::String>>
388 template <
typename RequestParametersKeyT = Aws::String,
typename RequestParametersValueT = Aws::String>
390 m_requestParametersHasBeenSet =
true;
391 m_requestParameters.emplace(std::forward<RequestParametersKeyT>(key), std::forward<RequestParametersValueT>(value));
405 template <
typename RequestTemplatesT = Aws::Map<Aws::String, Aws::String>>
407 m_requestTemplatesHasBeenSet =
true;
408 m_requestTemplates = std::forward<RequestTemplatesT>(value);
410 template <
typename RequestTemplatesT = Aws::Map<Aws::String, Aws::String>>
415 template <
typename RequestTemplatesKeyT = Aws::String,
typename RequestTemplatesValueT = Aws::String>
417 m_requestTemplatesHasBeenSet =
true;
418 m_requestTemplates.emplace(std::forward<RequestTemplatesKeyT>(key), std::forward<RequestTemplatesValueT>(value));
439 template <
typename ResponseParametersT = Aws::Map<Aws::String, Aws::Map<Aws::String, Aws::String>>>
441 m_responseParametersHasBeenSet =
true;
442 m_responseParameters = std::forward<ResponseParametersT>(value);
444 template <
typename ResponseParametersT = Aws::Map<Aws::String, Aws::Map<Aws::String, Aws::String>>>
449 template <
typename ResponseParametersKeyT = Aws::String,
typename ResponseParametersValueT = Aws::Map<Aws::String, Aws::String>>
451 m_responseParametersHasBeenSet =
true;
452 m_responseParameters.emplace(std::forward<ResponseParametersKeyT>(key), std::forward<ResponseParametersValueT>(value));
464 template <
typename TemplateSelectionExpressionT = Aws::String>
466 m_templateSelectionExpressionHasBeenSet =
true;
467 m_templateSelectionExpression = std::forward<TemplateSelectionExpressionT>(value);
469 template <
typename TemplateSelectionExpressionT = Aws::String>
485 m_timeoutInMillisHasBeenSet =
true;
486 m_timeoutInMillis = value;
502 template <
typename TlsConfigT = TlsConfig>
504 m_tlsConfigHasBeenSet =
true;
505 m_tlsConfig = std::forward<TlsConfigT>(value);
507 template <
typename TlsConfigT = TlsConfig>
514 bool m_apiGatewayManaged{
false};
530 Aws::String m_integrationResponseSelectionExpression;
550 int m_timeoutInMillis{0};
552 TlsConfig m_tlsConfig;
553 bool m_apiGatewayManagedHasBeenSet =
false;
554 bool m_connectionIdHasBeenSet =
false;
555 bool m_connectionTypeHasBeenSet =
false;
556 bool m_contentHandlingStrategyHasBeenSet =
false;
557 bool m_credentialsArnHasBeenSet =
false;
558 bool m_descriptionHasBeenSet =
false;
559 bool m_integrationIdHasBeenSet =
false;
560 bool m_integrationMethodHasBeenSet =
false;
561 bool m_integrationResponseSelectionExpressionHasBeenSet =
false;
562 bool m_integrationSubtypeHasBeenSet =
false;
563 bool m_integrationTypeHasBeenSet =
false;
564 bool m_integrationUriHasBeenSet =
false;
565 bool m_passthroughBehaviorHasBeenSet =
false;
566 bool m_payloadFormatVersionHasBeenSet =
false;
567 bool m_requestParametersHasBeenSet =
false;
568 bool m_requestTemplatesHasBeenSet =
false;
569 bool m_responseParametersHasBeenSet =
false;
570 bool m_templateSelectionExpressionHasBeenSet =
false;
571 bool m_timeoutInMillisHasBeenSet =
false;
572 bool m_tlsConfigHasBeenSet =
false;
Integration & WithConnectionType(ConnectionType value)
void SetRequestTemplates(RequestTemplatesT &&value)
bool CredentialsArnHasBeenSet() const
bool TimeoutInMillisHasBeenSet() const
Integration & WithCredentialsArn(CredentialsArnT &&value)
const Aws::String & GetPayloadFormatVersion() const
void SetIntegrationType(IntegrationType value)
const Aws::String & GetCredentialsArn() const
Integration & WithConnectionId(ConnectionIdT &&value)
Integration & WithIntegrationId(IntegrationIdT &&value)
void SetIntegrationMethod(IntegrationMethodT &&value)
void SetConnectionId(ConnectionIdT &&value)
bool IntegrationResponseSelectionExpressionHasBeenSet() const
Integration & WithTimeoutInMillis(int value)
void SetIntegrationId(IntegrationIdT &&value)
Integration & WithRequestTemplates(RequestTemplatesT &&value)
ContentHandlingStrategy GetContentHandlingStrategy() const
const Aws::String & GetIntegrationUri() const
Integration & WithDescription(DescriptionT &&value)
ConnectionType GetConnectionType() const
bool DescriptionHasBeenSet() const
bool IntegrationMethodHasBeenSet() const
bool PayloadFormatVersionHasBeenSet() const
const Aws::String & GetDescription() const
Integration & WithIntegrationSubtype(IntegrationSubtypeT &&value)
IntegrationType GetIntegrationType() const
const TlsConfig & GetTlsConfig() const
bool ResponseParametersHasBeenSet() const
void SetTimeoutInMillis(int value)
bool ContentHandlingStrategyHasBeenSet() const
void SetApiGatewayManaged(bool value)
AWS_APIGATEWAYV2_API Integration()=default
Integration & WithRequestParameters(RequestParametersT &&value)
Integration & AddRequestParameters(RequestParametersKeyT &&key, RequestParametersValueT &&value)
void SetIntegrationUri(IntegrationUriT &&value)
bool TlsConfigHasBeenSet() const
Integration & WithTlsConfig(TlsConfigT &&value)
bool IntegrationTypeHasBeenSet() const
const Aws::Map< Aws::String, Aws::Map< Aws::String, Aws::String > > & GetResponseParameters() const
const Aws::String & GetIntegrationSubtype() const
bool TemplateSelectionExpressionHasBeenSet() const
bool RequestParametersHasBeenSet() const
void SetCredentialsArn(CredentialsArnT &&value)
bool PassthroughBehaviorHasBeenSet() const
Integration & WithIntegrationType(IntegrationType value)
void SetIntegrationResponseSelectionExpression(IntegrationResponseSelectionExpressionT &&value)
void SetContentHandlingStrategy(ContentHandlingStrategy value)
void SetTlsConfig(TlsConfigT &&value)
Integration & WithContentHandlingStrategy(ContentHandlingStrategy value)
void SetPayloadFormatVersion(PayloadFormatVersionT &&value)
int GetTimeoutInMillis() const
AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APIGATEWAYV2_API Integration(Aws::Utils::Json::JsonView jsonValue)
bool GetApiGatewayManaged() const
bool ConnectionTypeHasBeenSet() const
Integration & WithPayloadFormatVersion(PayloadFormatVersionT &&value)
void SetResponseParameters(ResponseParametersT &&value)
bool IntegrationSubtypeHasBeenSet() const
void SetRequestParameters(RequestParametersT &&value)
Integration & WithTemplateSelectionExpression(TemplateSelectionExpressionT &&value)
const Aws::String & GetIntegrationMethod() const
bool ApiGatewayManagedHasBeenSet() const
Integration & WithIntegrationMethod(IntegrationMethodT &&value)
void SetConnectionType(ConnectionType value)
Integration & WithApiGatewayManaged(bool value)
Integration & WithPassthroughBehavior(PassthroughBehavior value)
void SetTemplateSelectionExpression(TemplateSelectionExpressionT &&value)
Integration & WithIntegrationResponseSelectionExpression(IntegrationResponseSelectionExpressionT &&value)
Integration & AddRequestTemplates(RequestTemplatesKeyT &&key, RequestTemplatesValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetRequestTemplates() const
const Aws::String & GetIntegrationId() const
void SetPassthroughBehavior(PassthroughBehavior value)
void SetIntegrationSubtype(IntegrationSubtypeT &&value)
Integration & AddResponseParameters(ResponseParametersKeyT &&key, ResponseParametersValueT &&value)
const Aws::String & GetTemplateSelectionExpression() const
PassthroughBehavior GetPassthroughBehavior() const
bool RequestTemplatesHasBeenSet() const
bool ConnectionIdHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetRequestParameters() const
Integration & WithResponseParameters(ResponseParametersT &&value)
const Aws::String & GetConnectionId() const
AWS_APIGATEWAYV2_API Integration & operator=(Aws::Utils::Json::JsonView jsonValue)
bool IntegrationUriHasBeenSet() const
bool IntegrationIdHasBeenSet() const
const Aws::String & GetIntegrationResponseSelectionExpression() const
Integration & WithIntegrationUri(IntegrationUriT &&value)
void SetDescription(DescriptionT &&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