AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetIntegrationResult.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{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace APIGateway
31{
32namespace Model
33{
41 {
42 public:
43 AWS_APIGATEWAY_API GetIntegrationResult();
46
47
49
58 inline const IntegrationType& GetType() const{ return m_type; }
59 inline void SetType(const IntegrationType& value) { m_type = value; }
60 inline void SetType(IntegrationType&& value) { m_type = std::move(value); }
61 inline GetIntegrationResult& WithType(const IntegrationType& value) { SetType(value); return *this;}
62 inline GetIntegrationResult& WithType(IntegrationType&& value) { SetType(std::move(value)); return *this;}
64
66
72 inline const Aws::String& GetHttpMethod() const{ return m_httpMethod; }
73 inline void SetHttpMethod(const Aws::String& value) { m_httpMethod = value; }
74 inline void SetHttpMethod(Aws::String&& value) { m_httpMethod = std::move(value); }
75 inline void SetHttpMethod(const char* value) { m_httpMethod.assign(value); }
76 inline GetIntegrationResult& WithHttpMethod(const Aws::String& value) { SetHttpMethod(value); return *this;}
77 inline GetIntegrationResult& WithHttpMethod(Aws::String&& value) { SetHttpMethod(std::move(value)); return *this;}
78 inline GetIntegrationResult& WithHttpMethod(const char* value) { SetHttpMethod(value); return *this;}
80
82
104 inline const Aws::String& GetUri() const{ return m_uri; }
105 inline void SetUri(const Aws::String& value) { m_uri = value; }
106 inline void SetUri(Aws::String&& value) { m_uri = std::move(value); }
107 inline void SetUri(const char* value) { m_uri.assign(value); }
108 inline GetIntegrationResult& WithUri(const Aws::String& value) { SetUri(value); return *this;}
109 inline GetIntegrationResult& WithUri(Aws::String&& value) { SetUri(std::move(value)); return *this;}
110 inline GetIntegrationResult& WithUri(const char* value) { SetUri(value); return *this;}
112
114
121 inline const ConnectionType& GetConnectionType() const{ return m_connectionType; }
122 inline void SetConnectionType(const ConnectionType& value) { m_connectionType = value; }
123 inline void SetConnectionType(ConnectionType&& value) { m_connectionType = std::move(value); }
124 inline GetIntegrationResult& WithConnectionType(const ConnectionType& value) { SetConnectionType(value); return *this;}
125 inline GetIntegrationResult& WithConnectionType(ConnectionType&& value) { SetConnectionType(std::move(value)); return *this;}
127
129
133 inline const Aws::String& GetConnectionId() const{ return m_connectionId; }
134 inline void SetConnectionId(const Aws::String& value) { m_connectionId = value; }
135 inline void SetConnectionId(Aws::String&& value) { m_connectionId = std::move(value); }
136 inline void SetConnectionId(const char* value) { m_connectionId.assign(value); }
137 inline GetIntegrationResult& WithConnectionId(const Aws::String& value) { SetConnectionId(value); return *this;}
138 inline GetIntegrationResult& WithConnectionId(Aws::String&& value) { SetConnectionId(std::move(value)); return *this;}
139 inline GetIntegrationResult& WithConnectionId(const char* value) { SetConnectionId(value); return *this;}
141
143
151 inline const Aws::String& GetCredentials() const{ return m_credentials; }
152 inline void SetCredentials(const Aws::String& value) { m_credentials = value; }
153 inline void SetCredentials(Aws::String&& value) { m_credentials = std::move(value); }
154 inline void SetCredentials(const char* value) { m_credentials.assign(value); }
155 inline GetIntegrationResult& WithCredentials(const Aws::String& value) { SetCredentials(value); return *this;}
156 inline GetIntegrationResult& WithCredentials(Aws::String&& value) { SetCredentials(std::move(value)); return *this;}
157 inline GetIntegrationResult& WithCredentials(const char* value) { SetCredentials(value); return *this;}
159
161
171 inline const Aws::Map<Aws::String, Aws::String>& GetRequestParameters() const{ return m_requestParameters; }
172 inline void SetRequestParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_requestParameters = value; }
173 inline void SetRequestParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_requestParameters = std::move(value); }
176 inline GetIntegrationResult& AddRequestParameters(const Aws::String& key, const Aws::String& value) { m_requestParameters.emplace(key, value); return *this; }
177 inline GetIntegrationResult& AddRequestParameters(Aws::String&& key, const Aws::String& value) { m_requestParameters.emplace(std::move(key), value); return *this; }
178 inline GetIntegrationResult& AddRequestParameters(const Aws::String& key, Aws::String&& value) { m_requestParameters.emplace(key, std::move(value)); return *this; }
179 inline GetIntegrationResult& AddRequestParameters(Aws::String&& key, Aws::String&& value) { m_requestParameters.emplace(std::move(key), std::move(value)); return *this; }
180 inline GetIntegrationResult& AddRequestParameters(const char* key, Aws::String&& value) { m_requestParameters.emplace(key, std::move(value)); return *this; }
181 inline GetIntegrationResult& AddRequestParameters(Aws::String&& key, const char* value) { m_requestParameters.emplace(std::move(key), value); return *this; }
182 inline GetIntegrationResult& AddRequestParameters(const char* key, const char* value) { m_requestParameters.emplace(key, value); return *this; }
184
186
192 inline const Aws::Map<Aws::String, Aws::String>& GetRequestTemplates() const{ return m_requestTemplates; }
193 inline void SetRequestTemplates(const Aws::Map<Aws::String, Aws::String>& value) { m_requestTemplates = value; }
194 inline void SetRequestTemplates(Aws::Map<Aws::String, Aws::String>&& value) { m_requestTemplates = std::move(value); }
197 inline GetIntegrationResult& AddRequestTemplates(const Aws::String& key, const Aws::String& value) { m_requestTemplates.emplace(key, value); return *this; }
198 inline GetIntegrationResult& AddRequestTemplates(Aws::String&& key, const Aws::String& value) { m_requestTemplates.emplace(std::move(key), value); return *this; }
199 inline GetIntegrationResult& AddRequestTemplates(const Aws::String& key, Aws::String&& value) { m_requestTemplates.emplace(key, std::move(value)); return *this; }
200 inline GetIntegrationResult& AddRequestTemplates(Aws::String&& key, Aws::String&& value) { m_requestTemplates.emplace(std::move(key), std::move(value)); return *this; }
201 inline GetIntegrationResult& AddRequestTemplates(const char* key, Aws::String&& value) { m_requestTemplates.emplace(key, std::move(value)); return *this; }
202 inline GetIntegrationResult& AddRequestTemplates(Aws::String&& key, const char* value) { m_requestTemplates.emplace(std::move(key), value); return *this; }
203 inline GetIntegrationResult& AddRequestTemplates(const char* key, const char* value) { m_requestTemplates.emplace(key, value); return *this; }
205
207
227 inline const Aws::String& GetPassthroughBehavior() const{ return m_passthroughBehavior; }
228 inline void SetPassthroughBehavior(const Aws::String& value) { m_passthroughBehavior = value; }
229 inline void SetPassthroughBehavior(Aws::String&& value) { m_passthroughBehavior = std::move(value); }
230 inline void SetPassthroughBehavior(const char* value) { m_passthroughBehavior.assign(value); }
232 inline GetIntegrationResult& WithPassthroughBehavior(Aws::String&& value) { SetPassthroughBehavior(std::move(value)); return *this;}
233 inline GetIntegrationResult& WithPassthroughBehavior(const char* value) { SetPassthroughBehavior(value); return *this;}
235
237
245 inline const ContentHandlingStrategy& GetContentHandling() const{ return m_contentHandling; }
246 inline void SetContentHandling(const ContentHandlingStrategy& value) { m_contentHandling = value; }
247 inline void SetContentHandling(ContentHandlingStrategy&& value) { m_contentHandling = std::move(value); }
249 inline GetIntegrationResult& WithContentHandling(ContentHandlingStrategy&& value) { SetContentHandling(std::move(value)); return *this;}
251
253
257 inline int GetTimeoutInMillis() const{ return m_timeoutInMillis; }
258 inline void SetTimeoutInMillis(int value) { m_timeoutInMillis = value; }
259 inline GetIntegrationResult& WithTimeoutInMillis(int value) { SetTimeoutInMillis(value); return *this;}
261
263
269 inline const Aws::String& GetCacheNamespace() const{ return m_cacheNamespace; }
270 inline void SetCacheNamespace(const Aws::String& value) { m_cacheNamespace = value; }
271 inline void SetCacheNamespace(Aws::String&& value) { m_cacheNamespace = std::move(value); }
272 inline void SetCacheNamespace(const char* value) { m_cacheNamespace.assign(value); }
273 inline GetIntegrationResult& WithCacheNamespace(const Aws::String& value) { SetCacheNamespace(value); return *this;}
274 inline GetIntegrationResult& WithCacheNamespace(Aws::String&& value) { SetCacheNamespace(std::move(value)); return *this;}
275 inline GetIntegrationResult& WithCacheNamespace(const char* value) { SetCacheNamespace(value); return *this;}
277
279
284 inline const Aws::Vector<Aws::String>& GetCacheKeyParameters() const{ return m_cacheKeyParameters; }
285 inline void SetCacheKeyParameters(const Aws::Vector<Aws::String>& value) { m_cacheKeyParameters = value; }
286 inline void SetCacheKeyParameters(Aws::Vector<Aws::String>&& value) { m_cacheKeyParameters = std::move(value); }
289 inline GetIntegrationResult& AddCacheKeyParameters(const Aws::String& value) { m_cacheKeyParameters.push_back(value); return *this; }
290 inline GetIntegrationResult& AddCacheKeyParameters(Aws::String&& value) { m_cacheKeyParameters.push_back(std::move(value)); return *this; }
291 inline GetIntegrationResult& AddCacheKeyParameters(const char* value) { m_cacheKeyParameters.push_back(value); return *this; }
293
295
298 inline const Aws::Map<Aws::String, IntegrationResponse>& GetIntegrationResponses() const{ return m_integrationResponses; }
299 inline void SetIntegrationResponses(const Aws::Map<Aws::String, IntegrationResponse>& value) { m_integrationResponses = value; }
300 inline void SetIntegrationResponses(Aws::Map<Aws::String, IntegrationResponse>&& value) { m_integrationResponses = std::move(value); }
303 inline GetIntegrationResult& AddIntegrationResponses(const Aws::String& key, const IntegrationResponse& value) { m_integrationResponses.emplace(key, value); return *this; }
304 inline GetIntegrationResult& AddIntegrationResponses(Aws::String&& key, const IntegrationResponse& value) { m_integrationResponses.emplace(std::move(key), value); return *this; }
305 inline GetIntegrationResult& AddIntegrationResponses(const Aws::String& key, IntegrationResponse&& value) { m_integrationResponses.emplace(key, std::move(value)); return *this; }
306 inline GetIntegrationResult& AddIntegrationResponses(Aws::String&& key, IntegrationResponse&& value) { m_integrationResponses.emplace(std::move(key), std::move(value)); return *this; }
307 inline GetIntegrationResult& AddIntegrationResponses(const char* key, IntegrationResponse&& value) { m_integrationResponses.emplace(key, std::move(value)); return *this; }
308 inline GetIntegrationResult& AddIntegrationResponses(const char* key, const IntegrationResponse& value) { m_integrationResponses.emplace(key, value); return *this; }
310
312
315 inline const TlsConfig& GetTlsConfig() const{ return m_tlsConfig; }
316 inline void SetTlsConfig(const TlsConfig& value) { m_tlsConfig = value; }
317 inline void SetTlsConfig(TlsConfig&& value) { m_tlsConfig = std::move(value); }
318 inline GetIntegrationResult& WithTlsConfig(const TlsConfig& value) { SetTlsConfig(value); return *this;}
319 inline GetIntegrationResult& WithTlsConfig(TlsConfig&& value) { SetTlsConfig(std::move(value)); return *this;}
321
323
324 inline const Aws::String& GetRequestId() const{ return m_requestId; }
325 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
326 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
327 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
328 inline GetIntegrationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
329 inline GetIntegrationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
330 inline GetIntegrationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
332 private:
333
334 IntegrationType m_type;
335
336 Aws::String m_httpMethod;
337
338 Aws::String m_uri;
339
340 ConnectionType m_connectionType;
341
342 Aws::String m_connectionId;
343
344 Aws::String m_credentials;
345
346 Aws::Map<Aws::String, Aws::String> m_requestParameters;
347
348 Aws::Map<Aws::String, Aws::String> m_requestTemplates;
349
350 Aws::String m_passthroughBehavior;
351
352 ContentHandlingStrategy m_contentHandling;
353
354 int m_timeoutInMillis;
355
356 Aws::String m_cacheNamespace;
357
358 Aws::Vector<Aws::String> m_cacheKeyParameters;
359
360 Aws::Map<Aws::String, IntegrationResponse> m_integrationResponses;
361
362 TlsConfig m_tlsConfig;
363
364 Aws::String m_requestId;
365 };
366
367} // namespace Model
368} // namespace APIGateway
369} // namespace Aws
GetIntegrationResult & AddRequestTemplates(Aws::String &&key, Aws::String &&value)
GetIntegrationResult & WithUri(const Aws::String &value)
GetIntegrationResult & WithRequestTemplates(Aws::Map< Aws::String, Aws::String > &&value)
GetIntegrationResult & WithRequestParameters(Aws::Map< Aws::String, Aws::String > &&value)
void SetType(const IntegrationType &value)
GetIntegrationResult & AddIntegrationResponses(Aws::String &&key, const IntegrationResponse &value)
GetIntegrationResult & WithConnectionId(Aws::String &&value)
GetIntegrationResult & WithIntegrationResponses(const Aws::Map< Aws::String, IntegrationResponse > &value)
void SetContentHandling(const ContentHandlingStrategy &value)
void SetCacheKeyParameters(const Aws::Vector< Aws::String > &value)
GetIntegrationResult & WithType(const IntegrationType &value)
GetIntegrationResult & AddIntegrationResponses(Aws::String &&key, IntegrationResponse &&value)
GetIntegrationResult & WithTlsConfig(const TlsConfig &value)
const Aws::Map< Aws::String, IntegrationResponse > & GetIntegrationResponses() const
GetIntegrationResult & WithRequestParameters(const Aws::Map< Aws::String, Aws::String > &value)
void SetRequestParameters(const Aws::Map< Aws::String, Aws::String > &value)
GetIntegrationResult & AddRequestParameters(const char *key, const char *value)
const Aws::Vector< Aws::String > & GetCacheKeyParameters() const
void SetRequestTemplates(Aws::Map< Aws::String, Aws::String > &&value)
GetIntegrationResult & WithCacheNamespace(const char *value)
const ContentHandlingStrategy & GetContentHandling() const
void SetCacheKeyParameters(Aws::Vector< Aws::String > &&value)
GetIntegrationResult & WithHttpMethod(const char *value)
void SetRequestTemplates(const Aws::Map< Aws::String, Aws::String > &value)
GetIntegrationResult & WithRequestTemplates(const Aws::Map< Aws::String, Aws::String > &value)
GetIntegrationResult & WithConnectionType(const ConnectionType &value)
GetIntegrationResult & WithUri(const char *value)
GetIntegrationResult & WithRequestId(Aws::String &&value)
GetIntegrationResult & AddCacheKeyParameters(Aws::String &&value)
GetIntegrationResult & AddIntegrationResponses(const Aws::String &key, const IntegrationResponse &value)
GetIntegrationResult & WithPassthroughBehavior(const char *value)
GetIntegrationResult & WithHttpMethod(Aws::String &&value)
void SetIntegrationResponses(const Aws::Map< Aws::String, IntegrationResponse > &value)
GetIntegrationResult & AddRequestParameters(const char *key, Aws::String &&value)
GetIntegrationResult & AddRequestParameters(const Aws::String &key, Aws::String &&value)
GetIntegrationResult & WithCredentials(const Aws::String &value)
GetIntegrationResult & AddRequestParameters(Aws::String &&key, Aws::String &&value)
GetIntegrationResult & WithCredentials(Aws::String &&value)
GetIntegrationResult & WithCacheNamespace(Aws::String &&value)
GetIntegrationResult & WithHttpMethod(const Aws::String &value)
GetIntegrationResult & AddRequestTemplates(const char *key, const char *value)
GetIntegrationResult & WithCacheNamespace(const Aws::String &value)
GetIntegrationResult & WithTimeoutInMillis(int value)
GetIntegrationResult & AddRequestParameters(Aws::String &&key, const Aws::String &value)
GetIntegrationResult & AddCacheKeyParameters(const char *value)
GetIntegrationResult & AddRequestParameters(Aws::String &&key, const char *value)
GetIntegrationResult & WithContentHandling(ContentHandlingStrategy &&value)
void SetPassthroughBehavior(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetRequestTemplates() const
GetIntegrationResult & WithConnectionType(ConnectionType &&value)
GetIntegrationResult & WithConnectionId(const Aws::String &value)
GetIntegrationResult & WithPassthroughBehavior(Aws::String &&value)
GetIntegrationResult & AddRequestTemplates(const char *key, Aws::String &&value)
GetIntegrationResult & AddIntegrationResponses(const char *key, IntegrationResponse &&value)
GetIntegrationResult & AddCacheKeyParameters(const Aws::String &value)
GetIntegrationResult & AddRequestTemplates(const Aws::String &key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetRequestParameters() const
GetIntegrationResult & WithCacheKeyParameters(const Aws::Vector< Aws::String > &value)
AWS_APIGATEWAY_API GetIntegrationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetIntegrationResult & AddRequestTemplates(const Aws::String &key, Aws::String &&value)
void SetConnectionType(const ConnectionType &value)
GetIntegrationResult & AddRequestTemplates(Aws::String &&key, const Aws::String &value)
GetIntegrationResult & WithPassthroughBehavior(const Aws::String &value)
GetIntegrationResult & WithRequestId(const char *value)
GetIntegrationResult & WithIntegrationResponses(Aws::Map< Aws::String, IntegrationResponse > &&value)
GetIntegrationResult & AddIntegrationResponses(const char *key, const IntegrationResponse &value)
GetIntegrationResult & WithConnectionId(const char *value)
AWS_APIGATEWAY_API GetIntegrationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetIntegrationResult & AddRequestParameters(const Aws::String &key, const Aws::String &value)
GetIntegrationResult & WithContentHandling(const ContentHandlingStrategy &value)
void SetRequestParameters(Aws::Map< Aws::String, Aws::String > &&value)
GetIntegrationResult & WithCredentials(const char *value)
GetIntegrationResult & AddRequestTemplates(Aws::String &&key, const char *value)
void SetContentHandling(ContentHandlingStrategy &&value)
GetIntegrationResult & WithTlsConfig(TlsConfig &&value)
GetIntegrationResult & AddIntegrationResponses(const Aws::String &key, IntegrationResponse &&value)
GetIntegrationResult & WithType(IntegrationType &&value)
GetIntegrationResult & WithCacheKeyParameters(Aws::Vector< Aws::String > &&value)
GetIntegrationResult & WithRequestId(const Aws::String &value)
GetIntegrationResult & WithUri(Aws::String &&value)
void SetIntegrationResponses(Aws::Map< Aws::String, 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