AWS SDK for C++  1.9.132
AWS SDK for C++
DescribeUploadBufferResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace StorageGateway
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
36 
37  inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
38 
39 
40  inline void SetGatewayARN(const Aws::String& value) { m_gatewayARN = value; }
41 
42 
43  inline void SetGatewayARN(Aws::String&& value) { m_gatewayARN = std::move(value); }
44 
45 
46  inline void SetGatewayARN(const char* value) { m_gatewayARN.assign(value); }
47 
48 
49  inline DescribeUploadBufferResult& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
50 
51 
52  inline DescribeUploadBufferResult& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
53 
54 
55  inline DescribeUploadBufferResult& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
56 
57 
64  inline const Aws::Vector<Aws::String>& GetDiskIds() const{ return m_diskIds; }
65 
72  inline void SetDiskIds(const Aws::Vector<Aws::String>& value) { m_diskIds = value; }
73 
80  inline void SetDiskIds(Aws::Vector<Aws::String>&& value) { m_diskIds = std::move(value); }
81 
88  inline DescribeUploadBufferResult& WithDiskIds(const Aws::Vector<Aws::String>& value) { SetDiskIds(value); return *this;}
89 
96  inline DescribeUploadBufferResult& WithDiskIds(Aws::Vector<Aws::String>&& value) { SetDiskIds(std::move(value)); return *this;}
97 
104  inline DescribeUploadBufferResult& AddDiskIds(const Aws::String& value) { m_diskIds.push_back(value); return *this; }
105 
112  inline DescribeUploadBufferResult& AddDiskIds(Aws::String&& value) { m_diskIds.push_back(std::move(value)); return *this; }
113 
120  inline DescribeUploadBufferResult& AddDiskIds(const char* value) { m_diskIds.push_back(value); return *this; }
121 
122 
126  inline long long GetUploadBufferUsedInBytes() const{ return m_uploadBufferUsedInBytes; }
127 
131  inline void SetUploadBufferUsedInBytes(long long value) { m_uploadBufferUsedInBytes = value; }
132 
136  inline DescribeUploadBufferResult& WithUploadBufferUsedInBytes(long long value) { SetUploadBufferUsedInBytes(value); return *this;}
137 
138 
142  inline long long GetUploadBufferAllocatedInBytes() const{ return m_uploadBufferAllocatedInBytes; }
143 
147  inline void SetUploadBufferAllocatedInBytes(long long value) { m_uploadBufferAllocatedInBytes = value; }
148 
152  inline DescribeUploadBufferResult& WithUploadBufferAllocatedInBytes(long long value) { SetUploadBufferAllocatedInBytes(value); return *this;}
153 
154  private:
155 
156  Aws::String m_gatewayARN;
157 
158  Aws::Vector<Aws::String> m_diskIds;
159 
160  long long m_uploadBufferUsedInBytes;
161 
162  long long m_uploadBufferAllocatedInBytes;
163  };
164 
165 } // namespace Model
166 } // namespace StorageGateway
167 } // namespace Aws
Aws::StorageGateway::Model::DescribeUploadBufferResult::SetUploadBufferAllocatedInBytes
void SetUploadBufferAllocatedInBytes(long long value)
Definition: DescribeUploadBufferResult.h:147
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::StorageGateway::Model::DescribeUploadBufferResult::SetGatewayARN
void SetGatewayARN(Aws::String &&value)
Definition: DescribeUploadBufferResult.h:43
Aws::StorageGateway::Model::DescribeUploadBufferResult::operator=
DescribeUploadBufferResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::DescribeUploadBufferResult::DescribeUploadBufferResult
DescribeUploadBufferResult()
Aws::StorageGateway::Model::DescribeUploadBufferResult::SetDiskIds
void SetDiskIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeUploadBufferResult.h:80
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::StorageGateway::Model::DescribeUploadBufferResult::AddDiskIds
DescribeUploadBufferResult & AddDiskIds(const char *value)
Definition: DescribeUploadBufferResult.h:120
Aws::StorageGateway::Model::DescribeUploadBufferResult::WithGatewayARN
DescribeUploadBufferResult & WithGatewayARN(const char *value)
Definition: DescribeUploadBufferResult.h:55
AWSVector.h
Aws::StorageGateway::Model::DescribeUploadBufferResult
Definition: DescribeUploadBufferResult.h:29
Aws::StorageGateway::Model::DescribeUploadBufferResult::AddDiskIds
DescribeUploadBufferResult & AddDiskIds(const Aws::String &value)
Definition: DescribeUploadBufferResult.h:104
Aws::StorageGateway::Model::DescribeUploadBufferResult::GetUploadBufferUsedInBytes
long long GetUploadBufferUsedInBytes() const
Definition: DescribeUploadBufferResult.h:126
Aws::StorageGateway::Model::DescribeUploadBufferResult::WithDiskIds
DescribeUploadBufferResult & WithDiskIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeUploadBufferResult.h:96
Aws::StorageGateway::Model::DescribeUploadBufferResult::WithDiskIds
DescribeUploadBufferResult & WithDiskIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeUploadBufferResult.h:88
Aws::StorageGateway::Model::DescribeUploadBufferResult::AddDiskIds
DescribeUploadBufferResult & AddDiskIds(Aws::String &&value)
Definition: DescribeUploadBufferResult.h:112
Aws::StorageGateway::Model::DescribeUploadBufferResult::SetDiskIds
void SetDiskIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeUploadBufferResult.h:72
Aws::StorageGateway::Model::DescribeUploadBufferResult::WithUploadBufferAllocatedInBytes
DescribeUploadBufferResult & WithUploadBufferAllocatedInBytes(long long value)
Definition: DescribeUploadBufferResult.h:152
Aws::StorageGateway::Model::DescribeUploadBufferResult::GetDiskIds
const Aws::Vector< Aws::String > & GetDiskIds() const
Definition: DescribeUploadBufferResult.h:64
Aws::StorageGateway::Model::DescribeUploadBufferResult::WithGatewayARN
DescribeUploadBufferResult & WithGatewayARN(Aws::String &&value)
Definition: DescribeUploadBufferResult.h:52
Aws::StorageGateway::Model::DescribeUploadBufferResult::SetGatewayARN
void SetGatewayARN(const char *value)
Definition: DescribeUploadBufferResult.h:46
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::DescribeUploadBufferResult::GetGatewayARN
const Aws::String & GetGatewayARN() const
Definition: DescribeUploadBufferResult.h:37
Aws::StorageGateway::Model::DescribeUploadBufferResult::DescribeUploadBufferResult
DescribeUploadBufferResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::DescribeUploadBufferResult::GetUploadBufferAllocatedInBytes
long long GetUploadBufferAllocatedInBytes() const
Definition: DescribeUploadBufferResult.h:142
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::DescribeUploadBufferResult::WithUploadBufferUsedInBytes
DescribeUploadBufferResult & WithUploadBufferUsedInBytes(long long value)
Definition: DescribeUploadBufferResult.h:136
Aws::StorageGateway::Model::DescribeUploadBufferResult::SetGatewayARN
void SetGatewayARN(const Aws::String &value)
Definition: DescribeUploadBufferResult.h:40
Aws::StorageGateway::Model::DescribeUploadBufferResult::SetUploadBufferUsedInBytes
void SetUploadBufferUsedInBytes(long long value)
Definition: DescribeUploadBufferResult.h:131
Aws::StorageGateway::Model::DescribeUploadBufferResult::WithGatewayARN
DescribeUploadBufferResult & WithGatewayARN(const Aws::String &value)
Definition: DescribeUploadBufferResult.h:49