7#include <aws/appsync/AppSyncRequest.h>
8#include <aws/appsync/AppSync_EXPORTS.h>
9#include <aws/appsync/model/ApiCacheType.h>
10#include <aws/appsync/model/ApiCachingBehavior.h>
11#include <aws/appsync/model/CacheHealthMetricsConfig.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
44 template <
typename ApiIdT = Aws::String>
46 m_apiIdHasBeenSet =
true;
47 m_apiId = std::forward<ApiIdT>(value);
49 template <
typename ApiIdT = Aws::String>
51 SetApiId(std::forward<ApiIdT>(value));
61 inline long long GetTtl()
const {
return m_ttl; }
63 inline void SetTtl(
long long value) {
64 m_ttlHasBeenSet =
true;
85 m_apiCachingBehaviorHasBeenSet =
true;
86 m_apiCachingBehavior = value;
115 m_typeHasBeenSet =
true;
138 m_healthMetricsConfigHasBeenSet =
true;
139 m_healthMetricsConfig = value;
156 bool m_apiIdHasBeenSet =
false;
157 bool m_ttlHasBeenSet =
false;
158 bool m_apiCachingBehaviorHasBeenSet =
false;
159 bool m_typeHasBeenSet =
false;
160 bool m_healthMetricsConfigHasBeenSet =
false;
void SetHealthMetricsConfig(CacheHealthMetricsConfig value)
void SetTtl(long long value)
virtual const char * GetServiceRequestName() const override
bool TtlHasBeenSet() const
void SetType(ApiCacheType value)
bool ApiIdHasBeenSet() const
UpdateApiCacheRequest & WithApiCachingBehavior(ApiCachingBehavior value)
UpdateApiCacheRequest & WithApiId(ApiIdT &&value)
CacheHealthMetricsConfig GetHealthMetricsConfig() const
AWS_APPSYNC_API Aws::String SerializePayload() const override
bool HealthMetricsConfigHasBeenSet() const
void SetApiId(ApiIdT &&value)
UpdateApiCacheRequest & WithHealthMetricsConfig(CacheHealthMetricsConfig value)
ApiCacheType GetType() const
UpdateApiCacheRequest & WithType(ApiCacheType value)
ApiCachingBehavior GetApiCachingBehavior() const
const Aws::String & GetApiId() const
AWS_APPSYNC_API UpdateApiCacheRequest()=default
UpdateApiCacheRequest & WithTtl(long long value)
bool TypeHasBeenSet() const
void SetApiCachingBehavior(ApiCachingBehavior value)
bool ApiCachingBehaviorHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String