AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Integration.h
1
6#pragma once
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>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace APIGateway
29{
30namespace Model
31{
32
40 {
41 public:
42 AWS_APIGATEWAY_API Integration();
43 AWS_APIGATEWAY_API Integration(Aws::Utils::Json::JsonView jsonValue);
44 AWS_APIGATEWAY_API Integration& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
58 inline const IntegrationType& GetType() const{ return m_type; }
59 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
60 inline void SetType(const IntegrationType& value) { m_typeHasBeenSet = true; m_type = value; }
61 inline void SetType(IntegrationType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
62 inline Integration& WithType(const IntegrationType& value) { SetType(value); return *this;}
63 inline Integration& WithType(IntegrationType&& value) { SetType(std::move(value)); return *this;}
65
67
73 inline const Aws::String& GetHttpMethod() const{ return m_httpMethod; }
74 inline bool HttpMethodHasBeenSet() const { return m_httpMethodHasBeenSet; }
75 inline void SetHttpMethod(const Aws::String& value) { m_httpMethodHasBeenSet = true; m_httpMethod = value; }
76 inline void SetHttpMethod(Aws::String&& value) { m_httpMethodHasBeenSet = true; m_httpMethod = std::move(value); }
77 inline void SetHttpMethod(const char* value) { m_httpMethodHasBeenSet = true; m_httpMethod.assign(value); }
78 inline Integration& WithHttpMethod(const Aws::String& value) { SetHttpMethod(value); return *this;}
79 inline Integration& WithHttpMethod(Aws::String&& value) { SetHttpMethod(std::move(value)); return *this;}
80 inline Integration& WithHttpMethod(const char* value) { SetHttpMethod(value); return *this;}
82
84
106 inline const Aws::String& GetUri() const{ return m_uri; }
107 inline bool UriHasBeenSet() const { return m_uriHasBeenSet; }
108 inline void SetUri(const Aws::String& value) { m_uriHasBeenSet = true; m_uri = value; }
109 inline void SetUri(Aws::String&& value) { m_uriHasBeenSet = true; m_uri = std::move(value); }
110 inline void SetUri(const char* value) { m_uriHasBeenSet = true; m_uri.assign(value); }
111 inline Integration& WithUri(const Aws::String& value) { SetUri(value); return *this;}
112 inline Integration& WithUri(Aws::String&& value) { SetUri(std::move(value)); return *this;}
113 inline Integration& WithUri(const char* value) { SetUri(value); return *this;}
115
117
124 inline const ConnectionType& GetConnectionType() const{ return m_connectionType; }
125 inline bool ConnectionTypeHasBeenSet() const { return m_connectionTypeHasBeenSet; }
126 inline void SetConnectionType(const ConnectionType& value) { m_connectionTypeHasBeenSet = true; m_connectionType = value; }
127 inline void SetConnectionType(ConnectionType&& value) { m_connectionTypeHasBeenSet = true; m_connectionType = std::move(value); }
128 inline Integration& WithConnectionType(const ConnectionType& value) { SetConnectionType(value); return *this;}
129 inline Integration& WithConnectionType(ConnectionType&& value) { SetConnectionType(std::move(value)); return *this;}
131
133
137 inline const Aws::String& GetConnectionId() const{ return m_connectionId; }
138 inline bool ConnectionIdHasBeenSet() const { return m_connectionIdHasBeenSet; }
139 inline void SetConnectionId(const Aws::String& value) { m_connectionIdHasBeenSet = true; m_connectionId = value; }
140 inline void SetConnectionId(Aws::String&& value) { m_connectionIdHasBeenSet = true; m_connectionId = std::move(value); }
141 inline void SetConnectionId(const char* value) { m_connectionIdHasBeenSet = true; m_connectionId.assign(value); }
142 inline Integration& WithConnectionId(const Aws::String& value) { SetConnectionId(value); return *this;}
143 inline Integration& WithConnectionId(Aws::String&& value) { SetConnectionId(std::move(value)); return *this;}
144 inline Integration& WithConnectionId(const char* value) { SetConnectionId(value); return *this;}
146
148
156 inline const Aws::String& GetCredentials() const{ return m_credentials; }
157 inline bool CredentialsHasBeenSet() const { return m_credentialsHasBeenSet; }
158 inline void SetCredentials(const Aws::String& value) { m_credentialsHasBeenSet = true; m_credentials = value; }
159 inline void SetCredentials(Aws::String&& value) { m_credentialsHasBeenSet = true; m_credentials = std::move(value); }
160 inline void SetCredentials(const char* value) { m_credentialsHasBeenSet = true; m_credentials.assign(value); }
161 inline Integration& WithCredentials(const Aws::String& value) { SetCredentials(value); return *this;}
162 inline Integration& WithCredentials(Aws::String&& value) { SetCredentials(std::move(value)); return *this;}
163 inline Integration& WithCredentials(const char* value) { SetCredentials(value); return *this;}
165
167
177 inline const Aws::Map<Aws::String, Aws::String>& GetRequestParameters() const{ return m_requestParameters; }
178 inline bool RequestParametersHasBeenSet() const { return m_requestParametersHasBeenSet; }
179 inline void SetRequestParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_requestParametersHasBeenSet = true; m_requestParameters = value; }
180 inline void SetRequestParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_requestParametersHasBeenSet = true; m_requestParameters = std::move(value); }
183 inline Integration& AddRequestParameters(const Aws::String& key, const Aws::String& value) { m_requestParametersHasBeenSet = true; m_requestParameters.emplace(key, value); return *this; }
184 inline Integration& AddRequestParameters(Aws::String&& key, const Aws::String& value) { m_requestParametersHasBeenSet = true; m_requestParameters.emplace(std::move(key), value); return *this; }
185 inline Integration& AddRequestParameters(const Aws::String& key, Aws::String&& value) { m_requestParametersHasBeenSet = true; m_requestParameters.emplace(key, std::move(value)); return *this; }
186 inline Integration& AddRequestParameters(Aws::String&& key, Aws::String&& value) { m_requestParametersHasBeenSet = true; m_requestParameters.emplace(std::move(key), std::move(value)); return *this; }
187 inline Integration& AddRequestParameters(const char* key, Aws::String&& value) { m_requestParametersHasBeenSet = true; m_requestParameters.emplace(key, std::move(value)); return *this; }
188 inline Integration& AddRequestParameters(Aws::String&& key, const char* value) { m_requestParametersHasBeenSet = true; m_requestParameters.emplace(std::move(key), value); return *this; }
189 inline Integration& AddRequestParameters(const char* key, const char* value) { m_requestParametersHasBeenSet = true; m_requestParameters.emplace(key, value); return *this; }
191
193
199 inline const Aws::Map<Aws::String, Aws::String>& GetRequestTemplates() const{ return m_requestTemplates; }
200 inline bool RequestTemplatesHasBeenSet() const { return m_requestTemplatesHasBeenSet; }
201 inline void SetRequestTemplates(const Aws::Map<Aws::String, Aws::String>& value) { m_requestTemplatesHasBeenSet = true; m_requestTemplates = value; }
202 inline void SetRequestTemplates(Aws::Map<Aws::String, Aws::String>&& value) { m_requestTemplatesHasBeenSet = true; m_requestTemplates = std::move(value); }
205 inline Integration& AddRequestTemplates(const Aws::String& key, const Aws::String& value) { m_requestTemplatesHasBeenSet = true; m_requestTemplates.emplace(key, value); return *this; }
206 inline Integration& AddRequestTemplates(Aws::String&& key, const Aws::String& value) { m_requestTemplatesHasBeenSet = true; m_requestTemplates.emplace(std::move(key), value); return *this; }
207 inline Integration& AddRequestTemplates(const Aws::String& key, Aws::String&& value) { m_requestTemplatesHasBeenSet = true; m_requestTemplates.emplace(key, std::move(value)); return *this; }
208 inline Integration& AddRequestTemplates(Aws::String&& key, Aws::String&& value) { m_requestTemplatesHasBeenSet = true; m_requestTemplates.emplace(std::move(key), std::move(value)); return *this; }
209 inline Integration& AddRequestTemplates(const char* key, Aws::String&& value) { m_requestTemplatesHasBeenSet = true; m_requestTemplates.emplace(key, std::move(value)); return *this; }
210 inline Integration& AddRequestTemplates(Aws::String&& key, const char* value) { m_requestTemplatesHasBeenSet = true; m_requestTemplates.emplace(std::move(key), value); return *this; }
211 inline Integration& AddRequestTemplates(const char* key, const char* value) { m_requestTemplatesHasBeenSet = true; m_requestTemplates.emplace(key, value); return *this; }
213
215
235 inline const Aws::String& GetPassthroughBehavior() const{ return m_passthroughBehavior; }
236 inline bool PassthroughBehaviorHasBeenSet() const { return m_passthroughBehaviorHasBeenSet; }
237 inline void SetPassthroughBehavior(const Aws::String& value) { m_passthroughBehaviorHasBeenSet = true; m_passthroughBehavior = value; }
238 inline void SetPassthroughBehavior(Aws::String&& value) { m_passthroughBehaviorHasBeenSet = true; m_passthroughBehavior = std::move(value); }
239 inline void SetPassthroughBehavior(const char* value) { m_passthroughBehaviorHasBeenSet = true; m_passthroughBehavior.assign(value); }
240 inline Integration& WithPassthroughBehavior(const Aws::String& value) { SetPassthroughBehavior(value); return *this;}
241 inline Integration& WithPassthroughBehavior(Aws::String&& value) { SetPassthroughBehavior(std::move(value)); return *this;}
242 inline Integration& WithPassthroughBehavior(const char* value) { SetPassthroughBehavior(value); return *this;}
244
246
254 inline const ContentHandlingStrategy& GetContentHandling() const{ return m_contentHandling; }
255 inline bool ContentHandlingHasBeenSet() const { return m_contentHandlingHasBeenSet; }
256 inline void SetContentHandling(const ContentHandlingStrategy& value) { m_contentHandlingHasBeenSet = true; m_contentHandling = value; }
257 inline void SetContentHandling(ContentHandlingStrategy&& value) { m_contentHandlingHasBeenSet = true; m_contentHandling = std::move(value); }
258 inline Integration& WithContentHandling(const ContentHandlingStrategy& value) { SetContentHandling(value); return *this;}
259 inline Integration& WithContentHandling(ContentHandlingStrategy&& value) { SetContentHandling(std::move(value)); return *this;}
261
263
267 inline int GetTimeoutInMillis() const{ return m_timeoutInMillis; }
268 inline bool TimeoutInMillisHasBeenSet() const { return m_timeoutInMillisHasBeenSet; }
269 inline void SetTimeoutInMillis(int value) { m_timeoutInMillisHasBeenSet = true; m_timeoutInMillis = value; }
270 inline Integration& WithTimeoutInMillis(int value) { SetTimeoutInMillis(value); return *this;}
272
274
280 inline const Aws::String& GetCacheNamespace() const{ return m_cacheNamespace; }
281 inline bool CacheNamespaceHasBeenSet() const { return m_cacheNamespaceHasBeenSet; }
282 inline void SetCacheNamespace(const Aws::String& value) { m_cacheNamespaceHasBeenSet = true; m_cacheNamespace = value; }
283 inline void SetCacheNamespace(Aws::String&& value) { m_cacheNamespaceHasBeenSet = true; m_cacheNamespace = std::move(value); }
284 inline void SetCacheNamespace(const char* value) { m_cacheNamespaceHasBeenSet = true; m_cacheNamespace.assign(value); }
285 inline Integration& WithCacheNamespace(const Aws::String& value) { SetCacheNamespace(value); return *this;}
286 inline Integration& WithCacheNamespace(Aws::String&& value) { SetCacheNamespace(std::move(value)); return *this;}
287 inline Integration& WithCacheNamespace(const char* value) { SetCacheNamespace(value); return *this;}
289
291
296 inline const Aws::Vector<Aws::String>& GetCacheKeyParameters() const{ return m_cacheKeyParameters; }
297 inline bool CacheKeyParametersHasBeenSet() const { return m_cacheKeyParametersHasBeenSet; }
298 inline void SetCacheKeyParameters(const Aws::Vector<Aws::String>& value) { m_cacheKeyParametersHasBeenSet = true; m_cacheKeyParameters = value; }
299 inline void SetCacheKeyParameters(Aws::Vector<Aws::String>&& value) { m_cacheKeyParametersHasBeenSet = true; m_cacheKeyParameters = std::move(value); }
301 inline Integration& WithCacheKeyParameters(Aws::Vector<Aws::String>&& value) { SetCacheKeyParameters(std::move(value)); return *this;}
302 inline Integration& AddCacheKeyParameters(const Aws::String& value) { m_cacheKeyParametersHasBeenSet = true; m_cacheKeyParameters.push_back(value); return *this; }
303 inline Integration& AddCacheKeyParameters(Aws::String&& value) { m_cacheKeyParametersHasBeenSet = true; m_cacheKeyParameters.push_back(std::move(value)); return *this; }
304 inline Integration& AddCacheKeyParameters(const char* value) { m_cacheKeyParametersHasBeenSet = true; m_cacheKeyParameters.push_back(value); return *this; }
306
308
311 inline const Aws::Map<Aws::String, IntegrationResponse>& GetIntegrationResponses() const{ return m_integrationResponses; }
312 inline bool IntegrationResponsesHasBeenSet() const { return m_integrationResponsesHasBeenSet; }
313 inline void SetIntegrationResponses(const Aws::Map<Aws::String, IntegrationResponse>& value) { m_integrationResponsesHasBeenSet = true; m_integrationResponses = value; }
314 inline void SetIntegrationResponses(Aws::Map<Aws::String, IntegrationResponse>&& value) { m_integrationResponsesHasBeenSet = true; m_integrationResponses = std::move(value); }
317 inline Integration& AddIntegrationResponses(const Aws::String& key, const IntegrationResponse& value) { m_integrationResponsesHasBeenSet = true; m_integrationResponses.emplace(key, value); return *this; }
318 inline Integration& AddIntegrationResponses(Aws::String&& key, const IntegrationResponse& value) { m_integrationResponsesHasBeenSet = true; m_integrationResponses.emplace(std::move(key), value); return *this; }
319 inline Integration& AddIntegrationResponses(const Aws::String& key, IntegrationResponse&& value) { m_integrationResponsesHasBeenSet = true; m_integrationResponses.emplace(key, std::move(value)); return *this; }
320 inline Integration& AddIntegrationResponses(Aws::String&& key, IntegrationResponse&& value) { m_integrationResponsesHasBeenSet = true; m_integrationResponses.emplace(std::move(key), std::move(value)); return *this; }
321 inline Integration& AddIntegrationResponses(const char* key, IntegrationResponse&& value) { m_integrationResponsesHasBeenSet = true; m_integrationResponses.emplace(key, std::move(value)); return *this; }
322 inline Integration& AddIntegrationResponses(const char* key, const IntegrationResponse& value) { m_integrationResponsesHasBeenSet = true; m_integrationResponses.emplace(key, value); return *this; }
324
326
329 inline const TlsConfig& GetTlsConfig() const{ return m_tlsConfig; }
330 inline bool TlsConfigHasBeenSet() const { return m_tlsConfigHasBeenSet; }
331 inline void SetTlsConfig(const TlsConfig& value) { m_tlsConfigHasBeenSet = true; m_tlsConfig = value; }
332 inline void SetTlsConfig(TlsConfig&& value) { m_tlsConfigHasBeenSet = true; m_tlsConfig = std::move(value); }
333 inline Integration& WithTlsConfig(const TlsConfig& value) { SetTlsConfig(value); return *this;}
334 inline Integration& WithTlsConfig(TlsConfig&& value) { SetTlsConfig(std::move(value)); return *this;}
336
338
339 inline const Aws::String& GetRequestId() const{ return m_requestId; }
340 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
341 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
342 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
343 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
344 inline Integration& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
345 inline Integration& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
346 inline Integration& WithRequestId(const char* value) { SetRequestId(value); return *this;}
348 private:
349
350 IntegrationType m_type;
351 bool m_typeHasBeenSet = false;
352
353 Aws::String m_httpMethod;
354 bool m_httpMethodHasBeenSet = false;
355
356 Aws::String m_uri;
357 bool m_uriHasBeenSet = false;
358
359 ConnectionType m_connectionType;
360 bool m_connectionTypeHasBeenSet = false;
361
362 Aws::String m_connectionId;
363 bool m_connectionIdHasBeenSet = false;
364
365 Aws::String m_credentials;
366 bool m_credentialsHasBeenSet = false;
367
368 Aws::Map<Aws::String, Aws::String> m_requestParameters;
369 bool m_requestParametersHasBeenSet = false;
370
371 Aws::Map<Aws::String, Aws::String> m_requestTemplates;
372 bool m_requestTemplatesHasBeenSet = false;
373
374 Aws::String m_passthroughBehavior;
375 bool m_passthroughBehaviorHasBeenSet = false;
376
377 ContentHandlingStrategy m_contentHandling;
378 bool m_contentHandlingHasBeenSet = false;
379
380 int m_timeoutInMillis;
381 bool m_timeoutInMillisHasBeenSet = false;
382
383 Aws::String m_cacheNamespace;
384 bool m_cacheNamespaceHasBeenSet = false;
385
386 Aws::Vector<Aws::String> m_cacheKeyParameters;
387 bool m_cacheKeyParametersHasBeenSet = false;
388
389 Aws::Map<Aws::String, IntegrationResponse> m_integrationResponses;
390 bool m_integrationResponsesHasBeenSet = false;
391
392 TlsConfig m_tlsConfig;
393 bool m_tlsConfigHasBeenSet = false;
394
395 Aws::String m_requestId;
396 bool m_requestIdHasBeenSet = false;
397 };
398
399} // namespace Model
400} // namespace APIGateway
401} // namespace Aws
Integration & WithType(const IntegrationType &value)
Definition Integration.h:62
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
Definition Integration.h:73
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)
Definition Integration.h:80
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)
Definition Integration.h:78
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)
Definition Integration.h:77
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)
Integration & AddCacheKeyParameters(Aws::String &&value)
const Aws::String & GetCredentials() const
Integration & AddRequestParameters(const char *key, const char *value)
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)
Integration & WithUri(const char *value)
Integration & WithRequestTemplates(Aws::Map< Aws::String, Aws::String > &&value)
void SetPassthroughBehavior(const Aws::String &value)
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)
Integration & WithRequestParameters(Aws::Map< Aws::String, Aws::String > &&value)
void SetHttpMethod(Aws::String &&value)
Definition Integration.h:76
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)
const Aws::Vector< Aws::String > & GetCacheKeyParameters() const
Integration & WithRequestParameters(const Aws::Map< Aws::String, Aws::String > &value)
Integration & WithCacheNamespace(const char *value)
const Aws::String & GetCacheNamespace() const
void SetRequestTemplates(Aws::Map< Aws::String, Aws::String > &&value)
void SetType(IntegrationType &&value)
Definition Integration.h:61
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)
Integration & WithType(IntegrationType &&value)
Definition Integration.h:63
Integration & WithConnectionType(const ConnectionType &value)
Integration & WithTlsConfig(TlsConfig &&value)
void SetTlsConfig(TlsConfig &&value)
void SetHttpMethod(const Aws::String &value)
Definition Integration.h:75
Integration & AddRequestParameters(const Aws::String &key, Aws::String &&value)
Integration & AddIntegrationResponses(Aws::String &&key, IntegrationResponse &&value)
Integration & WithUri(Aws::String &&value)
Integration & AddRequestParameters(const Aws::String &key, const Aws::String &value)
Integration & WithHttpMethod(Aws::String &&value)
Definition Integration.h:79
const IntegrationType & GetType() const
Definition Integration.h:58
void SetUri(const Aws::String &value)
void SetConnectionId(const char *value)
Integration & WithPassthroughBehavior(const Aws::String &value)
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)
Definition Integration.h:60
Integration & WithIntegrationResponses(const Aws::Map< Aws::String, IntegrationResponse > &value)
Integration & AddCacheKeyParameters(const char *value)
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)
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