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; }
154 bool m_ttlHasBeenSet =
false;
157 bool m_apiCachingBehaviorHasBeenSet =
false;
159 bool m_transitEncryptionEnabled;
160 bool m_transitEncryptionEnabledHasBeenSet =
false;
162 bool m_atRestEncryptionEnabled;
163 bool m_atRestEncryptionEnabledHasBeenSet =
false;
166 bool m_typeHasBeenSet =
false;
169 bool m_statusHasBeenSet =
false;
172 bool m_healthMetricsConfigHasBeenSet =
false;
bool StatusHasBeenSet() const
bool GetTransitEncryptionEnabled() const
ApiCache & WithAtRestEncryptionEnabled(bool value)
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(ApiCacheType &&value)
bool TypeHasBeenSet() const
bool TtlHasBeenSet() const
ApiCache & WithHealthMetricsConfig(const CacheHealthMetricsConfig &value)
bool HealthMetricsConfigHasBeenSet() const
ApiCache & WithTtl(long long value)
ApiCache & WithStatus(ApiCacheStatus &&value)
void SetHealthMetricsConfig(CacheHealthMetricsConfig &&value)
void SetStatus(const ApiCacheStatus &value)
const ApiCacheType & GetType() const
void SetApiCachingBehavior(ApiCachingBehavior &&value)
void SetStatus(ApiCacheStatus &&value)
ApiCache & WithType(const ApiCacheType &value)
ApiCache & WithHealthMetricsConfig(CacheHealthMetricsConfig &&value)
void SetHealthMetricsConfig(const CacheHealthMetricsConfig &value)
bool TransitEncryptionEnabledHasBeenSet() const
void SetAtRestEncryptionEnabled(bool value)
void SetTtl(long long value)
AWS_APPSYNC_API ApiCache()
ApiCache & WithType(ApiCacheType &&value)
AWS_APPSYNC_API ApiCache(Aws::Utils::Json::JsonView jsonValue)
bool GetAtRestEncryptionEnabled() const
bool AtRestEncryptionEnabledHasBeenSet() const
ApiCache & WithTransitEncryptionEnabled(bool value)
bool ApiCachingBehaviorHasBeenSet() const
void SetTransitEncryptionEnabled(bool value)
const CacheHealthMetricsConfig & GetHealthMetricsConfig() const
void SetApiCachingBehavior(const ApiCachingBehavior &value)
ApiCache & WithApiCachingBehavior(const ApiCachingBehavior &value)
ApiCache & WithApiCachingBehavior(ApiCachingBehavior &&value)
const ApiCachingBehavior & GetApiCachingBehavior() const
AWS_APPSYNC_API ApiCache & operator=(Aws::Utils::Json::JsonView jsonValue)
ApiCache & WithStatus(const ApiCacheStatus &value)
const ApiCacheStatus & GetStatus() const
void SetType(const ApiCacheType &value)
Aws::Utils::Json::JsonValue JsonValue