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>
51 inline void SetApiId(
const char* value) { m_apiIdHasBeenSet =
true; m_apiId.assign(value); }
64 inline void SetApiKeyRequired(
bool value) { m_apiKeyRequiredHasBeenSet =
true; m_apiKeyRequired = value; }
109 inline void SetAuthorizerId(
const char* value) { m_authorizerIdHasBeenSet =
true; m_authorizerId.assign(value); }
124 inline void SetModelSelectionExpression(
const char* value) { m_modelSelectionExpressionHasBeenSet =
true; m_modelSelectionExpression.assign(value); }
138 inline void SetOperationName(
const char* value) { m_operationNameHasBeenSet =
true; m_operationName.assign(value); }
189 inline void SetRouteKey(
const char* value) { m_routeKeyHasBeenSet =
true; m_routeKey.assign(value); }
218 inline void SetTarget(
const char* value) { m_targetHasBeenSet =
true; m_target.assign(value); }
226 bool m_apiIdHasBeenSet =
false;
228 bool m_apiKeyRequired;
229 bool m_apiKeyRequiredHasBeenSet =
false;
232 bool m_authorizationScopesHasBeenSet =
false;
235 bool m_authorizationTypeHasBeenSet =
false;
238 bool m_authorizerIdHasBeenSet =
false;
241 bool m_modelSelectionExpressionHasBeenSet =
false;
244 bool m_operationNameHasBeenSet =
false;
247 bool m_requestModelsHasBeenSet =
false;
250 bool m_requestParametersHasBeenSet =
false;
253 bool m_routeKeyHasBeenSet =
false;
256 bool m_routeResponseSelectionExpressionHasBeenSet =
false;
259 bool m_targetHasBeenSet =
false;
CreateRouteRequest & WithRequestModels(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetRequestModels() const
bool ModelSelectionExpressionHasBeenSet() const
CreateRouteRequest & WithRequestParameters(Aws::Map< Aws::String, ParameterConstraints > &&value)
CreateRouteRequest & WithTarget(const char *value)
void SetRequestModels(Aws::Map< Aws::String, Aws::String > &&value)
void SetModelSelectionExpression(const char *value)
CreateRouteRequest & WithModelSelectionExpression(const Aws::String &value)
void SetTarget(Aws::String &&value)
CreateRouteRequest & WithRouteResponseSelectionExpression(Aws::String &&value)
void SetAuthorizationScopes(Aws::Vector< Aws::String > &&value)
void SetAuthorizationType(const AuthorizationType &value)
bool OperationNameHasBeenSet() const
bool ApiKeyRequiredHasBeenSet() const
void SetApiId(const Aws::String &value)
CreateRouteRequest & WithAuthorizationScopes(Aws::Vector< Aws::String > &&value)
CreateRouteRequest & WithRouteKey(Aws::String &&value)
void SetApiId(Aws::String &&value)
void SetRequestModels(const Aws::Map< Aws::String, Aws::String > &value)
CreateRouteRequest & AddRequestParameters(Aws::String &&key, const ParameterConstraints &value)
CreateRouteRequest & AddRequestParameters(const Aws::String &key, const ParameterConstraints &value)
virtual const char * GetServiceRequestName() const override
CreateRouteRequest & AddAuthorizationScopes(const Aws::String &value)
void SetApiId(const char *value)
CreateRouteRequest & WithOperationName(const Aws::String &value)
CreateRouteRequest & WithApiId(const Aws::String &value)
bool AuthorizationTypeHasBeenSet() const
const Aws::String & GetModelSelectionExpression() const
const Aws::String & GetApiId() const
CreateRouteRequest & WithRouteResponseSelectionExpression(const char *value)
CreateRouteRequest & WithTarget(Aws::String &&value)
const Aws::String & GetRouteKey() const
CreateRouteRequest & WithModelSelectionExpression(Aws::String &&value)
CreateRouteRequest & WithRequestModels(const Aws::Map< Aws::String, Aws::String > &value)
CreateRouteRequest & AddRequestModels(Aws::String &&key, Aws::String &&value)
bool ApiIdHasBeenSet() const
CreateRouteRequest & WithTarget(const Aws::String &value)
CreateRouteRequest & AddRequestModels(const Aws::String &key, const Aws::String &value)
CreateRouteRequest & WithAuthorizerId(const Aws::String &value)
void SetRouteResponseSelectionExpression(const Aws::String &value)
CreateRouteRequest & WithApiKeyRequired(bool value)
const Aws::String & GetOperationName() const
void SetTarget(const char *value)
CreateRouteRequest & WithApiId(const char *value)
CreateRouteRequest & AddRequestModels(Aws::String &&key, const char *value)
CreateRouteRequest & AddRequestParameters(const Aws::String &key, ParameterConstraints &&value)
void SetApiKeyRequired(bool value)
bool RequestParametersHasBeenSet() const
CreateRouteRequest & WithRouteKey(const char *value)
void SetAuthorizationScopes(const Aws::Vector< Aws::String > &value)
CreateRouteRequest & WithAuthorizationScopes(const Aws::Vector< Aws::String > &value)
const Aws::String & GetTarget() const
void SetOperationName(const char *value)
bool TargetHasBeenSet() const
CreateRouteRequest & WithOperationName(Aws::String &&value)
CreateRouteRequest & AddRequestModels(const Aws::String &key, Aws::String &&value)
void SetAuthorizerId(Aws::String &&value)
CreateRouteRequest & WithAuthorizationType(const AuthorizationType &value)
void SetRouteResponseSelectionExpression(const char *value)
bool GetApiKeyRequired() const
CreateRouteRequest & WithAuthorizationType(AuthorizationType &&value)
void SetModelSelectionExpression(Aws::String &&value)
void SetAuthorizationType(AuthorizationType &&value)
void SetAuthorizerId(const char *value)
CreateRouteRequest & AddRequestParameters(const char *key, const ParameterConstraints &value)
void SetRequestParameters(Aws::Map< Aws::String, ParameterConstraints > &&value)
CreateRouteRequest & WithRouteKey(const Aws::String &value)
void SetRouteKey(const char *value)
bool RequestModelsHasBeenSet() const
void SetOperationName(const Aws::String &value)
void SetRouteResponseSelectionExpression(Aws::String &&value)
CreateRouteRequest & WithModelSelectionExpression(const char *value)
void SetTarget(const Aws::String &value)
bool RouteResponseSelectionExpressionHasBeenSet() const
bool AuthorizerIdHasBeenSet() const
CreateRouteRequest & WithAuthorizerId(const char *value)
CreateRouteRequest & WithRouteResponseSelectionExpression(const Aws::String &value)
CreateRouteRequest & AddAuthorizationScopes(const char *value)
CreateRouteRequest & WithOperationName(const char *value)
void SetRouteKey(Aws::String &&value)
CreateRouteRequest & WithRequestParameters(const Aws::Map< Aws::String, ParameterConstraints > &value)
CreateRouteRequest & AddAuthorizationScopes(Aws::String &&value)
const Aws::Map< Aws::String, ParameterConstraints > & GetRequestParameters() const
CreateRouteRequest & AddRequestModels(const char *key, Aws::String &&value)
void SetAuthorizerId(const Aws::String &value)
CreateRouteRequest & WithAuthorizerId(Aws::String &&value)
bool RouteKeyHasBeenSet() const
CreateRouteRequest & AddRequestModels(Aws::String &&key, const Aws::String &value)
CreateRouteRequest & WithApiId(Aws::String &&value)
const Aws::String & GetRouteResponseSelectionExpression() const
void SetRequestParameters(const Aws::Map< Aws::String, ParameterConstraints > &value)
bool AuthorizationScopesHasBeenSet() const
AWS_APIGATEWAYV2_API Aws::String SerializePayload() const override
void SetRouteKey(const Aws::String &value)
const Aws::Vector< Aws::String > & GetAuthorizationScopes() const
CreateRouteRequest & AddRequestParameters(const char *key, ParameterConstraints &&value)
void SetModelSelectionExpression(const Aws::String &value)
AWS_APIGATEWAYV2_API CreateRouteRequest()
const AuthorizationType & GetAuthorizationType() const
const Aws::String & GetAuthorizerId() const
void SetOperationName(Aws::String &&value)
CreateRouteRequest & AddRequestModels(const char *key, const char *value)
CreateRouteRequest & AddRequestParameters(Aws::String &&key, 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
std::vector< T, Aws::Allocator< T > > Vector