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>
48 template<
typename ApiIdT = Aws::String>
49 void SetApiId(ApiIdT&& value) { m_apiIdHasBeenSet =
true; m_apiId = std::forward<ApiIdT>(value); }
50 template<
typename ApiIdT = Aws::String>
59 inline long long GetTtl()
const {
return m_ttl; }
61 inline void SetTtl(
long long value) { m_ttlHasBeenSet =
true; m_ttl = value; }
123 bool m_apiIdHasBeenSet =
false;
126 bool m_ttlHasBeenSet =
false;
129 bool m_apiCachingBehaviorHasBeenSet =
false;
132 bool m_typeHasBeenSet =
false;
135 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