AWS SDK for C++

AWS SDK for C++ Version 1.11.716

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
80 inline int GetAllocatedStorage() const { return m_allocatedStorage; }
81 inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; }
82 inline void SetAllocatedStorage(int value) {
83 m_allocatedStorageHasBeenSet = true;
84 m_allocatedStorage = value;
85 }
88 return *this;
89 }
91
93
97 inline int GetIOPS() const { return m_iOPS; }
98 inline bool IOPSHasBeenSet() const { return m_iOPSHasBeenSet; }
99 inline void SetIOPS(int value) {
100 m_iOPSHasBeenSet = true;
101 m_iOPS = value;
102 }
104 SetIOPS(value);
105 return *this;
106 }
108
110
114 inline int GetMaxAllocatedStorage() const { return m_maxAllocatedStorage; }
115 inline bool MaxAllocatedStorageHasBeenSet() const { return m_maxAllocatedStorageHasBeenSet; }
116 inline void SetMaxAllocatedStorage(int value) {
117 m_maxAllocatedStorageHasBeenSet = true;
118 m_maxAllocatedStorage = value;
119 }
122 return *this;
123 }
125
127
131 inline int GetStorageThroughput() const { return m_storageThroughput; }
132 inline bool StorageThroughputHasBeenSet() const { return m_storageThroughputHasBeenSet; }
133 inline void SetStorageThroughput(int value) {
134 m_storageThroughputHasBeenSet = true;
135 m_storageThroughput = value;
136 }
139 return *this;
140 }
142
144
148 inline const Aws::String& GetStorageType() const { return m_storageType; }
149 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
150 template <typename StorageTypeT = Aws::String>
151 void SetStorageType(StorageTypeT&& value) {
152 m_storageTypeHasBeenSet = true;
153 m_storageType = std::forward<StorageTypeT>(value);
154 }
155 template <typename StorageTypeT = Aws::String>
157 SetStorageType(std::forward<StorageTypeT>(value));
158 return *this;
159 }
161 private:
162 Aws::String m_volumeName;
163
164 Aws::String m_storageVolumeStatus;
165
166 int m_allocatedStorage{0};
167
168 int m_iOPS{0};
169
170 int m_maxAllocatedStorage{0};
171
172 int m_storageThroughput{0};
173
174 Aws::String m_storageType;
175 bool m_volumeNameHasBeenSet = false;
176 bool m_storageVolumeStatusHasBeenSet = false;
177 bool m_allocatedStorageHasBeenSet = false;
178 bool m_iOPSHasBeenSet = false;
179 bool m_maxAllocatedStorageHasBeenSet = false;
180 bool m_storageThroughputHasBeenSet = false;
181 bool m_storageTypeHasBeenSet = false;
182};
183
184} // namespace Model
185} // namespace RDS
186} // namespace Aws
AdditionalStorageVolumeOutput & WithStorageType(StorageTypeT &&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 & WithAllocatedStorage(int value)
AdditionalStorageVolumeOutput & WithStorageVolumeStatus(StorageVolumeStatusT &&value)
AWS_RDS_API AdditionalStorageVolumeOutput(const Aws::Utils::Xml::XmlNode &xmlNode)
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