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/http/HttpResponse.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
28namespace ApiGatewayV2 {
43 template <
typename ApiEndpo
intT = Aws::String>
45 m_apiEndpointHasBeenSet =
true;
46 m_apiEndpoint = std::forward<ApiEndpointT>(value);
48 template <
typename ApiEndpo
intT = Aws::String>
63 m_apiGatewayManagedHasBeenSet =
true;
64 m_apiGatewayManaged = value;
77 template <
typename ApiIdT = Aws::String>
79 m_apiIdHasBeenSet =
true;
80 m_apiId = std::forward<ApiIdT>(value);
82 template <
typename ApiIdT = Aws::String>
84 SetApiId(std::forward<ApiIdT>(value));
96 template <
typename ApiKeySelectionExpressionT = Aws::String>
98 m_apiKeySelectionExpressionHasBeenSet =
true;
99 m_apiKeySelectionExpression = std::forward<ApiKeySelectionExpressionT>(value);
101 template <
typename ApiKeySelectionExpressionT = Aws::String>
113 template <
typename CorsConfigurationT = Cors>
115 m_corsConfigurationHasBeenSet =
true;
116 m_corsConfiguration = std::forward<CorsConfigurationT>(value);
118 template <
typename CorsConfigurationT = Cors>
130 template <
typename CreatedDateT = Aws::Utils::DateTime>
132 m_createdDateHasBeenSet =
true;
133 m_createdDate = std::forward<CreatedDateT>(value);
135 template <
typename CreatedDateT = Aws::Utils::DateTime>
147 template <
typename DescriptionT = Aws::String>
149 m_descriptionHasBeenSet =
true;
150 m_description = std::forward<DescriptionT>(value);
152 template <
typename DescriptionT = Aws::String>
166 m_disableSchemaValidationHasBeenSet =
true;
167 m_disableSchemaValidation = value;
185 m_disableExecuteApiEndpointHasBeenSet =
true;
186 m_disableExecuteApiEndpoint = value;
201 template <
typename ImportInfoT = Aws::Vector<Aws::String>>
203 m_importInfoHasBeenSet =
true;
204 m_importInfo = std::forward<ImportInfoT>(value);
206 template <
typename ImportInfoT = Aws::Vector<Aws::String>>
211 template <
typename ImportInfoT = Aws::String>
213 m_importInfoHasBeenSet =
true;
214 m_importInfo.emplace_back(std::forward<ImportInfoT>(value));
225 m_ipAddressTypeHasBeenSet =
true;
226 m_ipAddressType = value;
239 template <
typename NameT = Aws::String>
241 m_nameHasBeenSet =
true;
242 m_name = std::forward<NameT>(value);
244 template <
typename NameT = Aws::String>
246 SetName(std::forward<NameT>(value));
257 m_protocolTypeHasBeenSet =
true;
258 m_protocolType = value;
274 template <
typename RouteSelectionExpressionT = Aws::String>
276 m_routeSelectionExpressionHasBeenSet =
true;
277 m_routeSelectionExpression = std::forward<RouteSelectionExpressionT>(value);
279 template <
typename RouteSelectionExpressionT = Aws::String>
291 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
293 m_tagsHasBeenSet =
true;
294 m_tags = std::forward<TagsT>(value);
296 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
298 SetTags(std::forward<TagsT>(value));
301 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
303 m_tagsHasBeenSet =
true;
304 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
314 template <
typename VersionT = Aws::String>
316 m_versionHasBeenSet =
true;
317 m_version = std::forward<VersionT>(value);
319 template <
typename VersionT = Aws::String>
332 template <
typename WarningsT = Aws::Vector<Aws::String>>
334 m_warningsHasBeenSet =
true;
335 m_warnings = std::forward<WarningsT>(value);
337 template <
typename WarningsT = Aws::Vector<Aws::String>>
342 template <
typename WarningsT = Aws::String>
344 m_warningsHasBeenSet =
true;
345 m_warnings.emplace_back(std::forward<WarningsT>(value));
353 template <
typename RequestIdT = Aws::String>
355 m_requestIdHasBeenSet =
true;
356 m_requestId = std::forward<RequestIdT>(value);
358 template <
typename RequestIdT = Aws::String>
369 bool m_apiGatewayManaged{
false};
375 Cors m_corsConfiguration;
381 bool m_disableSchemaValidation{
false};
383 bool m_disableExecuteApiEndpoint{
false};
403 bool m_apiEndpointHasBeenSet =
false;
404 bool m_apiGatewayManagedHasBeenSet =
false;
405 bool m_apiIdHasBeenSet =
false;
406 bool m_apiKeySelectionExpressionHasBeenSet =
false;
407 bool m_corsConfigurationHasBeenSet =
false;
408 bool m_createdDateHasBeenSet =
false;
409 bool m_descriptionHasBeenSet =
false;
410 bool m_disableSchemaValidationHasBeenSet =
false;
411 bool m_disableExecuteApiEndpointHasBeenSet =
false;
412 bool m_importInfoHasBeenSet =
false;
413 bool m_ipAddressTypeHasBeenSet =
false;
414 bool m_nameHasBeenSet =
false;
415 bool m_protocolTypeHasBeenSet =
false;
416 bool m_routeSelectionExpressionHasBeenSet =
false;
417 bool m_tagsHasBeenSet =
false;
418 bool m_versionHasBeenSet =
false;
419 bool m_warningsHasBeenSet =
false;
420 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
Aws::Http::HttpResponseCode GetHttpResponseCode() 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