7#include <aws/apigatewayv2/ApiGatewayV2Request.h>
8#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
9#include <aws/apigatewayv2/model/Cors.h>
10#include <aws/apigatewayv2/model/IpAddressType.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
16namespace ApiGatewayV2 {
42 template <
typename ApiIdT = Aws::String>
44 m_apiIdHasBeenSet =
true;
45 m_apiId = std::forward<ApiIdT>(value);
47 template <
typename ApiIdT = Aws::String>
49 SetApiId(std::forward<ApiIdT>(value));
62 template <
typename ApiKeySelectionExpressionT = Aws::String>
64 m_apiKeySelectionExpressionHasBeenSet =
true;
65 m_apiKeySelectionExpression = std::forward<ApiKeySelectionExpressionT>(value);
67 template <
typename ApiKeySelectionExpressionT = Aws::String>
80 template <
typename CorsConfigurationT = Cors>
82 m_corsConfigurationHasBeenSet =
true;
83 m_corsConfiguration = std::forward<CorsConfigurationT>(value);
85 template <
typename CorsConfigurationT = Cors>
106 template <
typename CredentialsArnT = Aws::String>
108 m_credentialsArnHasBeenSet =
true;
109 m_credentialsArn = std::forward<CredentialsArnT>(value);
111 template <
typename CredentialsArnT = Aws::String>
124 template <
typename DescriptionT = Aws::String>
126 m_descriptionHasBeenSet =
true;
127 m_description = std::forward<DescriptionT>(value);
129 template <
typename DescriptionT = Aws::String>
144 m_disableSchemaValidationHasBeenSet =
true;
145 m_disableSchemaValidation = value;
164 m_disableExecuteApiEndpointHasBeenSet =
true;
165 m_disableExecuteApiEndpoint = value;
180 m_ipAddressTypeHasBeenSet =
true;
181 m_ipAddressType = value;
195 template <
typename NameT = Aws::String>
197 m_nameHasBeenSet =
true;
198 m_name = std::forward<NameT>(value);
200 template <
typename NameT = Aws::String>
202 SetName(std::forward<NameT>(value));
216 template <
typename RouteKeyT = Aws::String>
218 m_routeKeyHasBeenSet =
true;
219 m_routeKey = std::forward<RouteKeyT>(value);
221 template <
typename RouteKeyT = Aws::String>
237 template <
typename RouteSelectionExpressionT = Aws::String>
239 m_routeSelectionExpressionHasBeenSet =
true;
240 m_routeSelectionExpression = std::forward<RouteSelectionExpressionT>(value);
242 template <
typename RouteSelectionExpressionT = Aws::String>
259 template <
typename TargetT = Aws::String>
261 m_targetHasBeenSet =
true;
262 m_target = std::forward<TargetT>(value);
264 template <
typename TargetT = Aws::String>
277 template <
typename VersionT = Aws::String>
279 m_versionHasBeenSet =
true;
280 m_version = std::forward<VersionT>(value);
282 template <
typename VersionT = Aws::String>
293 Cors m_corsConfiguration;
299 bool m_disableSchemaValidation{
false};
301 bool m_disableExecuteApiEndpoint{
false};
314 bool m_apiIdHasBeenSet =
false;
315 bool m_apiKeySelectionExpressionHasBeenSet =
false;
316 bool m_corsConfigurationHasBeenSet =
false;
317 bool m_credentialsArnHasBeenSet =
false;
318 bool m_descriptionHasBeenSet =
false;
319 bool m_disableSchemaValidationHasBeenSet =
false;
320 bool m_disableExecuteApiEndpointHasBeenSet =
false;
321 bool m_ipAddressTypeHasBeenSet =
false;
322 bool m_nameHasBeenSet =
false;
323 bool m_routeKeyHasBeenSet =
false;
324 bool m_routeSelectionExpressionHasBeenSet =
false;
325 bool m_targetHasBeenSet =
false;
326 bool m_versionHasBeenSet =
false;
void SetTarget(TargetT &&value)
UpdateApiRequest & WithCorsConfiguration(CorsConfigurationT &&value)
void SetVersion(VersionT &&value)
const Aws::String & GetRouteSelectionExpression() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetRouteKey() const
const Aws::String & GetTarget() const
bool NameHasBeenSet() const
bool DisableSchemaValidationHasBeenSet() const
UpdateApiRequest & WithVersion(VersionT &&value)
const Aws::String & GetName() const
void SetDescription(DescriptionT &&value)
UpdateApiRequest & WithDisableExecuteApiEndpoint(bool value)
UpdateApiRequest & WithDisableSchemaValidation(bool value)
const Aws::String & GetCredentialsArn() const
const Aws::String & GetVersion() const
AWS_APIGATEWAYV2_API Aws::String SerializePayload() const override
UpdateApiRequest & WithCredentialsArn(CredentialsArnT &&value)
void SetRouteSelectionExpression(RouteSelectionExpressionT &&value)
void SetCorsConfiguration(CorsConfigurationT &&value)
bool TargetHasBeenSet() const
bool ApiKeySelectionExpressionHasBeenSet() const
bool ApiIdHasBeenSet() const
UpdateApiRequest & WithRouteKey(RouteKeyT &&value)
UpdateApiRequest & WithDescription(DescriptionT &&value)
UpdateApiRequest & WithName(NameT &&value)
bool DescriptionHasBeenSet() const
bool DisableExecuteApiEndpointHasBeenSet() const
bool IpAddressTypeHasBeenSet() const
UpdateApiRequest & WithIpAddressType(IpAddressType value)
const Aws::String & GetApiKeySelectionExpression() const
void SetDisableExecuteApiEndpoint(bool value)
const Aws::String & GetApiId() const
bool RouteKeyHasBeenSet() const
UpdateApiRequest & WithApiId(ApiIdT &&value)
void SetDisableSchemaValidation(bool value)
UpdateApiRequest & WithRouteSelectionExpression(RouteSelectionExpressionT &&value)
bool RouteSelectionExpressionHasBeenSet() const
UpdateApiRequest & WithApiKeySelectionExpression(ApiKeySelectionExpressionT &&value)
bool GetDisableSchemaValidation() const
bool VersionHasBeenSet() const
IpAddressType GetIpAddressType() const
void SetName(NameT &&value)
const Cors & GetCorsConfiguration() const
void SetApiKeySelectionExpression(ApiKeySelectionExpressionT &&value)
void SetRouteKey(RouteKeyT &&value)
bool CorsConfigurationHasBeenSet() const
bool CredentialsArnHasBeenSet() const
AWS_APIGATEWAYV2_API UpdateApiRequest()=default
void SetIpAddressType(IpAddressType value)
const Aws::String & GetDescription() const
UpdateApiRequest & WithTarget(TargetT &&value)
bool GetDisableExecuteApiEndpoint() const
void SetCredentialsArn(CredentialsArnT &&value)
void SetApiId(ApiIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String