7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/apigateway/model/UnauthorizedCacheControlHeaderStrategy.h>
47 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); }
78 inline void SetDataTraceEnabled(
bool value) { m_dataTraceEnabledHasBeenSet =
true; m_dataTraceEnabled = value; }
88 inline void SetThrottlingBurstLimit(
int value) { m_throttlingBurstLimitHasBeenSet =
true; m_throttlingBurstLimit = value; }
98 inline void SetThrottlingRateLimit(
double value) { m_throttlingRateLimitHasBeenSet =
true; m_throttlingRateLimit = value; }
109 inline void SetCachingEnabled(
bool value) { m_cachingEnabledHasBeenSet =
true; m_cachingEnabled = value; }
120 inline void SetCacheTtlInSeconds(
int value) { m_cacheTtlInSecondsHasBeenSet =
true; m_cacheTtlInSeconds = value; }
130 inline void SetCacheDataEncrypted(
bool value) { m_cacheDataEncryptedHasBeenSet =
true; m_cacheDataEncrypted = value; }
158 bool m_metricsEnabled;
159 bool m_metricsEnabledHasBeenSet =
false;
162 bool m_loggingLevelHasBeenSet =
false;
164 bool m_dataTraceEnabled;
165 bool m_dataTraceEnabledHasBeenSet =
false;
167 int m_throttlingBurstLimit;
168 bool m_throttlingBurstLimitHasBeenSet =
false;
170 double m_throttlingRateLimit;
171 bool m_throttlingRateLimitHasBeenSet =
false;
173 bool m_cachingEnabled;
174 bool m_cachingEnabledHasBeenSet =
false;
176 int m_cacheTtlInSeconds;
177 bool m_cacheTtlInSecondsHasBeenSet =
false;
179 bool m_cacheDataEncrypted;
180 bool m_cacheDataEncryptedHasBeenSet =
false;
182 bool m_requireAuthorizationForCacheControl;
183 bool m_requireAuthorizationForCacheControlHasBeenSet =
false;
186 bool m_unauthorizedCacheControlHeaderStrategyHasBeenSet =
false;
void SetCachingEnabled(bool value)
void SetUnauthorizedCacheControlHeaderStrategy(const UnauthorizedCacheControlHeaderStrategy &value)
bool GetMetricsEnabled() const
MethodSetting & WithThrottlingRateLimit(double value)
AWS_APIGATEWAY_API MethodSetting()
bool ThrottlingBurstLimitHasBeenSet() const
bool GetRequireAuthorizationForCacheControl() const
MethodSetting & WithCachingEnabled(bool value)
const UnauthorizedCacheControlHeaderStrategy & GetUnauthorizedCacheControlHeaderStrategy() const
bool GetDataTraceEnabled() const
void SetRequireAuthorizationForCacheControl(bool value)
void SetMetricsEnabled(bool value)
bool ThrottlingRateLimitHasBeenSet() const
void SetDataTraceEnabled(bool value)
int GetCacheTtlInSeconds() const
MethodSetting & WithLoggingLevel(const Aws::String &value)
bool LoggingLevelHasBeenSet() const
MethodSetting & WithThrottlingBurstLimit(int value)
int GetThrottlingBurstLimit() const
bool CacheTtlInSecondsHasBeenSet() const
MethodSetting & WithMetricsEnabled(bool value)
void SetCacheTtlInSeconds(int value)
void SetThrottlingRateLimit(double value)
MethodSetting & WithDataTraceEnabled(bool value)
bool CachingEnabledHasBeenSet() const
const Aws::String & GetLoggingLevel() const
MethodSetting & WithUnauthorizedCacheControlHeaderStrategy(UnauthorizedCacheControlHeaderStrategy &&value)
MethodSetting & WithLoggingLevel(const char *value)
MethodSetting & WithCacheTtlInSeconds(int value)
double GetThrottlingRateLimit() const
void SetLoggingLevel(Aws::String &&value)
void SetThrottlingBurstLimit(int value)
void SetCacheDataEncrypted(bool value)
void SetLoggingLevel(const char *value)
MethodSetting & WithRequireAuthorizationForCacheControl(bool value)
void SetUnauthorizedCacheControlHeaderStrategy(UnauthorizedCacheControlHeaderStrategy &&value)
AWS_APIGATEWAY_API MethodSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
bool RequireAuthorizationForCacheControlHasBeenSet() const
void SetLoggingLevel(const Aws::String &value)
bool UnauthorizedCacheControlHeaderStrategyHasBeenSet() const
MethodSetting & WithUnauthorizedCacheControlHeaderStrategy(const UnauthorizedCacheControlHeaderStrategy &value)
bool GetCacheDataEncrypted() const
bool DataTraceEnabledHasBeenSet() const
bool MetricsEnabledHasBeenSet() const
MethodSetting & WithLoggingLevel(Aws::String &&value)
AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APIGATEWAY_API MethodSetting(Aws::Utils::Json::JsonView jsonValue)
MethodSetting & WithCacheDataEncrypted(bool value)
bool CacheDataEncryptedHasBeenSet() const
bool GetCachingEnabled() const
UnauthorizedCacheControlHeaderStrategy
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue