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/apigatewayv2/model/ProtocolType.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
18namespace ApiGatewayV2 {
46 template <
typename ApiKeySelectionExpressionT = Aws::String>
48 m_apiKeySelectionExpressionHasBeenSet =
true;
49 m_apiKeySelectionExpression = std::forward<ApiKeySelectionExpressionT>(value);
51 template <
typename ApiKeySelectionExpressionT = Aws::String>
66 template <
typename CorsConfigurationT = Cors>
68 m_corsConfigurationHasBeenSet =
true;
69 m_corsConfiguration = std::forward<CorsConfigurationT>(value);
71 template <
typename CorsConfigurationT = Cors>
90 template <
typename CredentialsArnT = Aws::String>
92 m_credentialsArnHasBeenSet =
true;
93 m_credentialsArn = std::forward<CredentialsArnT>(value);
95 template <
typename CredentialsArnT = Aws::String>
108 template <
typename DescriptionT = Aws::String>
110 m_descriptionHasBeenSet =
true;
111 m_description = std::forward<DescriptionT>(value);
113 template <
typename DescriptionT = Aws::String>
128 m_disableSchemaValidationHasBeenSet =
true;
129 m_disableSchemaValidation = value;
148 m_disableExecuteApiEndpointHasBeenSet =
true;
149 m_disableExecuteApiEndpoint = value;
164 m_ipAddressTypeHasBeenSet =
true;
165 m_ipAddressType = value;
179 template <
typename NameT = Aws::String>
181 m_nameHasBeenSet =
true;
182 m_name = std::forward<NameT>(value);
184 template <
typename NameT = Aws::String>
186 SetName(std::forward<NameT>(value));
198 m_protocolTypeHasBeenSet =
true;
199 m_protocolType = value;
217 template <
typename RouteKeyT = Aws::String>
219 m_routeKeyHasBeenSet =
true;
220 m_routeKey = std::forward<RouteKeyT>(value);
222 template <
typename RouteKeyT = Aws::String>
238 template <
typename RouteSelectionExpressionT = Aws::String>
240 m_routeSelectionExpressionHasBeenSet =
true;
241 m_routeSelectionExpression = std::forward<RouteSelectionExpressionT>(value);
243 template <
typename RouteSelectionExpressionT = Aws::String>
257 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
259 m_tagsHasBeenSet =
true;
260 m_tags = std::forward<TagsT>(value);
262 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
264 SetTags(std::forward<TagsT>(value));
267 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
269 m_tagsHasBeenSet =
true;
270 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
286 template <
typename TargetT = Aws::String>
288 m_targetHasBeenSet =
true;
289 m_target = std::forward<TargetT>(value);
291 template <
typename TargetT = Aws::String>
304 template <
typename VersionT = Aws::String>
306 m_versionHasBeenSet =
true;
307 m_version = std::forward<VersionT>(value);
309 template <
typename VersionT = Aws::String>
318 Cors m_corsConfiguration;
324 bool m_disableSchemaValidation{
false};
326 bool m_disableExecuteApiEndpoint{
false};
343 bool m_apiKeySelectionExpressionHasBeenSet =
false;
344 bool m_corsConfigurationHasBeenSet =
false;
345 bool m_credentialsArnHasBeenSet =
false;
346 bool m_descriptionHasBeenSet =
false;
347 bool m_disableSchemaValidationHasBeenSet =
false;
348 bool m_disableExecuteApiEndpointHasBeenSet =
false;
349 bool m_ipAddressTypeHasBeenSet =
false;
350 bool m_nameHasBeenSet =
false;
351 bool m_protocolTypeHasBeenSet =
false;
352 bool m_routeKeyHasBeenSet =
false;
353 bool m_routeSelectionExpressionHasBeenSet =
false;
354 bool m_tagsHasBeenSet =
false;
355 bool m_targetHasBeenSet =
false;
356 bool m_versionHasBeenSet =
false;
virtual const char * GetServiceRequestName() const override
IpAddressType GetIpAddressType() const
void SetIpAddressType(IpAddressType value)
AWS_APIGATEWAYV2_API Aws::String SerializePayload() const override
bool ProtocolTypeHasBeenSet() const
const Aws::String & GetRouteKey() const
const Aws::String & GetRouteSelectionExpression() const
bool DisableExecuteApiEndpointHasBeenSet() const
CreateApiRequest & WithTarget(TargetT &&value)
void SetName(NameT &&value)
CreateApiRequest & WithIpAddressType(IpAddressType value)
bool TargetHasBeenSet() const
void SetRouteKey(RouteKeyT &&value)
CreateApiRequest & WithRouteSelectionExpression(RouteSelectionExpressionT &&value)
CreateApiRequest & WithVersion(VersionT &&value)
CreateApiRequest & WithApiKeySelectionExpression(ApiKeySelectionExpressionT &&value)
bool VersionHasBeenSet() const
ProtocolType GetProtocolType() const
bool RouteKeyHasBeenSet() const
void SetApiKeySelectionExpression(ApiKeySelectionExpressionT &&value)
const Aws::String & GetApiKeySelectionExpression() const
const Aws::String & GetCredentialsArn() const
void SetVersion(VersionT &&value)
bool NameHasBeenSet() const
void SetProtocolType(ProtocolType value)
bool DescriptionHasBeenSet() const
const Aws::String & GetName() const
CreateApiRequest & WithDescription(DescriptionT &&value)
CreateApiRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateApiRequest & WithDisableSchemaValidation(bool value)
CreateApiRequest & WithTags(TagsT &&value)
bool CredentialsArnHasBeenSet() const
CreateApiRequest & WithCredentialsArn(CredentialsArnT &&value)
CreateApiRequest & WithCorsConfiguration(CorsConfigurationT &&value)
void SetCorsConfiguration(CorsConfigurationT &&value)
CreateApiRequest & WithDisableExecuteApiEndpoint(bool value)
AWS_APIGATEWAYV2_API CreateApiRequest()=default
bool DisableSchemaValidationHasBeenSet() const
bool RouteSelectionExpressionHasBeenSet() const
bool IpAddressTypeHasBeenSet() const
void SetRouteSelectionExpression(RouteSelectionExpressionT &&value)
const Aws::String & GetVersion() const
bool CorsConfigurationHasBeenSet() const
void SetTags(TagsT &&value)
bool GetDisableExecuteApiEndpoint() const
CreateApiRequest & WithProtocolType(ProtocolType value)
CreateApiRequest & WithRouteKey(RouteKeyT &&value)
bool ApiKeySelectionExpressionHasBeenSet() const
void SetTarget(TargetT &&value)
const Aws::String & GetTarget() const
CreateApiRequest & WithName(NameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetDisableSchemaValidation(bool value)
const Aws::String & GetDescription() const
const Cors & GetCorsConfiguration() const
void SetDescription(DescriptionT &&value)
void SetCredentialsArn(CredentialsArnT &&value)
bool TagsHasBeenSet() const
bool GetDisableSchemaValidation() const
void SetDisableExecuteApiEndpoint(bool 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