7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 inline void SetMetricsEnabled(
bool value) { m_metricsEnabledHasBeenSet =
true; m_metricsEnabled = value; }
61 template<
typename LoggingLevelT = Aws::String>
62 void SetLoggingLevel(LoggingLevelT&& value) { m_loggingLevelHasBeenSet =
true; m_loggingLevel = std::forward<LoggingLevelT>(value); }
63 template<
typename LoggingLevelT = Aws::String>
74 inline void SetDataTraceEnabled(
bool value) { m_dataTraceEnabledHasBeenSet =
true; m_dataTraceEnabled = value; }
84 inline void SetThrottlingBurstLimit(
int value) { m_throttlingBurstLimitHasBeenSet =
true; m_throttlingBurstLimit = value; }
94 inline void SetThrottlingRateLimit(
double value) { m_throttlingRateLimitHasBeenSet =
true; m_throttlingRateLimit = value; }
105 inline void SetCachingEnabled(
bool value) { m_cachingEnabledHasBeenSet =
true; m_cachingEnabled = value; }
116 inline void SetCacheTtlInSeconds(
int value) { m_cacheTtlInSecondsHasBeenSet =
true; m_cacheTtlInSeconds = value; }
126 inline void SetCacheDataEncrypted(
bool value) { m_cacheDataEncryptedHasBeenSet =
true; m_cacheDataEncrypted = value; }
150 template<
typename UnauthorizedCacheControlHeaderStrategyT = Aws::String>
151 void SetUnauthorizedCacheControlHeaderStrategy(UnauthorizedCacheControlHeaderStrategyT&& value) { m_unauthorizedCacheControlHeaderStrategyHasBeenSet =
true; m_unauthorizedCacheControlHeaderStrategy = std::forward<UnauthorizedCacheControlHeaderStrategyT>(value); }
152 template<
typename UnauthorizedCacheControlHeaderStrategyT = Aws::String>
163 template<
typename HttpMethodT = Aws::String>
164 void SetHttpMethod(HttpMethodT&& value) { m_httpMethodHasBeenSet =
true; m_httpMethod = std::forward<HttpMethodT>(value); }
165 template<
typename HttpMethodT = Aws::String>
180 template<
typename ResourcePathT = Aws::String>
181 void SetResourcePath(ResourcePathT&& value) { m_resourcePathHasBeenSet =
true; m_resourcePath = std::forward<ResourcePathT>(value); }
182 template<
typename ResourcePathT = Aws::String>
187 bool m_metricsEnabled{
false};
188 bool m_metricsEnabledHasBeenSet =
false;
191 bool m_loggingLevelHasBeenSet =
false;
193 bool m_dataTraceEnabled{
false};
194 bool m_dataTraceEnabledHasBeenSet =
false;
196 int m_throttlingBurstLimit{0};
197 bool m_throttlingBurstLimitHasBeenSet =
false;
199 double m_throttlingRateLimit{0.0};
200 bool m_throttlingRateLimitHasBeenSet =
false;
202 bool m_cachingEnabled{
false};
203 bool m_cachingEnabledHasBeenSet =
false;
205 int m_cacheTtlInSeconds{0};
206 bool m_cacheTtlInSecondsHasBeenSet =
false;
208 bool m_cacheDataEncrypted{
false};
209 bool m_cacheDataEncryptedHasBeenSet =
false;
211 bool m_requireAuthorizationForCacheControl{
false};
212 bool m_requireAuthorizationForCacheControlHasBeenSet =
false;
214 Aws::String m_unauthorizedCacheControlHeaderStrategy;
215 bool m_unauthorizedCacheControlHeaderStrategyHasBeenSet =
false;
218 bool m_httpMethodHasBeenSet =
false;
221 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