AWS SDK for C++  1.9.160
AWS SDK for C++
IntegrationResponse.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace APIGateway
24 {
25 namespace Model
26 {
27 
38  {
39  public:
44 
45 
50  inline const Aws::String& GetStatusCode() const{ return m_statusCode; }
51 
56  inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; }
57 
62  inline void SetStatusCode(const Aws::String& value) { m_statusCodeHasBeenSet = true; m_statusCode = value; }
63 
68  inline void SetStatusCode(Aws::String&& value) { m_statusCodeHasBeenSet = true; m_statusCode = std::move(value); }
69 
74  inline void SetStatusCode(const char* value) { m_statusCodeHasBeenSet = true; m_statusCode.assign(value); }
75 
80  inline IntegrationResponse& WithStatusCode(const Aws::String& value) { SetStatusCode(value); return *this;}
81 
86  inline IntegrationResponse& WithStatusCode(Aws::String&& value) { SetStatusCode(std::move(value)); return *this;}
87 
92  inline IntegrationResponse& WithStatusCode(const char* value) { SetStatusCode(value); return *this;}
93 
94 
105  inline const Aws::String& GetSelectionPattern() const{ return m_selectionPattern; }
106 
117  inline bool SelectionPatternHasBeenSet() const { return m_selectionPatternHasBeenSet; }
118 
129  inline void SetSelectionPattern(const Aws::String& value) { m_selectionPatternHasBeenSet = true; m_selectionPattern = value; }
130 
141  inline void SetSelectionPattern(Aws::String&& value) { m_selectionPatternHasBeenSet = true; m_selectionPattern = std::move(value); }
142 
153  inline void SetSelectionPattern(const char* value) { m_selectionPatternHasBeenSet = true; m_selectionPattern.assign(value); }
154 
165  inline IntegrationResponse& WithSelectionPattern(const Aws::String& value) { SetSelectionPattern(value); return *this;}
166 
177  inline IntegrationResponse& WithSelectionPattern(Aws::String&& value) { SetSelectionPattern(std::move(value)); return *this;}
178 
189  inline IntegrationResponse& WithSelectionPattern(const char* value) { SetSelectionPattern(value); return *this;}
190 
191 
206  inline const Aws::Map<Aws::String, Aws::String>& GetResponseParameters() const{ return m_responseParameters; }
207 
222  inline bool ResponseParametersHasBeenSet() const { return m_responseParametersHasBeenSet; }
223 
238  inline void SetResponseParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_responseParametersHasBeenSet = true; m_responseParameters = value; }
239 
254  inline void SetResponseParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_responseParametersHasBeenSet = true; m_responseParameters = std::move(value); }
255 
270  inline IntegrationResponse& WithResponseParameters(const Aws::Map<Aws::String, Aws::String>& value) { SetResponseParameters(value); return *this;}
271 
286  inline IntegrationResponse& WithResponseParameters(Aws::Map<Aws::String, Aws::String>&& value) { SetResponseParameters(std::move(value)); return *this;}
287 
302  inline IntegrationResponse& AddResponseParameters(const Aws::String& key, const Aws::String& value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(key, value); return *this; }
303 
318  inline IntegrationResponse& AddResponseParameters(Aws::String&& key, const Aws::String& value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(std::move(key), value); return *this; }
319 
334  inline IntegrationResponse& AddResponseParameters(const Aws::String& key, Aws::String&& value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(key, std::move(value)); return *this; }
335 
350  inline IntegrationResponse& AddResponseParameters(Aws::String&& key, Aws::String&& value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(std::move(key), std::move(value)); return *this; }
351 
366  inline IntegrationResponse& AddResponseParameters(const char* key, Aws::String&& value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(key, std::move(value)); return *this; }
367 
382  inline IntegrationResponse& AddResponseParameters(Aws::String&& key, const char* value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(std::move(key), value); return *this; }
383 
398  inline IntegrationResponse& AddResponseParameters(const char* key, const char* value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(key, value); return *this; }
399 
400 
406  inline const Aws::Map<Aws::String, Aws::String>& GetResponseTemplates() const{ return m_responseTemplates; }
407 
413  inline bool ResponseTemplatesHasBeenSet() const { return m_responseTemplatesHasBeenSet; }
414 
420  inline void SetResponseTemplates(const Aws::Map<Aws::String, Aws::String>& value) { m_responseTemplatesHasBeenSet = true; m_responseTemplates = value; }
421 
427  inline void SetResponseTemplates(Aws::Map<Aws::String, Aws::String>&& value) { m_responseTemplatesHasBeenSet = true; m_responseTemplates = std::move(value); }
428 
434  inline IntegrationResponse& WithResponseTemplates(const Aws::Map<Aws::String, Aws::String>& value) { SetResponseTemplates(value); return *this;}
435 
441  inline IntegrationResponse& WithResponseTemplates(Aws::Map<Aws::String, Aws::String>&& value) { SetResponseTemplates(std::move(value)); return *this;}
442 
448  inline IntegrationResponse& AddResponseTemplates(const Aws::String& key, const Aws::String& value) { m_responseTemplatesHasBeenSet = true; m_responseTemplates.emplace(key, value); return *this; }
449 
455  inline IntegrationResponse& AddResponseTemplates(Aws::String&& key, const Aws::String& value) { m_responseTemplatesHasBeenSet = true; m_responseTemplates.emplace(std::move(key), value); return *this; }
456 
462  inline IntegrationResponse& AddResponseTemplates(const Aws::String& key, Aws::String&& value) { m_responseTemplatesHasBeenSet = true; m_responseTemplates.emplace(key, std::move(value)); return *this; }
463 
469  inline IntegrationResponse& AddResponseTemplates(Aws::String&& key, Aws::String&& value) { m_responseTemplatesHasBeenSet = true; m_responseTemplates.emplace(std::move(key), std::move(value)); return *this; }
470 
476  inline IntegrationResponse& AddResponseTemplates(const char* key, Aws::String&& value) { m_responseTemplatesHasBeenSet = true; m_responseTemplates.emplace(key, std::move(value)); return *this; }
477 
483  inline IntegrationResponse& AddResponseTemplates(Aws::String&& key, const char* value) { m_responseTemplatesHasBeenSet = true; m_responseTemplates.emplace(std::move(key), value); return *this; }
484 
490  inline IntegrationResponse& AddResponseTemplates(const char* key, const char* value) { m_responseTemplatesHasBeenSet = true; m_responseTemplates.emplace(key, value); return *this; }
491 
492 
503  inline const ContentHandlingStrategy& GetContentHandling() const{ return m_contentHandling; }
504 
515  inline bool ContentHandlingHasBeenSet() const { return m_contentHandlingHasBeenSet; }
516 
527  inline void SetContentHandling(const ContentHandlingStrategy& value) { m_contentHandlingHasBeenSet = true; m_contentHandling = value; }
528 
539  inline void SetContentHandling(ContentHandlingStrategy&& value) { m_contentHandlingHasBeenSet = true; m_contentHandling = std::move(value); }
540 
551  inline IntegrationResponse& WithContentHandling(const ContentHandlingStrategy& value) { SetContentHandling(value); return *this;}
552 
563  inline IntegrationResponse& WithContentHandling(ContentHandlingStrategy&& value) { SetContentHandling(std::move(value)); return *this;}
564 
565  private:
566 
567  Aws::String m_statusCode;
568  bool m_statusCodeHasBeenSet;
569 
570  Aws::String m_selectionPattern;
571  bool m_selectionPatternHasBeenSet;
572 
573  Aws::Map<Aws::String, Aws::String> m_responseParameters;
574  bool m_responseParametersHasBeenSet;
575 
576  Aws::Map<Aws::String, Aws::String> m_responseTemplates;
577  bool m_responseTemplatesHasBeenSet;
578 
579  ContentHandlingStrategy m_contentHandling;
580  bool m_contentHandlingHasBeenSet;
581  };
582 
583 } // namespace Model
584 } // namespace APIGateway
585 } // namespace Aws
Aws::APIGateway::Model::IntegrationResponse::SetResponseTemplates
void SetResponseTemplates(Aws::Map< Aws::String, Aws::String > &&value)
Definition: IntegrationResponse.h:427
Aws::APIGateway::Model::IntegrationResponse::AddResponseParameters
IntegrationResponse & AddResponseParameters(Aws::String &&key, const Aws::String &value)
Definition: IntegrationResponse.h:318
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::IntegrationResponse::IntegrationResponse
IntegrationResponse()
Aws::APIGateway::Model::IntegrationResponse::AddResponseParameters
IntegrationResponse & AddResponseParameters(const Aws::String &key, const Aws::String &value)
Definition: IntegrationResponse.h:302
Aws::APIGateway::Model::ContentHandlingStrategy
ContentHandlingStrategy
Definition: ContentHandlingStrategy.h:17
Aws::APIGateway::Model::IntegrationResponse::SetSelectionPattern
void SetSelectionPattern(const Aws::String &value)
Definition: IntegrationResponse.h:129
Aws::APIGateway::Model::IntegrationResponse::SetResponseParameters
void SetResponseParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition: IntegrationResponse.h:238
Aws::APIGateway::Model::IntegrationResponse::AddResponseTemplates
IntegrationResponse & AddResponseTemplates(Aws::String &&key, Aws::String &&value)
Definition: IntegrationResponse.h:469
APIGateway_EXPORTS.h
Aws::APIGateway::Model::IntegrationResponse::WithSelectionPattern
IntegrationResponse & WithSelectionPattern(const Aws::String &value)
Definition: IntegrationResponse.h:165
Aws::APIGateway::Model::IntegrationResponse::SetContentHandling
void SetContentHandling(const ContentHandlingStrategy &value)
Definition: IntegrationResponse.h:527
Aws::APIGateway::Model::IntegrationResponse::SetStatusCode
void SetStatusCode(Aws::String &&value)
Definition: IntegrationResponse.h:68
Aws::APIGateway::Model::IntegrationResponse::AddResponseParameters
IntegrationResponse & AddResponseParameters(Aws::String &&key, const char *value)
Definition: IntegrationResponse.h:382
Aws::APIGateway::Model::IntegrationResponse::WithContentHandling
IntegrationResponse & WithContentHandling(const ContentHandlingStrategy &value)
Definition: IntegrationResponse.h:551
Aws::APIGateway::Model::IntegrationResponse::GetResponseTemplates
const Aws::Map< Aws::String, Aws::String > & GetResponseTemplates() const
Definition: IntegrationResponse.h:406
Aws::APIGateway::Model::IntegrationResponse::operator=
IntegrationResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::APIGateway::Model::IntegrationResponse::SetResponseTemplates
void SetResponseTemplates(const Aws::Map< Aws::String, Aws::String > &value)
Definition: IntegrationResponse.h:420
Aws::APIGateway::Model::IntegrationResponse::WithResponseParameters
IntegrationResponse & WithResponseParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition: IntegrationResponse.h:270
Aws::APIGateway::Model::IntegrationResponse::SetResponseParameters
void SetResponseParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition: IntegrationResponse.h:254
Aws::APIGateway::Model::IntegrationResponse::AddResponseTemplates
IntegrationResponse & AddResponseTemplates(const Aws::String &key, Aws::String &&value)
Definition: IntegrationResponse.h:462
Aws::APIGateway::Model::IntegrationResponse::AddResponseTemplates
IntegrationResponse & AddResponseTemplates(const Aws::String &key, const Aws::String &value)
Definition: IntegrationResponse.h:448
Aws::APIGateway::Model::IntegrationResponse::AddResponseTemplates
IntegrationResponse & AddResponseTemplates(const char *key, Aws::String &&value)
Definition: IntegrationResponse.h:476
Aws::APIGateway::Model::IntegrationResponse::SetStatusCode
void SetStatusCode(const char *value)
Definition: IntegrationResponse.h:74
Aws::APIGateway::Model::IntegrationResponse::AddResponseParameters
IntegrationResponse & AddResponseParameters(const Aws::String &key, Aws::String &&value)
Definition: IntegrationResponse.h:334
Aws::APIGateway::Model::IntegrationResponse::GetStatusCode
const Aws::String & GetStatusCode() const
Definition: IntegrationResponse.h:50
Aws::APIGateway::Model::IntegrationResponse::GetResponseParameters
const Aws::Map< Aws::String, Aws::String > & GetResponseParameters() const
Definition: IntegrationResponse.h:206
Aws::APIGateway::Model::IntegrationResponse::WithSelectionPattern
IntegrationResponse & WithSelectionPattern(const char *value)
Definition: IntegrationResponse.h:189
Aws::APIGateway::Model::IntegrationResponse::WithContentHandling
IntegrationResponse & WithContentHandling(ContentHandlingStrategy &&value)
Definition: IntegrationResponse.h:563
Aws::APIGateway::Model::IntegrationResponse::AddResponseTemplates
IntegrationResponse & AddResponseTemplates(Aws::String &&key, const char *value)
Definition: IntegrationResponse.h:483
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::APIGateway::Model::IntegrationResponse::SetSelectionPattern
void SetSelectionPattern(Aws::String &&value)
Definition: IntegrationResponse.h:141
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::APIGateway::Model::IntegrationResponse::StatusCodeHasBeenSet
bool StatusCodeHasBeenSet() const
Definition: IntegrationResponse.h:56
Aws::APIGateway::Model::IntegrationResponse::SetContentHandling
void SetContentHandling(ContentHandlingStrategy &&value)
Definition: IntegrationResponse.h:539
Aws::APIGateway::Model::IntegrationResponse
Definition: IntegrationResponse.h:38
Aws::APIGateway::Model::IntegrationResponse::ResponseTemplatesHasBeenSet
bool ResponseTemplatesHasBeenSet() const
Definition: IntegrationResponse.h:413
Aws::APIGateway::Model::IntegrationResponse::WithResponseParameters
IntegrationResponse & WithResponseParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition: IntegrationResponse.h:286
Aws::APIGateway::Model::IntegrationResponse::SelectionPatternHasBeenSet
bool SelectionPatternHasBeenSet() const
Definition: IntegrationResponse.h:117
Aws::APIGateway::Model::IntegrationResponse::ContentHandlingHasBeenSet
bool ContentHandlingHasBeenSet() const
Definition: IntegrationResponse.h:515
Aws::APIGateway::Model::IntegrationResponse::WithResponseTemplates
IntegrationResponse & WithResponseTemplates(const Aws::Map< Aws::String, Aws::String > &value)
Definition: IntegrationResponse.h:434
Aws::APIGateway::Model::IntegrationResponse::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::APIGateway::Model::IntegrationResponse::AddResponseParameters
IntegrationResponse & AddResponseParameters(Aws::String &&key, Aws::String &&value)
Definition: IntegrationResponse.h:350
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::IntegrationResponse::SetStatusCode
void SetStatusCode(const Aws::String &value)
Definition: IntegrationResponse.h:62
Aws::APIGateway::Model::IntegrationResponse::AddResponseParameters
IntegrationResponse & AddResponseParameters(const char *key, Aws::String &&value)
Definition: IntegrationResponse.h:366
Aws::APIGateway::Model::IntegrationResponse::WithResponseTemplates
IntegrationResponse & WithResponseTemplates(Aws::Map< Aws::String, Aws::String > &&value)
Definition: IntegrationResponse.h:441
Aws::APIGateway::Model::IntegrationResponse::WithSelectionPattern
IntegrationResponse & WithSelectionPattern(Aws::String &&value)
Definition: IntegrationResponse.h:177
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::IntegrationResponse::AddResponseTemplates
IntegrationResponse & AddResponseTemplates(Aws::String &&key, const Aws::String &value)
Definition: IntegrationResponse.h:455
Aws::APIGateway::Model::IntegrationResponse::AddResponseTemplates
IntegrationResponse & AddResponseTemplates(const char *key, const char *value)
Definition: IntegrationResponse.h:490
Aws::APIGateway::Model::IntegrationResponse::SetSelectionPattern
void SetSelectionPattern(const char *value)
Definition: IntegrationResponse.h:153
Aws::APIGateway::Model::IntegrationResponse::WithStatusCode
IntegrationResponse & WithStatusCode(const char *value)
Definition: IntegrationResponse.h:92
Aws::APIGateway::Model::IntegrationResponse::WithStatusCode
IntegrationResponse & WithStatusCode(const Aws::String &value)
Definition: IntegrationResponse.h:80
AWSMap.h
Aws::APIGateway::Model::IntegrationResponse::GetSelectionPattern
const Aws::String & GetSelectionPattern() const
Definition: IntegrationResponse.h:105
Aws::APIGateway::Model::IntegrationResponse::WithStatusCode
IntegrationResponse & WithStatusCode(Aws::String &&value)
Definition: IntegrationResponse.h:86
Aws::APIGateway::Model::IntegrationResponse::GetContentHandling
const ContentHandlingStrategy & GetContentHandling() const
Definition: IntegrationResponse.h:503
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::APIGateway::Model::IntegrationResponse::IntegrationResponse
IntegrationResponse(Aws::Utils::Json::JsonView jsonValue)
Aws::APIGateway::Model::IntegrationResponse::AddResponseParameters
IntegrationResponse & AddResponseParameters(const char *key, const char *value)
Definition: IntegrationResponse.h:398
ContentHandlingStrategy.h
Aws::APIGateway::Model::IntegrationResponse::ResponseParametersHasBeenSet
bool ResponseParametersHasBeenSet() const
Definition: IntegrationResponse.h:222