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/ProtocolType.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
51 inline void SetApiKeySelectionExpression(
const char* value) { m_apiKeySelectionExpressionHasBeenSet =
true; m_apiKeySelectionExpression.assign(value); }
66 inline void SetCorsConfiguration(
Cors&& value) { m_corsConfigurationHasBeenSet =
true; m_corsConfiguration = std::move(value); }
85 inline void SetCredentialsArn(
const char* value) { m_credentialsArnHasBeenSet =
true; m_credentialsArn.assign(value); }
99 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
138 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
168 inline void SetRouteKey(
const char* value) { m_routeKeyHasBeenSet =
true; m_routeKey.assign(value); }
185 inline void SetRouteSelectionExpression(
const char* value) { m_routeSelectionExpressionHasBeenSet =
true; m_routeSelectionExpression.assign(value); }
208 inline CreateApiRequest&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
224 inline void SetTarget(
const char* value) { m_targetHasBeenSet =
true; m_target.assign(value); }
238 inline void SetVersion(
const char* value) { m_versionHasBeenSet =
true; m_version.assign(value); }
246 bool m_apiKeySelectionExpressionHasBeenSet =
false;
248 Cors m_corsConfiguration;
249 bool m_corsConfigurationHasBeenSet =
false;
252 bool m_credentialsArnHasBeenSet =
false;
255 bool m_descriptionHasBeenSet =
false;
257 bool m_disableSchemaValidation;
258 bool m_disableSchemaValidationHasBeenSet =
false;
260 bool m_disableExecuteApiEndpoint;
261 bool m_disableExecuteApiEndpointHasBeenSet =
false;
264 bool m_nameHasBeenSet =
false;
267 bool m_protocolTypeHasBeenSet =
false;
270 bool m_routeKeyHasBeenSet =
false;
273 bool m_routeSelectionExpressionHasBeenSet =
false;
276 bool m_tagsHasBeenSet =
false;
279 bool m_targetHasBeenSet =
false;
282 bool m_versionHasBeenSet =
false;
void SetCredentialsArn(const char *value)
virtual const char * GetServiceRequestName() const override
void SetApiKeySelectionExpression(const char *value)
AWS_APIGATEWAYV2_API Aws::String SerializePayload() const override
bool ProtocolTypeHasBeenSet() const
const Aws::String & GetRouteKey() const
const Aws::String & GetRouteSelectionExpression() const
CreateApiRequest & WithTarget(const char *value)
void SetTarget(Aws::String &&value)
void SetApiKeySelectionExpression(const Aws::String &value)
CreateApiRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateApiRequest & WithCorsConfiguration(const Cors &value)
CreateApiRequest & WithRouteKey(const Aws::String &value)
void SetCredentialsArn(const Aws::String &value)
CreateApiRequest & WithCorsConfiguration(Cors &&value)
bool DisableExecuteApiEndpointHasBeenSet() const
CreateApiRequest & WithTarget(Aws::String &&value)
void SetDescription(const char *value)
void SetName(const char *value)
void SetCorsConfiguration(Cors &&value)
bool TargetHasBeenSet() const
CreateApiRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateApiRequest & AddTags(Aws::String &&key, const char *value)
CreateApiRequest & WithTarget(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetProtocolType(ProtocolType &&value)
void SetTarget(const Aws::String &value)
void SetDescription(Aws::String &&value)
const ProtocolType & GetProtocolType() const
bool VersionHasBeenSet() const
bool RouteKeyHasBeenSet() const
CreateApiRequest & WithName(const char *value)
void SetRouteSelectionExpression(Aws::String &&value)
CreateApiRequest & WithProtocolType(ProtocolType &&value)
void SetApiKeySelectionExpression(Aws::String &&value)
const Aws::String & GetApiKeySelectionExpression() const
void SetName(Aws::String &&value)
const Aws::String & GetCredentialsArn() const
CreateApiRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateApiRequest & WithCredentialsArn(Aws::String &&value)
CreateApiRequest & WithRouteSelectionExpression(const Aws::String &value)
bool NameHasBeenSet() const
CreateApiRequest & WithVersion(Aws::String &&value)
CreateApiRequest & WithApiKeySelectionExpression(Aws::String &&value)
bool DescriptionHasBeenSet() const
void SetProtocolType(const ProtocolType &value)
const Aws::String & GetName() const
void SetRouteSelectionExpression(const char *value)
void SetDescription(const Aws::String &value)
CreateApiRequest & WithDisableSchemaValidation(bool value)
bool CredentialsArnHasBeenSet() const
CreateApiRequest & WithApiKeySelectionExpression(const char *value)
CreateApiRequest & AddTags(const char *key, Aws::String &&value)
CreateApiRequest & WithName(const Aws::String &value)
CreateApiRequest & WithProtocolType(const ProtocolType &value)
CreateApiRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateApiRequest & WithCredentialsArn(const char *value)
void SetVersion(Aws::String &&value)
void SetRouteSelectionExpression(const Aws::String &value)
void SetCorsConfiguration(const Cors &value)
CreateApiRequest & WithVersion(const char *value)
CreateApiRequest & WithDisableExecuteApiEndpoint(bool value)
AWS_APIGATEWAYV2_API CreateApiRequest()
CreateApiRequest & WithRouteKey(Aws::String &&value)
CreateApiRequest & WithRouteKey(const char *value)
bool DisableSchemaValidationHasBeenSet() const
CreateApiRequest & WithDescription(const Aws::String &value)
bool RouteSelectionExpressionHasBeenSet() const
void SetName(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetVersion() const
bool CorsConfigurationHasBeenSet() const
CreateApiRequest & WithApiKeySelectionExpression(const Aws::String &value)
bool GetDisableExecuteApiEndpoint() const
void SetRouteKey(const char *value)
void SetCredentialsArn(Aws::String &&value)
CreateApiRequest & WithVersion(const Aws::String &value)
CreateApiRequest & AddTags(const char *key, const char *value)
bool ApiKeySelectionExpressionHasBeenSet() const
void SetTarget(const char *value)
void SetRouteKey(Aws::String &&value)
const Aws::String & GetTarget() const
CreateApiRequest & WithCredentialsArn(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateApiRequest & WithName(Aws::String &&value)
void SetRouteKey(const Aws::String &value)
void SetDisableSchemaValidation(bool value)
const Aws::String & GetDescription() const
const Cors & GetCorsConfiguration() const
CreateApiRequest & WithRouteSelectionExpression(const char *value)
CreateApiRequest & WithDescription(Aws::String &&value)
bool TagsHasBeenSet() const
CreateApiRequest & WithDescription(const char *value)
void SetVersion(const char *value)
bool GetDisableSchemaValidation() const
void SetDisableExecuteApiEndpoint(bool value)
CreateApiRequest & AddTags(Aws::String &&key, const Aws::String &value)
void SetVersion(const Aws::String &value)
CreateApiRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateApiRequest & WithRouteSelectionExpression(Aws::String &&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