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; }
67 inline void SetConnectionId(
const char* value) { m_connectionIdHasBeenSet =
true; m_connectionId.assign(value); }
120 inline void SetCredentialsArn(
const char* value) { m_credentialsArnHasBeenSet =
true; m_credentialsArn.assign(value); }
134 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
148 inline void SetIntegrationId(
const char* value) { m_integrationIdHasBeenSet =
true; m_integrationId.assign(value); }
162 inline void SetIntegrationMethod(
const char* value) { m_integrationMethodHasBeenSet =
true; m_integrationMethod.assign(value); }
196 inline void SetIntegrationSubtype(
const char* value) { m_integrationSubtypeHasBeenSet =
true; m_integrationSubtype.assign(value); }
244 inline void SetIntegrationUri(
const char* value) { m_integrationUriHasBeenSet =
true; m_integrationUri.assign(value); }
281 inline void SetPayloadFormatVersion(
const char* value) { m_payloadFormatVersionHasBeenSet =
true; m_payloadFormatVersion.assign(value); }
333 inline Integration&
AddRequestParameters(
const char* key,
const char* value) { m_requestParametersHasBeenSet =
true; m_requestParameters.emplace(key, value);
return *
this; }
355 inline Integration&
AddRequestTemplates(
const char* key,
const char* value) { m_requestTemplatesHasBeenSet =
true; m_requestTemplates.emplace(key, value);
return *
this; }
409 inline void SetTimeoutInMillis(
int value) { m_timeoutInMillisHasBeenSet =
true; m_timeoutInMillis = value; }
428 bool m_apiGatewayManaged;
429 bool m_apiGatewayManagedHasBeenSet =
false;
432 bool m_connectionIdHasBeenSet =
false;
435 bool m_connectionTypeHasBeenSet =
false;
438 bool m_contentHandlingStrategyHasBeenSet =
false;
441 bool m_credentialsArnHasBeenSet =
false;
444 bool m_descriptionHasBeenSet =
false;
447 bool m_integrationIdHasBeenSet =
false;
450 bool m_integrationMethodHasBeenSet =
false;
452 Aws::String m_integrationResponseSelectionExpression;
453 bool m_integrationResponseSelectionExpressionHasBeenSet =
false;
456 bool m_integrationSubtypeHasBeenSet =
false;
459 bool m_integrationTypeHasBeenSet =
false;
462 bool m_integrationUriHasBeenSet =
false;
465 bool m_passthroughBehaviorHasBeenSet =
false;
468 bool m_payloadFormatVersionHasBeenSet =
false;
471 bool m_requestParametersHasBeenSet =
false;
474 bool m_requestTemplatesHasBeenSet =
false;
477 bool m_responseParametersHasBeenSet =
false;
480 bool m_templateSelectionExpressionHasBeenSet =
false;
482 int m_timeoutInMillis;
483 bool m_timeoutInMillisHasBeenSet =
false;
486 bool m_tlsConfigHasBeenSet =
false;
void SetRequestParameters(Aws::Map< Aws::String, Aws::String > &&value)
Integration & WithContentHandlingStrategy(ContentHandlingStrategy &&value)
void SetCredentialsArn(const char *value)
void SetIntegrationSubtype(const Aws::String &value)
void SetCredentialsArn(const Aws::String &value)
const PassthroughBehavior & GetPassthroughBehavior() const
Integration & WithIntegrationMethod(Aws::String &&value)
Integration & WithDescription(Aws::String &&value)
Integration & WithTemplateSelectionExpression(Aws::String &&value)
void SetIntegrationId(Aws::String &&value)
void SetIntegrationId(const Aws::String &value)
Integration & WithPassthroughBehavior(const PassthroughBehavior &value)
bool CredentialsArnHasBeenSet() const
Integration & WithConnectionId(const Aws::String &value)
void SetPayloadFormatVersion(Aws::String &&value)
const IntegrationType & GetIntegrationType() const
bool TimeoutInMillisHasBeenSet() const
void SetPassthroughBehavior(const PassthroughBehavior &value)
const Aws::String & GetPayloadFormatVersion() const
void SetPayloadFormatVersion(const Aws::String &value)
Integration & WithDescription(const Aws::String &value)
const Aws::String & GetCredentialsArn() const
Integration & WithPayloadFormatVersion(Aws::String &&value)
Integration & WithPayloadFormatVersion(const Aws::String &value)
void SetIntegrationType(const IntegrationType &value)
Integration & WithIntegrationSubtype(const char *value)
Integration & WithConnectionType(const ConnectionType &value)
Integration & WithRequestTemplates(const Aws::Map< Aws::String, Aws::String > &value)
void SetTlsConfig(const TlsConfig &value)
bool IntegrationResponseSelectionExpressionHasBeenSet() const
Integration & WithIntegrationType(const IntegrationType &value)
Integration & WithIntegrationId(Aws::String &&value)
void SetIntegrationUri(const Aws::String &value)
Integration & WithCredentialsArn(Aws::String &&value)
Integration & AddRequestParameters(Aws::String &&key, const Aws::String &value)
Integration & WithRequestParameters(const Aws::Map< Aws::String, Aws::String > &value)
Integration & AddResponseParameters(const Aws::String &key, Aws::Map< Aws::String, Aws::String > &&value)
Integration & WithTimeoutInMillis(int value)
Integration & WithIntegrationMethod(const Aws::String &value)
Integration & AddResponseParameters(Aws::String &&key, Aws::Map< Aws::String, Aws::String > &&value)
Integration & WithIntegrationMethod(const char *value)
void SetIntegrationSubtype(const char *value)
Integration & WithCredentialsArn(const char *value)
const Aws::String & GetIntegrationUri() const
void SetPassthroughBehavior(PassthroughBehavior &&value)
Integration & AddRequestTemplates(Aws::String &&key, Aws::String &&value)
void SetDescription(const Aws::String &value)
void SetDescription(const char *value)
Integration & WithPayloadFormatVersion(const char *value)
Integration & WithDescription(const char *value)
bool DescriptionHasBeenSet() const
Integration & WithIntegrationUri(const Aws::String &value)
bool IntegrationMethodHasBeenSet() const
bool PayloadFormatVersionHasBeenSet() const
Integration & WithIntegrationUri(const char *value)
Integration & WithIntegrationSubtype(Aws::String &&value)
Integration & WithContentHandlingStrategy(const ContentHandlingStrategy &value)
const Aws::String & GetDescription() const
void SetPayloadFormatVersion(const char *value)
void SetConnectionType(ConnectionType &&value)
const TlsConfig & GetTlsConfig() const
void SetIntegrationType(IntegrationType &&value)
Integration & WithPassthroughBehavior(PassthroughBehavior &&value)
void SetIntegrationResponseSelectionExpression(const Aws::String &value)
bool ResponseParametersHasBeenSet() const
Integration & WithConnectionId(const char *value)
Integration & AddRequestParameters(const Aws::String &key, Aws::String &&value)
Integration & WithTemplateSelectionExpression(const char *value)
Integration & WithTlsConfig(TlsConfig &&value)
void SetTimeoutInMillis(int value)
bool ContentHandlingStrategyHasBeenSet() const
void SetIntegrationMethod(const Aws::String &value)
Integration & AddResponseParameters(const char *key, const Aws::Map< Aws::String, Aws::String > &value)
void SetTlsConfig(TlsConfig &&value)
Integration & AddRequestTemplates(Aws::String &&key, const Aws::String &value)
void SetApiGatewayManaged(bool value)
void SetIntegrationMethod(const char *value)
Integration & AddRequestParameters(const Aws::String &key, const Aws::String &value)
void SetContentHandlingStrategy(ContentHandlingStrategy &&value)
Integration & WithTemplateSelectionExpression(const Aws::String &value)
bool TlsConfigHasBeenSet() const
Integration & WithIntegrationId(const Aws::String &value)
bool IntegrationTypeHasBeenSet() const
const Aws::Map< Aws::String, Aws::Map< Aws::String, Aws::String > > & GetResponseParameters() const
const Aws::String & GetIntegrationSubtype() const
void SetRequestTemplates(Aws::Map< Aws::String, Aws::String > &&value)
bool TemplateSelectionExpressionHasBeenSet() const
void SetConnectionId(const Aws::String &value)
bool RequestParametersHasBeenSet() const
bool PassthroughBehaviorHasBeenSet() const
void SetIntegrationSubtype(Aws::String &&value)
Integration & AddRequestParameters(const char *key, const char *value)
void SetConnectionId(Aws::String &&value)
Integration & AddRequestTemplates(const Aws::String &key, Aws::String &&value)
Integration & AddRequestTemplates(Aws::String &&key, const char *value)
void SetIntegrationId(const char *value)
void SetTemplateSelectionExpression(Aws::String &&value)
void SetIntegrationMethod(Aws::String &&value)
int GetTimeoutInMillis() const
AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const
const ConnectionType & GetConnectionType() const
void SetConnectionId(const char *value)
void SetResponseParameters(const Aws::Map< Aws::String, Aws::Map< Aws::String, Aws::String > > &value)
AWS_APIGATEWAYV2_API Integration(Aws::Utils::Json::JsonView jsonValue)
bool GetApiGatewayManaged() const
bool ConnectionTypeHasBeenSet() const
void SetDescription(Aws::String &&value)
Integration & AddResponseParameters(const char *key, Aws::Map< Aws::String, Aws::String > &&value)
void SetCredentialsArn(Aws::String &&value)
Integration & AddResponseParameters(const Aws::String &key, const Aws::Map< Aws::String, Aws::String > &value)
bool IntegrationSubtypeHasBeenSet() const
void SetRequestParameters(const Aws::Map< Aws::String, Aws::String > &value)
Integration & WithRequestTemplates(Aws::Map< Aws::String, Aws::String > &&value)
AWS_APIGATEWAYV2_API Integration()
const Aws::String & GetIntegrationMethod() const
bool ApiGatewayManagedHasBeenSet() const
void SetIntegrationResponseSelectionExpression(const char *value)
Integration & WithIntegrationType(IntegrationType &&value)
Integration & AddResponseParameters(Aws::String &&key, const Aws::Map< Aws::String, Aws::String > &value)
Integration & WithApiGatewayManaged(bool value)
void SetIntegrationResponseSelectionExpression(Aws::String &&value)
Integration & AddRequestTemplates(const char *key, Aws::String &&value)
Integration & WithResponseParameters(const Aws::Map< Aws::String, Aws::Map< Aws::String, Aws::String > > &value)
void SetRequestTemplates(const Aws::Map< Aws::String, Aws::String > &value)
void SetIntegrationUri(const char *value)
Integration & WithIntegrationResponseSelectionExpression(const Aws::String &value)
Integration & WithIntegrationSubtype(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetRequestTemplates() const
const Aws::String & GetIntegrationId() const
void SetConnectionType(const ConnectionType &value)
Integration & WithTlsConfig(const TlsConfig &value)
Integration & AddRequestParameters(const char *key, Aws::String &&value)
void SetTemplateSelectionExpression(const char *value)
Integration & AddRequestParameters(Aws::String &&key, Aws::String &&value)
const Aws::String & GetTemplateSelectionExpression() const
void SetIntegrationUri(Aws::String &&value)
void SetTemplateSelectionExpression(const Aws::String &value)
Integration & AddRequestTemplates(const char *key, const char *value)
Integration & WithResponseParameters(Aws::Map< Aws::String, Aws::Map< Aws::String, Aws::String > > &&value)
bool RequestTemplatesHasBeenSet() const
Integration & WithIntegrationId(const char *value)
void SetContentHandlingStrategy(const ContentHandlingStrategy &value)
Integration & WithIntegrationUri(Aws::String &&value)
bool ConnectionIdHasBeenSet() const
const ContentHandlingStrategy & GetContentHandlingStrategy() const
const Aws::Map< Aws::String, Aws::String > & GetRequestParameters() const
void SetResponseParameters(Aws::Map< Aws::String, Aws::Map< Aws::String, Aws::String > > &&value)
Integration & AddRequestTemplates(const Aws::String &key, const Aws::String &value)
const Aws::String & GetConnectionId() const
AWS_APIGATEWAYV2_API Integration & operator=(Aws::Utils::Json::JsonView jsonValue)
bool IntegrationUriHasBeenSet() const
Integration & WithIntegrationResponseSelectionExpression(Aws::String &&value)
Integration & AddRequestParameters(Aws::String &&key, const char *value)
bool IntegrationIdHasBeenSet() const
Integration & WithConnectionId(Aws::String &&value)
Integration & WithCredentialsArn(const Aws::String &value)
const Aws::String & GetIntegrationResponseSelectionExpression() const
Integration & WithRequestParameters(Aws::Map< Aws::String, Aws::String > &&value)
Integration & WithConnectionType(ConnectionType &&value)
Integration & WithIntegrationResponseSelectionExpression(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