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>
47 inline void SetApiId(
const char* value) { m_apiIdHasBeenSet =
true; m_apiId.assign(value); }
63 inline void SetApiKeySelectionExpression(
const char* value) { m_apiKeySelectionExpressionHasBeenSet =
true; m_apiKeySelectionExpression.assign(value); }
76 inline void SetCorsConfiguration(
Cors&& value) { m_corsConfigurationHasBeenSet =
true; m_corsConfiguration = std::move(value); }
97 inline void SetCredentialsArn(
const char* value) { m_credentialsArnHasBeenSet =
true; m_credentialsArn.assign(value); }
111 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
150 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
167 inline void SetRouteKey(
const char* value) { m_routeKeyHasBeenSet =
true; m_routeKey.assign(value); }
184 inline void SetRouteSelectionExpression(
const char* value) { m_routeSelectionExpressionHasBeenSet =
true; m_routeSelectionExpression.assign(value); }
202 inline void SetTarget(
const char* value) { m_targetHasBeenSet =
true; m_target.assign(value); }
216 inline void SetVersion(
const char* value) { m_versionHasBeenSet =
true; m_version.assign(value); }
224 bool m_apiIdHasBeenSet =
false;
227 bool m_apiKeySelectionExpressionHasBeenSet =
false;
229 Cors m_corsConfiguration;
230 bool m_corsConfigurationHasBeenSet =
false;
233 bool m_credentialsArnHasBeenSet =
false;
236 bool m_descriptionHasBeenSet =
false;
238 bool m_disableSchemaValidation;
239 bool m_disableSchemaValidationHasBeenSet =
false;
241 bool m_disableExecuteApiEndpoint;
242 bool m_disableExecuteApiEndpointHasBeenSet =
false;
245 bool m_nameHasBeenSet =
false;
248 bool m_routeKeyHasBeenSet =
false;
251 bool m_routeSelectionExpressionHasBeenSet =
false;
254 bool m_targetHasBeenSet =
false;
257 bool m_versionHasBeenSet =
false;
const Aws::String & GetRouteSelectionExpression() const
UpdateApiRequest & WithTarget(Aws::String &&value)
void SetName(const char *value)
void SetApiKeySelectionExpression(const Aws::String &value)
UpdateApiRequest & WithDescription(const Aws::String &value)
UpdateApiRequest & WithName(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateApiRequest & WithCredentialsArn(Aws::String &&value)
const Aws::String & GetRouteKey() const
const Aws::String & GetTarget() const
bool NameHasBeenSet() const
bool DisableSchemaValidationHasBeenSet() const
const Aws::String & GetName() const
UpdateApiRequest & WithVersion(const char *value)
void SetApiKeySelectionExpression(Aws::String &&value)
UpdateApiRequest & WithDisableExecuteApiEndpoint(bool value)
void SetRouteKey(Aws::String &&value)
UpdateApiRequest & WithDisableSchemaValidation(bool value)
UpdateApiRequest & WithVersion(Aws::String &&value)
const Aws::String & GetCredentialsArn() const
void SetTarget(const char *value)
UpdateApiRequest & WithRouteKey(const Aws::String &value)
const Aws::String & GetVersion() const
UpdateApiRequest & WithApiKeySelectionExpression(const char *value)
void SetDescription(const char *value)
UpdateApiRequest & WithRouteSelectionExpression(Aws::String &&value)
void SetRouteKey(const Aws::String &value)
AWS_APIGATEWAYV2_API Aws::String SerializePayload() const override
UpdateApiRequest & WithApiId(Aws::String &&value)
void SetRouteSelectionExpression(Aws::String &&value)
bool TargetHasBeenSet() const
void SetApiId(const char *value)
void SetVersion(const Aws::String &value)
UpdateApiRequest & WithDescription(Aws::String &&value)
bool ApiKeySelectionExpressionHasBeenSet() const
UpdateApiRequest & WithName(Aws::String &&value)
UpdateApiRequest & WithCredentialsArn(const Aws::String &value)
bool ApiIdHasBeenSet() const
UpdateApiRequest & WithRouteKey(Aws::String &&value)
void SetApiKeySelectionExpression(const char *value)
bool DescriptionHasBeenSet() const
void SetCredentialsArn(Aws::String &&value)
bool DisableExecuteApiEndpointHasBeenSet() const
UpdateApiRequest & WithCorsConfiguration(const Cors &value)
void SetDescription(const Aws::String &value)
void SetCredentialsArn(const char *value)
UpdateApiRequest & WithApiId(const Aws::String &value)
void SetCorsConfiguration(Cors &&value)
const Aws::String & GetApiKeySelectionExpression() const
void SetDisableExecuteApiEndpoint(bool value)
void SetCorsConfiguration(const Cors &value)
const Aws::String & GetApiId() const
void SetVersion(const char *value)
UpdateApiRequest & WithApiId(const char *value)
UpdateApiRequest & WithRouteSelectionExpression(const char *value)
bool RouteKeyHasBeenSet() const
UpdateApiRequest & WithTarget(const Aws::String &value)
void SetRouteSelectionExpression(const char *value)
void SetDisableSchemaValidation(bool value)
void SetName(Aws::String &&value)
void SetTarget(const Aws::String &value)
UpdateApiRequest & WithCredentialsArn(const char *value)
UpdateApiRequest & WithName(const Aws::String &value)
bool RouteSelectionExpressionHasBeenSet() const
void SetName(const Aws::String &value)
void SetTarget(Aws::String &&value)
UpdateApiRequest & WithApiKeySelectionExpression(Aws::String &&value)
UpdateApiRequest & WithTarget(const char *value)
bool GetDisableSchemaValidation() const
bool VersionHasBeenSet() const
UpdateApiRequest & WithRouteKey(const char *value)
void SetCredentialsArn(const Aws::String &value)
void SetRouteSelectionExpression(const Aws::String &value)
UpdateApiRequest & WithVersion(const Aws::String &value)
AWS_APIGATEWAYV2_API UpdateApiRequest()
void SetDescription(Aws::String &&value)
const Cors & GetCorsConfiguration() const
UpdateApiRequest & WithCorsConfiguration(Cors &&value)
void SetRouteKey(const char *value)
void SetApiId(Aws::String &&value)
bool CorsConfigurationHasBeenSet() const
bool CredentialsArnHasBeenSet() const
UpdateApiRequest & WithApiKeySelectionExpression(const Aws::String &value)
const Aws::String & GetDescription() const
UpdateApiRequest & WithRouteSelectionExpression(const Aws::String &value)
bool GetDisableExecuteApiEndpoint() const
UpdateApiRequest & WithDescription(const char *value)
void SetApiId(const Aws::String &value)
void SetVersion(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String