7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/apigatewayv2/model/Cors.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/apigatewayv2/model/IpAddressType.h>
13#include <aws/apigatewayv2/model/ProtocolType.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
19template<
typename RESULT_TYPE>
20class AmazonWebServiceResult;
48 template<
typename ApiEndpo
intT = Aws::String>
49 void SetApiEndpoint(ApiEndpointT&& value) { m_apiEndpointHasBeenSet =
true; m_apiEndpoint = std::forward<ApiEndpointT>(value); }
50 template<
typename ApiEndpo
intT = Aws::String>
61 inline void SetApiGatewayManaged(
bool value) { m_apiGatewayManagedHasBeenSet =
true; m_apiGatewayManaged = value; }
70 template<
typename ApiIdT = Aws::String>
71 void SetApiId(ApiIdT&& value) { m_apiIdHasBeenSet =
true; m_apiId = std::forward<ApiIdT>(value); }
72 template<
typename ApiIdT = Aws::String>
83 template<
typename ApiKeySelectionExpressionT = Aws::String>
84 void SetApiKeySelectionExpression(ApiKeySelectionExpressionT&& value) { m_apiKeySelectionExpressionHasBeenSet =
true; m_apiKeySelectionExpression = std::forward<ApiKeySelectionExpressionT>(value); }
85 template<
typename ApiKeySelectionExpressionT = Aws::String>
94 template<
typename CorsConfigurationT = Cors>
95 void SetCorsConfiguration(CorsConfigurationT&& value) { m_corsConfigurationHasBeenSet =
true; m_corsConfiguration = std::forward<CorsConfigurationT>(value); }
96 template<
typename CorsConfigurationT = Cors>
105 template<
typename CreatedDateT = Aws::Utils::DateTime>
106 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet =
true; m_createdDate = std::forward<CreatedDateT>(value); }
107 template<
typename CreatedDateT = Aws::Utils::DateTime>
116 template<
typename DescriptionT = Aws::String>
117 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
118 template<
typename DescriptionT = Aws::String>
152 template<
typename ImportInfoT = Aws::Vector<Aws::String>>
153 void SetImportInfo(ImportInfoT&& value) { m_importInfoHasBeenSet =
true; m_importInfo = std::forward<ImportInfoT>(value); }
154 template<
typename ImportInfoT = Aws::Vector<Aws::String>>
156 template<
typename ImportInfoT = Aws::String>
157 GetApiResult&
AddImportInfo(ImportInfoT&& value) { m_importInfoHasBeenSet =
true; m_importInfo.emplace_back(std::forward<ImportInfoT>(value));
return *
this; }
174 template<
typename NameT = Aws::String>
175 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
176 template<
typename NameT = Aws::String>
197 template<
typename RouteSelectionExpressionT = Aws::String>
198 void SetRouteSelectionExpression(RouteSelectionExpressionT&& value) { m_routeSelectionExpressionHasBeenSet =
true; m_routeSelectionExpression = std::forward<RouteSelectionExpressionT>(value); }
199 template<
typename RouteSelectionExpressionT = Aws::String>
208 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
209 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
210 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
212 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
214 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
223 template<
typename VersionT = Aws::String>
224 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
225 template<
typename VersionT = Aws::String>
235 template<
typename WarningsT = Aws::Vector<Aws::String>>
236 void SetWarnings(WarningsT&& value) { m_warningsHasBeenSet =
true; m_warnings = std::forward<WarningsT>(value); }
237 template<
typename WarningsT = Aws::Vector<Aws::String>>
239 template<
typename WarningsT = Aws::String>
240 GetApiResult&
AddWarnings(WarningsT&& value) { m_warningsHasBeenSet =
true; m_warnings.emplace_back(std::forward<WarningsT>(value));
return *
this; }
246 template<
typename RequestIdT = Aws::String>
247 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
248 template<
typename RequestIdT = Aws::String>
254 bool m_apiEndpointHasBeenSet =
false;
256 bool m_apiGatewayManaged{
false};
257 bool m_apiGatewayManagedHasBeenSet =
false;
260 bool m_apiIdHasBeenSet =
false;
263 bool m_apiKeySelectionExpressionHasBeenSet =
false;
265 Cors m_corsConfiguration;
266 bool m_corsConfigurationHasBeenSet =
false;
269 bool m_createdDateHasBeenSet =
false;
272 bool m_descriptionHasBeenSet =
false;
274 bool m_disableSchemaValidation{
false};
275 bool m_disableSchemaValidationHasBeenSet =
false;
277 bool m_disableExecuteApiEndpoint{
false};
278 bool m_disableExecuteApiEndpointHasBeenSet =
false;
281 bool m_importInfoHasBeenSet =
false;
284 bool m_ipAddressTypeHasBeenSet =
false;
287 bool m_nameHasBeenSet =
false;
290 bool m_protocolTypeHasBeenSet =
false;
293 bool m_routeSelectionExpressionHasBeenSet =
false;
296 bool m_tagsHasBeenSet =
false;
299 bool m_versionHasBeenSet =
false;
302 bool m_warningsHasBeenSet =
false;
305 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