This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-apigatewayv2/include/aws/apigatewayv2/model/UpdateRouteRequest.h

693 lines
27 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
#include <aws/apigatewayv2/ApiGatewayV2Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/apigatewayv2/model/AuthorizationType.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <aws/apigatewayv2/model/ParameterConstraints.h>
#include <utility>
namespace Aws
{
namespace ApiGatewayV2
{
namespace Model
{
/**
* <p>Updates a Route.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRouteRequest">AWS
* API Reference</a></p>
*/
class AWS_APIGATEWAYV2_API UpdateRouteRequest : public ApiGatewayV2Request
{
public:
UpdateRouteRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "UpdateRoute"; }
Aws::String SerializePayload() const override;
/**
* <p>The API identifier.</p>
*/
inline const Aws::String& GetApiId() const{ return m_apiId; }
/**
* <p>The API identifier.</p>
*/
inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; }
/**
* <p>The API identifier.</p>
*/
inline void SetApiId(const Aws::String& value) { m_apiIdHasBeenSet = true; m_apiId = value; }
/**
* <p>The API identifier.</p>
*/
inline void SetApiId(Aws::String&& value) { m_apiIdHasBeenSet = true; m_apiId = std::move(value); }
/**
* <p>The API identifier.</p>
*/
inline void SetApiId(const char* value) { m_apiIdHasBeenSet = true; m_apiId.assign(value); }
/**
* <p>The API identifier.</p>
*/
inline UpdateRouteRequest& WithApiId(const Aws::String& value) { SetApiId(value); return *this;}
/**
* <p>The API identifier.</p>
*/
inline UpdateRouteRequest& WithApiId(Aws::String&& value) { SetApiId(std::move(value)); return *this;}
/**
* <p>The API identifier.</p>
*/
inline UpdateRouteRequest& WithApiId(const char* value) { SetApiId(value); return *this;}
/**
* <p>Specifies whether an API key is required for the route. Supported only for
* WebSocket APIs.</p>
*/
inline bool GetApiKeyRequired() const{ return m_apiKeyRequired; }
/**
* <p>Specifies whether an API key is required for the route. Supported only for
* WebSocket APIs.</p>
*/
inline bool ApiKeyRequiredHasBeenSet() const { return m_apiKeyRequiredHasBeenSet; }
/**
* <p>Specifies whether an API key is required for the route. Supported only for
* WebSocket APIs.</p>
*/
inline void SetApiKeyRequired(bool value) { m_apiKeyRequiredHasBeenSet = true; m_apiKeyRequired = value; }
/**
* <p>Specifies whether an API key is required for the route. Supported only for
* WebSocket APIs.</p>
*/
inline UpdateRouteRequest& WithApiKeyRequired(bool value) { SetApiKeyRequired(value); return *this;}
/**
* <p>The authorization scopes supported by this route.</p>
*/
inline const Aws::Vector<Aws::String>& GetAuthorizationScopes() const{ return m_authorizationScopes; }
/**
* <p>The authorization scopes supported by this route.</p>
*/
inline bool AuthorizationScopesHasBeenSet() const { return m_authorizationScopesHasBeenSet; }
/**
* <p>The authorization scopes supported by this route.</p>
*/
inline void SetAuthorizationScopes(const Aws::Vector<Aws::String>& value) { m_authorizationScopesHasBeenSet = true; m_authorizationScopes = value; }
/**
* <p>The authorization scopes supported by this route.</p>
*/
inline void SetAuthorizationScopes(Aws::Vector<Aws::String>&& value) { m_authorizationScopesHasBeenSet = true; m_authorizationScopes = std::move(value); }
/**
* <p>The authorization scopes supported by this route.</p>
*/
inline UpdateRouteRequest& WithAuthorizationScopes(const Aws::Vector<Aws::String>& value) { SetAuthorizationScopes(value); return *this;}
/**
* <p>The authorization scopes supported by this route.</p>
*/
inline UpdateRouteRequest& WithAuthorizationScopes(Aws::Vector<Aws::String>&& value) { SetAuthorizationScopes(std::move(value)); return *this;}
/**
* <p>The authorization scopes supported by this route.</p>
*/
inline UpdateRouteRequest& AddAuthorizationScopes(const Aws::String& value) { m_authorizationScopesHasBeenSet = true; m_authorizationScopes.push_back(value); return *this; }
/**
* <p>The authorization scopes supported by this route.</p>
*/
inline UpdateRouteRequest& AddAuthorizationScopes(Aws::String&& value) { m_authorizationScopesHasBeenSet = true; m_authorizationScopes.push_back(std::move(value)); return *this; }
/**
* <p>The authorization scopes supported by this route.</p>
*/
inline UpdateRouteRequest& AddAuthorizationScopes(const char* value) { m_authorizationScopesHasBeenSet = true; m_authorizationScopes.push_back(value); return *this; }
/**
* <p>The authorization type for the route. For WebSocket APIs, valid values are
* NONE for open access, AWS_IAM for using AWS IAM permissions, and CUSTOM for
* using a Lambda authorizer For HTTP APIs, valid values are NONE for open access,
* or JWT for using JSON Web Tokens.</p>
*/
inline const AuthorizationType& GetAuthorizationType() const{ return m_authorizationType; }
/**
* <p>The authorization type for the route. For WebSocket APIs, valid values are
* NONE for open access, AWS_IAM for using AWS IAM permissions, and CUSTOM for
* using a Lambda authorizer For HTTP APIs, valid values are NONE for open access,
* or JWT for using JSON Web Tokens.</p>
*/
inline bool AuthorizationTypeHasBeenSet() const { return m_authorizationTypeHasBeenSet; }
/**
* <p>The authorization type for the route. For WebSocket APIs, valid values are
* NONE for open access, AWS_IAM for using AWS IAM permissions, and CUSTOM for
* using a Lambda authorizer For HTTP APIs, valid values are NONE for open access,
* or JWT for using JSON Web Tokens.</p>
*/
inline void SetAuthorizationType(const AuthorizationType& value) { m_authorizationTypeHasBeenSet = true; m_authorizationType = value; }
/**
* <p>The authorization type for the route. For WebSocket APIs, valid values are
* NONE for open access, AWS_IAM for using AWS IAM permissions, and CUSTOM for
* using a Lambda authorizer For HTTP APIs, valid values are NONE for open access,
* or JWT for using JSON Web Tokens.</p>
*/
inline void SetAuthorizationType(AuthorizationType&& value) { m_authorizationTypeHasBeenSet = true; m_authorizationType = std::move(value); }
/**
* <p>The authorization type for the route. For WebSocket APIs, valid values are
* NONE for open access, AWS_IAM for using AWS IAM permissions, and CUSTOM for
* using a Lambda authorizer For HTTP APIs, valid values are NONE for open access,
* or JWT for using JSON Web Tokens.</p>
*/
inline UpdateRouteRequest& WithAuthorizationType(const AuthorizationType& value) { SetAuthorizationType(value); return *this;}
/**
* <p>The authorization type for the route. For WebSocket APIs, valid values are
* NONE for open access, AWS_IAM for using AWS IAM permissions, and CUSTOM for
* using a Lambda authorizer For HTTP APIs, valid values are NONE for open access,
* or JWT for using JSON Web Tokens.</p>
*/
inline UpdateRouteRequest& WithAuthorizationType(AuthorizationType&& value) { SetAuthorizationType(std::move(value)); return *this;}
/**
* <p>The identifier of the Authorizer resource to be associated with this route.
* The authorizer identifier is generated by API Gateway when you created the
* authorizer.</p>
*/
inline const Aws::String& GetAuthorizerId() const{ return m_authorizerId; }
/**
* <p>The identifier of the Authorizer resource to be associated with this route.
* The authorizer identifier is generated by API Gateway when you created the
* authorizer.</p>
*/
inline bool AuthorizerIdHasBeenSet() const { return m_authorizerIdHasBeenSet; }
/**
* <p>The identifier of the Authorizer resource to be associated with this route.
* The authorizer identifier is generated by API Gateway when you created the
* authorizer.</p>
*/
inline void SetAuthorizerId(const Aws::String& value) { m_authorizerIdHasBeenSet = true; m_authorizerId = value; }
/**
* <p>The identifier of the Authorizer resource to be associated with this route.
* The authorizer identifier is generated by API Gateway when you created the
* authorizer.</p>
*/
inline void SetAuthorizerId(Aws::String&& value) { m_authorizerIdHasBeenSet = true; m_authorizerId = std::move(value); }
/**
* <p>The identifier of the Authorizer resource to be associated with this route.
* The authorizer identifier is generated by API Gateway when you created the
* authorizer.</p>
*/
inline void SetAuthorizerId(const char* value) { m_authorizerIdHasBeenSet = true; m_authorizerId.assign(value); }
/**
* <p>The identifier of the Authorizer resource to be associated with this route.
* The authorizer identifier is generated by API Gateway when you created the
* authorizer.</p>
*/
inline UpdateRouteRequest& WithAuthorizerId(const Aws::String& value) { SetAuthorizerId(value); return *this;}
/**
* <p>The identifier of the Authorizer resource to be associated with this route.
* The authorizer identifier is generated by API Gateway when you created the
* authorizer.</p>
*/
inline UpdateRouteRequest& WithAuthorizerId(Aws::String&& value) { SetAuthorizerId(std::move(value)); return *this;}
/**
* <p>The identifier of the Authorizer resource to be associated with this route.
* The authorizer identifier is generated by API Gateway when you created the
* authorizer.</p>
*/
inline UpdateRouteRequest& WithAuthorizerId(const char* value) { SetAuthorizerId(value); return *this;}
/**
* <p>The model selection expression for the route. Supported only for WebSocket
* APIs.</p>
*/
inline const Aws::String& GetModelSelectionExpression() const{ return m_modelSelectionExpression; }
/**
* <p>The model selection expression for the route. Supported only for WebSocket
* APIs.</p>
*/
inline bool ModelSelectionExpressionHasBeenSet() const { return m_modelSelectionExpressionHasBeenSet; }
/**
* <p>The model selection expression for the route. Supported only for WebSocket
* APIs.</p>
*/
inline void SetModelSelectionExpression(const Aws::String& value) { m_modelSelectionExpressionHasBeenSet = true; m_modelSelectionExpression = value; }
/**
* <p>The model selection expression for the route. Supported only for WebSocket
* APIs.</p>
*/
inline void SetModelSelectionExpression(Aws::String&& value) { m_modelSelectionExpressionHasBeenSet = true; m_modelSelectionExpression = std::move(value); }
/**
* <p>The model selection expression for the route. Supported only for WebSocket
* APIs.</p>
*/
inline void SetModelSelectionExpression(const char* value) { m_modelSelectionExpressionHasBeenSet = true; m_modelSelectionExpression.assign(value); }
/**
* <p>The model selection expression for the route. Supported only for WebSocket
* APIs.</p>
*/
inline UpdateRouteRequest& WithModelSelectionExpression(const Aws::String& value) { SetModelSelectionExpression(value); return *this;}
/**
* <p>The model selection expression for the route. Supported only for WebSocket
* APIs.</p>
*/
inline UpdateRouteRequest& WithModelSelectionExpression(Aws::String&& value) { SetModelSelectionExpression(std::move(value)); return *this;}
/**
* <p>The model selection expression for the route. Supported only for WebSocket
* APIs.</p>
*/
inline UpdateRouteRequest& WithModelSelectionExpression(const char* value) { SetModelSelectionExpression(value); return *this;}
/**
* <p>The operation name for the route.</p>
*/
inline const Aws::String& GetOperationName() const{ return m_operationName; }
/**
* <p>The operation name for the route.</p>
*/
inline bool OperationNameHasBeenSet() const { return m_operationNameHasBeenSet; }
/**
* <p>The operation name for the route.</p>
*/
inline void SetOperationName(const Aws::String& value) { m_operationNameHasBeenSet = true; m_operationName = value; }
/**
* <p>The operation name for the route.</p>
*/
inline void SetOperationName(Aws::String&& value) { m_operationNameHasBeenSet = true; m_operationName = std::move(value); }
/**
* <p>The operation name for the route.</p>
*/
inline void SetOperationName(const char* value) { m_operationNameHasBeenSet = true; m_operationName.assign(value); }
/**
* <p>The operation name for the route.</p>
*/
inline UpdateRouteRequest& WithOperationName(const Aws::String& value) { SetOperationName(value); return *this;}
/**
* <p>The operation name for the route.</p>
*/
inline UpdateRouteRequest& WithOperationName(Aws::String&& value) { SetOperationName(std::move(value)); return *this;}
/**
* <p>The operation name for the route.</p>
*/
inline UpdateRouteRequest& WithOperationName(const char* value) { SetOperationName(value); return *this;}
/**
* <p>The request models for the route. Supported only for WebSocket APIs.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetRequestModels() const{ return m_requestModels; }
/**
* <p>The request models for the route. Supported only for WebSocket APIs.</p>
*/
inline bool RequestModelsHasBeenSet() const { return m_requestModelsHasBeenSet; }
/**
* <p>The request models for the route. Supported only for WebSocket APIs.</p>
*/
inline void SetRequestModels(const Aws::Map<Aws::String, Aws::String>& value) { m_requestModelsHasBeenSet = true; m_requestModels = value; }
/**
* <p>The request models for the route. Supported only for WebSocket APIs.</p>
*/
inline void SetRequestModels(Aws::Map<Aws::String, Aws::String>&& value) { m_requestModelsHasBeenSet = true; m_requestModels = std::move(value); }
/**
* <p>The request models for the route. Supported only for WebSocket APIs.</p>
*/
inline UpdateRouteRequest& WithRequestModels(const Aws::Map<Aws::String, Aws::String>& value) { SetRequestModels(value); return *this;}
/**
* <p>The request models for the route. Supported only for WebSocket APIs.</p>
*/
inline UpdateRouteRequest& WithRequestModels(Aws::Map<Aws::String, Aws::String>&& value) { SetRequestModels(std::move(value)); return *this;}
/**
* <p>The request models for the route. Supported only for WebSocket APIs.</p>
*/
inline UpdateRouteRequest& AddRequestModels(const Aws::String& key, const Aws::String& value) { m_requestModelsHasBeenSet = true; m_requestModels.emplace(key, value); return *this; }
/**
* <p>The request models for the route. Supported only for WebSocket APIs.</p>
*/
inline UpdateRouteRequest& AddRequestModels(Aws::String&& key, const Aws::String& value) { m_requestModelsHasBeenSet = true; m_requestModels.emplace(std::move(key), value); return *this; }
/**
* <p>The request models for the route. Supported only for WebSocket APIs.</p>
*/
inline UpdateRouteRequest& AddRequestModels(const Aws::String& key, Aws::String&& value) { m_requestModelsHasBeenSet = true; m_requestModels.emplace(key, std::move(value)); return *this; }
/**
* <p>The request models for the route. Supported only for WebSocket APIs.</p>
*/
inline UpdateRouteRequest& AddRequestModels(Aws::String&& key, Aws::String&& value) { m_requestModelsHasBeenSet = true; m_requestModels.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>The request models for the route. Supported only for WebSocket APIs.</p>
*/
inline UpdateRouteRequest& AddRequestModels(const char* key, Aws::String&& value) { m_requestModelsHasBeenSet = true; m_requestModels.emplace(key, std::move(value)); return *this; }
/**
* <p>The request models for the route. Supported only for WebSocket APIs.</p>
*/
inline UpdateRouteRequest& AddRequestModels(Aws::String&& key, const char* value) { m_requestModelsHasBeenSet = true; m_requestModels.emplace(std::move(key), value); return *this; }
/**
* <p>The request models for the route. Supported only for WebSocket APIs.</p>
*/
inline UpdateRouteRequest& AddRequestModels(const char* key, const char* value) { m_requestModelsHasBeenSet = true; m_requestModels.emplace(key, value); return *this; }
/**
* <p>The request parameters for the route. Supported only for WebSocket APIs.</p>
*/
inline const Aws::Map<Aws::String, ParameterConstraints>& GetRequestParameters() const{ return m_requestParameters; }
/**
* <p>The request parameters for the route. Supported only for WebSocket APIs.</p>
*/
inline bool RequestParametersHasBeenSet() const { return m_requestParametersHasBeenSet; }
/**
* <p>The request parameters for the route. Supported only for WebSocket APIs.</p>
*/
inline void SetRequestParameters(const Aws::Map<Aws::String, ParameterConstraints>& value) { m_requestParametersHasBeenSet = true; m_requestParameters = value; }
/**
* <p>The request parameters for the route. Supported only for WebSocket APIs.</p>
*/
inline void SetRequestParameters(Aws::Map<Aws::String, ParameterConstraints>&& value) { m_requestParametersHasBeenSet = true; m_requestParameters = std::move(value); }
/**
* <p>The request parameters for the route. Supported only for WebSocket APIs.</p>
*/
inline UpdateRouteRequest& WithRequestParameters(const Aws::Map<Aws::String, ParameterConstraints>& value) { SetRequestParameters(value); return *this;}
/**
* <p>The request parameters for the route. Supported only for WebSocket APIs.</p>
*/
inline UpdateRouteRequest& WithRequestParameters(Aws::Map<Aws::String, ParameterConstraints>&& value) { SetRequestParameters(std::move(value)); return *this;}
/**
* <p>The request parameters for the route. Supported only for WebSocket APIs.</p>
*/
inline UpdateRouteRequest& AddRequestParameters(const Aws::String& key, const ParameterConstraints& value) { m_requestParametersHasBeenSet = true; m_requestParameters.emplace(key, value); return *this; }
/**
* <p>The request parameters for the route. Supported only for WebSocket APIs.</p>
*/
inline UpdateRouteRequest& AddRequestParameters(Aws::String&& key, const ParameterConstraints& value) { m_requestParametersHasBeenSet = true; m_requestParameters.emplace(std::move(key), value); return *this; }
/**
* <p>The request parameters for the route. Supported only for WebSocket APIs.</p>
*/
inline UpdateRouteRequest& AddRequestParameters(const Aws::String& key, ParameterConstraints&& value) { m_requestParametersHasBeenSet = true; m_requestParameters.emplace(key, std::move(value)); return *this; }
/**
* <p>The request parameters for the route. Supported only for WebSocket APIs.</p>
*/
inline UpdateRouteRequest& AddRequestParameters(Aws::String&& key, ParameterConstraints&& value) { m_requestParametersHasBeenSet = true; m_requestParameters.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>The request parameters for the route. Supported only for WebSocket APIs.</p>
*/
inline UpdateRouteRequest& AddRequestParameters(const char* key, ParameterConstraints&& value) { m_requestParametersHasBeenSet = true; m_requestParameters.emplace(key, std::move(value)); return *this; }
/**
* <p>The request parameters for the route. Supported only for WebSocket APIs.</p>
*/
inline UpdateRouteRequest& AddRequestParameters(const char* key, const ParameterConstraints& value) { m_requestParametersHasBeenSet = true; m_requestParameters.emplace(key, value); return *this; }
/**
* <p>The route ID.</p>
*/
inline const Aws::String& GetRouteId() const{ return m_routeId; }
/**
* <p>The route ID.</p>
*/
inline bool RouteIdHasBeenSet() const { return m_routeIdHasBeenSet; }
/**
* <p>The route ID.</p>
*/
inline void SetRouteId(const Aws::String& value) { m_routeIdHasBeenSet = true; m_routeId = value; }
/**
* <p>The route ID.</p>
*/
inline void SetRouteId(Aws::String&& value) { m_routeIdHasBeenSet = true; m_routeId = std::move(value); }
/**
* <p>The route ID.</p>
*/
inline void SetRouteId(const char* value) { m_routeIdHasBeenSet = true; m_routeId.assign(value); }
/**
* <p>The route ID.</p>
*/
inline UpdateRouteRequest& WithRouteId(const Aws::String& value) { SetRouteId(value); return *this;}
/**
* <p>The route ID.</p>
*/
inline UpdateRouteRequest& WithRouteId(Aws::String&& value) { SetRouteId(std::move(value)); return *this;}
/**
* <p>The route ID.</p>
*/
inline UpdateRouteRequest& WithRouteId(const char* value) { SetRouteId(value); return *this;}
/**
* <p>The route key for the route.</p>
*/
inline const Aws::String& GetRouteKey() const{ return m_routeKey; }
/**
* <p>The route key for the route.</p>
*/
inline bool RouteKeyHasBeenSet() const { return m_routeKeyHasBeenSet; }
/**
* <p>The route key for the route.</p>
*/
inline void SetRouteKey(const Aws::String& value) { m_routeKeyHasBeenSet = true; m_routeKey = value; }
/**
* <p>The route key for the route.</p>
*/
inline void SetRouteKey(Aws::String&& value) { m_routeKeyHasBeenSet = true; m_routeKey = std::move(value); }
/**
* <p>The route key for the route.</p>
*/
inline void SetRouteKey(const char* value) { m_routeKeyHasBeenSet = true; m_routeKey.assign(value); }
/**
* <p>The route key for the route.</p>
*/
inline UpdateRouteRequest& WithRouteKey(const Aws::String& value) { SetRouteKey(value); return *this;}
/**
* <p>The route key for the route.</p>
*/
inline UpdateRouteRequest& WithRouteKey(Aws::String&& value) { SetRouteKey(std::move(value)); return *this;}
/**
* <p>The route key for the route.</p>
*/
inline UpdateRouteRequest& WithRouteKey(const char* value) { SetRouteKey(value); return *this;}
/**
* <p>The route response selection expression for the route. Supported only for
* WebSocket APIs.</p>
*/
inline const Aws::String& GetRouteResponseSelectionExpression() const{ return m_routeResponseSelectionExpression; }
/**
* <p>The route response selection expression for the route. Supported only for
* WebSocket APIs.</p>
*/
inline bool RouteResponseSelectionExpressionHasBeenSet() const { return m_routeResponseSelectionExpressionHasBeenSet; }
/**
* <p>The route response selection expression for the route. Supported only for
* WebSocket APIs.</p>
*/
inline void SetRouteResponseSelectionExpression(const Aws::String& value) { m_routeResponseSelectionExpressionHasBeenSet = true; m_routeResponseSelectionExpression = value; }
/**
* <p>The route response selection expression for the route. Supported only for
* WebSocket APIs.</p>
*/
inline void SetRouteResponseSelectionExpression(Aws::String&& value) { m_routeResponseSelectionExpressionHasBeenSet = true; m_routeResponseSelectionExpression = std::move(value); }
/**
* <p>The route response selection expression for the route. Supported only for
* WebSocket APIs.</p>
*/
inline void SetRouteResponseSelectionExpression(const char* value) { m_routeResponseSelectionExpressionHasBeenSet = true; m_routeResponseSelectionExpression.assign(value); }
/**
* <p>The route response selection expression for the route. Supported only for
* WebSocket APIs.</p>
*/
inline UpdateRouteRequest& WithRouteResponseSelectionExpression(const Aws::String& value) { SetRouteResponseSelectionExpression(value); return *this;}
/**
* <p>The route response selection expression for the route. Supported only for
* WebSocket APIs.</p>
*/
inline UpdateRouteRequest& WithRouteResponseSelectionExpression(Aws::String&& value) { SetRouteResponseSelectionExpression(std::move(value)); return *this;}
/**
* <p>The route response selection expression for the route. Supported only for
* WebSocket APIs.</p>
*/
inline UpdateRouteRequest& WithRouteResponseSelectionExpression(const char* value) { SetRouteResponseSelectionExpression(value); return *this;}
/**
* <p>The target for the route.</p>
*/
inline const Aws::String& GetTarget() const{ return m_target; }
/**
* <p>The target for the route.</p>
*/
inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
/**
* <p>The target for the route.</p>
*/
inline void SetTarget(const Aws::String& value) { m_targetHasBeenSet = true; m_target = value; }
/**
* <p>The target for the route.</p>
*/
inline void SetTarget(Aws::String&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
/**
* <p>The target for the route.</p>
*/
inline void SetTarget(const char* value) { m_targetHasBeenSet = true; m_target.assign(value); }
/**
* <p>The target for the route.</p>
*/
inline UpdateRouteRequest& WithTarget(const Aws::String& value) { SetTarget(value); return *this;}
/**
* <p>The target for the route.</p>
*/
inline UpdateRouteRequest& WithTarget(Aws::String&& value) { SetTarget(std::move(value)); return *this;}
/**
* <p>The target for the route.</p>
*/
inline UpdateRouteRequest& WithTarget(const char* value) { SetTarget(value); return *this;}
private:
Aws::String m_apiId;
bool m_apiIdHasBeenSet;
bool m_apiKeyRequired;
bool m_apiKeyRequiredHasBeenSet;
Aws::Vector<Aws::String> m_authorizationScopes;
bool m_authorizationScopesHasBeenSet;
AuthorizationType m_authorizationType;
bool m_authorizationTypeHasBeenSet;
Aws::String m_authorizerId;
bool m_authorizerIdHasBeenSet;
Aws::String m_modelSelectionExpression;
bool m_modelSelectionExpressionHasBeenSet;
Aws::String m_operationName;
bool m_operationNameHasBeenSet;
Aws::Map<Aws::String, Aws::String> m_requestModels;
bool m_requestModelsHasBeenSet;
Aws::Map<Aws::String, ParameterConstraints> m_requestParameters;
bool m_requestParametersHasBeenSet;
Aws::String m_routeId;
bool m_routeIdHasBeenSet;
Aws::String m_routeKey;
bool m_routeKeyHasBeenSet;
Aws::String m_routeResponseSelectionExpression;
bool m_routeResponseSelectionExpressionHasBeenSet;
Aws::String m_target;
bool m_targetHasBeenSet;
};
} // namespace Model
} // namespace ApiGatewayV2
} // namespace Aws