7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/rds/model/Range.h>
12#include <aws/rds/model/DoubleRange.h>
55 template<
typename StorageTypeT = Aws::String>
56 void SetStorageType(StorageTypeT&& value) { m_storageTypeHasBeenSet =
true; m_storageType = std::forward<StorageTypeT>(value); }
57 template<
typename StorageTypeT = Aws::String>
68 template<
typename StorageSizeT = Aws::Vector<Range>>
69 void SetStorageSize(StorageSizeT&& value) { m_storageSizeHasBeenSet =
true; m_storageSize = std::forward<StorageSizeT>(value); }
70 template<
typename StorageSizeT = Aws::Vector<Range>>
72 template<
typename StorageSizeT = Range>
82 template<
typename ProvisionedIopsT = Aws::Vector<Range>>
83 void SetProvisionedIops(ProvisionedIopsT&& value) { m_provisionedIopsHasBeenSet =
true; m_provisionedIops = std::forward<ProvisionedIopsT>(value); }
84 template<
typename ProvisionedIopsT = Aws::Vector<Range>>
86 template<
typename ProvisionedIopsT = Range>
98 template<
typename IopsToStorageRatioT = Aws::Vector<DoubleRange>>
99 void SetIopsToStorageRatio(IopsToStorageRatioT&& value) { m_iopsToStorageRatioHasBeenSet =
true; m_iopsToStorageRatio = std::forward<IopsToStorageRatioT>(value); }
100 template<
typename IopsToStorageRatioT = Aws::Vector<DoubleRange>>
102 template<
typename IopsToStorageRatioT = DoubleRange>
124 template<
typename ProvisionedStorageThroughputT = Aws::Vector<Range>>
125 void SetProvisionedStorageThroughput(ProvisionedStorageThroughputT&& value) { m_provisionedStorageThroughputHasBeenSet =
true; m_provisionedStorageThroughput = std::forward<ProvisionedStorageThroughputT>(value); }
126 template<
typename ProvisionedStorageThroughputT = Aws::Vector<Range>>
128 template<
typename ProvisionedStorageThroughputT = Range>
139 template<
typename StorageThroughputToIopsRatioT = Aws::Vector<DoubleRange>>
140 void SetStorageThroughputToIopsRatio(StorageThroughputToIopsRatioT&& value) { m_storageThroughputToIopsRatioHasBeenSet =
true; m_storageThroughputToIopsRatio = std::forward<StorageThroughputToIopsRatioT>(value); }
141 template<
typename StorageThroughputToIopsRatioT = Aws::Vector<DoubleRange>>
143 template<
typename StorageThroughputToIopsRatioT = DoubleRange>
149 bool m_storageTypeHasBeenSet =
false;
152 bool m_storageSizeHasBeenSet =
false;
155 bool m_provisionedIopsHasBeenSet =
false;
158 bool m_iopsToStorageRatioHasBeenSet =
false;
160 bool m_supportsStorageAutoscaling{
false};
161 bool m_supportsStorageAutoscalingHasBeenSet =
false;
164 bool m_provisionedStorageThroughputHasBeenSet =
false;
167 bool m_storageThroughputToIopsRatioHasBeenSet =
false;
AWS_RDS_API ValidStorageOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ValidStorageOptions & AddStorageThroughputToIopsRatio(StorageThroughputToIopsRatioT &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ValidStorageOptions & WithIopsToStorageRatio(IopsToStorageRatioT &&value)
ValidStorageOptions & WithStorageThroughputToIopsRatio(StorageThroughputToIopsRatioT &&value)
AWS_RDS_API ValidStorageOptions()=default
bool StorageSizeHasBeenSet() const
ValidStorageOptions & AddStorageSize(StorageSizeT &&value)
const Aws::Vector< Range > & GetStorageSize() const
const Aws::Vector< Range > & GetProvisionedIops() const
ValidStorageOptions & WithProvisionedIops(ProvisionedIopsT &&value)
bool StorageTypeHasBeenSet() const
ValidStorageOptions & AddProvisionedIops(ProvisionedIopsT &&value)
const Aws::Vector< Range > & GetProvisionedStorageThroughput() const
ValidStorageOptions & WithSupportsStorageAutoscaling(bool value)
bool SupportsStorageAutoscalingHasBeenSet() const
void SetIopsToStorageRatio(IopsToStorageRatioT &&value)
ValidStorageOptions & AddIopsToStorageRatio(IopsToStorageRatioT &&value)
bool IopsToStorageRatioHasBeenSet() const
bool StorageThroughputToIopsRatioHasBeenSet() const
AWS_RDS_API ValidStorageOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool GetSupportsStorageAutoscaling() const
bool ProvisionedIopsHasBeenSet() const
ValidStorageOptions & WithStorageSize(StorageSizeT &&value)
ValidStorageOptions & WithStorageType(StorageTypeT &&value)
void SetStorageSize(StorageSizeT &&value)
void SetProvisionedStorageThroughput(ProvisionedStorageThroughputT &&value)
void SetStorageType(StorageTypeT &&value)
const Aws::Vector< DoubleRange > & GetIopsToStorageRatio() const
void SetProvisionedIops(ProvisionedIopsT &&value)
const Aws::Vector< DoubleRange > & GetStorageThroughputToIopsRatio() const
bool ProvisionedStorageThroughputHasBeenSet() const
ValidStorageOptions & WithProvisionedStorageThroughput(ProvisionedStorageThroughputT &&value)
const Aws::String & GetStorageType() const
void SetStorageThroughputToIopsRatio(StorageThroughputToIopsRatioT &&value)
ValidStorageOptions & AddProvisionedStorageThroughput(ProvisionedStorageThroughputT &&value)
void SetSupportsStorageAutoscaling(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream