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>
45 template <
typename VolumeNameT = Aws::String>
47 m_volumeNameHasBeenSet =
true;
48 m_volumeName = std::forward<VolumeNameT>(value);
50 template <
typename VolumeNameT = Aws::String>
65 m_allocatedStorageHasBeenSet =
true;
66 m_allocatedStorage = value;
79 inline int GetIOPS()
const {
return m_iOPS; }
82 m_iOPSHasBeenSet =
true;
99 m_maxAllocatedStorageHasBeenSet =
true;
100 m_maxAllocatedStorage = value;
117 m_storageThroughputHasBeenSet =
true;
118 m_storageThroughput = value;
133 template <
typename StorageTypeT = Aws::String>
135 m_storageTypeHasBeenSet =
true;
136 m_storageType = std::forward<StorageTypeT>(value);
138 template <
typename StorageTypeT = Aws::String>
147 int m_allocatedStorage{0};
151 int m_maxAllocatedStorage{0};
153 int m_storageThroughput{0};
156 bool m_volumeNameHasBeenSet =
false;
157 bool m_allocatedStorageHasBeenSet =
false;
158 bool m_iOPSHasBeenSet =
false;
159 bool m_maxAllocatedStorageHasBeenSet =
false;
160 bool m_storageThroughputHasBeenSet =
false;
161 bool m_storageTypeHasBeenSet =
false;
AdditionalStorageVolume & WithAllocatedStorage(int value)
bool AllocatedStorageHasBeenSet() const
int GetMaxAllocatedStorage() const
AWS_RDS_API AdditionalStorageVolume(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAllocatedStorage(int value)
void SetStorageType(StorageTypeT &&value)
AdditionalStorageVolume & WithStorageThroughput(int value)
AWS_RDS_API AdditionalStorageVolume & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetStorageType() const
int GetAllocatedStorage() const
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AdditionalStorageVolume & WithStorageType(StorageTypeT &&value)
void SetStorageThroughput(int value)
bool VolumeNameHasBeenSet() const
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_RDS_API AdditionalStorageVolume()=default
bool MaxAllocatedStorageHasBeenSet() const
bool IOPSHasBeenSet() const
AdditionalStorageVolume & WithVolumeName(VolumeNameT &&value)
bool StorageThroughputHasBeenSet() const
int GetStorageThroughput() const
AdditionalStorageVolume & WithMaxAllocatedStorage(int value)
const Aws::String & GetVolumeName() const
void SetVolumeName(VolumeNameT &&value)
void SetMaxAllocatedStorage(int value)
bool StorageTypeHasBeenSet() const
AdditionalStorageVolume & WithIOPS(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream