AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateRouteResponseRequest.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/apigatewayv2/ApiGatewayV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/apigatewayv2/model/ParameterConstraints.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ApiGatewayV2
17{
18namespace Model
19{
20
27 {
28 public:
29 AWS_APIGATEWAYV2_API UpdateRouteResponseRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "UpdateRouteResponse"; }
36
37 AWS_APIGATEWAYV2_API Aws::String SerializePayload() const override;
38
39
41
44 inline const Aws::String& GetApiId() const{ return m_apiId; }
45 inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; }
46 inline void SetApiId(const Aws::String& value) { m_apiIdHasBeenSet = true; m_apiId = value; }
47 inline void SetApiId(Aws::String&& value) { m_apiIdHasBeenSet = true; m_apiId = std::move(value); }
48 inline void SetApiId(const char* value) { m_apiIdHasBeenSet = true; m_apiId.assign(value); }
49 inline UpdateRouteResponseRequest& WithApiId(const Aws::String& value) { SetApiId(value); return *this;}
50 inline UpdateRouteResponseRequest& WithApiId(Aws::String&& value) { SetApiId(std::move(value)); return *this;}
51 inline UpdateRouteResponseRequest& WithApiId(const char* value) { SetApiId(value); return *this;}
53
55
59 inline const Aws::String& GetModelSelectionExpression() const{ return m_modelSelectionExpression; }
60 inline bool ModelSelectionExpressionHasBeenSet() const { return m_modelSelectionExpressionHasBeenSet; }
61 inline void SetModelSelectionExpression(const Aws::String& value) { m_modelSelectionExpressionHasBeenSet = true; m_modelSelectionExpression = value; }
62 inline void SetModelSelectionExpression(Aws::String&& value) { m_modelSelectionExpressionHasBeenSet = true; m_modelSelectionExpression = std::move(value); }
63 inline void SetModelSelectionExpression(const char* value) { m_modelSelectionExpressionHasBeenSet = true; m_modelSelectionExpression.assign(value); }
68
70
73 inline const Aws::Map<Aws::String, Aws::String>& GetResponseModels() const{ return m_responseModels; }
74 inline bool ResponseModelsHasBeenSet() const { return m_responseModelsHasBeenSet; }
75 inline void SetResponseModels(const Aws::Map<Aws::String, Aws::String>& value) { m_responseModelsHasBeenSet = true; m_responseModels = value; }
76 inline void SetResponseModels(Aws::Map<Aws::String, Aws::String>&& value) { m_responseModelsHasBeenSet = true; m_responseModels = std::move(value); }
79 inline UpdateRouteResponseRequest& AddResponseModels(const Aws::String& key, const Aws::String& value) { m_responseModelsHasBeenSet = true; m_responseModels.emplace(key, value); return *this; }
80 inline UpdateRouteResponseRequest& AddResponseModels(Aws::String&& key, const Aws::String& value) { m_responseModelsHasBeenSet = true; m_responseModels.emplace(std::move(key), value); return *this; }
81 inline UpdateRouteResponseRequest& AddResponseModels(const Aws::String& key, Aws::String&& value) { m_responseModelsHasBeenSet = true; m_responseModels.emplace(key, std::move(value)); return *this; }
82 inline UpdateRouteResponseRequest& AddResponseModels(Aws::String&& key, Aws::String&& value) { m_responseModelsHasBeenSet = true; m_responseModels.emplace(std::move(key), std::move(value)); return *this; }
83 inline UpdateRouteResponseRequest& AddResponseModels(const char* key, Aws::String&& value) { m_responseModelsHasBeenSet = true; m_responseModels.emplace(key, std::move(value)); return *this; }
84 inline UpdateRouteResponseRequest& AddResponseModels(Aws::String&& key, const char* value) { m_responseModelsHasBeenSet = true; m_responseModels.emplace(std::move(key), value); return *this; }
85 inline UpdateRouteResponseRequest& AddResponseModels(const char* key, const char* value) { m_responseModelsHasBeenSet = true; m_responseModels.emplace(key, value); return *this; }
87
89
92 inline const Aws::Map<Aws::String, ParameterConstraints>& GetResponseParameters() const{ return m_responseParameters; }
93 inline bool ResponseParametersHasBeenSet() const { return m_responseParametersHasBeenSet; }
94 inline void SetResponseParameters(const Aws::Map<Aws::String, ParameterConstraints>& value) { m_responseParametersHasBeenSet = true; m_responseParameters = value; }
95 inline void SetResponseParameters(Aws::Map<Aws::String, ParameterConstraints>&& value) { m_responseParametersHasBeenSet = true; m_responseParameters = std::move(value); }
98 inline UpdateRouteResponseRequest& AddResponseParameters(const Aws::String& key, const ParameterConstraints& value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(key, value); return *this; }
99 inline UpdateRouteResponseRequest& AddResponseParameters(Aws::String&& key, const ParameterConstraints& value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(std::move(key), value); return *this; }
100 inline UpdateRouteResponseRequest& AddResponseParameters(const Aws::String& key, ParameterConstraints&& value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(key, std::move(value)); return *this; }
101 inline UpdateRouteResponseRequest& AddResponseParameters(Aws::String&& key, ParameterConstraints&& value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(std::move(key), std::move(value)); return *this; }
102 inline UpdateRouteResponseRequest& AddResponseParameters(const char* key, ParameterConstraints&& value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(key, std::move(value)); return *this; }
103 inline UpdateRouteResponseRequest& AddResponseParameters(const char* key, const ParameterConstraints& value) { m_responseParametersHasBeenSet = true; m_responseParameters.emplace(key, value); return *this; }
105
107
110 inline const Aws::String& GetRouteId() const{ return m_routeId; }
111 inline bool RouteIdHasBeenSet() const { return m_routeIdHasBeenSet; }
112 inline void SetRouteId(const Aws::String& value) { m_routeIdHasBeenSet = true; m_routeId = value; }
113 inline void SetRouteId(Aws::String&& value) { m_routeIdHasBeenSet = true; m_routeId = std::move(value); }
114 inline void SetRouteId(const char* value) { m_routeIdHasBeenSet = true; m_routeId.assign(value); }
115 inline UpdateRouteResponseRequest& WithRouteId(const Aws::String& value) { SetRouteId(value); return *this;}
116 inline UpdateRouteResponseRequest& WithRouteId(Aws::String&& value) { SetRouteId(std::move(value)); return *this;}
117 inline UpdateRouteResponseRequest& WithRouteId(const char* value) { SetRouteId(value); return *this;}
119
121
124 inline const Aws::String& GetRouteResponseId() const{ return m_routeResponseId; }
125 inline bool RouteResponseIdHasBeenSet() const { return m_routeResponseIdHasBeenSet; }
126 inline void SetRouteResponseId(const Aws::String& value) { m_routeResponseIdHasBeenSet = true; m_routeResponseId = value; }
127 inline void SetRouteResponseId(Aws::String&& value) { m_routeResponseIdHasBeenSet = true; m_routeResponseId = std::move(value); }
128 inline void SetRouteResponseId(const char* value) { m_routeResponseIdHasBeenSet = true; m_routeResponseId.assign(value); }
130 inline UpdateRouteResponseRequest& WithRouteResponseId(Aws::String&& value) { SetRouteResponseId(std::move(value)); return *this;}
131 inline UpdateRouteResponseRequest& WithRouteResponseId(const char* value) { SetRouteResponseId(value); return *this;}
133
135
138 inline const Aws::String& GetRouteResponseKey() const{ return m_routeResponseKey; }
139 inline bool RouteResponseKeyHasBeenSet() const { return m_routeResponseKeyHasBeenSet; }
140 inline void SetRouteResponseKey(const Aws::String& value) { m_routeResponseKeyHasBeenSet = true; m_routeResponseKey = value; }
141 inline void SetRouteResponseKey(Aws::String&& value) { m_routeResponseKeyHasBeenSet = true; m_routeResponseKey = std::move(value); }
142 inline void SetRouteResponseKey(const char* value) { m_routeResponseKeyHasBeenSet = true; m_routeResponseKey.assign(value); }
144 inline UpdateRouteResponseRequest& WithRouteResponseKey(Aws::String&& value) { SetRouteResponseKey(std::move(value)); return *this;}
145 inline UpdateRouteResponseRequest& WithRouteResponseKey(const char* value) { SetRouteResponseKey(value); return *this;}
147 private:
148
149 Aws::String m_apiId;
150 bool m_apiIdHasBeenSet = false;
151
152 Aws::String m_modelSelectionExpression;
153 bool m_modelSelectionExpressionHasBeenSet = false;
154
155 Aws::Map<Aws::String, Aws::String> m_responseModels;
156 bool m_responseModelsHasBeenSet = false;
157
159 bool m_responseParametersHasBeenSet = false;
160
161 Aws::String m_routeId;
162 bool m_routeIdHasBeenSet = false;
163
164 Aws::String m_routeResponseId;
165 bool m_routeResponseIdHasBeenSet = false;
166
167 Aws::String m_routeResponseKey;
168 bool m_routeResponseKeyHasBeenSet = false;
169 };
170
171} // namespace Model
172} // namespace ApiGatewayV2
173} // namespace Aws
UpdateRouteResponseRequest & AddResponseModels(Aws::String &&key, const char *value)
UpdateRouteResponseRequest & WithResponseModels(Aws::Map< Aws::String, Aws::String > &&value)
UpdateRouteResponseRequest & WithRouteId(const Aws::String &value)
UpdateRouteResponseRequest & AddResponseParameters(const Aws::String &key, const ParameterConstraints &value)
void SetResponseModels(Aws::Map< Aws::String, Aws::String > &&value)
UpdateRouteResponseRequest & WithResponseParameters(Aws::Map< Aws::String, ParameterConstraints > &&value)
UpdateRouteResponseRequest & AddResponseModels(const Aws::String &key, Aws::String &&value)
UpdateRouteResponseRequest & AddResponseParameters(const Aws::String &key, ParameterConstraints &&value)
UpdateRouteResponseRequest & WithApiId(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetResponseModels() const
UpdateRouteResponseRequest & WithModelSelectionExpression(Aws::String &&value)
void SetResponseParameters(Aws::Map< Aws::String, ParameterConstraints > &&value)
AWS_APIGATEWAYV2_API Aws::String SerializePayload() const override
UpdateRouteResponseRequest & WithRouteResponseId(Aws::String &&value)
void SetResponseModels(const Aws::Map< Aws::String, Aws::String > &value)
UpdateRouteResponseRequest & WithRouteResponseKey(Aws::String &&value)
UpdateRouteResponseRequest & AddResponseModels(Aws::String &&key, Aws::String &&value)
UpdateRouteResponseRequest & AddResponseParameters(Aws::String &&key, ParameterConstraints &&value)
UpdateRouteResponseRequest & AddResponseParameters(Aws::String &&key, const ParameterConstraints &value)
UpdateRouteResponseRequest & AddResponseParameters(const char *key, ParameterConstraints &&value)
UpdateRouteResponseRequest & AddResponseModels(const char *key, const char *value)
UpdateRouteResponseRequest & WithResponseModels(const Aws::Map< Aws::String, Aws::String > &value)
UpdateRouteResponseRequest & WithRouteResponseKey(const char *value)
UpdateRouteResponseRequest & WithModelSelectionExpression(const Aws::String &value)
UpdateRouteResponseRequest & AddResponseModels(Aws::String &&key, const Aws::String &value)
UpdateRouteResponseRequest & WithApiId(const char *value)
UpdateRouteResponseRequest & WithRouteResponseId(const Aws::String &value)
UpdateRouteResponseRequest & WithModelSelectionExpression(const char *value)
UpdateRouteResponseRequest & WithApiId(Aws::String &&value)
UpdateRouteResponseRequest & AddResponseModels(const char *key, Aws::String &&value)
const Aws::Map< Aws::String, ParameterConstraints > & GetResponseParameters() const
UpdateRouteResponseRequest & AddResponseParameters(const char *key, const ParameterConstraints &value)
UpdateRouteResponseRequest & WithRouteResponseId(const char *value)
UpdateRouteResponseRequest & WithRouteId(const char *value)
UpdateRouteResponseRequest & WithResponseParameters(const Aws::Map< Aws::String, ParameterConstraints > &value)
UpdateRouteResponseRequest & WithRouteResponseKey(const Aws::String &value)
UpdateRouteResponseRequest & AddResponseModels(const Aws::String &key, const Aws::String &value)
UpdateRouteResponseRequest & WithRouteId(Aws::String &&value)
void SetResponseParameters(const Aws::Map< Aws::String, ParameterConstraints > &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