AWS SDK for C++  1.9.132
AWS SDK for C++
DescribeWorkingStorageResult.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 {
34  {
35  public:
39 
40 
41 
42  inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
43 
44 
45  inline void SetGatewayARN(const Aws::String& value) { m_gatewayARN = value; }
46 
47 
48  inline void SetGatewayARN(Aws::String&& value) { m_gatewayARN = std::move(value); }
49 
50 
51  inline void SetGatewayARN(const char* value) { m_gatewayARN.assign(value); }
52 
53 
54  inline DescribeWorkingStorageResult& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
55 
56 
57  inline DescribeWorkingStorageResult& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
58 
59 
60  inline DescribeWorkingStorageResult& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
61 
62 
69  inline const Aws::Vector<Aws::String>& GetDiskIds() const{ return m_diskIds; }
70 
77  inline void SetDiskIds(const Aws::Vector<Aws::String>& value) { m_diskIds = value; }
78 
85  inline void SetDiskIds(Aws::Vector<Aws::String>&& value) { m_diskIds = std::move(value); }
86 
93  inline DescribeWorkingStorageResult& WithDiskIds(const Aws::Vector<Aws::String>& value) { SetDiskIds(value); return *this;}
94 
101  inline DescribeWorkingStorageResult& WithDiskIds(Aws::Vector<Aws::String>&& value) { SetDiskIds(std::move(value)); return *this;}
102 
109  inline DescribeWorkingStorageResult& AddDiskIds(const Aws::String& value) { m_diskIds.push_back(value); return *this; }
110 
117  inline DescribeWorkingStorageResult& AddDiskIds(Aws::String&& value) { m_diskIds.push_back(std::move(value)); return *this; }
118 
125  inline DescribeWorkingStorageResult& AddDiskIds(const char* value) { m_diskIds.push_back(value); return *this; }
126 
127 
132  inline long long GetWorkingStorageUsedInBytes() const{ return m_workingStorageUsedInBytes; }
133 
138  inline void SetWorkingStorageUsedInBytes(long long value) { m_workingStorageUsedInBytes = value; }
139 
144  inline DescribeWorkingStorageResult& WithWorkingStorageUsedInBytes(long long value) { SetWorkingStorageUsedInBytes(value); return *this;}
145 
146 
151  inline long long GetWorkingStorageAllocatedInBytes() const{ return m_workingStorageAllocatedInBytes; }
152 
157  inline void SetWorkingStorageAllocatedInBytes(long long value) { m_workingStorageAllocatedInBytes = value; }
158 
163  inline DescribeWorkingStorageResult& WithWorkingStorageAllocatedInBytes(long long value) { SetWorkingStorageAllocatedInBytes(value); return *this;}
164 
165  private:
166 
167  Aws::String m_gatewayARN;
168 
169  Aws::Vector<Aws::String> m_diskIds;
170 
171  long long m_workingStorageUsedInBytes;
172 
173  long long m_workingStorageAllocatedInBytes;
174  };
175 
176 } // namespace Model
177 } // namespace StorageGateway
178 } // namespace Aws
Aws::StorageGateway::Model::DescribeWorkingStorageResult::AddDiskIds
DescribeWorkingStorageResult & AddDiskIds(Aws::String &&value)
Definition: DescribeWorkingStorageResult.h:117
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::StorageGateway::Model::DescribeWorkingStorageResult::DescribeWorkingStorageResult
DescribeWorkingStorageResult()
Aws::StorageGateway::Model::DescribeWorkingStorageResult::operator=
DescribeWorkingStorageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::DescribeWorkingStorageResult::WithGatewayARN
DescribeWorkingStorageResult & WithGatewayARN(const char *value)
Definition: DescribeWorkingStorageResult.h:60
Aws::StorageGateway::Model::DescribeWorkingStorageResult::SetDiskIds
void SetDiskIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeWorkingStorageResult.h:85
Aws::StorageGateway::Model::DescribeWorkingStorageResult::AddDiskIds
DescribeWorkingStorageResult & AddDiskIds(const Aws::String &value)
Definition: DescribeWorkingStorageResult.h:109
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::StorageGateway::Model::DescribeWorkingStorageResult::GetWorkingStorageAllocatedInBytes
long long GetWorkingStorageAllocatedInBytes() const
Definition: DescribeWorkingStorageResult.h:151
AWSVector.h
Aws::StorageGateway::Model::DescribeWorkingStorageResult::SetWorkingStorageUsedInBytes
void SetWorkingStorageUsedInBytes(long long value)
Definition: DescribeWorkingStorageResult.h:138
Aws::StorageGateway::Model::DescribeWorkingStorageResult::GetDiskIds
const Aws::Vector< Aws::String > & GetDiskIds() const
Definition: DescribeWorkingStorageResult.h:69
Aws::StorageGateway::Model::DescribeWorkingStorageResult::AddDiskIds
DescribeWorkingStorageResult & AddDiskIds(const char *value)
Definition: DescribeWorkingStorageResult.h:125
Aws::StorageGateway::Model::DescribeWorkingStorageResult::SetDiskIds
void SetDiskIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeWorkingStorageResult.h:77
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::DescribeWorkingStorageResult::WithGatewayARN
DescribeWorkingStorageResult & WithGatewayARN(Aws::String &&value)
Definition: DescribeWorkingStorageResult.h:57
Aws::StorageGateway::Model::DescribeWorkingStorageResult::SetGatewayARN
void SetGatewayARN(const Aws::String &value)
Definition: DescribeWorkingStorageResult.h:45
Aws::StorageGateway::Model::DescribeWorkingStorageResult::WithDiskIds
DescribeWorkingStorageResult & WithDiskIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeWorkingStorageResult.h:93
Aws::StorageGateway::Model::DescribeWorkingStorageResult::GetGatewayARN
const Aws::String & GetGatewayARN() const
Definition: DescribeWorkingStorageResult.h:42
Aws
Definition: AccessManagementClient.h:15
Aws::StorageGateway::Model::DescribeWorkingStorageResult::DescribeWorkingStorageResult
DescribeWorkingStorageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::DescribeWorkingStorageResult::WithWorkingStorageAllocatedInBytes
DescribeWorkingStorageResult & WithWorkingStorageAllocatedInBytes(long long value)
Definition: DescribeWorkingStorageResult.h:163
Aws::StorageGateway::Model::DescribeWorkingStorageResult::WithGatewayARN
DescribeWorkingStorageResult & WithGatewayARN(const Aws::String &value)
Definition: DescribeWorkingStorageResult.h:54
Aws::StorageGateway::Model::DescribeWorkingStorageResult::GetWorkingStorageUsedInBytes
long long GetWorkingStorageUsedInBytes() const
Definition: DescribeWorkingStorageResult.h:132
Aws::StorageGateway::Model::DescribeWorkingStorageResult::SetGatewayARN
void SetGatewayARN(Aws::String &&value)
Definition: DescribeWorkingStorageResult.h:48
Aws::StorageGateway::Model::DescribeWorkingStorageResult::WithDiskIds
DescribeWorkingStorageResult & WithDiskIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeWorkingStorageResult.h:101
Aws::StorageGateway::Model::DescribeWorkingStorageResult::SetGatewayARN
void SetGatewayARN(const char *value)
Definition: DescribeWorkingStorageResult.h:51
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::DescribeWorkingStorageResult::SetWorkingStorageAllocatedInBytes
void SetWorkingStorageAllocatedInBytes(long long value)
Definition: DescribeWorkingStorageResult.h:157
Aws::StorageGateway::Model::DescribeWorkingStorageResult
Definition: DescribeWorkingStorageResult.h:34
Aws::StorageGateway::Model::DescribeWorkingStorageResult::WithWorkingStorageUsedInBytes
DescribeWorkingStorageResult & WithWorkingStorageUsedInBytes(long long value)
Definition: DescribeWorkingStorageResult.h:144