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/AWSVector.h>
11#include <aws/apigatewayv2/model/AuthorizationType.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/apigatewayv2/model/ParameterConstraints.h>
50 inline void SetApiId(
const char* value) { m_apiIdHasBeenSet =
true; m_apiId.assign(value); }
63 inline void SetApiKeyRequired(
bool value) { m_apiKeyRequiredHasBeenSet =
true; m_apiKeyRequired = value; }
108 inline void SetAuthorizerId(
const char* value) { m_authorizerIdHasBeenSet =
true; m_authorizerId.assign(value); }
123 inline void SetModelSelectionExpression(
const char* value) { m_modelSelectionExpressionHasBeenSet =
true; m_modelSelectionExpression.assign(value); }
137 inline void SetOperationName(
const char* value) { m_operationNameHasBeenSet =
true; m_operationName.assign(value); }
188 inline void SetRouteId(
const char* value) { m_routeIdHasBeenSet =
true; m_routeId.assign(value); }
202 inline void SetRouteKey(
const char* value) { m_routeKeyHasBeenSet =
true; m_routeKey.assign(value); }
231 inline void SetTarget(
const char* value) { m_targetHasBeenSet =
true; m_target.assign(value); }
239 bool m_apiIdHasBeenSet =
false;
241 bool m_apiKeyRequired;
242 bool m_apiKeyRequiredHasBeenSet =
false;
245 bool m_authorizationScopesHasBeenSet =
false;
248 bool m_authorizationTypeHasBeenSet =
false;
251 bool m_authorizerIdHasBeenSet =
false;
254 bool m_modelSelectionExpressionHasBeenSet =
false;
257 bool m_operationNameHasBeenSet =
false;
260 bool m_requestModelsHasBeenSet =
false;
263 bool m_requestParametersHasBeenSet =
false;
266 bool m_routeIdHasBeenSet =
false;
269 bool m_routeKeyHasBeenSet =
false;
272 bool m_routeResponseSelectionExpressionHasBeenSet =
false;
275 bool m_targetHasBeenSet =
false;
bool GetApiKeyRequired() const
UpdateRouteRequest & WithRequestParameters(const Aws::Map< Aws::String, ParameterConstraints > &value)
UpdateRouteRequest & AddRequestParameters(const Aws::String &key, const ParameterConstraints &value)
UpdateRouteRequest & WithApiId(Aws::String &&value)
void SetOperationName(Aws::String &&value)
UpdateRouteRequest & WithModelSelectionExpression(Aws::String &&value)
UpdateRouteRequest & WithRequestModels(Aws::Map< Aws::String, Aws::String > &&value)
void SetTarget(const Aws::String &value)
UpdateRouteRequest & WithRouteId(Aws::String &&value)
void SetApiId(const char *value)
void SetRouteKey(const Aws::String &value)
UpdateRouteRequest & WithApiId(const char *value)
const Aws::String & GetModelSelectionExpression() const
UpdateRouteRequest & WithRouteResponseSelectionExpression(Aws::String &&value)
void SetTarget(const char *value)
void SetAuthorizationScopes(const Aws::Vector< Aws::String > &value)
void SetRouteId(const char *value)
bool AuthorizationTypeHasBeenSet() const
bool OperationNameHasBeenSet() const
UpdateRouteRequest & WithRequestModels(const Aws::Map< Aws::String, Aws::String > &value)
void SetRequestModels(const Aws::Map< Aws::String, Aws::String > &value)
AWS_APIGATEWAYV2_API UpdateRouteRequest()
bool RouteIdHasBeenSet() const
UpdateRouteRequest & AddRequestModels(const char *key, Aws::String &&value)
UpdateRouteRequest & WithRouteId(const Aws::String &value)
bool ApiIdHasBeenSet() const
void SetApiId(Aws::String &&value)
UpdateRouteRequest & WithRouteResponseSelectionExpression(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetRequestModels() const
UpdateRouteRequest & WithOperationName(const char *value)
bool ModelSelectionExpressionHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetTarget() const
void SetRouteResponseSelectionExpression(const Aws::String &value)
void SetRouteId(const Aws::String &value)
UpdateRouteRequest & WithRouteKey(Aws::String &&value)
const Aws::String & GetAuthorizerId() const
UpdateRouteRequest & AddRequestModels(const Aws::String &key, Aws::String &&value)
const Aws::String & GetRouteId() const
UpdateRouteRequest & WithAuthorizationScopes(const Aws::Vector< Aws::String > &value)
UpdateRouteRequest & WithRouteResponseSelectionExpression(const Aws::String &value)
UpdateRouteRequest & WithRouteKey(const char *value)
void SetAuthorizationType(const AuthorizationType &value)
UpdateRouteRequest & WithAuthorizerId(const Aws::String &value)
bool ApiKeyRequiredHasBeenSet() const
const Aws::Map< Aws::String, ParameterConstraints > & GetRequestParameters() const
UpdateRouteRequest & AddRequestParameters(Aws::String &&key, ParameterConstraints &&value)
UpdateRouteRequest & AddRequestModels(Aws::String &&key, Aws::String &&value)
const Aws::String & GetOperationName() const
UpdateRouteRequest & AddAuthorizationScopes(const Aws::String &value)
UpdateRouteRequest & WithAuthorizerId(const char *value)
UpdateRouteRequest & AddAuthorizationScopes(const char *value)
bool RequestModelsHasBeenSet() const
const AuthorizationType & GetAuthorizationType() const
const Aws::Vector< Aws::String > & GetAuthorizationScopes() const
void SetModelSelectionExpression(const Aws::String &value)
void SetRequestParameters(Aws::Map< Aws::String, ParameterConstraints > &&value)
AWS_APIGATEWAYV2_API Aws::String SerializePayload() const override
UpdateRouteRequest & AddRequestModels(const Aws::String &key, const Aws::String &value)
UpdateRouteRequest & WithAuthorizerId(Aws::String &&value)
void SetModelSelectionExpression(const char *value)
void SetRequestParameters(const Aws::Map< Aws::String, ParameterConstraints > &value)
UpdateRouteRequest & AddRequestParameters(const char *key, const ParameterConstraints &value)
UpdateRouteRequest & WithApiKeyRequired(bool value)
void SetAuthorizerId(Aws::String &&value)
void SetOperationName(const char *value)
UpdateRouteRequest & WithTarget(const Aws::String &value)
UpdateRouteRequest & AddRequestModels(const char *key, const char *value)
UpdateRouteRequest & WithTarget(const char *value)
bool AuthorizationScopesHasBeenSet() const
void SetAuthorizationScopes(Aws::Vector< Aws::String > &&value)
UpdateRouteRequest & WithAuthorizationScopes(Aws::Vector< Aws::String > &&value)
void SetApiId(const Aws::String &value)
void SetTarget(Aws::String &&value)
void SetOperationName(const Aws::String &value)
const Aws::String & GetRouteKey() const
const Aws::String & GetRouteResponseSelectionExpression() const
UpdateRouteRequest & WithRouteId(const char *value)
void SetRouteResponseSelectionExpression(const char *value)
void SetAuthorizerId(const Aws::String &value)
UpdateRouteRequest & WithModelSelectionExpression(const char *value)
UpdateRouteRequest & WithAuthorizationType(AuthorizationType &&value)
UpdateRouteRequest & WithOperationName(Aws::String &&value)
bool RouteResponseSelectionExpressionHasBeenSet() const
UpdateRouteRequest & WithOperationName(const Aws::String &value)
UpdateRouteRequest & WithRequestParameters(Aws::Map< Aws::String, ParameterConstraints > &&value)
bool RequestParametersHasBeenSet() const
void SetAuthorizationType(AuthorizationType &&value)
bool TargetHasBeenSet() const
UpdateRouteRequest & WithApiId(const Aws::String &value)
void SetApiKeyRequired(bool value)
void SetRequestModels(Aws::Map< Aws::String, Aws::String > &&value)
void SetRouteResponseSelectionExpression(Aws::String &&value)
UpdateRouteRequest & AddAuthorizationScopes(Aws::String &&value)
UpdateRouteRequest & AddRequestParameters(Aws::String &&key, const ParameterConstraints &value)
UpdateRouteRequest & WithModelSelectionExpression(const Aws::String &value)
void SetRouteKey(Aws::String &&value)
UpdateRouteRequest & WithRouteKey(const Aws::String &value)
bool AuthorizerIdHasBeenSet() const
UpdateRouteRequest & AddRequestModels(Aws::String &&key, const Aws::String &value)
void SetRouteKey(const char *value)
void SetAuthorizerId(const char *value)
void SetRouteId(Aws::String &&value)
UpdateRouteRequest & WithAuthorizationType(const AuthorizationType &value)
UpdateRouteRequest & AddRequestParameters(const char *key, ParameterConstraints &&value)
bool RouteKeyHasBeenSet() const
void SetModelSelectionExpression(Aws::String &&value)
UpdateRouteRequest & AddRequestParameters(const Aws::String &key, ParameterConstraints &&value)
const Aws::String & GetApiId() const
UpdateRouteRequest & WithTarget(Aws::String &&value)
UpdateRouteRequest & AddRequestModels(Aws::String &&key, const char *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
std::vector< T, Aws::Allocator< T > > Vector