7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/model/ConnectionType.h>
9#include <aws/apigateway/model/ContentHandlingStrategy.h>
10#include <aws/apigateway/model/IntegrationResponse.h>
11#include <aws/apigateway/model/IntegrationType.h>
12#include <aws/apigateway/model/ResponseTransferMode.h>
13#include <aws/apigateway/model/TlsConfig.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
16#include <aws/core/utils/memory/stl/AWSVector.h>
56 m_typeHasBeenSet =
true;
74 template <
typename HttpMethodT = Aws::String>
76 m_httpMethodHasBeenSet =
true;
77 m_httpMethod = std::forward<HttpMethodT>(value);
79 template <
typename HttpMethodT = Aws::String>
111 template <
typename UriT = Aws::String>
113 m_uriHasBeenSet =
true;
114 m_uri = std::forward<UriT>(value);
116 template <
typename UriT = Aws::String>
118 SetUri(std::forward<UriT>(value));
134 m_connectionTypeHasBeenSet =
true;
135 m_connectionType = value;
150 template <
typename ConnectionIdT = Aws::String>
152 m_connectionIdHasBeenSet =
true;
153 m_connectionId = std::forward<ConnectionIdT>(value);
155 template <
typename ConnectionIdT = Aws::String>
173 template <
typename CredentialsT = Aws::String>
175 m_credentialsHasBeenSet =
true;
176 m_credentials = std::forward<CredentialsT>(value);
178 template <
typename CredentialsT = Aws::String>
198 template <
typename RequestParametersT = Aws::Map<Aws::String, Aws::String>>
200 m_requestParametersHasBeenSet =
true;
201 m_requestParameters = std::forward<RequestParametersT>(value);
203 template <
typename RequestParametersT = Aws::Map<Aws::String, Aws::String>>
208 template <
typename RequestParametersKeyT = Aws::String,
typename RequestParametersValueT = Aws::String>
210 m_requestParametersHasBeenSet =
true;
211 m_requestParameters.emplace(std::forward<RequestParametersKeyT>(key), std::forward<RequestParametersValueT>(value));
225 template <
typename RequestTemplatesT = Aws::Map<Aws::String, Aws::String>>
227 m_requestTemplatesHasBeenSet =
true;
228 m_requestTemplates = std::forward<RequestTemplatesT>(value);
230 template <
typename RequestTemplatesT = Aws::Map<Aws::String, Aws::String>>
235 template <
typename RequestTemplatesKeyT = Aws::String,
typename RequestTemplatesValueT = Aws::String>
237 m_requestTemplatesHasBeenSet =
true;
238 m_requestTemplates.emplace(std::forward<RequestTemplatesKeyT>(key), std::forward<RequestTemplatesValueT>(value));
266 template <
typename PassthroughBehaviorT = Aws::String>
268 m_passthroughBehaviorHasBeenSet =
true;
269 m_passthroughBehavior = std::forward<PassthroughBehaviorT>(value);
271 template <
typename PassthroughBehaviorT = Aws::String>
290 m_contentHandlingHasBeenSet =
true;
291 m_contentHandling = value;
308 m_timeoutInMillisHasBeenSet =
true;
309 m_timeoutInMillis = value;
326 template <
typename CacheNamespaceT = Aws::String>
328 m_cacheNamespaceHasBeenSet =
true;
329 m_cacheNamespace = std::forward<CacheNamespaceT>(value);
331 template <
typename CacheNamespaceT = Aws::String>
346 template <
typename CacheKeyParametersT = Aws::Vector<Aws::String>>
348 m_cacheKeyParametersHasBeenSet =
true;
349 m_cacheKeyParameters = std::forward<CacheKeyParametersT>(value);
351 template <
typename CacheKeyParametersT = Aws::Vector<Aws::String>>
356 template <
typename CacheKeyParametersT = Aws::String>
358 m_cacheKeyParametersHasBeenSet =
true;
359 m_cacheKeyParameters.emplace_back(std::forward<CacheKeyParametersT>(value));
370 template <
typename IntegrationResponsesT = Aws::Map<Aws::String, IntegrationResponse>>
372 m_integrationResponsesHasBeenSet =
true;
373 m_integrationResponses = std::forward<IntegrationResponsesT>(value);
375 template <
typename IntegrationResponsesT = Aws::Map<Aws::String, IntegrationResponse>>
380 template <
typename IntegrationResponsesKeyT = Aws::String,
typename IntegrationResponsesValueT = IntegrationResponse>
382 m_integrationResponsesHasBeenSet =
true;
383 m_integrationResponses.emplace(std::forward<IntegrationResponsesKeyT>(key), std::forward<IntegrationResponsesValueT>(value));
394 template <
typename TlsConfigT = TlsConfig>
396 m_tlsConfigHasBeenSet =
true;
397 m_tlsConfig = std::forward<TlsConfigT>(value);
399 template <
typename TlsConfigT = TlsConfig>
413 m_responseTransferModeHasBeenSet =
true;
414 m_responseTransferMode = value;
428 template <
typename IntegrationTargetT = Aws::String>
430 m_integrationTargetHasBeenSet =
true;
431 m_integrationTarget = std::forward<IntegrationTargetT>(value);
433 template <
typename IntegrationTargetT = Aws::String>
444 template <
typename RequestIdT = Aws::String>
446 m_requestIdHasBeenSet =
true;
447 m_requestId = std::forward<RequestIdT>(value);
449 template <
typename RequestIdT = Aws::String>
476 int m_timeoutInMillis{0};
484 TlsConfig m_tlsConfig;
491 bool m_typeHasBeenSet =
false;
492 bool m_httpMethodHasBeenSet =
false;
493 bool m_uriHasBeenSet =
false;
494 bool m_connectionTypeHasBeenSet =
false;
495 bool m_connectionIdHasBeenSet =
false;
496 bool m_credentialsHasBeenSet =
false;
497 bool m_requestParametersHasBeenSet =
false;
498 bool m_requestTemplatesHasBeenSet =
false;
499 bool m_passthroughBehaviorHasBeenSet =
false;
500 bool m_contentHandlingHasBeenSet =
false;
501 bool m_timeoutInMillisHasBeenSet =
false;
502 bool m_cacheNamespaceHasBeenSet =
false;
503 bool m_cacheKeyParametersHasBeenSet =
false;
504 bool m_integrationResponsesHasBeenSet =
false;
505 bool m_tlsConfigHasBeenSet =
false;
506 bool m_responseTransferModeHasBeenSet =
false;
507 bool m_integrationTargetHasBeenSet =
false;
508 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetPassthroughBehavior() const
Integration & WithContentHandling(ContentHandlingStrategy value)
const Aws::String & GetHttpMethod() const
AWS_APIGATEWAY_API Integration()=default
Integration & WithTimeoutInMillis(int value)
Integration & WithCacheNamespace(CacheNamespaceT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::Map< Aws::String, IntegrationResponse > & GetIntegrationResponses() const
Integration & WithCacheKeyParameters(CacheKeyParametersT &&value)
void SetRequestParameters(RequestParametersT &&value)
Integration & AddIntegrationResponses(IntegrationResponsesKeyT &&key, IntegrationResponsesValueT &&value)
void SetIntegrationTarget(IntegrationTargetT &&value)
void SetType(IntegrationType value)
AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
bool IntegrationTargetHasBeenSet() const
void SetRequestTemplates(RequestTemplatesT &&value)
void SetPassthroughBehavior(PassthroughBehaviorT &&value)
void SetConnectionType(ConnectionType value)
const Aws::Map< Aws::String, Aws::String > & GetRequestParameters() const
const Aws::String & GetRequestId() const
AWS_APIGATEWAY_API Integration(Aws::Utils::Json::JsonView jsonValue)
Integration & WithCredentials(CredentialsT &&value)
ContentHandlingStrategy GetContentHandling() const
Integration & WithRequestId(RequestIdT &&value)
Integration & AddCacheKeyParameters(CacheKeyParametersT &&value)
const TlsConfig & GetTlsConfig() const
bool ResponseTransferModeHasBeenSet() const
bool TimeoutInMillisHasBeenSet() const
const Aws::String & GetIntegrationTarget() const
const Aws::String & GetCredentials() const
bool HttpMethodHasBeenSet() const
void SetHttpMethod(HttpMethodT &&value)
Integration & AddRequestParameters(RequestParametersKeyT &&key, RequestParametersValueT &&value)
Integration & AddRequestTemplates(RequestTemplatesKeyT &&key, RequestTemplatesValueT &&value)
Integration & WithPassthroughBehavior(PassthroughBehaviorT &&value)
Integration & WithHttpMethod(HttpMethodT &&value)
bool CacheNamespaceHasBeenSet() const
void SetCacheNamespace(CacheNamespaceT &&value)
Integration & WithConnectionType(ConnectionType value)
bool CacheKeyParametersHasBeenSet() const
Integration & WithRequestParameters(RequestParametersT &&value)
void SetTimeoutInMillis(int value)
void SetUri(UriT &&value)
bool TypeHasBeenSet() const
const Aws::Vector< Aws::String > & GetCacheKeyParameters() const
bool ConnectionTypeHasBeenSet() const
bool ConnectionIdHasBeenSet() const
const Aws::String & GetCacheNamespace() const
bool RequestTemplatesHasBeenSet() const
const Aws::String & GetConnectionId() const
ResponseTransferMode GetResponseTransferMode() const
Integration & WithUri(UriT &&value)
Integration & WithConnectionId(ConnectionIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetRequestTemplates() const
void SetCredentials(CredentialsT &&value)
bool IntegrationResponsesHasBeenSet() const
Integration & WithRequestTemplates(RequestTemplatesT &&value)
void SetConnectionId(ConnectionIdT &&value)
int GetTimeoutInMillis() const
bool CredentialsHasBeenSet() const
void SetIntegrationResponses(IntegrationResponsesT &&value)
void SetResponseTransferMode(ResponseTransferMode value)
bool PassthroughBehaviorHasBeenSet() const
Integration & WithResponseTransferMode(ResponseTransferMode value)
bool TlsConfigHasBeenSet() const
bool UriHasBeenSet() const
AWS_APIGATEWAY_API Integration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTlsConfig(TlsConfigT &&value)
Integration & WithIntegrationResponses(IntegrationResponsesT &&value)
const Aws::String & GetUri() const
IntegrationType GetType() const
void SetContentHandling(ContentHandlingStrategy value)
Integration & WithType(IntegrationType value)
bool ContentHandlingHasBeenSet() const
void SetCacheKeyParameters(CacheKeyParametersT &&value)
bool RequestIdHasBeenSet() const
ConnectionType GetConnectionType() const
Integration & WithIntegrationTarget(IntegrationTargetT &&value)
Integration & WithTlsConfig(TlsConfigT &&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