7#include <aws/apigatewayv2/ApiGatewayV2Request.h>
8#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
9#include <aws/apigatewayv2/model/ConnectionType.h>
10#include <aws/apigatewayv2/model/ContentHandlingStrategy.h>
11#include <aws/apigatewayv2/model/IntegrationType.h>
12#include <aws/apigatewayv2/model/PassthroughBehavior.h>
13#include <aws/apigatewayv2/model/TlsConfigInput.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
20namespace ApiGatewayV2 {
47 template <
typename ApiIdT = Aws::String>
49 m_apiIdHasBeenSet =
true;
50 m_apiId = std::forward<ApiIdT>(value);
52 template <
typename ApiIdT = Aws::String>
54 SetApiId(std::forward<ApiIdT>(value));
66 template <
typename ConnectionIdT = Aws::String>
68 m_connectionIdHasBeenSet =
true;
69 m_connectionId = std::forward<ConnectionIdT>(value);
71 template <
typename ConnectionIdT = Aws::String>
88 m_connectionTypeHasBeenSet =
true;
89 m_connectionType = value;
111 m_contentHandlingStrategyHasBeenSet =
true;
112 m_contentHandlingStrategy = value;
131 template <
typename CredentialsArnT = Aws::String>
133 m_credentialsArnHasBeenSet =
true;
134 m_credentialsArn = std::forward<CredentialsArnT>(value);
136 template <
typename CredentialsArnT = Aws::String>
149 template <
typename DescriptionT = Aws::String>
151 m_descriptionHasBeenSet =
true;
152 m_description = std::forward<DescriptionT>(value);
154 template <
typename DescriptionT = Aws::String>
167 template <
typename IntegrationMethodT = Aws::String>
169 m_integrationMethodHasBeenSet =
true;
170 m_integrationMethod = std::forward<IntegrationMethodT>(value);
172 template <
typename IntegrationMethodT = Aws::String>
188 template <
typename IntegrationSubtypeT = Aws::String>
190 m_integrationSubtypeHasBeenSet =
true;
191 m_integrationSubtype = std::forward<IntegrationSubtypeT>(value);
193 template <
typename IntegrationSubtypeT = Aws::String>
222 m_integrationTypeHasBeenSet =
true;
223 m_integrationType = value;
245 template <
typename IntegrationUriT = Aws::String>
247 m_integrationUriHasBeenSet =
true;
248 m_integrationUri = std::forward<IntegrationUriT>(value);
250 template <
typename IntegrationUriT = Aws::String>
274 m_passthroughBehaviorHasBeenSet =
true;
275 m_passthroughBehavior = value;
293 template <
typename PayloadFormatVersionT = Aws::String>
295 m_payloadFormatVersionHasBeenSet =
true;
296 m_payloadFormatVersion = std::forward<PayloadFormatVersionT>(value);
298 template <
typename PayloadFormatVersionT = Aws::String>
341 template <
typename RequestParametersT = Aws::Map<Aws::String, Aws::String>>
343 m_requestParametersHasBeenSet =
true;
344 m_requestParameters = std::forward<RequestParametersT>(value);
346 template <
typename RequestParametersT = Aws::Map<Aws::String, Aws::String>>
351 template <
typename RequestParametersKeyT = Aws::String,
typename RequestParametersValueT = Aws::String>
353 m_requestParametersHasBeenSet =
true;
354 m_requestParameters.emplace(std::forward<RequestParametersKeyT>(key), std::forward<RequestParametersValueT>(value));
368 template <
typename RequestTemplatesT = Aws::Map<Aws::String, Aws::String>>
370 m_requestTemplatesHasBeenSet =
true;
371 m_requestTemplates = std::forward<RequestTemplatesT>(value);
373 template <
typename RequestTemplatesT = Aws::Map<Aws::String, Aws::String>>
378 template <
typename RequestTemplatesKeyT = Aws::String,
typename RequestTemplatesValueT = Aws::String>
380 m_requestTemplatesHasBeenSet =
true;
381 m_requestTemplates.emplace(std::forward<RequestTemplatesKeyT>(key), std::forward<RequestTemplatesValueT>(value));
402 template <
typename ResponseParametersT = Aws::Map<Aws::String, Aws::Map<Aws::String, Aws::String>>>
404 m_responseParametersHasBeenSet =
true;
405 m_responseParameters = std::forward<ResponseParametersT>(value);
407 template <
typename ResponseParametersT = Aws::Map<Aws::String, Aws::Map<Aws::String, Aws::String>>>
412 template <
typename ResponseParametersKeyT = Aws::String,
typename ResponseParametersValueT = Aws::Map<Aws::String, Aws::String>>
414 m_responseParametersHasBeenSet =
true;
415 m_responseParameters.emplace(std::forward<ResponseParametersKeyT>(key), std::forward<ResponseParametersValueT>(value));
426 template <
typename TemplateSelectionExpressionT = Aws::String>
428 m_templateSelectionExpressionHasBeenSet =
true;
429 m_templateSelectionExpression = std::forward<TemplateSelectionExpressionT>(value);
431 template <
typename TemplateSelectionExpressionT = Aws::String>
447 m_timeoutInMillisHasBeenSet =
true;
448 m_timeoutInMillis = value;
464 template <
typename TlsConfigT = TlsConfigInput>
466 m_tlsConfigHasBeenSet =
true;
467 m_tlsConfig = std::forward<TlsConfigT>(value);
469 template <
typename TlsConfigT = TlsConfigInput>
508 int m_timeoutInMillis{0};
510 TlsConfigInput m_tlsConfig;
511 bool m_apiIdHasBeenSet =
false;
512 bool m_connectionIdHasBeenSet =
false;
513 bool m_connectionTypeHasBeenSet =
false;
514 bool m_contentHandlingStrategyHasBeenSet =
false;
515 bool m_credentialsArnHasBeenSet =
false;
516 bool m_descriptionHasBeenSet =
false;
517 bool m_integrationMethodHasBeenSet =
false;
518 bool m_integrationSubtypeHasBeenSet =
false;
519 bool m_integrationTypeHasBeenSet =
false;
520 bool m_integrationUriHasBeenSet =
false;
521 bool m_passthroughBehaviorHasBeenSet =
false;
522 bool m_payloadFormatVersionHasBeenSet =
false;
523 bool m_requestParametersHasBeenSet =
false;
524 bool m_requestTemplatesHasBeenSet =
false;
525 bool m_responseParametersHasBeenSet =
false;
526 bool m_templateSelectionExpressionHasBeenSet =
false;
527 bool m_timeoutInMillisHasBeenSet =
false;
528 bool m_tlsConfigHasBeenSet =
false;
virtual const char * GetServiceRequestName() const override
bool RequestTemplatesHasBeenSet() const
bool TimeoutInMillisHasBeenSet() const
void SetConnectionId(ConnectionIdT &&value)
bool IntegrationMethodHasBeenSet() const
const Aws::String & GetDescription() const
bool RequestParametersHasBeenSet() const
int GetTimeoutInMillis() const
CreateIntegrationRequest & AddResponseParameters(ResponseParametersKeyT &&key, ResponseParametersValueT &&value)
ConnectionType GetConnectionType() const
void SetRequestParameters(RequestParametersT &&value)
void SetRequestTemplates(RequestTemplatesT &&value)
const TlsConfigInput & GetTlsConfig() const
CreateIntegrationRequest & WithTemplateSelectionExpression(TemplateSelectionExpressionT &&value)
CreateIntegrationRequest & WithConnectionId(ConnectionIdT &&value)
bool ResponseParametersHasBeenSet() const
CreateIntegrationRequest & WithContentHandlingStrategy(ContentHandlingStrategy value)
IntegrationType GetIntegrationType() const
CreateIntegrationRequest & WithApiId(ApiIdT &&value)
bool TlsConfigHasBeenSet() const
PassthroughBehavior GetPassthroughBehavior() const
bool PayloadFormatVersionHasBeenSet() const
void SetPassthroughBehavior(PassthroughBehavior value)
void SetConnectionType(ConnectionType value)
const Aws::Map< Aws::String, Aws::String > & GetRequestTemplates() const
const Aws::Map< Aws::String, Aws::String > & GetRequestParameters() const
const Aws::String & GetIntegrationUri() const
bool PassthroughBehaviorHasBeenSet() const
CreateIntegrationRequest & WithRequestParameters(RequestParametersT &&value)
CreateIntegrationRequest & WithCredentialsArn(CredentialsArnT &&value)
AWS_APIGATEWAYV2_API Aws::String SerializePayload() const override
AWS_APIGATEWAYV2_API CreateIntegrationRequest()=default
bool ConnectionTypeHasBeenSet() const
CreateIntegrationRequest & WithRequestTemplates(RequestTemplatesT &&value)
CreateIntegrationRequest & WithTlsConfig(TlsConfigT &&value)
CreateIntegrationRequest & WithPayloadFormatVersion(PayloadFormatVersionT &&value)
CreateIntegrationRequest & WithIntegrationType(IntegrationType value)
const Aws::String & GetIntegrationMethod() const
const Aws::String & GetPayloadFormatVersion() const
void SetTemplateSelectionExpression(TemplateSelectionExpressionT &&value)
bool CredentialsArnHasBeenSet() const
CreateIntegrationRequest & WithDescription(DescriptionT &&value)
void SetIntegrationSubtype(IntegrationSubtypeT &&value)
bool ContentHandlingStrategyHasBeenSet() const
bool IntegrationTypeHasBeenSet() const
void SetIntegrationMethod(IntegrationMethodT &&value)
const Aws::String & GetTemplateSelectionExpression() const
void SetIntegrationUri(IntegrationUriT &&value)
void SetPayloadFormatVersion(PayloadFormatVersionT &&value)
bool ConnectionIdHasBeenSet() const
CreateIntegrationRequest & WithConnectionType(ConnectionType value)
bool IntegrationSubtypeHasBeenSet() const
const Aws::Map< Aws::String, Aws::Map< Aws::String, Aws::String > > & GetResponseParameters() const
void SetDescription(DescriptionT &&value)
CreateIntegrationRequest & AddRequestTemplates(RequestTemplatesKeyT &&key, RequestTemplatesValueT &&value)
void SetTlsConfig(TlsConfigT &&value)
bool TemplateSelectionExpressionHasBeenSet() const
CreateIntegrationRequest & WithIntegrationUri(IntegrationUriT &&value)
void SetCredentialsArn(CredentialsArnT &&value)
CreateIntegrationRequest & WithIntegrationMethod(IntegrationMethodT &&value)
CreateIntegrationRequest & WithPassthroughBehavior(PassthroughBehavior value)
void SetTimeoutInMillis(int value)
const Aws::String & GetIntegrationSubtype() const
CreateIntegrationRequest & WithIntegrationSubtype(IntegrationSubtypeT &&value)
CreateIntegrationRequest & WithResponseParameters(ResponseParametersT &&value)
void SetApiId(ApiIdT &&value)
const Aws::String & GetCredentialsArn() const
void SetContentHandlingStrategy(ContentHandlingStrategy value)
bool ApiIdHasBeenSet() const
const Aws::String & GetApiId() const
CreateIntegrationRequest & AddRequestParameters(RequestParametersKeyT &&key, RequestParametersValueT &&value)
CreateIntegrationRequest & WithTimeoutInMillis(int value)
bool IntegrationUriHasBeenSet() const
ContentHandlingStrategy GetContentHandlingStrategy() const
void SetResponseParameters(ResponseParametersT &&value)
bool DescriptionHasBeenSet() const
const Aws::String & GetConnectionId() const
void SetIntegrationType(IntegrationType 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