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/apigatewayv2/model/Cors.h>
11#include <aws/apigatewayv2/model/IpAddressType.h>
46 template<
typename ApiIdT = Aws::String>
47 void SetApiId(ApiIdT&& value) { m_apiIdHasBeenSet =
true; m_apiId = std::forward<ApiIdT>(value); }
48 template<
typename ApiIdT = Aws::String>
60 template<
typename ApiKeySelectionExpressionT = Aws::String>
61 void SetApiKeySelectionExpression(ApiKeySelectionExpressionT&& value) { m_apiKeySelectionExpressionHasBeenSet =
true; m_apiKeySelectionExpression = std::forward<ApiKeySelectionExpressionT>(value); }
62 template<
typename ApiKeySelectionExpressionT = Aws::String>
72 template<
typename CorsConfigurationT = Cors>
73 void SetCorsConfiguration(CorsConfigurationT&& value) { m_corsConfigurationHasBeenSet =
true; m_corsConfiguration = std::forward<CorsConfigurationT>(value); }
74 template<
typename CorsConfigurationT = Cors>
92 template<
typename CredentialsArnT = Aws::String>
93 void SetCredentialsArn(CredentialsArnT&& value) { m_credentialsArnHasBeenSet =
true; m_credentialsArn = std::forward<CredentialsArnT>(value); }
94 template<
typename CredentialsArnT = Aws::String>
104 template<
typename DescriptionT = Aws::String>
105 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
106 template<
typename DescriptionT = Aws::String>
151 template<
typename NameT = Aws::String>
152 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
153 template<
typename NameT = Aws::String>
166 template<
typename RouteKeyT = Aws::String>
167 void SetRouteKey(RouteKeyT&& value) { m_routeKeyHasBeenSet =
true; m_routeKey = std::forward<RouteKeyT>(value); }
168 template<
typename RouteKeyT = Aws::String>
181 template<
typename RouteSelectionExpressionT = Aws::String>
182 void SetRouteSelectionExpression(RouteSelectionExpressionT&& value) { m_routeSelectionExpressionHasBeenSet =
true; m_routeSelectionExpression = std::forward<RouteSelectionExpressionT>(value); }
183 template<
typename RouteSelectionExpressionT = Aws::String>
197 template<
typename TargetT = Aws::String>
198 void SetTarget(TargetT&& value) { m_targetHasBeenSet =
true; m_target = std::forward<TargetT>(value); }
199 template<
typename TargetT = Aws::String>
209 template<
typename VersionT = Aws::String>
210 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
211 template<
typename VersionT = Aws::String>
217 bool m_apiIdHasBeenSet =
false;
220 bool m_apiKeySelectionExpressionHasBeenSet =
false;
222 Cors m_corsConfiguration;
223 bool m_corsConfigurationHasBeenSet =
false;
226 bool m_credentialsArnHasBeenSet =
false;
229 bool m_descriptionHasBeenSet =
false;
231 bool m_disableSchemaValidation{
false};
232 bool m_disableSchemaValidationHasBeenSet =
false;
234 bool m_disableExecuteApiEndpoint{
false};
235 bool m_disableExecuteApiEndpointHasBeenSet =
false;
238 bool m_ipAddressTypeHasBeenSet =
false;
241 bool m_nameHasBeenSet =
false;
244 bool m_routeKeyHasBeenSet =
false;
247 bool m_routeSelectionExpressionHasBeenSet =
false;
250 bool m_targetHasBeenSet =
false;
253 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