7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
41 m_metricsEnabledHasBeenSet =
true;
42 m_metricsEnabled = value;
61 template <
typename LoggingLevelT = Aws::String>
63 m_loggingLevelHasBeenSet =
true;
64 m_loggingLevel = std::forward<LoggingLevelT>(value);
66 template <
typename LoggingLevelT = Aws::String>
81 m_dataTraceEnabledHasBeenSet =
true;
82 m_dataTraceEnabled = value;
97 m_throttlingBurstLimitHasBeenSet =
true;
98 m_throttlingBurstLimit = value;
113 m_throttlingRateLimitHasBeenSet =
true;
114 m_throttlingRateLimit = value;
130 m_cachingEnabledHasBeenSet =
true;
131 m_cachingEnabled = value;
147 m_cacheTtlInSecondsHasBeenSet =
true;
148 m_cacheTtlInSeconds = value;
163 m_cacheDataEncryptedHasBeenSet =
true;
164 m_cacheDataEncrypted = value;
180 m_requireAuthorizationForCacheControlHasBeenSet =
true;
181 m_requireAuthorizationForCacheControl = value;
198 template <
typename UnauthorizedCacheControlHeaderStrategyT = Aws::String>
200 m_unauthorizedCacheControlHeaderStrategyHasBeenSet =
true;
201 m_unauthorizedCacheControlHeaderStrategy = std::forward<UnauthorizedCacheControlHeaderStrategyT>(value);
203 template <
typename UnauthorizedCacheControlHeaderStrategyT = Aws::String>
217 template <
typename HttpMethodT = Aws::String>
219 m_httpMethodHasBeenSet =
true;
220 m_httpMethod = std::forward<HttpMethodT>(value);
222 template <
typename HttpMethodT = Aws::String>
240 template <
typename ResourcePathT = Aws::String>
242 m_resourcePathHasBeenSet =
true;
243 m_resourcePath = std::forward<ResourcePathT>(value);
245 template <
typename ResourcePathT = Aws::String>
252 bool m_metricsEnabled{
false};
256 bool m_dataTraceEnabled{
false};
258 int m_throttlingBurstLimit{0};
260 double m_throttlingRateLimit{0.0};
262 bool m_cachingEnabled{
false};
264 int m_cacheTtlInSeconds{0};
266 bool m_cacheDataEncrypted{
false};
268 bool m_requireAuthorizationForCacheControl{
false};
270 Aws::String m_unauthorizedCacheControlHeaderStrategy;
275 bool m_metricsEnabledHasBeenSet =
false;
276 bool m_loggingLevelHasBeenSet =
false;
277 bool m_dataTraceEnabledHasBeenSet =
false;
278 bool m_throttlingBurstLimitHasBeenSet =
false;
279 bool m_throttlingRateLimitHasBeenSet =
false;
280 bool m_cachingEnabledHasBeenSet =
false;
281 bool m_cacheTtlInSecondsHasBeenSet =
false;
282 bool m_cacheDataEncryptedHasBeenSet =
false;
283 bool m_requireAuthorizationForCacheControlHasBeenSet =
false;
284 bool m_unauthorizedCacheControlHeaderStrategyHasBeenSet =
false;
285 bool m_httpMethodHasBeenSet =
false;
286 bool m_resourcePathHasBeenSet =
false;
AWS_SECURITYHUB_API AwsApiGatewayMethodSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
bool MetricsEnabledHasBeenSet() const
void SetThrottlingRateLimit(double value)
const Aws::String & GetHttpMethod() const
bool CacheTtlInSecondsHasBeenSet() const
AwsApiGatewayMethodSettings & WithCacheTtlInSeconds(int value)
void SetLoggingLevel(LoggingLevelT &&value)
AwsApiGatewayMethodSettings & WithCacheDataEncrypted(bool value)
bool GetMetricsEnabled() const
AWS_SECURITYHUB_API AwsApiGatewayMethodSettings()=default
void SetUnauthorizedCacheControlHeaderStrategy(UnauthorizedCacheControlHeaderStrategyT &&value)
const Aws::String & GetUnauthorizedCacheControlHeaderStrategy() const
void SetCachingEnabled(bool value)
void SetCacheDataEncrypted(bool value)
bool GetRequireAuthorizationForCacheControl() const
bool GetCacheDataEncrypted() const
double GetThrottlingRateLimit() const
bool UnauthorizedCacheControlHeaderStrategyHasBeenSet() const
bool ThrottlingBurstLimitHasBeenSet() const
const Aws::String & GetLoggingLevel() const
void SetCacheTtlInSeconds(int value)
bool LoggingLevelHasBeenSet() const
void SetMetricsEnabled(bool value)
AWS_SECURITYHUB_API AwsApiGatewayMethodSettings(Aws::Utils::Json::JsonView jsonValue)
AwsApiGatewayMethodSettings & WithHttpMethod(HttpMethodT &&value)
const Aws::String & GetResourcePath() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsApiGatewayMethodSettings & WithDataTraceEnabled(bool value)
bool HttpMethodHasBeenSet() const
bool DataTraceEnabledHasBeenSet() const
bool ResourcePathHasBeenSet() const
bool GetDataTraceEnabled() const
AwsApiGatewayMethodSettings & WithThrottlingRateLimit(double value)
AwsApiGatewayMethodSettings & WithRequireAuthorizationForCacheControl(bool value)
void SetHttpMethod(HttpMethodT &&value)
AwsApiGatewayMethodSettings & WithLoggingLevel(LoggingLevelT &&value)
void SetDataTraceEnabled(bool value)
bool CachingEnabledHasBeenSet() const
AwsApiGatewayMethodSettings & WithCachingEnabled(bool value)
bool ThrottlingRateLimitHasBeenSet() const
AwsApiGatewayMethodSettings & WithMetricsEnabled(bool value)
void SetResourcePath(ResourcePathT &&value)
int GetThrottlingBurstLimit() const
void SetRequireAuthorizationForCacheControl(bool value)
AwsApiGatewayMethodSettings & WithThrottlingBurstLimit(int value)
bool RequireAuthorizationForCacheControlHasBeenSet() const
AwsApiGatewayMethodSettings & WithUnauthorizedCacheControlHeaderStrategy(UnauthorizedCacheControlHeaderStrategyT &&value)
bool CacheDataEncryptedHasBeenSet() const
void SetThrottlingBurstLimit(int value)
bool GetCachingEnabled() const
AwsApiGatewayMethodSettings & WithResourcePath(ResourcePathT &&value)
int GetCacheTtlInSeconds() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue