AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ModifyAdditionalStorageVolume.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 ModifyAdditionalStorageVolume() = 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
42 inline const Aws::String& GetVolumeName() const { return m_volumeName; }
43 inline bool VolumeNameHasBeenSet() const { return m_volumeNameHasBeenSet; }
44 template <typename VolumeNameT = Aws::String>
45 void SetVolumeName(VolumeNameT&& value) {
46 m_volumeNameHasBeenSet = true;
47 m_volumeName = std::forward<VolumeNameT>(value);
48 }
49 template <typename VolumeNameT = Aws::String>
51 SetVolumeName(std::forward<VolumeNameT>(value));
52 return *this;
53 }
55
57
61 inline int GetAllocatedStorage() const { return m_allocatedStorage; }
62 inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; }
63 inline void SetAllocatedStorage(int value) {
64 m_allocatedStorageHasBeenSet = true;
65 m_allocatedStorage = value;
66 }
69 return *this;
70 }
72
74
79 inline int GetIOPS() const { return m_iOPS; }
80 inline bool IOPSHasBeenSet() const { return m_iOPSHasBeenSet; }
81 inline void SetIOPS(int value) {
82 m_iOPSHasBeenSet = true;
83 m_iOPS = value;
84 }
86 SetIOPS(value);
87 return *this;
88 }
90
92
97 inline int GetMaxAllocatedStorage() const { return m_maxAllocatedStorage; }
98 inline bool MaxAllocatedStorageHasBeenSet() const { return m_maxAllocatedStorageHasBeenSet; }
99 inline void SetMaxAllocatedStorage(int value) {
100 m_maxAllocatedStorageHasBeenSet = true;
101 m_maxAllocatedStorage = value;
102 }
105 return *this;
106 }
108
110
115 inline int GetStorageThroughput() const { return m_storageThroughput; }
116 inline bool StorageThroughputHasBeenSet() const { return m_storageThroughputHasBeenSet; }
117 inline void SetStorageThroughput(int value) {
118 m_storageThroughputHasBeenSet = true;
119 m_storageThroughput = value;
120 }
123 return *this;
124 }
126
128
132 inline const Aws::String& GetStorageType() const { return m_storageType; }
133 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
134 template <typename StorageTypeT = Aws::String>
135 void SetStorageType(StorageTypeT&& value) {
136 m_storageTypeHasBeenSet = true;
137 m_storageType = std::forward<StorageTypeT>(value);
138 }
139 template <typename StorageTypeT = Aws::String>
141 SetStorageType(std::forward<StorageTypeT>(value));
142 return *this;
143 }
145
147
153 inline bool GetSetForDelete() const { return m_setForDelete; }
154 inline bool SetForDeleteHasBeenSet() const { return m_setForDeleteHasBeenSet; }
155 inline void SetSetForDelete(bool value) {
156 m_setForDeleteHasBeenSet = true;
157 m_setForDelete = value;
158 }
160 SetSetForDelete(value);
161 return *this;
162 }
164 private:
165 Aws::String m_volumeName;
166
167 int m_allocatedStorage{0};
168
169 int m_iOPS{0};
170
171 int m_maxAllocatedStorage{0};
172
173 int m_storageThroughput{0};
174
175 Aws::String m_storageType;
176
177 bool m_setForDelete{false};
178 bool m_volumeNameHasBeenSet = false;
179 bool m_allocatedStorageHasBeenSet = false;
180 bool m_iOPSHasBeenSet = false;
181 bool m_maxAllocatedStorageHasBeenSet = false;
182 bool m_storageThroughputHasBeenSet = false;
183 bool m_storageTypeHasBeenSet = false;
184 bool m_setForDeleteHasBeenSet = false;
185};
186
187} // namespace Model
188} // namespace RDS
189} // namespace Aws
ModifyAdditionalStorageVolume & WithStorageThroughput(int value)
ModifyAdditionalStorageVolume & WithIOPS(int value)
ModifyAdditionalStorageVolume & WithSetForDelete(bool value)
ModifyAdditionalStorageVolume & WithStorageType(StorageTypeT &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ModifyAdditionalStorageVolume & WithAllocatedStorage(int value)
ModifyAdditionalStorageVolume & WithMaxAllocatedStorage(int value)
AWS_RDS_API ModifyAdditionalStorageVolume(const Aws::Utils::Xml::XmlNode &xmlNode)
ModifyAdditionalStorageVolume & WithVolumeName(VolumeNameT &&value)
AWS_RDS_API ModifyAdditionalStorageVolume & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
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