7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/appsync/model/ApiCacheStatus.h>
9#include <aws/appsync/model/ApiCacheType.h>
10#include <aws/appsync/model/ApiCachingBehavior.h>
11#include <aws/appsync/model/CacheHealthMetricsConfig.h>
42 inline long long GetTtl()
const {
return m_ttl; }
44 inline void SetTtl(
long long value) {
45 m_ttlHasBeenSet =
true;
66 m_apiCachingBehaviorHasBeenSet =
true;
67 m_apiCachingBehavior = value;
83 m_transitEncryptionEnabledHasBeenSet =
true;
84 m_transitEncryptionEnabled = value;
100 m_atRestEncryptionEnabledHasBeenSet =
true;
101 m_atRestEncryptionEnabled = value;
130 m_typeHasBeenSet =
true;
151 m_statusHasBeenSet =
true;
174 m_healthMetricsConfigHasBeenSet =
true;
175 m_healthMetricsConfig = value;
187 bool m_transitEncryptionEnabled{
false};
189 bool m_atRestEncryptionEnabled{
false};
196 bool m_ttlHasBeenSet =
false;
197 bool m_apiCachingBehaviorHasBeenSet =
false;
198 bool m_transitEncryptionEnabledHasBeenSet =
false;
199 bool m_atRestEncryptionEnabledHasBeenSet =
false;
200 bool m_typeHasBeenSet =
false;
201 bool m_statusHasBeenSet =
false;
202 bool m_healthMetricsConfigHasBeenSet =
false;
CacheHealthMetricsConfig GetHealthMetricsConfig() const
bool StatusHasBeenSet() const
ApiCache & WithStatus(ApiCacheStatus value)
bool GetTransitEncryptionEnabled() const
void SetHealthMetricsConfig(CacheHealthMetricsConfig value)
ApiCache & WithAtRestEncryptionEnabled(bool value)
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
bool TypeHasBeenSet() const
bool TtlHasBeenSet() const
bool HealthMetricsConfigHasBeenSet() const
ApiCacheType GetType() const
ApiCache & WithTtl(long long value)
ApiCache & WithHealthMetricsConfig(CacheHealthMetricsConfig value)
void SetApiCachingBehavior(ApiCachingBehavior value)
bool TransitEncryptionEnabledHasBeenSet() const
void SetAtRestEncryptionEnabled(bool value)
ApiCache & WithApiCachingBehavior(ApiCachingBehavior value)
void SetTtl(long long value)
AWS_APPSYNC_API ApiCache(Aws::Utils::Json::JsonView jsonValue)
void SetType(ApiCacheType value)
AWS_APPSYNC_API ApiCache()=default
bool GetAtRestEncryptionEnabled() const
bool AtRestEncryptionEnabledHasBeenSet() const
ApiCache & WithTransitEncryptionEnabled(bool value)
bool ApiCachingBehaviorHasBeenSet() const
void SetTransitEncryptionEnabled(bool value)
ApiCacheStatus GetStatus() const
AWS_APPSYNC_API ApiCache & operator=(Aws::Utils::Json::JsonView jsonValue)
ApiCachingBehavior GetApiCachingBehavior() const
void SetStatus(ApiCacheStatus value)
ApiCache & WithType(ApiCacheType value)
Aws::Utils::Json::JsonValue JsonValue