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; }
128 bool m_apiIdHasBeenSet =
false;
131 bool m_ttlHasBeenSet =
false;
134 bool m_apiCachingBehaviorHasBeenSet =
false;
137 bool m_typeHasBeenSet =
false;
140 bool m_healthMetricsConfigHasBeenSet =
false;
void SetTtl(long long value)
UpdateApiCacheRequest & WithApiId(const Aws::String &value)
void SetHealthMetricsConfig(CacheHealthMetricsConfig &&value)
virtual const char * GetServiceRequestName() const override
UpdateApiCacheRequest & WithApiId(Aws::String &&value)
void SetApiCachingBehavior(ApiCachingBehavior &&value)
UpdateApiCacheRequest & WithApiId(const char *value)
bool TtlHasBeenSet() const
void SetApiId(Aws::String &&value)
void SetType(const ApiCacheType &value)
UpdateApiCacheRequest & WithApiCachingBehavior(const ApiCachingBehavior &value)
bool ApiIdHasBeenSet() const
const ApiCacheType & GetType() const
AWS_APPSYNC_API Aws::String SerializePayload() const override
bool HealthMetricsConfigHasBeenSet() const
void SetApiId(const char *value)
UpdateApiCacheRequest & WithType(ApiCacheType &&value)
AWS_APPSYNC_API UpdateApiCacheRequest()
const Aws::String & GetApiId() const
void SetHealthMetricsConfig(const CacheHealthMetricsConfig &value)
void SetType(ApiCacheType &&value)
void SetApiId(const Aws::String &value)
UpdateApiCacheRequest & WithApiCachingBehavior(ApiCachingBehavior &&value)
const ApiCachingBehavior & GetApiCachingBehavior() const
void SetApiCachingBehavior(const ApiCachingBehavior &value)
UpdateApiCacheRequest & WithHealthMetricsConfig(const CacheHealthMetricsConfig &value)
UpdateApiCacheRequest & WithHealthMetricsConfig(CacheHealthMetricsConfig &&value)
UpdateApiCacheRequest & WithTtl(long long value)
bool TypeHasBeenSet() const
UpdateApiCacheRequest & WithType(const ApiCacheType &value)
const CacheHealthMetricsConfig & GetHealthMetricsConfig() const
bool ApiCachingBehaviorHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String