AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RouteResponse.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/apigatewayv2/model/ParameterConstraints.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ApiGatewayV2
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_APIGATEWAYV2_API RouteResponse();
37 AWS_APIGATEWAYV2_API RouteResponse(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APIGATEWAYV2_API RouteResponse& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetModelSelectionExpression() const{ return m_modelSelectionExpression; }
48 inline bool ModelSelectionExpressionHasBeenSet() const { return m_modelSelectionExpressionHasBeenSet; }
49 inline void SetModelSelectionExpression(const Aws::String& value) { m_modelSelectionExpressionHasBeenSet = true; m_modelSelectionExpression = value; }
50 inline void SetModelSelectionExpression(Aws::String&& value) { m_modelSelectionExpressionHasBeenSet = true; m_modelSelectionExpression = std::move(value); }
51 inline void SetModelSelectionExpression(const char* value) { m_modelSelectionExpressionHasBeenSet = true; m_modelSelectionExpression.assign(value); }
53 inline RouteResponse& WithModelSelectionExpression(Aws::String&& value) { SetModelSelectionExpression(std::move(value)); return *this;}
54 inline RouteResponse& WithModelSelectionExpression(const char* value) { SetModelSelectionExpression(value); return *this;}
56
58
61 inline const Aws::Map<Aws::String, Aws::String>& GetResponseModels() const{ return m_responseModels; }
62 inline bool ResponseModelsHasBeenSet() const { return m_responseModelsHasBeenSet; }
63 inline void SetResponseModels(const Aws::Map<Aws::String, Aws::String>& value) { m_responseModelsHasBeenSet = true; m_responseModels = value; }
64 inline void SetResponseModels(Aws::Map<Aws::String, Aws::String>&& value) { m_responseModelsHasBeenSet = true; m_responseModels = std::move(value); }
66 inline RouteResponse& WithResponseModels(Aws::Map<Aws::String, Aws::String>&& value) { SetResponseModels(std::move(value)); return *this;}
67 inline RouteResponse& AddResponseModels(const Aws::String& key, const Aws::String& value) { m_responseModelsHasBeenSet = true; m_responseModels.emplace(key, value); return *this; }
68 inline RouteResponse& AddResponseModels(Aws::String&& key, const Aws::String& value) { m_responseModelsHasBeenSet = true; m_responseModels.emplace(std::move(key), value); return *this; }
69 inline RouteResponse& AddResponseModels(const Aws::String& key, Aws::String&& value) { m_responseModelsHasBeenSet = true; m_responseModels.emplace(key, std::move(value)); return *this; }
70 inline RouteResponse& AddResponseModels(Aws::String&& key, Aws::String&& value) { m_responseModelsHasBeenSet = true; m_responseModels.emplace(std::move(key), std::move(value)); return *this; }
71 inline RouteResponse& AddResponseModels(const char* key, Aws::String&& value) { m_responseModelsHasBeenSet = true; m_responseModels.emplace(key, std::move(value)); return *this; }
72 inline RouteResponse& AddResponseModels(Aws::String&& key, const char* value) { m_responseModelsHasBeenSet = true; m_responseModels.emplace(std::move(key), value); return *this; }
73 inline RouteResponse& AddResponseModels(const char* key, const char* value) { m_responseModelsHasBeenSet = true; m_responseModels.emplace(key, value); return *this; }
75
77
80 inline const Aws::Map<Aws::String, ParameterConstraints>& GetResponseParameters() const{ return m_responseParameters; }
81 inline bool ResponseParametersHasBeenSet() const { return m_responseParametersHasBeenSet; }
82 inline void SetResponseParameters(const Aws::Map<Aws::String, ParameterConstraints>& value) { m_responseParametersHasBeenSet = true; m_responseParameters = value; }
83 inline void SetResponseParameters(Aws::Map<Aws::String, ParameterConstraints>&& value) { m_responseParametersHasBeenSet = true; m_responseParameters = std::move(value); }
86 inline RouteResponse& AddResponseParameters(const Aws::String& key, const ParameterConstraints& value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(key, value); return *this; }
87 inline RouteResponse& AddResponseParameters(Aws::String&& key, const ParameterConstraints& value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(std::move(key), value); return *this; }
88 inline RouteResponse& AddResponseParameters(const Aws::String& key, ParameterConstraints&& value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(key, std::move(value)); return *this; }
89 inline RouteResponse& AddResponseParameters(Aws::String&& key, ParameterConstraints&& value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(std::move(key), std::move(value)); return *this; }
90 inline RouteResponse& AddResponseParameters(const char* key, ParameterConstraints&& value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(key, std::move(value)); return *this; }
91 inline RouteResponse& AddResponseParameters(const char* key, const ParameterConstraints& value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(key, value); return *this; }
93
95
98 inline const Aws::String& GetRouteResponseId() const{ return m_routeResponseId; }
99 inline bool RouteResponseIdHasBeenSet() const { return m_routeResponseIdHasBeenSet; }
100 inline void SetRouteResponseId(const Aws::String& value) { m_routeResponseIdHasBeenSet = true; m_routeResponseId = value; }
101 inline void SetRouteResponseId(Aws::String&& value) { m_routeResponseIdHasBeenSet = true; m_routeResponseId = std::move(value); }
102 inline void SetRouteResponseId(const char* value) { m_routeResponseIdHasBeenSet = true; m_routeResponseId.assign(value); }
103 inline RouteResponse& WithRouteResponseId(const Aws::String& value) { SetRouteResponseId(value); return *this;}
104 inline RouteResponse& WithRouteResponseId(Aws::String&& value) { SetRouteResponseId(std::move(value)); return *this;}
105 inline RouteResponse& WithRouteResponseId(const char* value) { SetRouteResponseId(value); return *this;}
107
109
112 inline const Aws::String& GetRouteResponseKey() const{ return m_routeResponseKey; }
113 inline bool RouteResponseKeyHasBeenSet() const { return m_routeResponseKeyHasBeenSet; }
114 inline void SetRouteResponseKey(const Aws::String& value) { m_routeResponseKeyHasBeenSet = true; m_routeResponseKey = value; }
115 inline void SetRouteResponseKey(Aws::String&& value) { m_routeResponseKeyHasBeenSet = true; m_routeResponseKey = std::move(value); }
116 inline void SetRouteResponseKey(const char* value) { m_routeResponseKeyHasBeenSet = true; m_routeResponseKey.assign(value); }
117 inline RouteResponse& WithRouteResponseKey(const Aws::String& value) { SetRouteResponseKey(value); return *this;}
118 inline RouteResponse& WithRouteResponseKey(Aws::String&& value) { SetRouteResponseKey(std::move(value)); return *this;}
119 inline RouteResponse& WithRouteResponseKey(const char* value) { SetRouteResponseKey(value); return *this;}
121 private:
122
123 Aws::String m_modelSelectionExpression;
124 bool m_modelSelectionExpressionHasBeenSet = false;
125
126 Aws::Map<Aws::String, Aws::String> m_responseModels;
127 bool m_responseModelsHasBeenSet = false;
128
130 bool m_responseParametersHasBeenSet = false;
131
132 Aws::String m_routeResponseId;
133 bool m_routeResponseIdHasBeenSet = false;
134
135 Aws::String m_routeResponseKey;
136 bool m_routeResponseKeyHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace ApiGatewayV2
141} // namespace Aws
void SetModelSelectionExpression(const Aws::String &value)
void SetModelSelectionExpression(const char *value)
RouteResponse & AddResponseModels(Aws::String &&key, Aws::String &&value)
RouteResponse & AddResponseModels(Aws::String &&key, const Aws::String &value)
AWS_APIGATEWAYV2_API RouteResponse(Aws::Utils::Json::JsonView jsonValue)
RouteResponse & WithRouteResponseId(const char *value)
void SetRouteResponseId(Aws::String &&value)
void SetResponseModels(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetRouteResponseId() const
AWS_APIGATEWAYV2_API RouteResponse()
RouteResponse & AddResponseParameters(const Aws::String &key, const ParameterConstraints &value)
void SetRouteResponseKey(const Aws::String &value)
RouteResponse & WithModelSelectionExpression(const Aws::String &value)
RouteResponse & AddResponseParameters(const Aws::String &key, ParameterConstraints &&value)
RouteResponse & AddResponseParameters(const char *key, ParameterConstraints &&value)
RouteResponse & WithRouteResponseKey(const char *value)
RouteResponse & WithResponseModels(const Aws::Map< Aws::String, Aws::String > &value)
void SetResponseModels(Aws::Map< Aws::String, Aws::String > &&value)
AWS_APIGATEWAYV2_API RouteResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRouteResponseKey(const char *value)
RouteResponse & WithResponseModels(Aws::Map< Aws::String, Aws::String > &&value)
RouteResponse & WithRouteResponseId(Aws::String &&value)
void SetRouteResponseId(const Aws::String &value)
const Aws::String & GetRouteResponseKey() const
RouteResponse & WithModelSelectionExpression(const char *value)
RouteResponse & AddResponseParameters(Aws::String &&key, const ParameterConstraints &value)
RouteResponse & WithModelSelectionExpression(Aws::String &&value)
RouteResponse & WithRouteResponseKey(Aws::String &&value)
void SetRouteResponseKey(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetResponseModels() const
RouteResponse & AddResponseModels(const Aws::String &key, const Aws::String &value)
RouteResponse & WithRouteResponseKey(const Aws::String &value)
RouteResponse & AddResponseModels(const char *key, const char *value)
void SetResponseParameters(const Aws::Map< Aws::String, ParameterConstraints > &value)
RouteResponse & AddResponseModels(Aws::String &&key, const char *value)
void SetRouteResponseId(const char *value)
RouteResponse & WithRouteResponseId(const Aws::String &value)
void SetModelSelectionExpression(Aws::String &&value)
RouteResponse & WithResponseParameters(Aws::Map< Aws::String, ParameterConstraints > &&value)
const Aws::Map< Aws::String, ParameterConstraints > & GetResponseParameters() const
void SetResponseParameters(Aws::Map< Aws::String, ParameterConstraints > &&value)
RouteResponse & AddResponseModels(const char *key, Aws::String &&value)
RouteResponse & AddResponseParameters(const char *key, const ParameterConstraints &value)
AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetModelSelectionExpression() const
RouteResponse & WithResponseParameters(const Aws::Map< Aws::String, ParameterConstraints > &value)
RouteResponse & AddResponseParameters(Aws::String &&key, ParameterConstraints &&value)
RouteResponse & AddResponseModels(const Aws::String &key, Aws::String &&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
Aws::Utils::Json::JsonValue JsonValue