AWS SDK for C++  1.9.21
AWS SDK for C++
UpdateIntegrationResponseResult.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 UpdateIntegrationResponseResult& WithStatusCode(const Aws::String& value) { SetStatusCode(value); return *this;}
75 
80  inline UpdateIntegrationResponseResult& WithStatusCode(Aws::String&& value) { SetStatusCode(std::move(value)); return *this;}
81 
86  inline UpdateIntegrationResponseResult& 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 UpdateIntegrationResponseResult& WithSelectionPattern(const Aws::String& value) { SetSelectionPattern(value); return *this;}
148 
159  inline UpdateIntegrationResponseResult& WithSelectionPattern(Aws::String&& value) { SetSelectionPattern(std::move(value)); return *this;}
160 
171  inline UpdateIntegrationResponseResult& 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 UpdateIntegrationResponseResult& WithResponseParameters(const Aws::Map<Aws::String, Aws::String>& value) { SetResponseParameters(value); return *this;}
237 
252  inline UpdateIntegrationResponseResult& WithResponseParameters(Aws::Map<Aws::String, Aws::String>&& value) { SetResponseParameters(std::move(value)); return *this;}
253 
268  inline UpdateIntegrationResponseResult& AddResponseParameters(const Aws::String& key, const Aws::String& value) { m_responseParameters.emplace(key, value); return *this; }
269 
284  inline UpdateIntegrationResponseResult& AddResponseParameters(Aws::String&& key, const Aws::String& value) { m_responseParameters.emplace(std::move(key), value); return *this; }
285 
300  inline UpdateIntegrationResponseResult& AddResponseParameters(const Aws::String& key, Aws::String&& value) { m_responseParameters.emplace(key, std::move(value)); return *this; }
301 
316  inline UpdateIntegrationResponseResult& AddResponseParameters(Aws::String&& key, Aws::String&& value) { m_responseParameters.emplace(std::move(key), std::move(value)); return *this; }
317 
332  inline UpdateIntegrationResponseResult& AddResponseParameters(const char* key, Aws::String&& value) { m_responseParameters.emplace(key, std::move(value)); return *this; }
333 
348  inline UpdateIntegrationResponseResult& AddResponseParameters(Aws::String&& key, const char* value) { m_responseParameters.emplace(std::move(key), value); return *this; }
349 
364  inline UpdateIntegrationResponseResult& 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 UpdateIntegrationResponseResult& WithResponseTemplates(const Aws::Map<Aws::String, Aws::String>& value) { SetResponseTemplates(value); return *this;}
394 
400  inline UpdateIntegrationResponseResult& WithResponseTemplates(Aws::Map<Aws::String, Aws::String>&& value) { SetResponseTemplates(std::move(value)); return *this;}
401 
407  inline UpdateIntegrationResponseResult& AddResponseTemplates(const Aws::String& key, const Aws::String& value) { m_responseTemplates.emplace(key, value); return *this; }
408 
414  inline UpdateIntegrationResponseResult& AddResponseTemplates(Aws::String&& key, const Aws::String& value) { m_responseTemplates.emplace(std::move(key), value); return *this; }
415 
421  inline UpdateIntegrationResponseResult& AddResponseTemplates(const Aws::String& key, Aws::String&& value) { m_responseTemplates.emplace(key, std::move(value)); return *this; }
422 
428  inline UpdateIntegrationResponseResult& AddResponseTemplates(Aws::String&& key, Aws::String&& value) { m_responseTemplates.emplace(std::move(key), std::move(value)); return *this; }
429 
435  inline UpdateIntegrationResponseResult& AddResponseTemplates(const char* key, Aws::String&& value) { m_responseTemplates.emplace(key, std::move(value)); return *this; }
436 
442  inline UpdateIntegrationResponseResult& AddResponseTemplates(Aws::String&& key, const char* value) { m_responseTemplates.emplace(std::move(key), value); return *this; }
443 
449  inline UpdateIntegrationResponseResult& 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 UpdateIntegrationResponseResult& WithContentHandling(const ContentHandlingStrategy& value) { SetContentHandling(value); return *this;}
499 
510  inline UpdateIntegrationResponseResult& 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::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::UpdateIntegrationResponseResult::AddResponseTemplates
UpdateIntegrationResponseResult & AddResponseTemplates(Aws::String &&key, const char *value)
Definition: UpdateIntegrationResponseResult.h:442
Aws::APIGateway::Model::UpdateIntegrationResponseResult::AddResponseTemplates
UpdateIntegrationResponseResult & AddResponseTemplates(Aws::String &&key, const Aws::String &value)
Definition: UpdateIntegrationResponseResult.h:414
Aws::APIGateway::Model::ContentHandlingStrategy
ContentHandlingStrategy
Definition: ContentHandlingStrategy.h:17
Aws::APIGateway::Model::UpdateIntegrationResponseResult::AddResponseParameters
UpdateIntegrationResponseResult & AddResponseParameters(const char *key, Aws::String &&value)
Definition: UpdateIntegrationResponseResult.h:332
Aws::APIGateway::Model::UpdateIntegrationResponseResult::UpdateIntegrationResponseResult
UpdateIntegrationResponseResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::UpdateIntegrationResponseResult::GetResponseTemplates
const Aws::Map< Aws::String, Aws::String > & GetResponseTemplates() const
Definition: UpdateIntegrationResponseResult.h:372
Aws::APIGateway::Model::UpdateIntegrationResponseResult::AddResponseParameters
UpdateIntegrationResponseResult & AddResponseParameters(const Aws::String &key, const Aws::String &value)
Definition: UpdateIntegrationResponseResult.h:268
Aws::APIGateway::Model::UpdateIntegrationResponseResult::SetResponseTemplates
void SetResponseTemplates(Aws::Map< Aws::String, Aws::String > &&value)
Definition: UpdateIntegrationResponseResult.h:386
Aws::APIGateway::Model::UpdateIntegrationResponseResult::SetResponseParameters
void SetResponseParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition: UpdateIntegrationResponseResult.h:204
Aws::APIGateway::Model::UpdateIntegrationResponseResult::WithResponseTemplates
UpdateIntegrationResponseResult & WithResponseTemplates(const Aws::Map< Aws::String, Aws::String > &value)
Definition: UpdateIntegrationResponseResult.h:393
APIGateway_EXPORTS.h
Aws::APIGateway::Model::UpdateIntegrationResponseResult::AddResponseParameters
UpdateIntegrationResponseResult & AddResponseParameters(Aws::String &&key, const char *value)
Definition: UpdateIntegrationResponseResult.h:348
Aws::APIGateway::Model::UpdateIntegrationResponseResult::SetResponseTemplates
void SetResponseTemplates(const Aws::Map< Aws::String, Aws::String > &value)
Definition: UpdateIntegrationResponseResult.h:379
Aws::APIGateway::Model::UpdateIntegrationResponseResult::AddResponseTemplates
UpdateIntegrationResponseResult & AddResponseTemplates(const Aws::String &key, const Aws::String &value)
Definition: UpdateIntegrationResponseResult.h:407
Aws::APIGateway::Model::UpdateIntegrationResponseResult::GetSelectionPattern
const Aws::String & GetSelectionPattern() const
Definition: UpdateIntegrationResponseResult.h:99
Aws::APIGateway::Model::UpdateIntegrationResponseResult::operator=
UpdateIntegrationResponseResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::UpdateIntegrationResponseResult
Definition: UpdateIntegrationResponseResult.h:39
Aws::APIGateway::Model::UpdateIntegrationResponseResult::AddResponseParameters
UpdateIntegrationResponseResult & AddResponseParameters(const char *key, const char *value)
Definition: UpdateIntegrationResponseResult.h:364
Aws::APIGateway::Model::UpdateIntegrationResponseResult::WithStatusCode
UpdateIntegrationResponseResult & WithStatusCode(Aws::String &&value)
Definition: UpdateIntegrationResponseResult.h:80
Aws::APIGateway::Model::UpdateIntegrationResponseResult::GetContentHandling
const ContentHandlingStrategy & GetContentHandling() const
Definition: UpdateIntegrationResponseResult.h:462
Aws::APIGateway::Model::UpdateIntegrationResponseResult::AddResponseParameters
UpdateIntegrationResponseResult & AddResponseParameters(Aws::String &&key, const Aws::String &value)
Definition: UpdateIntegrationResponseResult.h:284
Aws::APIGateway::Model::UpdateIntegrationResponseResult::AddResponseTemplates
UpdateIntegrationResponseResult & AddResponseTemplates(const char *key, const char *value)
Definition: UpdateIntegrationResponseResult.h:449
Aws::APIGateway::Model::UpdateIntegrationResponseResult::GetStatusCode
const Aws::String & GetStatusCode() const
Definition: UpdateIntegrationResponseResult.h:50
Aws::APIGateway::Model::UpdateIntegrationResponseResult::SetSelectionPattern
void SetSelectionPattern(const char *value)
Definition: UpdateIntegrationResponseResult.h:135
Aws::APIGateway::Model::UpdateIntegrationResponseResult::WithSelectionPattern
UpdateIntegrationResponseResult & WithSelectionPattern(Aws::String &&value)
Definition: UpdateIntegrationResponseResult.h:159
AWSString.h
Aws::APIGateway::Model::UpdateIntegrationResponseResult::SetStatusCode
void SetStatusCode(Aws::String &&value)
Definition: UpdateIntegrationResponseResult.h:62
Aws::APIGateway::Model::UpdateIntegrationResponseResult::AddResponseTemplates
UpdateIntegrationResponseResult & AddResponseTemplates(const Aws::String &key, Aws::String &&value)
Definition: UpdateIntegrationResponseResult.h:421
Aws::APIGateway::Model::UpdateIntegrationResponseResult::SetSelectionPattern
void SetSelectionPattern(const Aws::String &value)
Definition: UpdateIntegrationResponseResult.h:111
Aws::APIGateway::Model::UpdateIntegrationResponseResult::WithSelectionPattern
UpdateIntegrationResponseResult & WithSelectionPattern(const char *value)
Definition: UpdateIntegrationResponseResult.h:171
Aws::APIGateway::Model::UpdateIntegrationResponseResult::WithContentHandling
UpdateIntegrationResponseResult & WithContentHandling(ContentHandlingStrategy &&value)
Definition: UpdateIntegrationResponseResult.h:510
Aws::APIGateway::Model::UpdateIntegrationResponseResult::SetSelectionPattern
void SetSelectionPattern(Aws::String &&value)
Definition: UpdateIntegrationResponseResult.h:123
Aws::APIGateway::Model::UpdateIntegrationResponseResult::WithResponseParameters
UpdateIntegrationResponseResult & WithResponseParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition: UpdateIntegrationResponseResult.h:252
Aws::APIGateway::Model::UpdateIntegrationResponseResult::WithResponseParameters
UpdateIntegrationResponseResult & WithResponseParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition: UpdateIntegrationResponseResult.h:236
Aws::APIGateway::Model::UpdateIntegrationResponseResult::SetStatusCode
void SetStatusCode(const char *value)
Definition: UpdateIntegrationResponseResult.h:68
Aws::APIGateway::Model::UpdateIntegrationResponseResult::SetStatusCode
void SetStatusCode(const Aws::String &value)
Definition: UpdateIntegrationResponseResult.h:56
Aws::APIGateway::Model::UpdateIntegrationResponseResult::AddResponseParameters
UpdateIntegrationResponseResult & AddResponseParameters(Aws::String &&key, Aws::String &&value)
Definition: UpdateIntegrationResponseResult.h:316
Aws::APIGateway::Model::UpdateIntegrationResponseResult::GetResponseParameters
const Aws::Map< Aws::String, Aws::String > & GetResponseParameters() const
Definition: UpdateIntegrationResponseResult.h:188
Aws::APIGateway::Model::UpdateIntegrationResponseResult::WithSelectionPattern
UpdateIntegrationResponseResult & WithSelectionPattern(const Aws::String &value)
Definition: UpdateIntegrationResponseResult.h:147
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::UpdateIntegrationResponseResult::WithResponseTemplates
UpdateIntegrationResponseResult & WithResponseTemplates(Aws::Map< Aws::String, Aws::String > &&value)
Definition: UpdateIntegrationResponseResult.h:400
Aws::APIGateway::Model::UpdateIntegrationResponseResult::WithStatusCode
UpdateIntegrationResponseResult & WithStatusCode(const Aws::String &value)
Definition: UpdateIntegrationResponseResult.h:74
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::UpdateIntegrationResponseResult::AddResponseTemplates
UpdateIntegrationResponseResult & AddResponseTemplates(const char *key, Aws::String &&value)
Definition: UpdateIntegrationResponseResult.h:435
Aws::APIGateway::Model::UpdateIntegrationResponseResult::AddResponseTemplates
UpdateIntegrationResponseResult & AddResponseTemplates(Aws::String &&key, Aws::String &&value)
Definition: UpdateIntegrationResponseResult.h:428
Aws::APIGateway::Model::UpdateIntegrationResponseResult::WithContentHandling
UpdateIntegrationResponseResult & WithContentHandling(const ContentHandlingStrategy &value)
Definition: UpdateIntegrationResponseResult.h:498
Aws::APIGateway::Model::UpdateIntegrationResponseResult::UpdateIntegrationResponseResult
UpdateIntegrationResponseResult()
Aws::APIGateway::Model::UpdateIntegrationResponseResult::SetContentHandling
void SetContentHandling(ContentHandlingStrategy &&value)
Definition: UpdateIntegrationResponseResult.h:486
Aws::APIGateway::Model::UpdateIntegrationResponseResult::AddResponseParameters
UpdateIntegrationResponseResult & AddResponseParameters(const Aws::String &key, Aws::String &&value)
Definition: UpdateIntegrationResponseResult.h:300
Aws::APIGateway::Model::UpdateIntegrationResponseResult::WithStatusCode
UpdateIntegrationResponseResult & WithStatusCode(const char *value)
Definition: UpdateIntegrationResponseResult.h:86
AWSMap.h
Aws::APIGateway::Model::UpdateIntegrationResponseResult::SetContentHandling
void SetContentHandling(const ContentHandlingStrategy &value)
Definition: UpdateIntegrationResponseResult.h:474
Aws::APIGateway::Model::UpdateIntegrationResponseResult::SetResponseParameters
void SetResponseParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition: UpdateIntegrationResponseResult.h:220
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
ContentHandlingStrategy.h