7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/model/AwsCorsConfiguration.h>
51 template<
typename ApiEndpo
intT = Aws::String>
52 void SetApiEndpoint(ApiEndpointT&& value) { m_apiEndpointHasBeenSet =
true; m_apiEndpoint = std::forward<ApiEndpointT>(value); }
53 template<
typename ApiEndpo
intT = Aws::String>
63 template<
typename ApiIdT = Aws::String>
64 void SetApiId(ApiIdT&& value) { m_apiIdHasBeenSet =
true; m_apiId = std::forward<ApiIdT>(value); }
65 template<
typename ApiIdT = Aws::String>
75 template<
typename ApiKeySelectionExpressionT = Aws::String>
76 void SetApiKeySelectionExpression(ApiKeySelectionExpressionT&& value) { m_apiKeySelectionExpressionHasBeenSet =
true; m_apiKeySelectionExpression = std::forward<ApiKeySelectionExpressionT>(value); }
77 template<
typename ApiKeySelectionExpressionT = Aws::String>
89 template<
typename CreatedDateT = Aws::String>
90 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet =
true; m_createdDate = std::forward<CreatedDateT>(value); }
91 template<
typename CreatedDateT = Aws::String>
101 template<
typename DescriptionT = Aws::String>
102 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
103 template<
typename DescriptionT = Aws::String>
113 template<
typename VersionT = Aws::String>
114 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
115 template<
typename VersionT = Aws::String>
125 template<
typename NameT = Aws::String>
126 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
127 template<
typename NameT = Aws::String>
138 template<
typename ProtocolTypeT = Aws::String>
139 void SetProtocolType(ProtocolTypeT&& value) { m_protocolTypeHasBeenSet =
true; m_protocolType = std::forward<ProtocolTypeT>(value); }
140 template<
typename ProtocolTypeT = Aws::String>
152 template<
typename RouteSelectionExpressionT = Aws::String>
153 void SetRouteSelectionExpression(RouteSelectionExpressionT&& value) { m_routeSelectionExpressionHasBeenSet =
true; m_routeSelectionExpression = std::forward<RouteSelectionExpressionT>(value); }
154 template<
typename RouteSelectionExpressionT = Aws::String>
165 template<
typename CorsConfigurationT = AwsCorsConfiguration>
166 void SetCorsConfiguration(CorsConfigurationT&& value) { m_corsConfigurationHasBeenSet =
true; m_corsConfiguration = std::forward<CorsConfigurationT>(value); }
167 template<
typename CorsConfigurationT = AwsCorsConfiguration>
173 bool m_apiEndpointHasBeenSet =
false;
176 bool m_apiIdHasBeenSet =
false;
179 bool m_apiKeySelectionExpressionHasBeenSet =
false;
182 bool m_createdDateHasBeenSet =
false;
185 bool m_descriptionHasBeenSet =
false;
188 bool m_versionHasBeenSet =
false;
191 bool m_nameHasBeenSet =
false;
194 bool m_protocolTypeHasBeenSet =
false;
197 bool m_routeSelectionExpressionHasBeenSet =
false;
200 bool m_corsConfigurationHasBeenSet =
false;
void SetName(NameT &&value)
AWS_SECURITYHUB_API AwsApiGatewayV2ApiDetails()=default
AwsApiGatewayV2ApiDetails & WithVersion(VersionT &&value)
const Aws::String & GetVersion() const
bool DescriptionHasBeenSet() const
const AwsCorsConfiguration & GetCorsConfiguration() const
bool ApiKeySelectionExpressionHasBeenSet() const
const Aws::String & GetApiEndpoint() const
const Aws::String & GetName() const
bool ApiEndpointHasBeenSet() const
AwsApiGatewayV2ApiDetails & WithCreatedDate(CreatedDateT &&value)
bool ApiIdHasBeenSet() const
void SetRouteSelectionExpression(RouteSelectionExpressionT &&value)
AwsApiGatewayV2ApiDetails & WithApiKeySelectionExpression(ApiKeySelectionExpressionT &&value)
AWS_SECURITYHUB_API AwsApiGatewayV2ApiDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRouteSelectionExpression() const
bool ProtocolTypeHasBeenSet() const
bool NameHasBeenSet() const
void SetCreatedDate(CreatedDateT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
bool RouteSelectionExpressionHasBeenSet() const
void SetDescription(DescriptionT &&value)
bool VersionHasBeenSet() const
void SetApiId(ApiIdT &&value)
bool CorsConfigurationHasBeenSet() const
void SetApiEndpoint(ApiEndpointT &&value)
bool CreatedDateHasBeenSet() const
void SetVersion(VersionT &&value)
AwsApiGatewayV2ApiDetails & WithApiEndpoint(ApiEndpointT &&value)
AWS_SECURITYHUB_API AwsApiGatewayV2ApiDetails(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetApiKeySelectionExpression() const
const Aws::String & GetApiId() const
AwsApiGatewayV2ApiDetails & WithDescription(DescriptionT &&value)
const Aws::String & GetProtocolType() const
AwsApiGatewayV2ApiDetails & WithProtocolType(ProtocolTypeT &&value)
AwsApiGatewayV2ApiDetails & WithCorsConfiguration(CorsConfigurationT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetCreatedDate() const
AwsApiGatewayV2ApiDetails & WithRouteSelectionExpression(RouteSelectionExpressionT &&value)
AwsApiGatewayV2ApiDetails & WithName(NameT &&value)
void SetCorsConfiguration(CorsConfigurationT &&value)
void SetApiKeySelectionExpression(ApiKeySelectionExpressionT &&value)
AwsApiGatewayV2ApiDetails & WithApiId(ApiIdT &&value)
void SetProtocolType(ProtocolTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue