7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/apigatewayv2/model/Cors.h>
9#include <aws/apigatewayv2/model/IpAddressType.h>
10#include <aws/apigatewayv2/model/ProtocolType.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
27namespace ApiGatewayV2 {
42 template <
typename ApiEndpo
intT = Aws::String>
44 m_apiEndpointHasBeenSet =
true;
45 m_apiEndpoint = std::forward<ApiEndpointT>(value);
47 template <
typename ApiEndpo
intT = Aws::String>
62 m_apiGatewayManagedHasBeenSet =
true;
63 m_apiGatewayManaged = value;
76 template <
typename ApiIdT = Aws::String>
78 m_apiIdHasBeenSet =
true;
79 m_apiId = std::forward<ApiIdT>(value);
81 template <
typename ApiIdT = Aws::String>
83 SetApiId(std::forward<ApiIdT>(value));
95 template <
typename ApiKeySelectionExpressionT = Aws::String>
97 m_apiKeySelectionExpressionHasBeenSet =
true;
98 m_apiKeySelectionExpression = std::forward<ApiKeySelectionExpressionT>(value);
100 template <
typename ApiKeySelectionExpressionT = Aws::String>
112 template <
typename CorsConfigurationT = Cors>
114 m_corsConfigurationHasBeenSet =
true;
115 m_corsConfiguration = std::forward<CorsConfigurationT>(value);
117 template <
typename CorsConfigurationT = Cors>
129 template <
typename CreatedDateT = Aws::Utils::DateTime>
131 m_createdDateHasBeenSet =
true;
132 m_createdDate = std::forward<CreatedDateT>(value);
134 template <
typename CreatedDateT = Aws::Utils::DateTime>
146 template <
typename DescriptionT = Aws::String>
148 m_descriptionHasBeenSet =
true;
149 m_description = std::forward<DescriptionT>(value);
151 template <
typename DescriptionT = Aws::String>
165 m_disableSchemaValidationHasBeenSet =
true;
166 m_disableSchemaValidation = value;
184 m_disableExecuteApiEndpointHasBeenSet =
true;
185 m_disableExecuteApiEndpoint = value;
200 template <
typename ImportInfoT = Aws::Vector<Aws::String>>
202 m_importInfoHasBeenSet =
true;
203 m_importInfo = std::forward<ImportInfoT>(value);
205 template <
typename ImportInfoT = Aws::Vector<Aws::String>>
210 template <
typename ImportInfoT = Aws::String>
212 m_importInfoHasBeenSet =
true;
213 m_importInfo.emplace_back(std::forward<ImportInfoT>(value));
224 m_ipAddressTypeHasBeenSet =
true;
225 m_ipAddressType = value;
238 template <
typename NameT = Aws::String>
240 m_nameHasBeenSet =
true;
241 m_name = std::forward<NameT>(value);
243 template <
typename NameT = Aws::String>
245 SetName(std::forward<NameT>(value));
256 m_protocolTypeHasBeenSet =
true;
257 m_protocolType = value;
273 template <
typename RouteSelectionExpressionT = Aws::String>
275 m_routeSelectionExpressionHasBeenSet =
true;
276 m_routeSelectionExpression = std::forward<RouteSelectionExpressionT>(value);
278 template <
typename RouteSelectionExpressionT = Aws::String>
290 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
292 m_tagsHasBeenSet =
true;
293 m_tags = std::forward<TagsT>(value);
295 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
297 SetTags(std::forward<TagsT>(value));
300 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
302 m_tagsHasBeenSet =
true;
303 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
313 template <
typename VersionT = Aws::String>
315 m_versionHasBeenSet =
true;
316 m_version = std::forward<VersionT>(value);
318 template <
typename VersionT = Aws::String>
331 template <
typename WarningsT = Aws::Vector<Aws::String>>
333 m_warningsHasBeenSet =
true;
334 m_warnings = std::forward<WarningsT>(value);
336 template <
typename WarningsT = Aws::Vector<Aws::String>>
341 template <
typename WarningsT = Aws::String>
343 m_warningsHasBeenSet =
true;
344 m_warnings.emplace_back(std::forward<WarningsT>(value));
352 template <
typename RequestIdT = Aws::String>
354 m_requestIdHasBeenSet =
true;
355 m_requestId = std::forward<RequestIdT>(value);
357 template <
typename RequestIdT = Aws::String>
366 bool m_apiGatewayManaged{
false};
372 Cors m_corsConfiguration;
378 bool m_disableSchemaValidation{
false};
380 bool m_disableExecuteApiEndpoint{
false};
399 bool m_apiEndpointHasBeenSet =
false;
400 bool m_apiGatewayManagedHasBeenSet =
false;
401 bool m_apiIdHasBeenSet =
false;
402 bool m_apiKeySelectionExpressionHasBeenSet =
false;
403 bool m_corsConfigurationHasBeenSet =
false;
404 bool m_createdDateHasBeenSet =
false;
405 bool m_descriptionHasBeenSet =
false;
406 bool m_disableSchemaValidationHasBeenSet =
false;
407 bool m_disableExecuteApiEndpointHasBeenSet =
false;
408 bool m_importInfoHasBeenSet =
false;
409 bool m_ipAddressTypeHasBeenSet =
false;
410 bool m_nameHasBeenSet =
false;
411 bool m_protocolTypeHasBeenSet =
false;
412 bool m_routeSelectionExpressionHasBeenSet =
false;
413 bool m_tagsHasBeenSet =
false;
414 bool m_versionHasBeenSet =
false;
415 bool m_warningsHasBeenSet =
false;
416 bool m_requestIdHasBeenSet =
false;
IpAddressType GetIpAddressType() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetRouteSelectionExpression() const
void SetDisableExecuteApiEndpoint(bool value)
void SetRouteSelectionExpression(RouteSelectionExpressionT &&value)
void SetApiKeySelectionExpression(ApiKeySelectionExpressionT &&value)
GetApiResult & WithName(NameT &&value)
void SetTags(TagsT &&value)
const Aws::String & GetApiId() const
void SetDisableSchemaValidation(bool value)
const Aws::Vector< Aws::String > & GetImportInfo() const
GetApiResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetApiResult & WithProtocolType(ProtocolType value)
GetApiResult & WithVersion(VersionT &&value)
const Aws::String & GetName() const
GetApiResult & WithApiGatewayManaged(bool value)
GetApiResult & WithRouteSelectionExpression(RouteSelectionExpressionT &&value)
void SetWarnings(WarningsT &&value)
GetApiResult & WithApiEndpoint(ApiEndpointT &&value)
GetApiResult & WithApiId(ApiIdT &&value)
void SetImportInfo(ImportInfoT &&value)
const Aws::String & GetDescription() const
GetApiResult & WithApiKeySelectionExpression(ApiKeySelectionExpressionT &&value)
void SetCorsConfiguration(CorsConfigurationT &&value)
AWS_APIGATEWAYV2_API GetApiResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCreatedDate(CreatedDateT &&value)
bool GetApiGatewayManaged() const
const Aws::String & GetRequestId() const
void SetIpAddressType(IpAddressType value)
ProtocolType GetProtocolType() const
void SetRequestId(RequestIdT &&value)
GetApiResult & WithCorsConfiguration(CorsConfigurationT &&value)
GetApiResult & AddImportInfo(ImportInfoT &&value)
GetApiResult & WithWarnings(WarningsT &&value)
GetApiResult & WithRequestId(RequestIdT &&value)
AWS_APIGATEWAYV2_API GetApiResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetApiResult & WithCreatedDate(CreatedDateT &&value)
void SetVersion(VersionT &&value)
AWS_APIGATEWAYV2_API GetApiResult()=default
void SetApiGatewayManaged(bool value)
bool GetDisableExecuteApiEndpoint() const
void SetProtocolType(ProtocolType value)
GetApiResult & AddWarnings(WarningsT &&value)
GetApiResult & WithDisableExecuteApiEndpoint(bool value)
void SetApiEndpoint(ApiEndpointT &&value)
bool GetDisableSchemaValidation() const
GetApiResult & WithTags(TagsT &&value)
const Aws::String & GetApiKeySelectionExpression() const
GetApiResult & WithDescription(DescriptionT &&value)
void SetName(NameT &&value)
void SetApiId(ApiIdT &&value)
GetApiResult & WithDisableSchemaValidation(bool value)
const Aws::String & GetApiEndpoint() const
const Aws::String & GetVersion() const
const Aws::Utils::DateTime & GetCreatedDate() const
const Cors & GetCorsConfiguration() const
void SetDescription(DescriptionT &&value)
GetApiResult & WithIpAddressType(IpAddressType value)
const Aws::Vector< Aws::String > & GetWarnings() const
GetApiResult & WithImportInfo(ImportInfoT &&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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue