7#include <aws/apigatewayv2/ApiGatewayV2Request.h>
8#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
9#include <aws/apigatewayv2/model/AuthorizationType.h>
10#include <aws/apigatewayv2/model/ParameterConstraints.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
18namespace ApiGatewayV2 {
44 template <
typename ApiIdT = Aws::String>
46 m_apiIdHasBeenSet =
true;
47 m_apiId = std::forward<ApiIdT>(value);
49 template <
typename ApiIdT = Aws::String>
51 SetApiId(std::forward<ApiIdT>(value));
64 m_apiKeyRequiredHasBeenSet =
true;
65 m_apiKeyRequired = value;
79 template <
typename AuthorizationScopesT = Aws::Vector<Aws::String>>
81 m_authorizationScopesHasBeenSet =
true;
82 m_authorizationScopes = std::forward<AuthorizationScopesT>(value);
84 template <
typename AuthorizationScopesT = Aws::Vector<Aws::String>>
89 template <
typename AuthorizationScopesT = Aws::String>
91 m_authorizationScopesHasBeenSet =
true;
92 m_authorizationScopes.emplace_back(std::forward<AuthorizationScopesT>(value));
108 m_authorizationTypeHasBeenSet =
true;
109 m_authorizationType = value;
125 template <
typename AuthorizerIdT = Aws::String>
127 m_authorizerIdHasBeenSet =
true;
128 m_authorizerId = std::forward<AuthorizerIdT>(value);
130 template <
typename AuthorizerIdT = Aws::String>
144 template <
typename ModelSelectionExpressionT = Aws::String>
146 m_modelSelectionExpressionHasBeenSet =
true;
147 m_modelSelectionExpression = std::forward<ModelSelectionExpressionT>(value);
149 template <
typename ModelSelectionExpressionT = Aws::String>
162 template <
typename OperationNameT = Aws::String>
164 m_operationNameHasBeenSet =
true;
165 m_operationName = std::forward<OperationNameT>(value);
167 template <
typename OperationNameT = Aws::String>
180 template <
typename RequestModelsT = Aws::Map<Aws::String, Aws::String>>
182 m_requestModelsHasBeenSet =
true;
183 m_requestModels = std::forward<RequestModelsT>(value);
185 template <
typename RequestModelsT = Aws::Map<Aws::String, Aws::String>>
190 template <
typename RequestModelsKeyT = Aws::String,
typename RequestModelsValueT = Aws::String>
192 m_requestModelsHasBeenSet =
true;
193 m_requestModels.emplace(std::forward<RequestModelsKeyT>(key), std::forward<RequestModelsValueT>(value));
204 template <
typename RequestParametersT = Aws::Map<Aws::String, ParameterConstra
ints>>
206 m_requestParametersHasBeenSet =
true;
207 m_requestParameters = std::forward<RequestParametersT>(value);
209 template <
typename RequestParametersT = Aws::Map<Aws::String, ParameterConstra
ints>>
214 template <
typename RequestParametersKeyT = Aws::String,
typename RequestParametersValueT = ParameterConstra
ints>
216 m_requestParametersHasBeenSet =
true;
217 m_requestParameters.emplace(std::forward<RequestParametersKeyT>(key), std::forward<RequestParametersValueT>(value));
228 template <
typename RouteIdT = Aws::String>
230 m_routeIdHasBeenSet =
true;
231 m_routeId = std::forward<RouteIdT>(value);
233 template <
typename RouteIdT = Aws::String>
246 template <
typename RouteKeyT = Aws::String>
248 m_routeKeyHasBeenSet =
true;
249 m_routeKey = std::forward<RouteKeyT>(value);
251 template <
typename RouteKeyT = Aws::String>
265 template <
typename RouteResponseSelectionExpressionT = Aws::String>
267 m_routeResponseSelectionExpressionHasBeenSet =
true;
268 m_routeResponseSelectionExpression = std::forward<RouteResponseSelectionExpressionT>(value);
270 template <
typename RouteResponseSelectionExpressionT = Aws::String>
283 template <
typename TargetT = Aws::String>
285 m_targetHasBeenSet =
true;
286 m_target = std::forward<TargetT>(value);
288 template <
typename TargetT = Aws::String>
297 bool m_apiKeyRequired{
false};
320 bool m_apiIdHasBeenSet =
false;
321 bool m_apiKeyRequiredHasBeenSet =
false;
322 bool m_authorizationScopesHasBeenSet =
false;
323 bool m_authorizationTypeHasBeenSet =
false;
324 bool m_authorizerIdHasBeenSet =
false;
325 bool m_modelSelectionExpressionHasBeenSet =
false;
326 bool m_operationNameHasBeenSet =
false;
327 bool m_requestModelsHasBeenSet =
false;
328 bool m_requestParametersHasBeenSet =
false;
329 bool m_routeIdHasBeenSet =
false;
330 bool m_routeKeyHasBeenSet =
false;
331 bool m_routeResponseSelectionExpressionHasBeenSet =
false;
332 bool m_targetHasBeenSet =
false;
bool GetApiKeyRequired() const
UpdateRouteRequest & WithRequestParameters(RequestParametersT &&value)
void SetRouteResponseSelectionExpression(RouteResponseSelectionExpressionT &&value)
void SetRouteKey(RouteKeyT &&value)
void SetRouteId(RouteIdT &&value)
UpdateRouteRequest & WithRouteKey(RouteKeyT &&value)
AWS_APIGATEWAYV2_API UpdateRouteRequest()=default
const Aws::String & GetModelSelectionExpression() const
bool AuthorizationTypeHasBeenSet() const
bool OperationNameHasBeenSet() const
void SetRequestParameters(RequestParametersT &&value)
bool RouteIdHasBeenSet() const
void SetAuthorizationScopes(AuthorizationScopesT &&value)
UpdateRouteRequest & WithRequestModels(RequestModelsT &&value)
bool ApiIdHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetRequestModels() const
bool ModelSelectionExpressionHasBeenSet() const
virtual const char * GetServiceRequestName() const override
UpdateRouteRequest & WithAuthorizerId(AuthorizerIdT &&value)
const Aws::String & GetTarget() const
const Aws::String & GetAuthorizerId() const
const Aws::String & GetRouteId() const
bool ApiKeyRequiredHasBeenSet() const
UpdateRouteRequest & WithRouteId(RouteIdT &&value)
UpdateRouteRequest & WithTarget(TargetT &&value)
const Aws::Map< Aws::String, ParameterConstraints > & GetRequestParameters() const
void SetApiId(ApiIdT &&value)
UpdateRouteRequest & AddRequestModels(RequestModelsKeyT &&key, RequestModelsValueT &&value)
const Aws::String & GetOperationName() const
void SetAuthorizerId(AuthorizerIdT &&value)
bool RequestModelsHasBeenSet() const
UpdateRouteRequest & AddRequestParameters(RequestParametersKeyT &&key, RequestParametersValueT &&value)
const Aws::Vector< Aws::String > & GetAuthorizationScopes() const
void SetAuthorizationType(AuthorizationType value)
AWS_APIGATEWAYV2_API Aws::String SerializePayload() const override
UpdateRouteRequest & WithApiKeyRequired(bool value)
UpdateRouteRequest & WithRouteResponseSelectionExpression(RouteResponseSelectionExpressionT &&value)
UpdateRouteRequest & AddAuthorizationScopes(AuthorizationScopesT &&value)
UpdateRouteRequest & WithAuthorizationScopes(AuthorizationScopesT &&value)
bool AuthorizationScopesHasBeenSet() const
void SetRequestModels(RequestModelsT &&value)
const Aws::String & GetRouteKey() const
const Aws::String & GetRouteResponseSelectionExpression() const
bool RouteResponseSelectionExpressionHasBeenSet() const
void SetOperationName(OperationNameT &&value)
bool RequestParametersHasBeenSet() const
AuthorizationType GetAuthorizationType() const
bool TargetHasBeenSet() const
UpdateRouteRequest & WithAuthorizationType(AuthorizationType value)
void SetApiKeyRequired(bool value)
void SetTarget(TargetT &&value)
UpdateRouteRequest & WithOperationName(OperationNameT &&value)
bool AuthorizerIdHasBeenSet() const
bool RouteKeyHasBeenSet() const
void SetModelSelectionExpression(ModelSelectionExpressionT &&value)
UpdateRouteRequest & WithModelSelectionExpression(ModelSelectionExpressionT &&value)
UpdateRouteRequest & WithApiId(ApiIdT &&value)
const Aws::String & GetApiId() const
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
std::vector< T, Aws::Allocator< T > > Vector