7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/storagegateway/StorageGateway_EXPORTS.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace StorageGateway {
34 template <
typename GatewayARNT = Aws::String>
36 m_gatewayARNHasBeenSet =
true;
37 m_gatewayARN = std::forward<GatewayARNT>(value);
39 template <
typename GatewayARNT = Aws::String>
53 template <
typename DiskIdsT = Aws::Vector<Aws::String>>
55 m_diskIdsHasBeenSet =
true;
56 m_diskIds = std::forward<DiskIdsT>(value);
58 template <
typename DiskIdsT = Aws::Vector<Aws::String>>
63 template <
typename DiskIdsT = Aws::String>
65 m_diskIdsHasBeenSet =
true;
66 m_diskIds.emplace_back(std::forward<DiskIdsT>(value));
77 m_cacheAllocatedInBytesHasBeenSet =
true;
78 m_cacheAllocatedInBytes = value;
94 m_cacheUsedPercentageHasBeenSet =
true;
95 m_cacheUsedPercentage = value;
111 m_cacheDirtyPercentageHasBeenSet =
true;
112 m_cacheDirtyPercentage = value;
127 m_cacheHitPercentageHasBeenSet =
true;
128 m_cacheHitPercentage = value;
143 m_cacheMissPercentageHasBeenSet =
true;
144 m_cacheMissPercentage = value;
155 template <
typename RequestIdT = Aws::String>
157 m_requestIdHasBeenSet =
true;
158 m_requestId = std::forward<RequestIdT>(value);
160 template <
typename RequestIdT = Aws::String>
173 long long m_cacheAllocatedInBytes{0};
175 double m_cacheUsedPercentage{0.0};
177 double m_cacheDirtyPercentage{0.0};
179 double m_cacheHitPercentage{0.0};
181 double m_cacheMissPercentage{0.0};
185 bool m_gatewayARNHasBeenSet =
false;
186 bool m_diskIdsHasBeenSet =
false;
187 bool m_cacheAllocatedInBytesHasBeenSet =
false;
188 bool m_cacheUsedPercentageHasBeenSet =
false;
189 bool m_cacheDirtyPercentageHasBeenSet =
false;
190 bool m_cacheHitPercentageHasBeenSet =
false;
191 bool m_cacheMissPercentageHasBeenSet =
false;
192 bool m_requestIdHasBeenSet =
false;
DescribeCacheResult & WithCacheAllocatedInBytes(long long value)
const Aws::String & GetRequestId() const
long long GetCacheAllocatedInBytes() const
Aws::Http::HttpResponseCode GetHttpResponseCode() 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