7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/APIGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/apigateway/model/IntegrationType.h>
11#include <aws/apigateway/model/ConnectionType.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/apigateway/model/ContentHandlingStrategy.h>
15#include <aws/apigateway/model/TlsConfig.h>
52 inline void SetRestApiId(
const char* value) { m_restApiIdHasBeenSet =
true; m_restApiId.assign(value); }
66 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
80 inline void SetHttpMethod(
const char* value) { m_httpMethodHasBeenSet =
true; m_httpMethod.assign(value); }
106 inline void SetIntegrationHttpMethod(
const char* value) { m_integrationHttpMethodHasBeenSet =
true; m_integrationHttpMethod.assign(value); }
140 inline void SetUri(
const char* value) { m_uriHasBeenSet =
true; m_uri.assign(value); }
171 inline void SetConnectionId(
const char* value) { m_connectionIdHasBeenSet =
true; m_connectionId.assign(value); }
185 inline void SetCredentials(
const char* value) { m_credentialsHasBeenSet =
true; m_credentials.assign(value); }
251 inline void SetPassthroughBehavior(
const char* value) { m_passthroughBehaviorHasBeenSet =
true; m_passthroughBehavior.assign(value); }
268 inline void SetCacheNamespace(
const char* value) { m_cacheNamespaceHasBeenSet =
true; m_cacheNamespace.assign(value); }
315 inline void SetTimeoutInMillis(
int value) { m_timeoutInMillisHasBeenSet =
true; m_timeoutInMillis = value; }
331 bool m_restApiIdHasBeenSet =
false;
334 bool m_resourceIdHasBeenSet =
false;
337 bool m_httpMethodHasBeenSet =
false;
340 bool m_typeHasBeenSet =
false;
343 bool m_integrationHttpMethodHasBeenSet =
false;
346 bool m_uriHasBeenSet =
false;
349 bool m_connectionTypeHasBeenSet =
false;
352 bool m_connectionIdHasBeenSet =
false;
355 bool m_credentialsHasBeenSet =
false;
358 bool m_requestParametersHasBeenSet =
false;
361 bool m_requestTemplatesHasBeenSet =
false;
364 bool m_passthroughBehaviorHasBeenSet =
false;
367 bool m_cacheNamespaceHasBeenSet =
false;
370 bool m_cacheKeyParametersHasBeenSet =
false;
373 bool m_contentHandlingHasBeenSet =
false;
375 int m_timeoutInMillis;
376 bool m_timeoutInMillisHasBeenSet =
false;
379 bool m_tlsConfigHasBeenSet =
false;
PutIntegrationRequest & WithCredentials(const Aws::String &value)
void SetUri(const Aws::String &value)
PutIntegrationRequest & WithIntegrationHttpMethod(const char *value)
void SetCacheNamespace(const char *value)
void SetContentHandling(const ContentHandlingStrategy &value)
bool CredentialsHasBeenSet() const
PutIntegrationRequest & AddRequestParameters(Aws::String &&key, const Aws::String &value)
PutIntegrationRequest & AddRequestTemplates(const Aws::String &key, const Aws::String &value)
const Aws::String & GetPassthroughBehavior() const
void SetRequestParameters(const Aws::Map< Aws::String, Aws::String > &value)
bool PassthroughBehaviorHasBeenSet() const
PutIntegrationRequest & WithHttpMethod(const Aws::String &value)
void SetTimeoutInMillis(int value)
PutIntegrationRequest & WithType(const IntegrationType &value)
void SetConnectionId(const char *value)
bool TimeoutInMillisHasBeenSet() const
bool ConnectionTypeHasBeenSet() const
PutIntegrationRequest & WithConnectionId(Aws::String &&value)
bool ContentHandlingHasBeenSet() const
void SetUri(Aws::String &&value)
void SetRestApiId(const Aws::String &value)
PutIntegrationRequest & WithIntegrationHttpMethod(Aws::String &&value)
void SetConnectionType(ConnectionType &&value)
PutIntegrationRequest & WithCredentials(Aws::String &&value)
PutIntegrationRequest & AddRequestTemplates(const Aws::String &key, Aws::String &&value)
const TlsConfig & GetTlsConfig() const
PutIntegrationRequest & AddCacheKeyParameters(const Aws::String &value)
PutIntegrationRequest & WithPassthroughBehavior(Aws::String &&value)
void SetCacheKeyParameters(Aws::Vector< Aws::String > &&value)
const Aws::String & GetRestApiId() const
PutIntegrationRequest & AddRequestTemplates(Aws::String &&key, Aws::String &&value)
bool IntegrationHttpMethodHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetPassthroughBehavior(Aws::String &&value)
PutIntegrationRequest & AddRequestParameters(Aws::String &&key, const char *value)
void SetIntegrationHttpMethod(const Aws::String &value)
void SetIntegrationHttpMethod(Aws::String &&value)
void SetRequestTemplates(Aws::Map< Aws::String, Aws::String > &&value)
bool TypeHasBeenSet() const
PutIntegrationRequest & WithRestApiId(const Aws::String &value)
void SetTlsConfig(TlsConfig &&value)
PutIntegrationRequest & WithTimeoutInMillis(int value)
PutIntegrationRequest & AddRequestParameters(const char *key, Aws::String &&value)
void SetType(const IntegrationType &value)
bool UriHasBeenSet() const
const Aws::String & GetCredentials() const
PutIntegrationRequest & WithResourceId(Aws::String &&value)
PutIntegrationRequest & AddRequestTemplates(const char *key, Aws::String &&value)
const Aws::String & GetHttpMethod() const
const Aws::Map< Aws::String, Aws::String > & GetRequestParameters() const
PutIntegrationRequest & WithRestApiId(Aws::String &&value)
PutIntegrationRequest & WithUri(const Aws::String &value)
const Aws::String & GetCacheNamespace() const
PutIntegrationRequest & WithRequestTemplates(Aws::Map< Aws::String, Aws::String > &&value)
bool RequestParametersHasBeenSet() const
bool RequestTemplatesHasBeenSet() const
void SetCredentials(const char *value)
bool HttpMethodHasBeenSet() const
void SetConnectionId(Aws::String &&value)
bool CacheKeyParametersHasBeenSet() const
PutIntegrationRequest & AddRequestTemplates(const char *key, const char *value)
PutIntegrationRequest & WithCacheNamespace(Aws::String &&value)
PutIntegrationRequest & WithUri(const char *value)
bool TlsConfigHasBeenSet() const
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
void SetRequestTemplates(const Aws::Map< Aws::String, Aws::String > &value)
void SetCredentials(Aws::String &&value)
void SetHttpMethod(Aws::String &&value)
PutIntegrationRequest & WithCacheNamespace(const char *value)
PutIntegrationRequest & WithCacheNamespace(const Aws::String &value)
const Aws::String & GetIntegrationHttpMethod() const
void SetHttpMethod(const char *value)
PutIntegrationRequest & WithRestApiId(const char *value)
const Aws::String & GetConnectionId() const
PutIntegrationRequest & WithResourceId(const Aws::String &value)
void SetResourceId(const Aws::String &value)
PutIntegrationRequest & WithHttpMethod(Aws::String &&value)
PutIntegrationRequest & WithConnectionType(const ConnectionType &value)
bool ConnectionIdHasBeenSet() const
PutIntegrationRequest & WithPassthroughBehavior(const char *value)
void SetCredentials(const Aws::String &value)
void SetRestApiId(Aws::String &&value)
bool CacheNamespaceHasBeenSet() const
const Aws::Vector< Aws::String > & GetCacheKeyParameters() const
const Aws::String & GetUri() const
PutIntegrationRequest & WithType(IntegrationType &&value)
bool RestApiIdHasBeenSet() const
PutIntegrationRequest & WithConnectionId(const char *value)
PutIntegrationRequest & WithConnectionType(ConnectionType &&value)
PutIntegrationRequest & WithConnectionId(const Aws::String &value)
PutIntegrationRequest & WithCacheKeyParameters(const Aws::Vector< Aws::String > &value)
PutIntegrationRequest & WithHttpMethod(const char *value)
void SetPassthroughBehavior(const char *value)
void SetConnectionId(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetRequestTemplates() const
bool ResourceIdHasBeenSet() const
void SetTlsConfig(const TlsConfig &value)
const ConnectionType & GetConnectionType() const
PutIntegrationRequest & WithTlsConfig(TlsConfig &&value)
PutIntegrationRequest & AddCacheKeyParameters(Aws::String &&value)
int GetTimeoutInMillis() const
void SetRequestParameters(Aws::Map< Aws::String, Aws::String > &&value)
PutIntegrationRequest & WithCredentials(const char *value)
PutIntegrationRequest & WithRequestParameters(const Aws::Map< Aws::String, Aws::String > &value)
PutIntegrationRequest & WithRequestParameters(Aws::Map< Aws::String, Aws::String > &&value)
AWS_APIGATEWAY_API PutIntegrationRequest()
PutIntegrationRequest & AddRequestParameters(Aws::String &&key, Aws::String &&value)
PutIntegrationRequest & AddCacheKeyParameters(const char *value)
void SetResourceId(Aws::String &&value)
void SetIntegrationHttpMethod(const char *value)
void SetCacheNamespace(const Aws::String &value)
PutIntegrationRequest & WithResourceId(const char *value)
const ContentHandlingStrategy & GetContentHandling() const
void SetType(IntegrationType &&value)
PutIntegrationRequest & AddRequestTemplates(Aws::String &&key, const Aws::String &value)
void SetPassthroughBehavior(const Aws::String &value)
PutIntegrationRequest & WithRequestTemplates(const Aws::Map< Aws::String, Aws::String > &value)
void SetContentHandling(ContentHandlingStrategy &&value)
PutIntegrationRequest & WithUri(Aws::String &&value)
PutIntegrationRequest & WithIntegrationHttpMethod(const Aws::String &value)
PutIntegrationRequest & WithCacheKeyParameters(Aws::Vector< Aws::String > &&value)
PutIntegrationRequest & WithContentHandling(ContentHandlingStrategy &&value)
PutIntegrationRequest & WithContentHandling(const ContentHandlingStrategy &value)
void SetUri(const char *value)
void SetCacheNamespace(Aws::String &&value)
PutIntegrationRequest & WithPassthroughBehavior(const Aws::String &value)
void SetRestApiId(const char *value)
const IntegrationType & GetType() const
PutIntegrationRequest & AddRequestParameters(const Aws::String &key, Aws::String &&value)
const Aws::String & GetResourceId() const
void SetResourceId(const char *value)
void SetConnectionType(const ConnectionType &value)
PutIntegrationRequest & WithTlsConfig(const TlsConfig &value)
void SetHttpMethod(const Aws::String &value)
void SetCacheKeyParameters(const Aws::Vector< Aws::String > &value)
PutIntegrationRequest & AddRequestTemplates(Aws::String &&key, const char *value)
PutIntegrationRequest & AddRequestParameters(const Aws::String &key, const Aws::String &value)
PutIntegrationRequest & AddRequestParameters(const char *key, 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
std::vector< T, Aws::Allocator< T > > Vector