AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
34
35
37
38 inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
39 inline void SetGatewayARN(const Aws::String& value) { m_gatewayARN = value; }
40 inline void SetGatewayARN(Aws::String&& value) { m_gatewayARN = std::move(value); }
41 inline void SetGatewayARN(const char* value) { m_gatewayARN.assign(value); }
42 inline DescribeUploadBufferResult& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
43 inline DescribeUploadBufferResult& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
44 inline DescribeUploadBufferResult& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
46
48
54 inline const Aws::Vector<Aws::String>& GetDiskIds() const{ return m_diskIds; }
55 inline void SetDiskIds(const Aws::Vector<Aws::String>& value) { m_diskIds = value; }
56 inline void SetDiskIds(Aws::Vector<Aws::String>&& value) { m_diskIds = std::move(value); }
57 inline DescribeUploadBufferResult& WithDiskIds(const Aws::Vector<Aws::String>& value) { SetDiskIds(value); return *this;}
58 inline DescribeUploadBufferResult& WithDiskIds(Aws::Vector<Aws::String>&& value) { SetDiskIds(std::move(value)); return *this;}
59 inline DescribeUploadBufferResult& AddDiskIds(const Aws::String& value) { m_diskIds.push_back(value); return *this; }
60 inline DescribeUploadBufferResult& AddDiskIds(Aws::String&& value) { m_diskIds.push_back(std::move(value)); return *this; }
61 inline DescribeUploadBufferResult& AddDiskIds(const char* value) { m_diskIds.push_back(value); return *this; }
63
65
68 inline long long GetUploadBufferUsedInBytes() const{ return m_uploadBufferUsedInBytes; }
69 inline void SetUploadBufferUsedInBytes(long long value) { m_uploadBufferUsedInBytes = value; }
72
74
77 inline long long GetUploadBufferAllocatedInBytes() const{ return m_uploadBufferAllocatedInBytes; }
78 inline void SetUploadBufferAllocatedInBytes(long long value) { m_uploadBufferAllocatedInBytes = value; }
81
83
84 inline const Aws::String& GetRequestId() const{ return m_requestId; }
85 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
86 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
87 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
88 inline DescribeUploadBufferResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
89 inline DescribeUploadBufferResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
90 inline DescribeUploadBufferResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
92 private:
93
94 Aws::String m_gatewayARN;
95
97
98 long long m_uploadBufferUsedInBytes;
99
100 long long m_uploadBufferAllocatedInBytes;
101
102 Aws::String m_requestId;
103 };
104
105} // namespace Model
106} // namespace StorageGateway
107} // namespace Aws
DescribeUploadBufferResult & WithGatewayARN(const Aws::String &value)
DescribeUploadBufferResult & AddDiskIds(const Aws::String &value)
DescribeUploadBufferResult & WithRequestId(Aws::String &&value)
DescribeUploadBufferResult & WithDiskIds(const Aws::Vector< Aws::String > &value)
DescribeUploadBufferResult & AddDiskIds(const char *value)
DescribeUploadBufferResult & WithUploadBufferUsedInBytes(long long value)
DescribeUploadBufferResult & WithRequestId(const Aws::String &value)
AWS_STORAGEGATEWAY_API DescribeUploadBufferResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeUploadBufferResult & WithGatewayARN(const char *value)
DescribeUploadBufferResult & WithGatewayARN(Aws::String &&value)
AWS_STORAGEGATEWAY_API DescribeUploadBufferResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeUploadBufferResult & WithDiskIds(Aws::Vector< Aws::String > &&value)
void SetDiskIds(const Aws::Vector< Aws::String > &value)
DescribeUploadBufferResult & AddDiskIds(Aws::String &&value)
DescribeUploadBufferResult & WithRequestId(const char *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