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>
50 template<
typename RestApiIdT = Aws::String>
51 void SetRestApiId(RestApiIdT&& value) { m_restApiIdHasBeenSet =
true; m_restApiId = std::forward<RestApiIdT>(value); }
52 template<
typename RestApiIdT = Aws::String>
62 template<
typename ResourceIdT = Aws::String>
63 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
64 template<
typename ResourceIdT = Aws::String>
74 template<
typename HttpMethodT = Aws::String>
75 void SetHttpMethod(HttpMethodT&& value) { m_httpMethodHasBeenSet =
true; m_httpMethod = std::forward<HttpMethodT>(value); }
76 template<
typename HttpMethodT = Aws::String>
96 template<
typename IntegrationHttpMethodT = Aws::String>
97 void SetIntegrationHttpMethod(IntegrationHttpMethodT&& value) { m_integrationHttpMethodHasBeenSet =
true; m_integrationHttpMethod = std::forward<IntegrationHttpMethodT>(value); }
98 template<
typename IntegrationHttpMethodT = Aws::String>
128 template<
typename UriT = Aws::String>
129 void SetUri(UriT&& value) { m_uriHasBeenSet =
true; m_uri = std::forward<UriT>(value); }
130 template<
typename UriT = Aws::String>
155 template<
typename ConnectionIdT = Aws::String>
156 void SetConnectionId(ConnectionIdT&& value) { m_connectionIdHasBeenSet =
true; m_connectionId = std::forward<ConnectionIdT>(value); }
157 template<
typename ConnectionIdT = Aws::String>
167 template<
typename CredentialsT = Aws::String>
168 void SetCredentials(CredentialsT&& value) { m_credentialsHasBeenSet =
true; m_credentials = std::forward<CredentialsT>(value); }
169 template<
typename CredentialsT = Aws::String>
186 template<
typename RequestParametersT = Aws::Map<Aws::String, Aws::String>>
187 void SetRequestParameters(RequestParametersT&& value) { m_requestParametersHasBeenSet =
true; m_requestParameters = std::forward<RequestParametersT>(value); }
188 template<
typename RequestParametersT = Aws::Map<Aws::String, Aws::String>>
190 template<
typename RequestParametersKeyT = Aws::String,
typename RequestParametersValueT = Aws::String>
192 m_requestParametersHasBeenSet =
true; m_requestParameters.emplace(std::forward<RequestParametersKeyT>(key), std::forward<RequestParametersValueT>(value));
return *
this;
205 template<
typename RequestTemplatesT = Aws::Map<Aws::String, Aws::String>>
206 void SetRequestTemplates(RequestTemplatesT&& value) { m_requestTemplatesHasBeenSet =
true; m_requestTemplates = std::forward<RequestTemplatesT>(value); }
207 template<
typename RequestTemplatesT = Aws::Map<Aws::String, Aws::String>>
209 template<
typename RequestTemplatesKeyT = Aws::String,
typename RequestTemplatesValueT = Aws::String>
211 m_requestTemplatesHasBeenSet =
true; m_requestTemplates.emplace(std::forward<RequestTemplatesKeyT>(key), std::forward<RequestTemplatesValueT>(value));
return *
this;
225 template<
typename PassthroughBehaviorT = Aws::String>
226 void SetPassthroughBehavior(PassthroughBehaviorT&& value) { m_passthroughBehaviorHasBeenSet =
true; m_passthroughBehavior = std::forward<PassthroughBehaviorT>(value); }
227 template<
typename PassthroughBehaviorT = Aws::String>
240 template<
typename CacheNamespaceT = Aws::String>
241 void SetCacheNamespace(CacheNamespaceT&& value) { m_cacheNamespaceHasBeenSet =
true; m_cacheNamespace = std::forward<CacheNamespaceT>(value); }
242 template<
typename CacheNamespaceT = Aws::String>
254 template<
typename CacheKeyParametersT = Aws::Vector<Aws::String>>
255 void SetCacheKeyParameters(CacheKeyParametersT&& value) { m_cacheKeyParametersHasBeenSet =
true; m_cacheKeyParameters = std::forward<CacheKeyParametersT>(value); }
256 template<
typename CacheKeyParametersT = Aws::Vector<Aws::String>>
258 template<
typename CacheKeyParametersT = Aws::String>
285 inline void SetTimeoutInMillis(
int value) { m_timeoutInMillisHasBeenSet =
true; m_timeoutInMillis = value; }
293 template<
typename TlsConfigT = TlsConfig>
294 void SetTlsConfig(TlsConfigT&& value) { m_tlsConfigHasBeenSet =
true; m_tlsConfig = std::forward<TlsConfigT>(value); }
295 template<
typename TlsConfigT = TlsConfig>
301 bool m_restApiIdHasBeenSet =
false;
304 bool m_resourceIdHasBeenSet =
false;
307 bool m_httpMethodHasBeenSet =
false;
310 bool m_typeHasBeenSet =
false;
313 bool m_integrationHttpMethodHasBeenSet =
false;
316 bool m_uriHasBeenSet =
false;
319 bool m_connectionTypeHasBeenSet =
false;
322 bool m_connectionIdHasBeenSet =
false;
325 bool m_credentialsHasBeenSet =
false;
328 bool m_requestParametersHasBeenSet =
false;
331 bool m_requestTemplatesHasBeenSet =
false;
334 bool m_passthroughBehaviorHasBeenSet =
false;
337 bool m_cacheNamespaceHasBeenSet =
false;
340 bool m_cacheKeyParametersHasBeenSet =
false;
343 bool m_contentHandlingHasBeenSet =
false;
345 int m_timeoutInMillis{0};
346 bool m_timeoutInMillisHasBeenSet =
false;
348 TlsConfig m_tlsConfig;
349 bool m_tlsConfigHasBeenSet =
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
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)
bool TlsConfigHasBeenSet() const
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
const Aws::String & GetIntegrationHttpMethod() const
const Aws::String & GetConnectionId() 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)
const Aws::Map< Aws::String, Aws::String > & GetRequestTemplates() const
void SetRestApiId(RestApiIdT &&value)
bool ResourceIdHasBeenSet() const
int GetTimeoutInMillis() const
PutIntegrationRequest & WithTlsConfig(TlsConfigT &&value)
void SetCredentials(CredentialsT &&value)
void SetResourceId(ResourceIdT &&value)
void SetPassthroughBehavior(PassthroughBehaviorT &&value)
void SetUri(UriT &&value)
PutIntegrationRequest & WithContentHandling(ContentHandlingStrategy value)
void SetTlsConfig(TlsConfigT &&value)
const Aws::String & GetResourceId() 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