7#include <aws/apigateway/APIGatewayRequest.h>
8#include <aws/apigateway/APIGateway_EXPORTS.h>
9#include <aws/apigateway/model/ConnectionType.h>
10#include <aws/apigateway/model/ContentHandlingStrategy.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>
47 template <
typename RestApiIdT = Aws::String>
49 m_restApiIdHasBeenSet =
true;
50 m_restApiId = std::forward<RestApiIdT>(value);
52 template <
typename RestApiIdT = Aws::String>
65 template <
typename ResourceIdT = Aws::String>
67 m_resourceIdHasBeenSet =
true;
68 m_resourceId = std::forward<ResourceIdT>(value);
70 template <
typename ResourceIdT = Aws::String>
83 template <
typename HttpMethodT = Aws::String>
85 m_httpMethodHasBeenSet =
true;
86 m_httpMethod = std::forward<HttpMethodT>(value);
88 template <
typename HttpMethodT = Aws::String>
102 m_typeHasBeenSet =
true;
117 template <
typename IntegrationHttpMethodT = Aws::String>
119 m_integrationHttpMethodHasBeenSet =
true;
120 m_integrationHttpMethod = std::forward<IntegrationHttpMethodT>(value);
122 template <
typename IntegrationHttpMethodT = Aws::String>
155 template <
typename UriT = Aws::String>
157 m_uriHasBeenSet =
true;
158 m_uri = std::forward<UriT>(value);
160 template <
typename UriT = Aws::String>
162 SetUri(std::forward<UriT>(value));
178 m_connectionTypeHasBeenSet =
true;
179 m_connectionType = value;
194 template <
typename ConnectionIdT = Aws::String>
196 m_connectionIdHasBeenSet =
true;
197 m_connectionId = std::forward<ConnectionIdT>(value);
199 template <
typename ConnectionIdT = Aws::String>
212 template <
typename CredentialsT = Aws::String>
214 m_credentialsHasBeenSet =
true;
215 m_credentials = std::forward<CredentialsT>(value);
217 template <
typename CredentialsT = Aws::String>
237 template <
typename RequestParametersT = Aws::Map<Aws::String, Aws::String>>
239 m_requestParametersHasBeenSet =
true;
240 m_requestParameters = std::forward<RequestParametersT>(value);
242 template <
typename RequestParametersT = Aws::Map<Aws::String, Aws::String>>
247 template <
typename RequestParametersKeyT = Aws::String,
typename RequestParametersValueT = Aws::String>
249 m_requestParametersHasBeenSet =
true;
250 m_requestParameters.emplace(std::forward<RequestParametersKeyT>(key), std::forward<RequestParametersValueT>(value));
264 template <
typename RequestTemplatesT = Aws::Map<Aws::String, Aws::String>>
266 m_requestTemplatesHasBeenSet =
true;
267 m_requestTemplates = std::forward<RequestTemplatesT>(value);
269 template <
typename RequestTemplatesT = Aws::Map<Aws::String, Aws::String>>
274 template <
typename RequestTemplatesKeyT = Aws::String,
typename RequestTemplatesValueT = Aws::String>
276 m_requestTemplatesHasBeenSet =
true;
277 m_requestTemplates.emplace(std::forward<RequestTemplatesKeyT>(key), std::forward<RequestTemplatesValueT>(value));
292 template <
typename PassthroughBehaviorT = Aws::String>
294 m_passthroughBehaviorHasBeenSet =
true;
295 m_passthroughBehavior = std::forward<PassthroughBehaviorT>(value);
297 template <
typename PassthroughBehaviorT = Aws::String>
313 template <
typename CacheNamespaceT = Aws::String>
315 m_cacheNamespaceHasBeenSet =
true;
316 m_cacheNamespace = std::forward<CacheNamespaceT>(value);
318 template <
typename CacheNamespaceT = Aws::String>
333 template <
typename CacheKeyParametersT = Aws::Vector<Aws::String>>
335 m_cacheKeyParametersHasBeenSet =
true;
336 m_cacheKeyParameters = std::forward<CacheKeyParametersT>(value);
338 template <
typename CacheKeyParametersT = Aws::Vector<Aws::String>>
343 template <
typename CacheKeyParametersT = Aws::String>
345 m_cacheKeyParametersHasBeenSet =
true;
346 m_cacheKeyParameters.emplace_back(std::forward<CacheKeyParametersT>(value));
363 m_contentHandlingHasBeenSet =
true;
364 m_contentHandling = value;
381 m_timeoutInMillisHasBeenSet =
true;
382 m_timeoutInMillis = 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>
470 int m_timeoutInMillis{0};
472 TlsConfig m_tlsConfig;
477 bool m_restApiIdHasBeenSet =
false;
478 bool m_resourceIdHasBeenSet =
false;
479 bool m_httpMethodHasBeenSet =
false;
480 bool m_typeHasBeenSet =
false;
481 bool m_integrationHttpMethodHasBeenSet =
false;
482 bool m_uriHasBeenSet =
false;
483 bool m_connectionTypeHasBeenSet =
false;
484 bool m_connectionIdHasBeenSet =
false;
485 bool m_credentialsHasBeenSet =
false;
486 bool m_requestParametersHasBeenSet =
false;
487 bool m_requestTemplatesHasBeenSet =
false;
488 bool m_passthroughBehaviorHasBeenSet =
false;
489 bool m_cacheNamespaceHasBeenSet =
false;
490 bool m_cacheKeyParametersHasBeenSet =
false;
491 bool m_contentHandlingHasBeenSet =
false;
492 bool m_timeoutInMillisHasBeenSet =
false;
493 bool m_tlsConfigHasBeenSet =
false;
494 bool m_responseTransferModeHasBeenSet =
false;
495 bool m_integrationTargetHasBeenSet =
false;
bool CredentialsHasBeenSet() const
PutIntegrationRequest & WithUri(UriT &&value)
IntegrationType GetType() const
const Aws::String & GetPassthroughBehavior() const
void SetCacheNamespace(CacheNamespaceT &&value)
bool PassthroughBehaviorHasBeenSet() const
void SetTimeoutInMillis(int value)
bool TimeoutInMillisHasBeenSet() const
bool ConnectionTypeHasBeenSet() const
bool ContentHandlingHasBeenSet() const
PutIntegrationRequest & WithRequestParameters(RequestParametersT &&value)
void SetType(IntegrationType value)
const TlsConfig & GetTlsConfig() const
PutIntegrationRequest & WithCredentials(CredentialsT &&value)
PutIntegrationRequest & AddRequestTemplates(RequestTemplatesKeyT &&key, RequestTemplatesValueT &&value)
PutIntegrationRequest & AddCacheKeyParameters(CacheKeyParametersT &&value)
void SetCacheKeyParameters(CacheKeyParametersT &&value)
const Aws::String & GetRestApiId() const
bool IntegrationHttpMethodHasBeenSet() const
virtual const char * GetServiceRequestName() const override
PutIntegrationRequest & WithIntegrationHttpMethod(IntegrationHttpMethodT &&value)
PutIntegrationRequest & WithType(IntegrationType value)
void SetContentHandling(ContentHandlingStrategy value)
PutIntegrationRequest & WithRequestTemplates(RequestTemplatesT &&value)
void SetConnectionType(ConnectionType value)
void SetIntegrationHttpMethod(IntegrationHttpMethodT &&value)
void SetHttpMethod(HttpMethodT &&value)
bool TypeHasBeenSet() const
bool IntegrationTargetHasBeenSet() const
PutIntegrationRequest & WithTimeoutInMillis(int value)
PutIntegrationRequest & WithHttpMethod(HttpMethodT &&value)
bool UriHasBeenSet() const
const Aws::String & GetCredentials() const
const Aws::String & GetHttpMethod() const
const Aws::Map< Aws::String, Aws::String > & GetRequestParameters() const
PutIntegrationRequest & WithPassthroughBehavior(PassthroughBehaviorT &&value)
PutIntegrationRequest & WithConnectionId(ConnectionIdT &&value)
const Aws::String & GetCacheNamespace() const
bool RequestParametersHasBeenSet() const
PutIntegrationRequest & WithConnectionType(ConnectionType value)
bool RequestTemplatesHasBeenSet() const
bool HttpMethodHasBeenSet() const
bool CacheKeyParametersHasBeenSet() const
AWS_APIGATEWAY_API PutIntegrationRequest()=default
PutIntegrationRequest & WithCacheNamespace(CacheNamespaceT &&value)
PutIntegrationRequest & AddRequestParameters(RequestParametersKeyT &&key, RequestParametersValueT &&value)
PutIntegrationRequest & WithResourceId(ResourceIdT &&value)
const Aws::String & GetIntegrationTarget() const
bool TlsConfigHasBeenSet() const
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
const Aws::String & GetIntegrationHttpMethod() const
const Aws::String & GetConnectionId() const
bool ResponseTransferModeHasBeenSet() const
void SetConnectionId(ConnectionIdT &&value)
ConnectionType GetConnectionType() const
bool ConnectionIdHasBeenSet() const
void SetRequestParameters(RequestParametersT &&value)
bool CacheNamespaceHasBeenSet() const
const Aws::Vector< Aws::String > & GetCacheKeyParameters() const
const Aws::String & GetUri() const
bool RestApiIdHasBeenSet() const
PutIntegrationRequest & WithRestApiId(RestApiIdT &&value)
void SetRequestTemplates(RequestTemplatesT &&value)
PutIntegrationRequest & WithResponseTransferMode(ResponseTransferMode value)
const Aws::Map< Aws::String, Aws::String > & GetRequestTemplates() const
void SetRestApiId(RestApiIdT &&value)
bool ResourceIdHasBeenSet() const
int GetTimeoutInMillis() const
void SetIntegrationTarget(IntegrationTargetT &&value)
PutIntegrationRequest & WithTlsConfig(TlsConfigT &&value)
void SetCredentials(CredentialsT &&value)
void SetResourceId(ResourceIdT &&value)
void SetResponseTransferMode(ResponseTransferMode value)
void SetPassthroughBehavior(PassthroughBehaviorT &&value)
PutIntegrationRequest & WithIntegrationTarget(IntegrationTargetT &&value)
void SetUri(UriT &&value)
PutIntegrationRequest & WithContentHandling(ContentHandlingStrategy value)
void SetTlsConfig(TlsConfigT &&value)
const Aws::String & GetResourceId() const
ResponseTransferMode GetResponseTransferMode() const
ContentHandlingStrategy GetContentHandling() const
PutIntegrationRequest & WithCacheKeyParameters(CacheKeyParametersT &&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
std::vector< T, Aws::Allocator< T > > Vector