7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/model/UnauthorizedCacheControlHeaderStrategy.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
42 m_metricsEnabledHasBeenSet =
true;
43 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>
83 m_dataTraceEnabledHasBeenSet =
true;
84 m_dataTraceEnabled = value;
99 m_throttlingBurstLimitHasBeenSet =
true;
100 m_throttlingBurstLimit = value;
115 m_throttlingRateLimitHasBeenSet =
true;
116 m_throttlingRateLimit = value;
132 m_cachingEnabledHasBeenSet =
true;
133 m_cachingEnabled = value;
149 m_cacheTtlInSecondsHasBeenSet =
true;
150 m_cacheTtlInSeconds = value;
165 m_cacheDataEncryptedHasBeenSet =
true;
166 m_cacheDataEncrypted = value;
182 m_requireAuthorizationForCacheControlHasBeenSet =
true;
183 m_requireAuthorizationForCacheControl = value;
196 return m_unauthorizedCacheControlHeaderStrategy;
200 m_unauthorizedCacheControlHeaderStrategyHasBeenSet =
true;
201 m_unauthorizedCacheControlHeaderStrategy = value;
209 bool m_metricsEnabled{
false};
213 bool m_dataTraceEnabled{
false};
215 int m_throttlingBurstLimit{0};
217 double m_throttlingRateLimit{0.0};
219 bool m_cachingEnabled{
false};
221 int m_cacheTtlInSeconds{0};
223 bool m_cacheDataEncrypted{
false};
225 bool m_requireAuthorizationForCacheControl{
false};
228 bool m_metricsEnabledHasBeenSet =
false;
229 bool m_loggingLevelHasBeenSet =
false;
230 bool m_dataTraceEnabledHasBeenSet =
false;
231 bool m_throttlingBurstLimitHasBeenSet =
false;
232 bool m_throttlingRateLimitHasBeenSet =
false;
233 bool m_cachingEnabledHasBeenSet =
false;
234 bool m_cacheTtlInSecondsHasBeenSet =
false;
235 bool m_cacheDataEncryptedHasBeenSet =
false;
236 bool m_requireAuthorizationForCacheControlHasBeenSet =
false;
237 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