7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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/core/utils/memory/stl/AWSMap.h>
14#include <aws/apigatewayv2/model/TlsConfig.h>
54 inline void SetApiGatewayManaged(
bool value) { m_apiGatewayManagedHasBeenSet =
true; m_apiGatewayManaged = value; }
65 template<
typename ConnectionIdT = Aws::String>
66 void SetConnectionId(ConnectionIdT&& value) { m_connectionIdHasBeenSet =
true; m_connectionId = std::forward<ConnectionIdT>(value); }
67 template<
typename ConnectionIdT = Aws::String>
112 template<
typename CredentialsArnT = Aws::String>
113 void SetCredentialsArn(CredentialsArnT&& value) { m_credentialsArnHasBeenSet =
true; m_credentialsArn = std::forward<CredentialsArnT>(value); }
114 template<
typename CredentialsArnT = Aws::String>
124 template<
typename DescriptionT = Aws::String>
125 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
126 template<
typename DescriptionT = Aws::String>
136 template<
typename IntegrationIdT = Aws::String>
137 void SetIntegrationId(IntegrationIdT&& value) { m_integrationIdHasBeenSet =
true; m_integrationId = std::forward<IntegrationIdT>(value); }
138 template<
typename IntegrationIdT = Aws::String>
148 template<
typename IntegrationMethodT = Aws::String>
149 void SetIntegrationMethod(IntegrationMethodT&& value) { m_integrationMethodHasBeenSet =
true; m_integrationMethod = std::forward<IntegrationMethodT>(value); }
150 template<
typename IntegrationMethodT = Aws::String>
163 template<
typename IntegrationResponseSelectionExpressionT = Aws::String>
164 void SetIntegrationResponseSelectionExpression(IntegrationResponseSelectionExpressionT&& value) { m_integrationResponseSelectionExpressionHasBeenSet =
true; m_integrationResponseSelectionExpression = std::forward<IntegrationResponseSelectionExpressionT>(value); }
165 template<
typename IntegrationResponseSelectionExpressionT = Aws::String>
178 template<
typename IntegrationSubtypeT = Aws::String>
179 void SetIntegrationSubtype(IntegrationSubtypeT&& value) { m_integrationSubtypeHasBeenSet =
true; m_integrationSubtype = std::forward<IntegrationSubtypeT>(value); }
180 template<
typename IntegrationSubtypeT = Aws::String>
222 template<
typename IntegrationUriT = Aws::String>
223 void SetIntegrationUri(IntegrationUriT&& value) { m_integrationUriHasBeenSet =
true; m_integrationUri = std::forward<IntegrationUriT>(value); }
224 template<
typename IntegrationUriT = Aws::String>
258 template<
typename PayloadFormatVersionT = Aws::String>
259 void SetPayloadFormatVersion(PayloadFormatVersionT&& value) { m_payloadFormatVersionHasBeenSet =
true; m_payloadFormatVersion = std::forward<PayloadFormatVersionT>(value); }
260 template<
typename PayloadFormatVersionT = Aws::String>
300 template<
typename RequestParametersT = Aws::Map<Aws::String, Aws::String>>
301 void SetRequestParameters(RequestParametersT&& value) { m_requestParametersHasBeenSet =
true; m_requestParameters = std::forward<RequestParametersT>(value); }
302 template<
typename RequestParametersT = Aws::Map<Aws::String, Aws::String>>
304 template<
typename RequestParametersKeyT = Aws::String,
typename RequestParametersValueT = Aws::String>
306 m_requestParametersHasBeenSet =
true; m_requestParameters.emplace(std::forward<RequestParametersKeyT>(key), std::forward<RequestParametersValueT>(value));
return *
this;
319 template<
typename RequestTemplatesT = Aws::Map<Aws::String, Aws::String>>
320 void SetRequestTemplates(RequestTemplatesT&& value) { m_requestTemplatesHasBeenSet =
true; m_requestTemplates = std::forward<RequestTemplatesT>(value); }
321 template<
typename RequestTemplatesT = Aws::Map<Aws::String, Aws::String>>
323 template<
typename RequestTemplatesKeyT = Aws::String,
typename RequestTemplatesValueT = Aws::String>
325 m_requestTemplatesHasBeenSet =
true; m_requestTemplates.emplace(std::forward<RequestTemplatesKeyT>(key), std::forward<RequestTemplatesValueT>(value));
return *
this;
345 template<
typename ResponseParametersT = Aws::Map<Aws::String, Aws::Map<Aws::String, Aws::String>>>
346 void SetResponseParameters(ResponseParametersT&& value) { m_responseParametersHasBeenSet =
true; m_responseParameters = std::forward<ResponseParametersT>(value); }
347 template<
typename ResponseParametersT = Aws::Map<Aws::String, Aws::Map<Aws::String, Aws::String>>>
349 template<
typename ResponseParametersKeyT = Aws::String,
typename ResponseParametersValueT = Aws::Map<Aws::String, Aws::String>>
351 m_responseParametersHasBeenSet =
true; m_responseParameters.emplace(std::forward<ResponseParametersKeyT>(key), std::forward<ResponseParametersValueT>(value));
return *
this;
362 template<
typename TemplateSelectionExpressionT = Aws::String>
363 void SetTemplateSelectionExpression(TemplateSelectionExpressionT&& value) { m_templateSelectionExpressionHasBeenSet =
true; m_templateSelectionExpression = std::forward<TemplateSelectionExpressionT>(value); }
364 template<
typename TemplateSelectionExpressionT = Aws::String>
376 inline void SetTimeoutInMillis(
int value) { m_timeoutInMillisHasBeenSet =
true; m_timeoutInMillis = value; }
388 template<
typename TlsConfigT = TlsConfig>
389 void SetTlsConfig(TlsConfigT&& value) { m_tlsConfigHasBeenSet =
true; m_tlsConfig = std::forward<TlsConfigT>(value); }
390 template<
typename TlsConfigT = TlsConfig>
395 bool m_apiGatewayManaged{
false};
396 bool m_apiGatewayManagedHasBeenSet =
false;
399 bool m_connectionIdHasBeenSet =
false;
402 bool m_connectionTypeHasBeenSet =
false;
405 bool m_contentHandlingStrategyHasBeenSet =
false;
408 bool m_credentialsArnHasBeenSet =
false;
411 bool m_descriptionHasBeenSet =
false;
414 bool m_integrationIdHasBeenSet =
false;
417 bool m_integrationMethodHasBeenSet =
false;
419 Aws::String m_integrationResponseSelectionExpression;
420 bool m_integrationResponseSelectionExpressionHasBeenSet =
false;
423 bool m_integrationSubtypeHasBeenSet =
false;
426 bool m_integrationTypeHasBeenSet =
false;
429 bool m_integrationUriHasBeenSet =
false;
432 bool m_passthroughBehaviorHasBeenSet =
false;
435 bool m_payloadFormatVersionHasBeenSet =
false;
438 bool m_requestParametersHasBeenSet =
false;
441 bool m_requestTemplatesHasBeenSet =
false;
444 bool m_responseParametersHasBeenSet =
false;
447 bool m_templateSelectionExpressionHasBeenSet =
false;
449 int m_timeoutInMillis{0};
450 bool m_timeoutInMillisHasBeenSet =
false;
452 TlsConfig m_tlsConfig;
453 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