7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/apigatewayv2/model/AuthorizationType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/apigatewayv2/model/ParameterConstraints.h>
52 inline void SetApiGatewayManaged(
bool value) { m_apiGatewayManagedHasBeenSet =
true; m_apiGatewayManaged = value; }
63 inline void SetApiKeyRequired(
bool value) { m_apiKeyRequiredHasBeenSet =
true; m_apiKeyRequired = value; }
85 inline Route&
AddAuthorizationScopes(
const char* value) { m_authorizationScopesHasBeenSet =
true; m_authorizationScopes.push_back(value);
return *
this; }
114 inline void SetAuthorizerId(
const char* value) { m_authorizerIdHasBeenSet =
true; m_authorizerId.assign(value); }
129 inline void SetModelSelectionExpression(
const char* value) { m_modelSelectionExpressionHasBeenSet =
true; m_modelSelectionExpression.assign(value); }
143 inline void SetOperationName(
const char* value) { m_operationNameHasBeenSet =
true; m_operationName.assign(value); }
165 inline Route&
AddRequestModels(
const char* key,
const char* value) { m_requestModelsHasBeenSet =
true; m_requestModels.emplace(key, value);
return *
this; }
194 inline void SetRouteId(
const char* value) { m_routeIdHasBeenSet =
true; m_routeId.assign(value); }
208 inline void SetRouteKey(
const char* value) { m_routeKeyHasBeenSet =
true; m_routeKey.assign(value); }
237 inline void SetTarget(
const char* value) { m_targetHasBeenSet =
true; m_target.assign(value); }
244 bool m_apiGatewayManaged;
245 bool m_apiGatewayManagedHasBeenSet =
false;
247 bool m_apiKeyRequired;
248 bool m_apiKeyRequiredHasBeenSet =
false;
251 bool m_authorizationScopesHasBeenSet =
false;
254 bool m_authorizationTypeHasBeenSet =
false;
257 bool m_authorizerIdHasBeenSet =
false;
260 bool m_modelSelectionExpressionHasBeenSet =
false;
263 bool m_operationNameHasBeenSet =
false;
266 bool m_requestModelsHasBeenSet =
false;
269 bool m_requestParametersHasBeenSet =
false;
272 bool m_routeIdHasBeenSet =
false;
275 bool m_routeKeyHasBeenSet =
false;
278 bool m_routeResponseSelectionExpressionHasBeenSet =
false;
281 bool m_targetHasBeenSet =
false;
Route & AddRequestModels(const char *key, const char *value)
Route & WithRouteKey(const char *value)
Route & AddRequestParameters(Aws::String &&key, const ParameterConstraints &value)
Route & WithRequestParameters(const Aws::Map< Aws::String, ParameterConstraints > &value)
Route & WithOperationName(const char *value)
const Aws::String & GetAuthorizerId() const
void SetApiGatewayManaged(bool value)
void SetAuthorizationScopes(const Aws::Vector< Aws::String > &value)
void SetRouteResponseSelectionExpression(const Aws::String &value)
Route & WithRouteKey(Aws::String &&value)
Route & WithAuthorizationScopes(const Aws::Vector< Aws::String > &value)
const Aws::String & GetRouteKey() const
const Aws::String & GetOperationName() const
Route & WithRouteKey(const Aws::String &value)
bool ApiGatewayManagedHasBeenSet() const
void SetModelSelectionExpression(Aws::String &&value)
const Aws::Map< Aws::String, ParameterConstraints > & GetRequestParameters() const
Route & WithTarget(const Aws::String &value)
void SetRouteKey(const char *value)
bool RouteKeyHasBeenSet() const
void SetRequestModels(const Aws::Map< Aws::String, Aws::String > &value)
bool AuthorizationScopesHasBeenSet() const
void SetAuthorizationType(const AuthorizationType &value)
Route & AddAuthorizationScopes(const Aws::String &value)
const AuthorizationType & GetAuthorizationType() const
const Aws::Vector< Aws::String > & GetAuthorizationScopes() const
AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const
Route & WithRouteResponseSelectionExpression(const Aws::String &value)
Route & AddAuthorizationScopes(const char *value)
void SetAuthorizerId(Aws::String &&value)
Route & WithApiKeyRequired(bool value)
Route & WithOperationName(const Aws::String &value)
bool RouteResponseSelectionExpressionHasBeenSet() const
Route & AddRequestParameters(Aws::String &&key, ParameterConstraints &&value)
bool AuthorizationTypeHasBeenSet() const
Route & WithTarget(const char *value)
void SetRequestParameters(Aws::Map< Aws::String, ParameterConstraints > &&value)
const Aws::String & GetModelSelectionExpression() const
void SetApiKeyRequired(bool value)
Route & WithAuthorizerId(const char *value)
bool RequestParametersHasBeenSet() const
void SetOperationName(const Aws::String &value)
Route & WithRouteId(Aws::String &&value)
void SetTarget(const char *value)
void SetRouteResponseSelectionExpression(const char *value)
void SetTarget(Aws::String &&value)
Route & WithModelSelectionExpression(const Aws::String &value)
Route & AddRequestModels(const char *key, Aws::String &&value)
Route & WithOperationName(Aws::String &&value)
void SetRouteId(const char *value)
void SetAuthorizationScopes(Aws::Vector< Aws::String > &&value)
AWS_APIGATEWAYV2_API Route()
const Aws::String & GetRouteId() const
void SetOperationName(Aws::String &&value)
Route & WithAuthorizationType(AuthorizationType &&value)
void SetRequestModels(Aws::Map< Aws::String, Aws::String > &&value)
Route & AddRequestParameters(const Aws::String &key, const ParameterConstraints &value)
void SetOperationName(const char *value)
void SetTarget(const Aws::String &value)
const Aws::String & GetTarget() const
Route & AddRequestParameters(const char *key, const ParameterConstraints &value)
bool RouteIdHasBeenSet() const
Route & AddRequestModels(const Aws::String &key, Aws::String &&value)
void SetRouteId(Aws::String &&value)
bool OperationNameHasBeenSet() const
Route & WithAuthorizerId(const Aws::String &value)
Route & WithApiGatewayManaged(bool value)
Route & WithAuthorizerId(Aws::String &&value)
bool ApiKeyRequiredHasBeenSet() const
void SetModelSelectionExpression(const Aws::String &value)
bool RequestModelsHasBeenSet() const
void SetModelSelectionExpression(const char *value)
Route & AddRequestParameters(const Aws::String &key, ParameterConstraints &&value)
Route & WithAuthorizationScopes(Aws::Vector< Aws::String > &&value)
Route & WithRouteId(const Aws::String &value)
Route & WithAuthorizationType(const AuthorizationType &value)
Route & AddRequestModels(const Aws::String &key, const Aws::String &value)
bool ModelSelectionExpressionHasBeenSet() const
Route & WithRequestModels(const Aws::Map< Aws::String, Aws::String > &value)
Route & WithModelSelectionExpression(Aws::String &&value)
void SetAuthorizerId(const Aws::String &value)
Route & WithModelSelectionExpression(const char *value)
void SetAuthorizationType(AuthorizationType &&value)
Route & AddRequestParameters(const char *key, ParameterConstraints &&value)
void SetAuthorizerId(const char *value)
void SetRequestParameters(const Aws::Map< Aws::String, ParameterConstraints > &value)
Route & WithRouteId(const char *value)
bool TargetHasBeenSet() const
Route & AddRequestModels(Aws::String &&key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetRequestModels() const
void SetRouteKey(const Aws::String &value)
void SetRouteKey(Aws::String &&value)
Route & WithRouteResponseSelectionExpression(const char *value)
const Aws::String & GetRouteResponseSelectionExpression() const
void SetRouteId(const Aws::String &value)
Route & WithRequestParameters(Aws::Map< Aws::String, ParameterConstraints > &&value)
Route & AddAuthorizationScopes(Aws::String &&value)
Route & AddRequestModels(Aws::String &&key, Aws::String &&value)
AWS_APIGATEWAYV2_API Route(Aws::Utils::Json::JsonView jsonValue)
bool GetApiKeyRequired() const
void SetRouteResponseSelectionExpression(Aws::String &&value)
bool AuthorizerIdHasBeenSet() const
Route & AddRequestModels(Aws::String &&key, const Aws::String &value)
bool GetApiGatewayManaged() const
Route & WithRequestModels(Aws::Map< Aws::String, Aws::String > &&value)
AWS_APIGATEWAYV2_API Route & operator=(Aws::Utils::Json::JsonView jsonValue)
Route & WithTarget(Aws::String &&value)
Route & WithRouteResponseSelectionExpression(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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue