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; }
63 inline void SetLoggingLevel(
const char* value) { m_loggingLevelHasBeenSet =
true; m_loggingLevel.assign(value); }
76 inline void SetDataTraceEnabled(
bool value) { m_dataTraceEnabledHasBeenSet =
true; m_dataTraceEnabled = value; }
86 inline void SetThrottlingBurstLimit(
int value) { m_throttlingBurstLimitHasBeenSet =
true; m_throttlingBurstLimit = value; }
96 inline void SetThrottlingRateLimit(
double value) { m_throttlingRateLimitHasBeenSet =
true; m_throttlingRateLimit = value; }
107 inline void SetCachingEnabled(
bool value) { m_cachingEnabledHasBeenSet =
true; m_cachingEnabled = value; }
118 inline void SetCacheTtlInSeconds(
int value) { m_cacheTtlInSecondsHasBeenSet =
true; m_cacheTtlInSeconds = value; }
128 inline void SetCacheDataEncrypted(
bool value) { m_cacheDataEncryptedHasBeenSet =
true; m_cacheDataEncrypted = value; }
169 inline void SetHttpMethod(
const char* value) { m_httpMethodHasBeenSet =
true; m_httpMethod.assign(value); }
188 inline void SetResourcePath(
const char* value) { m_resourcePathHasBeenSet =
true; m_resourcePath.assign(value); }
195 bool m_metricsEnabled;
196 bool m_metricsEnabledHasBeenSet =
false;
199 bool m_loggingLevelHasBeenSet =
false;
201 bool m_dataTraceEnabled;
202 bool m_dataTraceEnabledHasBeenSet =
false;
204 int m_throttlingBurstLimit;
205 bool m_throttlingBurstLimitHasBeenSet =
false;
207 double m_throttlingRateLimit;
208 bool m_throttlingRateLimitHasBeenSet =
false;
210 bool m_cachingEnabled;
211 bool m_cachingEnabledHasBeenSet =
false;
213 int m_cacheTtlInSeconds;
214 bool m_cacheTtlInSecondsHasBeenSet =
false;
216 bool m_cacheDataEncrypted;
217 bool m_cacheDataEncryptedHasBeenSet =
false;
219 bool m_requireAuthorizationForCacheControl;
220 bool m_requireAuthorizationForCacheControlHasBeenSet =
false;
222 Aws::String m_unauthorizedCacheControlHeaderStrategy;
223 bool m_unauthorizedCacheControlHeaderStrategyHasBeenSet =
false;
226 bool m_httpMethodHasBeenSet =
false;
229 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)
AwsApiGatewayMethodSettings & WithCacheDataEncrypted(bool value)
bool GetMetricsEnabled() const
const Aws::String & GetUnauthorizedCacheControlHeaderStrategy() const
AWS_SECURITYHUB_API AwsApiGatewayMethodSettings()
AwsApiGatewayMethodSettings & WithUnauthorizedCacheControlHeaderStrategy(const char *value)
void SetCachingEnabled(bool value)
void SetResourcePath(Aws::String &&value)
void SetCacheDataEncrypted(bool value)
bool GetRequireAuthorizationForCacheControl() const
bool GetCacheDataEncrypted() const
double GetThrottlingRateLimit() const
bool UnauthorizedCacheControlHeaderStrategyHasBeenSet() const
bool ThrottlingBurstLimitHasBeenSet() const
AwsApiGatewayMethodSettings & WithHttpMethod(const Aws::String &value)
const Aws::String & GetLoggingLevel() const
void SetCacheTtlInSeconds(int value)
bool LoggingLevelHasBeenSet() const
AwsApiGatewayMethodSettings & WithResourcePath(const Aws::String &value)
void SetMetricsEnabled(bool value)
AwsApiGatewayMethodSettings & WithUnauthorizedCacheControlHeaderStrategy(const Aws::String &value)
AWS_SECURITYHUB_API AwsApiGatewayMethodSettings(Aws::Utils::Json::JsonView jsonValue)
AwsApiGatewayMethodSettings & WithLoggingLevel(const char *value)
const Aws::String & GetResourcePath() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsApiGatewayMethodSettings & WithDataTraceEnabled(bool value)
void SetUnauthorizedCacheControlHeaderStrategy(const Aws::String &value)
bool HttpMethodHasBeenSet() const
void SetHttpMethod(const char *value)
AwsApiGatewayMethodSettings & WithResourcePath(Aws::String &&value)
void SetLoggingLevel(Aws::String &&value)
void SetResourcePath(const char *value)
bool DataTraceEnabledHasBeenSet() const
bool ResourcePathHasBeenSet() const
bool GetDataTraceEnabled() const
AwsApiGatewayMethodSettings & WithThrottlingRateLimit(double value)
AwsApiGatewayMethodSettings & WithHttpMethod(const char *value)
AwsApiGatewayMethodSettings & WithRequireAuthorizationForCacheControl(bool value)
AwsApiGatewayMethodSettings & WithUnauthorizedCacheControlHeaderStrategy(Aws::String &&value)
void SetDataTraceEnabled(bool value)
void SetLoggingLevel(const Aws::String &value)
bool CachingEnabledHasBeenSet() const
void SetHttpMethod(Aws::String &&value)
AwsApiGatewayMethodSettings & WithCachingEnabled(bool value)
AwsApiGatewayMethodSettings & WithLoggingLevel(const Aws::String &value)
bool ThrottlingRateLimitHasBeenSet() const
AwsApiGatewayMethodSettings & WithMetricsEnabled(bool value)
int GetThrottlingBurstLimit() const
AwsApiGatewayMethodSettings & WithResourcePath(const char *value)
void SetRequireAuthorizationForCacheControl(bool value)
AwsApiGatewayMethodSettings & WithThrottlingBurstLimit(int value)
bool RequireAuthorizationForCacheControlHasBeenSet() const
void SetHttpMethod(const Aws::String &value)
bool CacheDataEncryptedHasBeenSet() const
void SetUnauthorizedCacheControlHeaderStrategy(Aws::String &&value)
void SetLoggingLevel(const char *value)
AwsApiGatewayMethodSettings & WithLoggingLevel(Aws::String &&value)
void SetThrottlingBurstLimit(int value)
AwsApiGatewayMethodSettings & WithHttpMethod(Aws::String &&value)
bool GetCachingEnabled() const
void SetUnauthorizedCacheControlHeaderStrategy(const char *value)
int GetCacheTtlInSeconds() const
void SetResourcePath(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue