7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
47 inline long long GetTtl()
const {
return m_ttl; }
49 inline void SetTtl(
long long value) { m_ttlHasBeenSet =
true; m_ttl = value; }
61 template<
typename CachingKeysT = Aws::Vector<Aws::String>>
62 void SetCachingKeys(CachingKeysT&& value) { m_cachingKeysHasBeenSet =
true; m_cachingKeys = std::forward<CachingKeysT>(value); }
63 template<
typename CachingKeysT = Aws::Vector<Aws::String>>
65 template<
typename CachingKeysT = Aws::String>
66 CachingConfig&
AddCachingKeys(CachingKeysT&& value) { m_cachingKeysHasBeenSet =
true; m_cachingKeys.emplace_back(std::forward<CachingKeysT>(value));
return *
this; }
71 bool m_ttlHasBeenSet =
false;
74 bool m_cachingKeysHasBeenSet =
false;
void SetTtl(long long value)
bool TtlHasBeenSet() const
AWS_APPSYNC_API CachingConfig()=default
CachingConfig & WithCachingKeys(CachingKeysT &&value)
AWS_APPSYNC_API CachingConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetCachingKeys() const
bool CachingKeysHasBeenSet() const
void SetCachingKeys(CachingKeysT &&value)
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
CachingConfig & WithTtl(long long value)
AWS_APPSYNC_API CachingConfig(Aws::Utils::Json::JsonView jsonValue)
CachingConfig & AddCachingKeys(CachingKeysT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue