AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeUploadBufferResult.h
1
6#pragma once
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>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace StorageGateway
25{
26namespace Model
27{
29 {
30 public:
31 AWS_STORAGEGATEWAY_API DescribeUploadBufferResult() = default;
34
35
37
38 inline const Aws::String& GetGatewayARN() const { return m_gatewayARN; }
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>
42 DescribeUploadBufferResult& WithGatewayARN(GatewayARNT&& value) { SetGatewayARN(std::forward<GatewayARNT>(value)); return *this;}
44
46
52 inline const Aws::Vector<Aws::String>& GetDiskIds() const { return m_diskIds; }
53 template<typename DiskIdsT = Aws::Vector<Aws::String>>
54 void SetDiskIds(DiskIdsT&& value) { m_diskIdsHasBeenSet = true; m_diskIds = std::forward<DiskIdsT>(value); }
55 template<typename DiskIdsT = Aws::Vector<Aws::String>>
56 DescribeUploadBufferResult& WithDiskIds(DiskIdsT&& value) { SetDiskIds(std::forward<DiskIdsT>(value)); return *this;}
57 template<typename DiskIdsT = Aws::String>
58 DescribeUploadBufferResult& AddDiskIds(DiskIdsT&& value) { m_diskIdsHasBeenSet = true; m_diskIds.emplace_back(std::forward<DiskIdsT>(value)); return *this; }
60
62
65 inline long long GetUploadBufferUsedInBytes() const { return m_uploadBufferUsedInBytes; }
66 inline void SetUploadBufferUsedInBytes(long long value) { m_uploadBufferUsedInBytesHasBeenSet = true; m_uploadBufferUsedInBytes = value; }
69
71
74 inline long long GetUploadBufferAllocatedInBytes() const { return m_uploadBufferAllocatedInBytes; }
75 inline void SetUploadBufferAllocatedInBytes(long long value) { m_uploadBufferAllocatedInBytesHasBeenSet = true; m_uploadBufferAllocatedInBytes = value; }
78
80
81 inline const Aws::String& GetRequestId() const { return m_requestId; }
82 template<typename RequestIdT = Aws::String>
83 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
84 template<typename RequestIdT = Aws::String>
85 DescribeUploadBufferResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
87 private:
88
89 Aws::String m_gatewayARN;
90 bool m_gatewayARNHasBeenSet = false;
91
93 bool m_diskIdsHasBeenSet = false;
94
95 long long m_uploadBufferUsedInBytes{0};
96 bool m_uploadBufferUsedInBytesHasBeenSet = false;
97
98 long long m_uploadBufferAllocatedInBytes{0};
99 bool m_uploadBufferAllocatedInBytesHasBeenSet = false;
100
101 Aws::String m_requestId;
102 bool m_requestIdHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace StorageGateway
107} // namespace Aws
DescribeUploadBufferResult & WithDiskIds(DiskIdsT &&value)
DescribeUploadBufferResult & WithUploadBufferUsedInBytes(long long value)
DescribeUploadBufferResult & WithGatewayARN(GatewayARNT &&value)
DescribeUploadBufferResult & AddDiskIds(DiskIdsT &&value)
AWS_STORAGEGATEWAY_API DescribeUploadBufferResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_STORAGEGATEWAY_API DescribeUploadBufferResult()=default
AWS_STORAGEGATEWAY_API DescribeUploadBufferResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeUploadBufferResult & WithRequestId(RequestIdT &&value)
DescribeUploadBufferResult & WithUploadBufferAllocatedInBytes(long long 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