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>
54 template <
typename DiskIdsT = Aws::Vector<Aws::String>>
56 m_diskIdsHasBeenSet =
true;
57 m_diskIds = std::forward<DiskIdsT>(value);
59 template <
typename DiskIdsT = Aws::Vector<Aws::String>>
64 template <
typename DiskIdsT = Aws::String>
66 m_diskIdsHasBeenSet =
true;
67 m_diskIds.emplace_back(std::forward<DiskIdsT>(value));
78 m_uploadBufferUsedInBytesHasBeenSet =
true;
79 m_uploadBufferUsedInBytes = value;
93 m_uploadBufferAllocatedInBytesHasBeenSet =
true;
94 m_uploadBufferAllocatedInBytes = value;
105 template <
typename RequestIdT = Aws::String>
107 m_requestIdHasBeenSet =
true;
108 m_requestId = std::forward<RequestIdT>(value);
110 template <
typename RequestIdT = Aws::String>
123 long long m_uploadBufferUsedInBytes{0};
125 long long m_uploadBufferAllocatedInBytes{0};
129 bool m_gatewayARNHasBeenSet =
false;
130 bool m_diskIdsHasBeenSet =
false;
131 bool m_uploadBufferUsedInBytesHasBeenSet =
false;
132 bool m_uploadBufferAllocatedInBytesHasBeenSet =
false;
133 bool m_requestIdHasBeenSet =
false;
DescribeUploadBufferResult & WithDiskIds(DiskIdsT &&value)
const Aws::String & GetGatewayARN() const
void SetDiskIds(DiskIdsT &&value)
DescribeUploadBufferResult & WithUploadBufferUsedInBytes(long long value)
long long GetUploadBufferUsedInBytes() const
DescribeUploadBufferResult & WithGatewayARN(GatewayARNT &&value)
DescribeUploadBufferResult & AddDiskIds(DiskIdsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetUploadBufferUsedInBytes(long long value)
AWS_STORAGEGATEWAY_API DescribeUploadBufferResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_STORAGEGATEWAY_API DescribeUploadBufferResult()=default
void SetUploadBufferAllocatedInBytes(long long value)
const Aws::String & GetRequestId() const
AWS_STORAGEGATEWAY_API DescribeUploadBufferResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeUploadBufferResult & WithRequestId(RequestIdT &&value)
long long GetUploadBufferAllocatedInBytes() const
DescribeUploadBufferResult & WithUploadBufferAllocatedInBytes(long long value)
const Aws::Vector< Aws::String > & GetDiskIds() const
void SetRequestId(RequestIdT &&value)
void SetGatewayARN(GatewayARNT &&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