AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateIntegrationResult.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 UpdateIntegrationResult();
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 UpdateIntegrationResult& WithType(const IntegrationType& value) { SetType(value); return *this;}
62 inline UpdateIntegrationResult& 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 UpdateIntegrationResult& WithHttpMethod(const Aws::String& value) { SetHttpMethod(value); return *this;}
77 inline UpdateIntegrationResult& WithHttpMethod(Aws::String&& value) { SetHttpMethod(std::move(value)); return *this;}
78 inline UpdateIntegrationResult& 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 UpdateIntegrationResult& WithUri(const Aws::String& value) { SetUri(value); return *this;}
109 inline UpdateIntegrationResult& WithUri(Aws::String&& value) { SetUri(std::move(value)); return *this;}
110 inline UpdateIntegrationResult& 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 UpdateIntegrationResult& WithConnectionType(const ConnectionType& value) { SetConnectionType(value); return *this;}
125 inline UpdateIntegrationResult& 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 UpdateIntegrationResult& WithConnectionId(const Aws::String& value) { SetConnectionId(value); return *this;}
138 inline UpdateIntegrationResult& WithConnectionId(Aws::String&& value) { SetConnectionId(std::move(value)); return *this;}
139 inline UpdateIntegrationResult& 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 UpdateIntegrationResult& WithCredentials(const Aws::String& value) { SetCredentials(value); return *this;}
156 inline UpdateIntegrationResult& WithCredentials(Aws::String&& value) { SetCredentials(std::move(value)); return *this;}
157 inline UpdateIntegrationResult& 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 UpdateIntegrationResult& AddRequestParameters(const Aws::String& key, const Aws::String& value) { m_requestParameters.emplace(key, value); return *this; }
177 inline UpdateIntegrationResult& AddRequestParameters(Aws::String&& key, const Aws::String& value) { m_requestParameters.emplace(std::move(key), value); return *this; }
178 inline UpdateIntegrationResult& AddRequestParameters(const Aws::String& key, Aws::String&& value) { m_requestParameters.emplace(key, std::move(value)); return *this; }
179 inline UpdateIntegrationResult& AddRequestParameters(Aws::String&& key, Aws::String&& value) { m_requestParameters.emplace(std::move(key), std::move(value)); return *this; }
180 inline UpdateIntegrationResult& AddRequestParameters(const char* key, Aws::String&& value) { m_requestParameters.emplace(key, std::move(value)); return *this; }
181 inline UpdateIntegrationResult& AddRequestParameters(Aws::String&& key, const char* value) { m_requestParameters.emplace(std::move(key), value); return *this; }
182 inline UpdateIntegrationResult& 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 UpdateIntegrationResult& AddRequestTemplates(const Aws::String& key, const Aws::String& value) { m_requestTemplates.emplace(key, value); return *this; }
198 inline UpdateIntegrationResult& AddRequestTemplates(Aws::String&& key, const Aws::String& value) { m_requestTemplates.emplace(std::move(key), value); return *this; }
199 inline UpdateIntegrationResult& AddRequestTemplates(const Aws::String& key, Aws::String&& value) { m_requestTemplates.emplace(key, std::move(value)); return *this; }
200 inline UpdateIntegrationResult& AddRequestTemplates(Aws::String&& key, Aws::String&& value) { m_requestTemplates.emplace(std::move(key), std::move(value)); return *this; }
201 inline UpdateIntegrationResult& AddRequestTemplates(const char* key, Aws::String&& value) { m_requestTemplates.emplace(key, std::move(value)); return *this; }
202 inline UpdateIntegrationResult& AddRequestTemplates(Aws::String&& key, const char* value) { m_requestTemplates.emplace(std::move(key), value); return *this; }
203 inline UpdateIntegrationResult& 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 UpdateIntegrationResult& WithPassthroughBehavior(Aws::String&& value) { SetPassthroughBehavior(std::move(value)); return *this;}
233 inline UpdateIntegrationResult& 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); }
251
253
257 inline int GetTimeoutInMillis() const{ return m_timeoutInMillis; }
258 inline void SetTimeoutInMillis(int value) { m_timeoutInMillis = value; }
259 inline UpdateIntegrationResult& 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 UpdateIntegrationResult& WithCacheNamespace(const Aws::String& value) { SetCacheNamespace(value); return *this;}
274 inline UpdateIntegrationResult& WithCacheNamespace(Aws::String&& value) { SetCacheNamespace(std::move(value)); return *this;}
275 inline UpdateIntegrationResult& 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 UpdateIntegrationResult& AddCacheKeyParameters(const Aws::String& value) { m_cacheKeyParameters.push_back(value); return *this; }
290 inline UpdateIntegrationResult& AddCacheKeyParameters(Aws::String&& value) { m_cacheKeyParameters.push_back(std::move(value)); return *this; }
291 inline UpdateIntegrationResult& 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 UpdateIntegrationResult& AddIntegrationResponses(const Aws::String& key, const IntegrationResponse& value) { m_integrationResponses.emplace(key, value); return *this; }
304 inline UpdateIntegrationResult& AddIntegrationResponses(Aws::String&& key, const IntegrationResponse& value) { m_integrationResponses.emplace(std::move(key), value); return *this; }
305 inline UpdateIntegrationResult& AddIntegrationResponses(const Aws::String& key, IntegrationResponse&& value) { m_integrationResponses.emplace(key, std::move(value)); return *this; }
306 inline UpdateIntegrationResult& AddIntegrationResponses(Aws::String&& key, IntegrationResponse&& value) { m_integrationResponses.emplace(std::move(key), std::move(value)); return *this; }
307 inline UpdateIntegrationResult& AddIntegrationResponses(const char* key, IntegrationResponse&& value) { m_integrationResponses.emplace(key, std::move(value)); return *this; }
308 inline UpdateIntegrationResult& 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 UpdateIntegrationResult& WithTlsConfig(const TlsConfig& value) { SetTlsConfig(value); return *this;}
319 inline UpdateIntegrationResult& 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 UpdateIntegrationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
329 inline UpdateIntegrationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
330 inline UpdateIntegrationResult& 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
void SetRequestTemplates(const Aws::Map< Aws::String, Aws::String > &value)
UpdateIntegrationResult & WithCacheNamespace(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetRequestParameters() const
void SetIntegrationResponses(Aws::Map< Aws::String, IntegrationResponse > &&value)
UpdateIntegrationResult & WithTlsConfig(const TlsConfig &value)
UpdateIntegrationResult & WithCacheKeyParameters(Aws::Vector< Aws::String > &&value)
void SetRequestParameters(const Aws::Map< Aws::String, Aws::String > &value)
UpdateIntegrationResult & WithHttpMethod(Aws::String &&value)
UpdateIntegrationResult & WithConnectionId(const Aws::String &value)
UpdateIntegrationResult & AddCacheKeyParameters(Aws::String &&value)
const Aws::Vector< Aws::String > & GetCacheKeyParameters() const
UpdateIntegrationResult & WithContentHandling(ContentHandlingStrategy &&value)
UpdateIntegrationResult & WithCredentials(const char *value)
UpdateIntegrationResult & AddRequestParameters(Aws::String &&key, const char *value)
UpdateIntegrationResult & WithRequestId(const char *value)
UpdateIntegrationResult & WithConnectionId(Aws::String &&value)
UpdateIntegrationResult & WithCredentials(Aws::String &&value)
UpdateIntegrationResult & AddRequestTemplates(Aws::String &&key, const Aws::String &value)
UpdateIntegrationResult & AddRequestParameters(const char *key, const char *value)
UpdateIntegrationResult & AddIntegrationResponses(const Aws::String &key, IntegrationResponse &&value)
UpdateIntegrationResult & AddRequestTemplates(const char *key, Aws::String &&value)
UpdateIntegrationResult & WithCredentials(const Aws::String &value)
UpdateIntegrationResult & WithPassthroughBehavior(const Aws::String &value)
void SetRequestTemplates(Aws::Map< Aws::String, Aws::String > &&value)
UpdateIntegrationResult & WithType(IntegrationType &&value)
UpdateIntegrationResult & AddRequestTemplates(Aws::String &&key, Aws::String &&value)
UpdateIntegrationResult & WithUri(const Aws::String &value)
UpdateIntegrationResult & WithRequestTemplates(const Aws::Map< Aws::String, Aws::String > &value)
void SetContentHandling(const ContentHandlingStrategy &value)
UpdateIntegrationResult & WithCacheNamespace(const char *value)
UpdateIntegrationResult & WithRequestParameters(const Aws::Map< Aws::String, Aws::String > &value)
UpdateIntegrationResult & WithPassthroughBehavior(const char *value)
UpdateIntegrationResult & WithUri(const char *value)
UpdateIntegrationResult & AddRequestTemplates(Aws::String &&key, const char *value)
UpdateIntegrationResult & AddRequestTemplates(const Aws::String &key, Aws::String &&value)
const Aws::Map< Aws::String, IntegrationResponse > & GetIntegrationResponses() const
UpdateIntegrationResult & WithPassthroughBehavior(Aws::String &&value)
UpdateIntegrationResult & WithRequestTemplates(Aws::Map< Aws::String, Aws::String > &&value)
UpdateIntegrationResult & AddRequestParameters(const Aws::String &key, const Aws::String &value)
UpdateIntegrationResult & AddIntegrationResponses(Aws::String &&key, IntegrationResponse &&value)
UpdateIntegrationResult & WithRequestParameters(Aws::Map< Aws::String, Aws::String > &&value)
UpdateIntegrationResult & WithHttpMethod(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetRequestTemplates() const
void SetCacheKeyParameters(const Aws::Vector< Aws::String > &value)
UpdateIntegrationResult & WithConnectionType(const ConnectionType &value)
UpdateIntegrationResult & WithIntegrationResponses(Aws::Map< Aws::String, IntegrationResponse > &&value)
UpdateIntegrationResult & WithCacheNamespace(const Aws::String &value)
void SetCacheKeyParameters(Aws::Vector< Aws::String > &&value)
UpdateIntegrationResult & WithType(const IntegrationType &value)
UpdateIntegrationResult & AddRequestParameters(const char *key, Aws::String &&value)
UpdateIntegrationResult & AddIntegrationResponses(const Aws::String &key, const IntegrationResponse &value)
void SetIntegrationResponses(const Aws::Map< Aws::String, IntegrationResponse > &value)
UpdateIntegrationResult & AddIntegrationResponses(const char *key, IntegrationResponse &&value)
UpdateIntegrationResult & WithConnectionId(const char *value)
UpdateIntegrationResult & WithHttpMethod(const Aws::String &value)
AWS_APIGATEWAY_API UpdateIntegrationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateIntegrationResult & AddCacheKeyParameters(const Aws::String &value)
UpdateIntegrationResult & WithTimeoutInMillis(int value)
UpdateIntegrationResult & WithCacheKeyParameters(const Aws::Vector< Aws::String > &value)
UpdateIntegrationResult & AddIntegrationResponses(Aws::String &&key, const IntegrationResponse &value)
UpdateIntegrationResult & AddRequestTemplates(const Aws::String &key, const Aws::String &value)
UpdateIntegrationResult & AddRequestParameters(const Aws::String &key, Aws::String &&value)
AWS_APIGATEWAY_API UpdateIntegrationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateIntegrationResult & AddRequestParameters(Aws::String &&key, Aws::String &&value)
UpdateIntegrationResult & WithContentHandling(const ContentHandlingStrategy &value)
UpdateIntegrationResult & WithTlsConfig(TlsConfig &&value)
UpdateIntegrationResult & AddRequestParameters(Aws::String &&key, const Aws::String &value)
UpdateIntegrationResult & WithRequestId(const Aws::String &value)
UpdateIntegrationResult & AddIntegrationResponses(const char *key, const IntegrationResponse &value)
void SetRequestParameters(Aws::Map< Aws::String, Aws::String > &&value)
UpdateIntegrationResult & AddRequestTemplates(const char *key, const char *value)
UpdateIntegrationResult & WithUri(Aws::String &&value)
UpdateIntegrationResult & WithConnectionType(ConnectionType &&value)
void SetContentHandling(ContentHandlingStrategy &&value)
const ContentHandlingStrategy & GetContentHandling() const
UpdateIntegrationResult & WithRequestId(Aws::String &&value)
UpdateIntegrationResult & AddCacheKeyParameters(const char *value)
UpdateIntegrationResult & WithIntegrationResponses(const 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