7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
14template<
typename RESULT_TYPE>
15class AmazonWebServiceResult;
24namespace StorageGateway
39 template<
typename GatewayARNT = Aws::String>
40 void SetGatewayARN(GatewayARNT&& value) { m_gatewayARNHasBeenSet =
true; m_gatewayARN = std::forward<GatewayARNT>(value); }
41 template<
typename GatewayARNT = Aws::String>
52 template<
typename DiskIdsT = Aws::Vector<Aws::String>>
53 void SetDiskIds(DiskIdsT&& value) { m_diskIdsHasBeenSet =
true; m_diskIds = std::forward<DiskIdsT>(value); }
54 template<
typename DiskIdsT = Aws::Vector<Aws::String>>
56 template<
typename DiskIdsT = Aws::String>
65 inline void SetCacheAllocatedInBytes(
long long value) { m_cacheAllocatedInBytesHasBeenSet =
true; m_cacheAllocatedInBytes = value; }
76 inline void SetCacheUsedPercentage(
double value) { m_cacheUsedPercentageHasBeenSet =
true; m_cacheUsedPercentage = value; }
87 inline void SetCacheDirtyPercentage(
double value) { m_cacheDirtyPercentageHasBeenSet =
true; m_cacheDirtyPercentage = value; }
97 inline void SetCacheHitPercentage(
double value) { m_cacheHitPercentageHasBeenSet =
true; m_cacheHitPercentage = value; }
107 inline void SetCacheMissPercentage(
double value) { m_cacheMissPercentageHasBeenSet =
true; m_cacheMissPercentage = value; }
114 template<
typename RequestIdT = Aws::String>
115 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
116 template<
typename RequestIdT = Aws::String>
122 bool m_gatewayARNHasBeenSet =
false;
125 bool m_diskIdsHasBeenSet =
false;
127 long long m_cacheAllocatedInBytes{0};
128 bool m_cacheAllocatedInBytesHasBeenSet =
false;
130 double m_cacheUsedPercentage{0.0};
131 bool m_cacheUsedPercentageHasBeenSet =
false;
133 double m_cacheDirtyPercentage{0.0};
134 bool m_cacheDirtyPercentageHasBeenSet =
false;
136 double m_cacheHitPercentage{0.0};
137 bool m_cacheHitPercentageHasBeenSet =
false;
139 double m_cacheMissPercentage{0.0};
140 bool m_cacheMissPercentageHasBeenSet =
false;
143 bool m_requestIdHasBeenSet =
false;
DescribeCacheResult & WithCacheAllocatedInBytes(long long value)
const Aws::String & GetRequestId() const
long long GetCacheAllocatedInBytes() const
void SetCacheAllocatedInBytes(long long value)
DescribeCacheResult & WithCacheUsedPercentage(double value)
double GetCacheDirtyPercentage() const
void SetCacheHitPercentage(double value)
DescribeCacheResult & WithGatewayARN(GatewayARNT &&value)
DescribeCacheResult & WithRequestId(RequestIdT &&value)
double GetCacheUsedPercentage() const
const Aws::String & GetGatewayARN() const
DescribeCacheResult & AddDiskIds(DiskIdsT &&value)
AWS_STORAGEGATEWAY_API DescribeCacheResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
DescribeCacheResult & WithDiskIds(DiskIdsT &&value)
void SetCacheDirtyPercentage(double value)
void SetCacheUsedPercentage(double value)
void SetDiskIds(DiskIdsT &&value)
AWS_STORAGEGATEWAY_API DescribeCacheResult()=default
const Aws::Vector< Aws::String > & GetDiskIds() const
AWS_STORAGEGATEWAY_API DescribeCacheResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCacheMissPercentage(double value)
DescribeCacheResult & WithCacheHitPercentage(double value)
double GetCacheHitPercentage() const
void SetGatewayARN(GatewayARNT &&value)
double GetCacheMissPercentage() const
DescribeCacheResult & WithCacheMissPercentage(double value)
DescribeCacheResult & WithCacheDirtyPercentage(double value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue