AWS SDK for C++  1.9.153
AWS SDK for C++
GetIntegrationResponseResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace APIGateway
26 {
27 namespace Model
28 {
39  {
40  public:
44 
45 
50  inline const Aws::String& GetStatusCode() const{ return m_statusCode; }
51 
56  inline void SetStatusCode(const Aws::String& value) { m_statusCode = value; }
57 
62  inline void SetStatusCode(Aws::String&& value) { m_statusCode = std::move(value); }
63 
68  inline void SetStatusCode(const char* value) { m_statusCode.assign(value); }
69 
74  inline GetIntegrationResponseResult& WithStatusCode(const Aws::String& value) { SetStatusCode(value); return *this;}
75 
80  inline GetIntegrationResponseResult& WithStatusCode(Aws::String&& value) { SetStatusCode(std::move(value)); return *this;}
81 
86  inline GetIntegrationResponseResult& WithStatusCode(const char* value) { SetStatusCode(value); return *this;}
87 
88 
99  inline const Aws::String& GetSelectionPattern() const{ return m_selectionPattern; }
100 
111  inline void SetSelectionPattern(const Aws::String& value) { m_selectionPattern = value; }
112 
123  inline void SetSelectionPattern(Aws::String&& value) { m_selectionPattern = std::move(value); }
124 
135  inline void SetSelectionPattern(const char* value) { m_selectionPattern.assign(value); }
136 
147  inline GetIntegrationResponseResult& WithSelectionPattern(const Aws::String& value) { SetSelectionPattern(value); return *this;}
148 
159  inline GetIntegrationResponseResult& WithSelectionPattern(Aws::String&& value) { SetSelectionPattern(std::move(value)); return *this;}
160 
171  inline GetIntegrationResponseResult& WithSelectionPattern(const char* value) { SetSelectionPattern(value); return *this;}
172 
173 
188  inline const Aws::Map<Aws::String, Aws::String>& GetResponseParameters() const{ return m_responseParameters; }
189 
204  inline void SetResponseParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_responseParameters = value; }
205 
220  inline void SetResponseParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_responseParameters = std::move(value); }
221 
236  inline GetIntegrationResponseResult& WithResponseParameters(const Aws::Map<Aws::String, Aws::String>& value) { SetResponseParameters(value); return *this;}
237 
252  inline GetIntegrationResponseResult& WithResponseParameters(Aws::Map<Aws::String, Aws::String>&& value) { SetResponseParameters(std::move(value)); return *this;}
253 
268  inline GetIntegrationResponseResult& AddResponseParameters(const Aws::String& key, const Aws::String& value) { m_responseParameters.emplace(key, value); return *this; }
269 
284  inline GetIntegrationResponseResult& AddResponseParameters(Aws::String&& key, const Aws::String& value) { m_responseParameters.emplace(std::move(key), value); return *this; }
285 
300  inline GetIntegrationResponseResult& AddResponseParameters(const Aws::String& key, Aws::String&& value) { m_responseParameters.emplace(key, std::move(value)); return *this; }
301 
316  inline GetIntegrationResponseResult& AddResponseParameters(Aws::String&& key, Aws::String&& value) { m_responseParameters.emplace(std::move(key), std::move(value)); return *this; }
317 
332  inline GetIntegrationResponseResult& AddResponseParameters(const char* key, Aws::String&& value) { m_responseParameters.emplace(key, std::move(value)); return *this; }
333 
348  inline GetIntegrationResponseResult& AddResponseParameters(Aws::String&& key, const char* value) { m_responseParameters.emplace(std::move(key), value); return *this; }
349 
364  inline GetIntegrationResponseResult& AddResponseParameters(const char* key, const char* value) { m_responseParameters.emplace(key, value); return *this; }
365 
366 
372  inline const Aws::Map<Aws::String, Aws::String>& GetResponseTemplates() const{ return m_responseTemplates; }
373 
379  inline void SetResponseTemplates(const Aws::Map<Aws::String, Aws::String>& value) { m_responseTemplates = value; }
380 
386  inline void SetResponseTemplates(Aws::Map<Aws::String, Aws::String>&& value) { m_responseTemplates = std::move(value); }
387 
393  inline GetIntegrationResponseResult& WithResponseTemplates(const Aws::Map<Aws::String, Aws::String>& value) { SetResponseTemplates(value); return *this;}
394 
400  inline GetIntegrationResponseResult& WithResponseTemplates(Aws::Map<Aws::String, Aws::String>&& value) { SetResponseTemplates(std::move(value)); return *this;}
401 
407  inline GetIntegrationResponseResult& AddResponseTemplates(const Aws::String& key, const Aws::String& value) { m_responseTemplates.emplace(key, value); return *this; }
408 
414  inline GetIntegrationResponseResult& AddResponseTemplates(Aws::String&& key, const Aws::String& value) { m_responseTemplates.emplace(std::move(key), value); return *this; }
415 
421  inline GetIntegrationResponseResult& AddResponseTemplates(const Aws::String& key, Aws::String&& value) { m_responseTemplates.emplace(key, std::move(value)); return *this; }
422 
428  inline GetIntegrationResponseResult& AddResponseTemplates(Aws::String&& key, Aws::String&& value) { m_responseTemplates.emplace(std::move(key), std::move(value)); return *this; }
429 
435  inline GetIntegrationResponseResult& AddResponseTemplates(const char* key, Aws::String&& value) { m_responseTemplates.emplace(key, std::move(value)); return *this; }
436 
442  inline GetIntegrationResponseResult& AddResponseTemplates(Aws::String&& key, const char* value) { m_responseTemplates.emplace(std::move(key), value); return *this; }
443 
449  inline GetIntegrationResponseResult& AddResponseTemplates(const char* key, const char* value) { m_responseTemplates.emplace(key, value); return *this; }
450 
451 
462  inline const ContentHandlingStrategy& GetContentHandling() const{ return m_contentHandling; }
463 
474  inline void SetContentHandling(const ContentHandlingStrategy& value) { m_contentHandling = value; }
475 
486  inline void SetContentHandling(ContentHandlingStrategy&& value) { m_contentHandling = std::move(value); }
487 
498  inline GetIntegrationResponseResult& WithContentHandling(const ContentHandlingStrategy& value) { SetContentHandling(value); return *this;}
499 
510  inline GetIntegrationResponseResult& WithContentHandling(ContentHandlingStrategy&& value) { SetContentHandling(std::move(value)); return *this;}
511 
512  private:
513 
514  Aws::String m_statusCode;
515 
516  Aws::String m_selectionPattern;
517 
518  Aws::Map<Aws::String, Aws::String> m_responseParameters;
519 
520  Aws::Map<Aws::String, Aws::String> m_responseTemplates;
521 
522  ContentHandlingStrategy m_contentHandling;
523  };
524 
525 } // namespace Model
526 } // namespace APIGateway
527 } // namespace Aws
Aws::APIGateway::Model::GetIntegrationResponseResult::WithStatusCode
GetIntegrationResponseResult & WithStatusCode(const char *value)
Definition: GetIntegrationResponseResult.h:86
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::APIGateway::Model::GetIntegrationResponseResult::SetStatusCode
void SetStatusCode(const char *value)
Definition: GetIntegrationResponseResult.h:68
Aws::APIGateway::Model::GetIntegrationResponseResult::GetContentHandling
const ContentHandlingStrategy & GetContentHandling() const
Definition: GetIntegrationResponseResult.h:462
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::GetIntegrationResponseResult::AddResponseTemplates
GetIntegrationResponseResult & AddResponseTemplates(const char *key, const char *value)
Definition: GetIntegrationResponseResult.h:449
Aws::APIGateway::Model::ContentHandlingStrategy
ContentHandlingStrategy
Definition: ContentHandlingStrategy.h:17
Aws::APIGateway::Model::GetIntegrationResponseResult::AddResponseTemplates
GetIntegrationResponseResult & AddResponseTemplates(const char *key, Aws::String &&value)
Definition: GetIntegrationResponseResult.h:435
Aws::APIGateway::Model::GetIntegrationResponseResult::AddResponseParameters
GetIntegrationResponseResult & AddResponseParameters(const Aws::String &key, Aws::String &&value)
Definition: GetIntegrationResponseResult.h:300
Aws::APIGateway::Model::GetIntegrationResponseResult::WithSelectionPattern
GetIntegrationResponseResult & WithSelectionPattern(Aws::String &&value)
Definition: GetIntegrationResponseResult.h:159
Aws::APIGateway::Model::GetIntegrationResponseResult::WithResponseParameters
GetIntegrationResponseResult & WithResponseParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetIntegrationResponseResult.h:252
Aws::APIGateway::Model::GetIntegrationResponseResult::WithResponseTemplates
GetIntegrationResponseResult & WithResponseTemplates(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetIntegrationResponseResult.h:393
Aws::APIGateway::Model::GetIntegrationResponseResult::AddResponseTemplates
GetIntegrationResponseResult & AddResponseTemplates(const Aws::String &key, const Aws::String &value)
Definition: GetIntegrationResponseResult.h:407
APIGateway_EXPORTS.h
Aws::APIGateway::Model::GetIntegrationResponseResult::WithContentHandling
GetIntegrationResponseResult & WithContentHandling(const ContentHandlingStrategy &value)
Definition: GetIntegrationResponseResult.h:498
Aws::APIGateway::Model::GetIntegrationResponseResult::GetSelectionPattern
const Aws::String & GetSelectionPattern() const
Definition: GetIntegrationResponseResult.h:99
Aws::APIGateway::Model::GetIntegrationResponseResult
Definition: GetIntegrationResponseResult.h:39
Aws::APIGateway::Model::GetIntegrationResponseResult::AddResponseTemplates
GetIntegrationResponseResult & AddResponseTemplates(Aws::String &&key, const char *value)
Definition: GetIntegrationResponseResult.h:442
Aws::APIGateway::Model::GetIntegrationResponseResult::GetResponseParameters
const Aws::Map< Aws::String, Aws::String > & GetResponseParameters() const
Definition: GetIntegrationResponseResult.h:188
Aws::APIGateway::Model::GetIntegrationResponseResult::SetResponseTemplates
void SetResponseTemplates(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetIntegrationResponseResult.h:386
Aws::APIGateway::Model::GetIntegrationResponseResult::AddResponseParameters
GetIntegrationResponseResult & AddResponseParameters(const Aws::String &key, const Aws::String &value)
Definition: GetIntegrationResponseResult.h:268
Aws::APIGateway::Model::GetIntegrationResponseResult::GetStatusCode
const Aws::String & GetStatusCode() const
Definition: GetIntegrationResponseResult.h:50
Aws::APIGateway::Model::GetIntegrationResponseResult::SetContentHandling
void SetContentHandling(ContentHandlingStrategy &&value)
Definition: GetIntegrationResponseResult.h:486
Aws::APIGateway::Model::GetIntegrationResponseResult::AddResponseParameters
GetIntegrationResponseResult & AddResponseParameters(Aws::String &&key, const Aws::String &value)
Definition: GetIntegrationResponseResult.h:284
Aws::APIGateway::Model::GetIntegrationResponseResult::WithStatusCode
GetIntegrationResponseResult & WithStatusCode(const Aws::String &value)
Definition: GetIntegrationResponseResult.h:74
Aws::APIGateway::Model::GetIntegrationResponseResult::SetContentHandling
void SetContentHandling(const ContentHandlingStrategy &value)
Definition: GetIntegrationResponseResult.h:474
Aws::APIGateway::Model::GetIntegrationResponseResult::WithResponseTemplates
GetIntegrationResponseResult & WithResponseTemplates(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetIntegrationResponseResult.h:400
Aws::APIGateway::Model::GetIntegrationResponseResult::SetSelectionPattern
void SetSelectionPattern(const char *value)
Definition: GetIntegrationResponseResult.h:135
Aws::APIGateway::Model::GetIntegrationResponseResult::SetResponseParameters
void SetResponseParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetIntegrationResponseResult.h:204
Aws::APIGateway::Model::GetIntegrationResponseResult::AddResponseParameters
GetIntegrationResponseResult & AddResponseParameters(Aws::String &&key, Aws::String &&value)
Definition: GetIntegrationResponseResult.h:316
AWSString.h
Aws::APIGateway::Model::GetIntegrationResponseResult::AddResponseParameters
GetIntegrationResponseResult & AddResponseParameters(const char *key, const char *value)
Definition: GetIntegrationResponseResult.h:364
Aws::APIGateway::Model::GetIntegrationResponseResult::GetIntegrationResponseResult
GetIntegrationResponseResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::GetIntegrationResponseResult::GetIntegrationResponseResult
GetIntegrationResponseResult()
Aws::APIGateway::Model::GetIntegrationResponseResult::SetResponseParameters
void SetResponseParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetIntegrationResponseResult.h:220
Aws::APIGateway::Model::GetIntegrationResponseResult::SetSelectionPattern
void SetSelectionPattern(const Aws::String &value)
Definition: GetIntegrationResponseResult.h:111
Aws::APIGateway::Model::GetIntegrationResponseResult::SetStatusCode
void SetStatusCode(const Aws::String &value)
Definition: GetIntegrationResponseResult.h:56
Aws::APIGateway::Model::GetIntegrationResponseResult::WithContentHandling
GetIntegrationResponseResult & WithContentHandling(ContentHandlingStrategy &&value)
Definition: GetIntegrationResponseResult.h:510
Aws::APIGateway::Model::GetIntegrationResponseResult::SetStatusCode
void SetStatusCode(Aws::String &&value)
Definition: GetIntegrationResponseResult.h:62
Aws::APIGateway::Model::GetIntegrationResponseResult::AddResponseParameters
GetIntegrationResponseResult & AddResponseParameters(Aws::String &&key, const char *value)
Definition: GetIntegrationResponseResult.h:348
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::APIGateway::Model::GetIntegrationResponseResult::WithStatusCode
GetIntegrationResponseResult & WithStatusCode(Aws::String &&value)
Definition: GetIntegrationResponseResult.h:80
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::GetIntegrationResponseResult::SetSelectionPattern
void SetSelectionPattern(Aws::String &&value)
Definition: GetIntegrationResponseResult.h:123
Aws::APIGateway::Model::GetIntegrationResponseResult::WithResponseParameters
GetIntegrationResponseResult & WithResponseParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetIntegrationResponseResult.h:236
Aws::APIGateway::Model::GetIntegrationResponseResult::WithSelectionPattern
GetIntegrationResponseResult & WithSelectionPattern(const char *value)
Definition: GetIntegrationResponseResult.h:171
Aws::APIGateway::Model::GetIntegrationResponseResult::SetResponseTemplates
void SetResponseTemplates(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetIntegrationResponseResult.h:379
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::GetIntegrationResponseResult::AddResponseParameters
GetIntegrationResponseResult & AddResponseParameters(const char *key, Aws::String &&value)
Definition: GetIntegrationResponseResult.h:332
Aws::APIGateway::Model::GetIntegrationResponseResult::operator=
GetIntegrationResponseResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::GetIntegrationResponseResult::GetResponseTemplates
const Aws::Map< Aws::String, Aws::String > & GetResponseTemplates() const
Definition: GetIntegrationResponseResult.h:372
Aws::APIGateway::Model::GetIntegrationResponseResult::AddResponseTemplates
GetIntegrationResponseResult & AddResponseTemplates(Aws::String &&key, const Aws::String &value)
Definition: GetIntegrationResponseResult.h:414
Aws::APIGateway::Model::GetIntegrationResponseResult::AddResponseTemplates
GetIntegrationResponseResult & AddResponseTemplates(Aws::String &&key, Aws::String &&value)
Definition: GetIntegrationResponseResult.h:428
AWSMap.h
Aws::APIGateway::Model::GetIntegrationResponseResult::AddResponseTemplates
GetIntegrationResponseResult & AddResponseTemplates(const Aws::String &key, Aws::String &&value)
Definition: GetIntegrationResponseResult.h:421
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::APIGateway::Model::GetIntegrationResponseResult::WithSelectionPattern
GetIntegrationResponseResult & WithSelectionPattern(const Aws::String &value)
Definition: GetIntegrationResponseResult.h:147
ContentHandlingStrategy.h