7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/model/IntegrationType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/apigateway/model/ConnectionType.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/apigateway/model/ContentHandlingStrategy.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/apigateway/model/TlsConfig.h>
15#include <aws/apigateway/model/IntegrationResponse.h>
77 inline void SetHttpMethod(
const char* value) { m_httpMethodHasBeenSet =
true; m_httpMethod.assign(value); }
110 inline void SetUri(
const char* value) { m_uriHasBeenSet =
true; m_uri.assign(value); }
141 inline void SetConnectionId(
const char* value) { m_connectionIdHasBeenSet =
true; m_connectionId.assign(value); }
160 inline void SetCredentials(
const char* value) { m_credentialsHasBeenSet =
true; m_credentials.assign(value); }
189 inline Integration&
AddRequestParameters(
const char* key,
const char* value) { m_requestParametersHasBeenSet =
true; m_requestParameters.emplace(key, value);
return *
this; }
211 inline Integration&
AddRequestTemplates(
const char* key,
const char* value) { m_requestTemplatesHasBeenSet =
true; m_requestTemplates.emplace(key, value);
return *
this; }
239 inline void SetPassthroughBehavior(
const char* value) { m_passthroughBehaviorHasBeenSet =
true; m_passthroughBehavior.assign(value); }
269 inline void SetTimeoutInMillis(
int value) { m_timeoutInMillisHasBeenSet =
true; m_timeoutInMillis = value; }
284 inline void SetCacheNamespace(
const char* value) { m_cacheNamespaceHasBeenSet =
true; m_cacheNamespace.assign(value); }
343 inline void SetRequestId(
const char* value) { m_requestIdHasBeenSet =
true; m_requestId.assign(value); }
351 bool m_typeHasBeenSet =
false;
354 bool m_httpMethodHasBeenSet =
false;
357 bool m_uriHasBeenSet =
false;
360 bool m_connectionTypeHasBeenSet =
false;
363 bool m_connectionIdHasBeenSet =
false;
366 bool m_credentialsHasBeenSet =
false;
369 bool m_requestParametersHasBeenSet =
false;
372 bool m_requestTemplatesHasBeenSet =
false;
375 bool m_passthroughBehaviorHasBeenSet =
false;
378 bool m_contentHandlingHasBeenSet =
false;
380 int m_timeoutInMillis;
381 bool m_timeoutInMillisHasBeenSet =
false;
384 bool m_cacheNamespaceHasBeenSet =
false;
387 bool m_cacheKeyParametersHasBeenSet =
false;
390 bool m_integrationResponsesHasBeenSet =
false;
393 bool m_tlsConfigHasBeenSet =
false;
396 bool m_requestIdHasBeenSet =
false;
Integration & WithType(const IntegrationType &value)
void SetTlsConfig(const TlsConfig &value)
void SetRequestParameters(const Aws::Map< Aws::String, Aws::String > &value)
Integration & AddRequestParameters(const char *key, Aws::String &&value)
Integration & WithContentHandling(ContentHandlingStrategy &&value)
void SetCacheNamespace(Aws::String &&value)
const Aws::String & GetPassthroughBehavior() const
Integration & WithPassthroughBehavior(const char *value)
Integration & WithCacheKeyParameters(const Aws::Vector< Aws::String > &value)
void SetCacheNamespace(const char *value)
void SetConnectionId(const Aws::String &value)
void SetConnectionId(Aws::String &&value)
const Aws::String & GetHttpMethod() const
void SetContentHandling(const ContentHandlingStrategy &value)
Integration & WithTimeoutInMillis(int value)
Integration & WithConnectionId(const Aws::String &value)
void SetCacheKeyParameters(const Aws::Vector< Aws::String > &value)
Integration & WithHttpMethod(const char *value)
const Aws::Map< Aws::String, IntegrationResponse > & GetIntegrationResponses() const
Integration & WithCacheNamespace(Aws::String &&value)
void SetRequestId(const Aws::String &value)
void SetUri(Aws::String &&value)
Integration & WithIntegrationResponses(Aws::Map< Aws::String, IntegrationResponse > &&value)
Integration & AddRequestTemplates(const char *key, Aws::String &&value)
void SetConnectionType(ConnectionType &&value)
Integration & WithUri(const Aws::String &value)
AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIntegrationResponses(const Aws::Map< Aws::String, IntegrationResponse > &value)
void SetContentHandling(ContentHandlingStrategy &&value)
Integration & AddIntegrationResponses(Aws::String &&key, const IntegrationResponse &value)
Integration & WithHttpMethod(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetRequestParameters() const
const Aws::String & GetRequestId() const
Integration & WithConnectionType(ConnectionType &&value)
AWS_APIGATEWAY_API Integration(Aws::Utils::Json::JsonView jsonValue)
Integration & AddIntegrationResponses(const char *key, IntegrationResponse &&value)
void SetHttpMethod(const char *value)
Integration & WithCacheKeyParameters(Aws::Vector< Aws::String > &&value)
const TlsConfig & GetTlsConfig() const
Integration & AddIntegrationResponses(const char *key, const IntegrationResponse &value)
Integration & WithCacheNamespace(const Aws::String &value)
void SetRequestId(const char *value)
bool TimeoutInMillisHasBeenSet() const
Integration & AddCacheKeyParameters(Aws::String &&value)
const Aws::String & GetCredentials() const
Integration & AddRequestParameters(const char *key, const char *value)
bool HttpMethodHasBeenSet() const
Integration & AddRequestTemplates(const char *key, const char *value)
void SetPassthroughBehavior(const char *value)
Integration & AddCacheKeyParameters(const Aws::String &value)
void SetUri(const char *value)
Integration & WithCredentials(const char *value)
Integration & WithConnectionId(const char *value)
Integration & AddRequestTemplates(Aws::String &&key, const Aws::String &value)
void SetCredentials(const char *value)
Integration & AddRequestTemplates(const Aws::String &key, Aws::String &&value)
bool CacheNamespaceHasBeenSet() const
Integration & WithUri(const char *value)
Integration & WithRequestTemplates(Aws::Map< Aws::String, Aws::String > &&value)
void SetPassthroughBehavior(const Aws::String &value)
bool CacheKeyParametersHasBeenSet() const
Integration & WithRequestId(const Aws::String &value)
Integration & AddRequestParameters(Aws::String &&key, const char *value)
const ContentHandlingStrategy & GetContentHandling() const
Integration & AddRequestTemplates(Aws::String &&key, const char *value)
void SetTimeoutInMillis(int value)
Integration & WithRequestParameters(Aws::Map< Aws::String, Aws::String > &&value)
void SetHttpMethod(Aws::String &&value)
Integration & WithRequestId(const char *value)
Integration & AddRequestTemplates(const Aws::String &key, const Aws::String &value)
void SetCacheKeyParameters(Aws::Vector< Aws::String > &&value)
Integration & WithContentHandling(const ContentHandlingStrategy &value)
Integration & WithConnectionId(Aws::String &&value)
bool TypeHasBeenSet() const
const Aws::Vector< Aws::String > & GetCacheKeyParameters() const
Integration & WithRequestParameters(const Aws::Map< Aws::String, Aws::String > &value)
bool ConnectionTypeHasBeenSet() const
bool ConnectionIdHasBeenSet() const
Integration & WithCacheNamespace(const char *value)
const Aws::String & GetCacheNamespace() const
void SetRequestTemplates(Aws::Map< Aws::String, Aws::String > &&value)
bool RequestTemplatesHasBeenSet() const
void SetType(IntegrationType &&value)
Integration & WithRequestTemplates(const Aws::Map< Aws::String, Aws::String > &value)
void SetConnectionType(const ConnectionType &value)
void SetRequestParameters(Aws::Map< Aws::String, Aws::String > &&value)
Integration & AddIntegrationResponses(const Aws::String &key, IntegrationResponse &&value)
const Aws::String & GetConnectionId() const
Integration & WithTlsConfig(const TlsConfig &value)
const ConnectionType & GetConnectionType() const
void SetPassthroughBehavior(Aws::String &&value)
Integration & AddRequestTemplates(Aws::String &&key, Aws::String &&value)
Integration & WithCredentials(const Aws::String &value)
Integration & WithCredentials(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetRequestTemplates() const
AWS_APIGATEWAY_API Integration()
void SetCredentials(Aws::String &&value)
Integration & WithPassthroughBehavior(Aws::String &&value)
bool IntegrationResponsesHasBeenSet() const
Integration & WithType(IntegrationType &&value)
Integration & WithConnectionType(const ConnectionType &value)
Integration & WithTlsConfig(TlsConfig &&value)
void SetTlsConfig(TlsConfig &&value)
int GetTimeoutInMillis() const
void SetHttpMethod(const Aws::String &value)
Integration & AddRequestParameters(const Aws::String &key, Aws::String &&value)
bool CredentialsHasBeenSet() const
Integration & AddIntegrationResponses(Aws::String &&key, IntegrationResponse &&value)
Integration & WithUri(Aws::String &&value)
Integration & AddRequestParameters(const Aws::String &key, const Aws::String &value)
bool PassthroughBehaviorHasBeenSet() const
Integration & WithHttpMethod(Aws::String &&value)
const IntegrationType & GetType() const
bool TlsConfigHasBeenSet() const
void SetUri(const Aws::String &value)
void SetConnectionId(const char *value)
Integration & WithPassthroughBehavior(const Aws::String &value)
bool UriHasBeenSet() const
AWS_APIGATEWAY_API Integration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetUri() const
void SetCredentials(const Aws::String &value)
Integration & AddRequestParameters(Aws::String &&key, const Aws::String &value)
void SetRequestId(Aws::String &&value)
void SetType(const IntegrationType &value)
Integration & WithIntegrationResponses(const Aws::Map< Aws::String, IntegrationResponse > &value)
bool ContentHandlingHasBeenSet() const
Integration & AddCacheKeyParameters(const char *value)
bool RequestIdHasBeenSet() const
Integration & AddRequestParameters(Aws::String &&key, Aws::String &&value)
void SetCacheNamespace(const Aws::String &value)
void SetRequestTemplates(const Aws::Map< Aws::String, Aws::String > &value)
Integration & WithRequestId(Aws::String &&value)
void SetIntegrationResponses(Aws::Map< Aws::String, IntegrationResponse > &&value)
Integration & AddIntegrationResponses(const Aws::String &key, const IntegrationResponse &value)
bool RequestParametersHasBeenSet() const
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue