7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/appsync/AppSyncRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/appsync/model/ApiCachingBehavior.h>
11#include <aws/appsync/model/ApiCacheType.h>
12#include <aws/appsync/model/CacheHealthMetricsConfig.h>
50 inline void SetApiId(
const char* value) { m_apiIdHasBeenSet =
true; m_apiId.assign(value); }
61 inline long long GetTtl()
const{
return m_ttl; }
63 inline void SetTtl(
long long value) { m_ttlHasBeenSet =
true; m_ttl = value; }
150 bool m_apiIdHasBeenSet =
false;
153 bool m_ttlHasBeenSet =
false;
155 bool m_transitEncryptionEnabled;
156 bool m_transitEncryptionEnabledHasBeenSet =
false;
158 bool m_atRestEncryptionEnabled;
159 bool m_atRestEncryptionEnabledHasBeenSet =
false;
162 bool m_apiCachingBehaviorHasBeenSet =
false;
165 bool m_typeHasBeenSet =
false;
168 bool m_healthMetricsConfigHasBeenSet =
false;
void SetType(ApiCacheType &&value)
const Aws::String & GetApiId() const
bool GetTransitEncryptionEnabled() const
bool TransitEncryptionEnabledHasBeenSet() const
void SetApiId(const char *value)
bool AtRestEncryptionEnabledHasBeenSet() const
CreateApiCacheRequest & WithApiCachingBehavior(const ApiCachingBehavior &value)
bool ApiCachingBehaviorHasBeenSet() const
void SetAtRestEncryptionEnabled(bool value)
virtual const char * GetServiceRequestName() const override
CreateApiCacheRequest & WithHealthMetricsConfig(const CacheHealthMetricsConfig &value)
bool ApiIdHasBeenSet() const
void SetApiCachingBehavior(ApiCachingBehavior &&value)
const CacheHealthMetricsConfig & GetHealthMetricsConfig() const
bool TypeHasBeenSet() const
const ApiCacheType & GetType() const
bool HealthMetricsConfigHasBeenSet() const
bool GetAtRestEncryptionEnabled() const
void SetApiId(Aws::String &&value)
CreateApiCacheRequest & WithApiId(const Aws::String &value)
void SetTransitEncryptionEnabled(bool value)
void SetApiCachingBehavior(const ApiCachingBehavior &value)
CreateApiCacheRequest & WithTtl(long long value)
bool TtlHasBeenSet() const
CreateApiCacheRequest & WithApiId(const char *value)
CreateApiCacheRequest & WithAtRestEncryptionEnabled(bool value)
const ApiCachingBehavior & GetApiCachingBehavior() const
CreateApiCacheRequest & WithType(ApiCacheType &&value)
void SetTtl(long long value)
AWS_APPSYNC_API Aws::String SerializePayload() const override
CreateApiCacheRequest & WithApiCachingBehavior(ApiCachingBehavior &&value)
void SetHealthMetricsConfig(const CacheHealthMetricsConfig &value)
AWS_APPSYNC_API CreateApiCacheRequest()
CreateApiCacheRequest & WithType(const ApiCacheType &value)
CreateApiCacheRequest & WithTransitEncryptionEnabled(bool value)
void SetHealthMetricsConfig(CacheHealthMetricsConfig &&value)
CreateApiCacheRequest & WithHealthMetricsConfig(CacheHealthMetricsConfig &&value)
void SetType(const ApiCacheType &value)
void SetApiId(const Aws::String &value)
CreateApiCacheRequest & WithApiId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String