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;
const Aws::String & GetApiId() const
CreateApiCacheRequest & WithHealthMetricsConfig(CacheHealthMetricsConfig value)
CreateApiCacheRequest & WithApiId(ApiIdT &&value)
bool ApiCachingBehaviorHasBeenSet() const
void SetHealthMetricsConfig(CacheHealthMetricsConfig value)
void SetType(ApiCacheType value)
virtual const char * GetServiceRequestName() const override
CreateApiCacheRequest & WithApiCachingBehavior(ApiCachingBehavior value)
bool ApiIdHasBeenSet() const
bool TypeHasBeenSet() const
AWS_APPSYNC_API CreateApiCacheRequest()=default
bool HealthMetricsConfigHasBeenSet() const
CreateApiCacheRequest & WithTtl(long long value)
bool TtlHasBeenSet() const
void SetTtl(long long value)
AWS_APPSYNC_API Aws::String SerializePayload() const override
CacheHealthMetricsConfig GetHealthMetricsConfig() const
CreateApiCacheRequest & WithType(ApiCacheType value)
void SetApiCachingBehavior(ApiCachingBehavior value)
ApiCachingBehavior GetApiCachingBehavior() const
ApiCacheType GetType() const
void SetApiId(ApiIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String