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; }
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>
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; }
154 bool m_metricsEnabled{
false};
155 bool m_metricsEnabledHasBeenSet =
false;
158 bool m_loggingLevelHasBeenSet =
false;
160 bool m_dataTraceEnabled{
false};
161 bool m_dataTraceEnabledHasBeenSet =
false;
163 int m_throttlingBurstLimit{0};
164 bool m_throttlingBurstLimitHasBeenSet =
false;
166 double m_throttlingRateLimit{0.0};
167 bool m_throttlingRateLimitHasBeenSet =
false;
169 bool m_cachingEnabled{
false};
170 bool m_cachingEnabledHasBeenSet =
false;
172 int m_cacheTtlInSeconds{0};
173 bool m_cacheTtlInSecondsHasBeenSet =
false;
175 bool m_cacheDataEncrypted{
false};
176 bool m_cacheDataEncryptedHasBeenSet =
false;
178 bool m_requireAuthorizationForCacheControl{
false};
179 bool m_requireAuthorizationForCacheControlHasBeenSet =
false;
182 bool m_unauthorizedCacheControlHeaderStrategyHasBeenSet =
false;
void SetCachingEnabled(bool value)
bool GetMetricsEnabled() const
MethodSetting & WithThrottlingRateLimit(double value)
AWS_APIGATEWAY_API MethodSetting()=default
UnauthorizedCacheControlHeaderStrategy GetUnauthorizedCacheControlHeaderStrategy() const
MethodSetting & WithLoggingLevel(LoggingLevelT &&value)
bool ThrottlingBurstLimitHasBeenSet() const
bool GetRequireAuthorizationForCacheControl() const
MethodSetting & WithCachingEnabled(bool value)
bool GetDataTraceEnabled() const
void SetRequireAuthorizationForCacheControl(bool value)
void SetMetricsEnabled(bool value)
bool ThrottlingRateLimitHasBeenSet() const
void SetDataTraceEnabled(bool value)
void SetLoggingLevel(LoggingLevelT &&value)
int GetCacheTtlInSeconds() const
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 & WithCacheTtlInSeconds(int value)
double GetThrottlingRateLimit() const
void SetUnauthorizedCacheControlHeaderStrategy(UnauthorizedCacheControlHeaderStrategy value)
void SetThrottlingBurstLimit(int value)
void SetCacheDataEncrypted(bool value)
MethodSetting & WithRequireAuthorizationForCacheControl(bool value)
AWS_APIGATEWAY_API MethodSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
bool RequireAuthorizationForCacheControlHasBeenSet() const
bool UnauthorizedCacheControlHeaderStrategyHasBeenSet() const
bool GetCacheDataEncrypted() const
bool DataTraceEnabledHasBeenSet() const
bool MetricsEnabledHasBeenSet() const
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
MethodSetting & WithUnauthorizedCacheControlHeaderStrategy(UnauthorizedCacheControlHeaderStrategy value)
UnauthorizedCacheControlHeaderStrategy
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue