AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CacheAttributes.h
1
6#pragma once
7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace StorageGateway
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_STORAGEGATEWAY_API CacheAttributes();
34 AWS_STORAGEGATEWAY_API CacheAttributes(Aws::Utils::Json::JsonView jsonValue);
35 AWS_STORAGEGATEWAY_API CacheAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
47 inline int GetCacheStaleTimeoutInSeconds() const{ return m_cacheStaleTimeoutInSeconds; }
48 inline bool CacheStaleTimeoutInSecondsHasBeenSet() const { return m_cacheStaleTimeoutInSecondsHasBeenSet; }
49 inline void SetCacheStaleTimeoutInSeconds(int value) { m_cacheStaleTimeoutInSecondsHasBeenSet = true; m_cacheStaleTimeoutInSeconds = value; }
52 private:
53
54 int m_cacheStaleTimeoutInSeconds;
55 bool m_cacheStaleTimeoutInSecondsHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace StorageGateway
60} // namespace Aws
AWS_STORAGEGATEWAY_API CacheAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_STORAGEGATEWAY_API CacheAttributes()
CacheAttributes & WithCacheStaleTimeoutInSeconds(int value)
AWS_STORAGEGATEWAY_API CacheAttributes(Aws::Utils::Json::JsonView jsonValue)
AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue