AWS SDK for C++

AWS SDK for C++ Version 1.11.860

Loading...
Searching...
No Matches
AdditionalStorageVolumeOutput.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/rds/RDS_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace RDS {
20namespace Model {
21
29 public:
30 AWS_RDS_API AdditionalStorageVolumeOutput() = default;
33
34 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
35 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
36
38
41 inline const Aws::String& GetVolumeName() const { return m_volumeName; }
42 inline bool VolumeNameHasBeenSet() const { return m_volumeNameHasBeenSet; }
43 template <typename VolumeNameT = Aws::String>
44 void SetVolumeName(VolumeNameT&& value) {
45 m_volumeNameHasBeenSet = true;
46 m_volumeName = std::forward<VolumeNameT>(value);
47 }
48 template <typename VolumeNameT = Aws::String>
50 SetVolumeName(std::forward<VolumeNameT>(value));
51 return *this;
52 }
54
56
61 inline const Aws::String& GetStorageVolumeStatus() const { return m_storageVolumeStatus; }
62 inline bool StorageVolumeStatusHasBeenSet() const { return m_storageVolumeStatusHasBeenSet; }
63 template <typename StorageVolumeStatusT = Aws::String>
64 void SetStorageVolumeStatus(StorageVolumeStatusT&& value) {
65 m_storageVolumeStatusHasBeenSet = true;
66 m_storageVolumeStatus = std::forward<StorageVolumeStatusT>(value);
67 }
68 template <typename StorageVolumeStatusT = Aws::String>
70 SetStorageVolumeStatus(std::forward<StorageVolumeStatusT>(value));
71 return *this;
72 }
74
76
87 inline const Aws::String& GetStorageOperationStatus() const { return m_storageOperationStatus; }
88 inline bool StorageOperationStatusHasBeenSet() const { return m_storageOperationStatusHasBeenSet; }
89 template <typename StorageOperationStatusT = Aws::String>
90 void SetStorageOperationStatus(StorageOperationStatusT&& value) {
91 m_storageOperationStatusHasBeenSet = true;
92 m_storageOperationStatus = std::forward<StorageOperationStatusT>(value);
93 }
94 template <typename StorageOperationStatusT = Aws::String>
96 SetStorageOperationStatus(std::forward<StorageOperationStatusT>(value));
97 return *this;
98 }
100
102
108 inline int GetStorageOperationPercentProgress() const { return m_storageOperationPercentProgress; }
109 inline bool StorageOperationPercentProgressHasBeenSet() const { return m_storageOperationPercentProgressHasBeenSet; }
110 inline void SetStorageOperationPercentProgress(int value) {
111 m_storageOperationPercentProgressHasBeenSet = true;
112 m_storageOperationPercentProgress = value;
113 }
116 return *this;
117 }
119
121
125 inline int GetAllocatedStorage() const { return m_allocatedStorage; }
126 inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; }
127 inline void SetAllocatedStorage(int value) {
128 m_allocatedStorageHasBeenSet = true;
129 m_allocatedStorage = value;
130 }
132 SetAllocatedStorage(value);
133 return *this;
134 }
136
138
142 inline int GetIOPS() const { return m_iOPS; }
143 inline bool IOPSHasBeenSet() const { return m_iOPSHasBeenSet; }
144 inline void SetIOPS(int value) {
145 m_iOPSHasBeenSet = true;
146 m_iOPS = value;
147 }
149 SetIOPS(value);
150 return *this;
151 }
153
155
159 inline int GetMaxAllocatedStorage() const { return m_maxAllocatedStorage; }
160 inline bool MaxAllocatedStorageHasBeenSet() const { return m_maxAllocatedStorageHasBeenSet; }
161 inline void SetMaxAllocatedStorage(int value) {
162 m_maxAllocatedStorageHasBeenSet = true;
163 m_maxAllocatedStorage = value;
164 }
167 return *this;
168 }
170
172
176 inline int GetStorageThroughput() const { return m_storageThroughput; }
177 inline bool StorageThroughputHasBeenSet() const { return m_storageThroughputHasBeenSet; }
178 inline void SetStorageThroughput(int value) {
179 m_storageThroughputHasBeenSet = true;
180 m_storageThroughput = value;
181 }
184 return *this;
185 }
187
189
193 inline const Aws::String& GetStorageType() const { return m_storageType; }
194 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
195 template <typename StorageTypeT = Aws::String>
196 void SetStorageType(StorageTypeT&& value) {
197 m_storageTypeHasBeenSet = true;
198 m_storageType = std::forward<StorageTypeT>(value);
199 }
200 template <typename StorageTypeT = Aws::String>
202 SetStorageType(std::forward<StorageTypeT>(value));
203 return *this;
204 }
206 private:
207 Aws::String m_volumeName;
208
209 Aws::String m_storageVolumeStatus;
210
211 Aws::String m_storageOperationStatus;
212
213 int m_storageOperationPercentProgress{0};
214
215 int m_allocatedStorage{0};
216
217 int m_iOPS{0};
218
219 int m_maxAllocatedStorage{0};
220
221 int m_storageThroughput{0};
222
223 Aws::String m_storageType;
224 bool m_volumeNameHasBeenSet = false;
225 bool m_storageVolumeStatusHasBeenSet = false;
226 bool m_storageOperationStatusHasBeenSet = false;
227 bool m_storageOperationPercentProgressHasBeenSet = false;
228 bool m_allocatedStorageHasBeenSet = false;
229 bool m_iOPSHasBeenSet = false;
230 bool m_maxAllocatedStorageHasBeenSet = false;
231 bool m_storageThroughputHasBeenSet = false;
232 bool m_storageTypeHasBeenSet = false;
233};
234
235} // namespace Model
236} // namespace RDS
237} // namespace Aws
AdditionalStorageVolumeOutput & WithStorageType(StorageTypeT &&value)
void SetStorageOperationStatus(StorageOperationStatusT &&value)
AdditionalStorageVolumeOutput & WithMaxAllocatedStorage(int value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AdditionalStorageVolumeOutput & WithIOPS(int value)
AWS_RDS_API AdditionalStorageVolumeOutput & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AdditionalStorageVolumeOutput & WithStorageOperationPercentProgress(int value)
AdditionalStorageVolumeOutput & WithAllocatedStorage(int value)
AdditionalStorageVolumeOutput & WithStorageVolumeStatus(StorageVolumeStatusT &&value)
AWS_RDS_API AdditionalStorageVolumeOutput(const Aws::Utils::Xml::XmlNode &xmlNode)
AdditionalStorageVolumeOutput & WithStorageOperationStatus(StorageOperationStatusT &&value)
AdditionalStorageVolumeOutput & WithVolumeName(VolumeNameT &&value)
AdditionalStorageVolumeOutput & WithStorageThroughput(int value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream