7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/appsync/model/ApiCachingBehavior.h>
9#include <aws/appsync/model/ApiCacheType.h>
10#include <aws/appsync/model/ApiCacheStatus.h>
11#include <aws/appsync/model/CacheHealthMetricsConfig.h>
48 inline long long GetTtl()
const {
return m_ttl; }
50 inline void SetTtl(
long long value) { m_ttlHasBeenSet =
true; m_ttl = value; }
149 bool m_ttlHasBeenSet =
false;
152 bool m_apiCachingBehaviorHasBeenSet =
false;
154 bool m_transitEncryptionEnabled{
false};
155 bool m_transitEncryptionEnabledHasBeenSet =
false;
157 bool m_atRestEncryptionEnabled{
false};
158 bool m_atRestEncryptionEnabledHasBeenSet =
false;
161 bool m_typeHasBeenSet =
false;
164 bool m_statusHasBeenSet =
false;
167 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