7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/neptune/Neptune_EXPORTS.h>
11#include <aws/neptune/model/DoubleRange.h>
12#include <aws/neptune/model/Range.h>
47 template <
typename StorageTypeT = Aws::String>
49 m_storageTypeHasBeenSet =
true;
50 m_storageType = std::forward<StorageTypeT>(value);
52 template <
typename StorageTypeT = Aws::String>
66 template <
typename StorageSizeT = Aws::Vector<Range>>
68 m_storageSizeHasBeenSet =
true;
69 m_storageSize = std::forward<StorageSizeT>(value);
71 template <
typename StorageSizeT = Aws::Vector<Range>>
76 template <
typename StorageSizeT = Range>
78 m_storageSizeHasBeenSet =
true;
79 m_storageSize.emplace_back(std::forward<StorageSizeT>(value));
91 template <
typename ProvisionedIopsT = Aws::Vector<Range>>
93 m_provisionedIopsHasBeenSet =
true;
94 m_provisionedIops = std::forward<ProvisionedIopsT>(value);
96 template <
typename ProvisionedIopsT = Aws::Vector<Range>>
101 template <
typename ProvisionedIopsT = Range>
103 m_provisionedIopsHasBeenSet =
true;
104 m_provisionedIops.emplace_back(std::forward<ProvisionedIopsT>(value));
116 template <
typename IopsToStorageRatioT = Aws::Vector<DoubleRange>>
118 m_iopsToStorageRatioHasBeenSet =
true;
119 m_iopsToStorageRatio = std::forward<IopsToStorageRatioT>(value);
121 template <
typename IopsToStorageRatioT = Aws::Vector<DoubleRange>>
126 template <
typename IopsToStorageRatioT = DoubleRange>
128 m_iopsToStorageRatioHasBeenSet =
true;
129 m_iopsToStorageRatio.emplace_back(std::forward<IopsToStorageRatioT>(value));
141 bool m_storageTypeHasBeenSet =
false;
142 bool m_storageSizeHasBeenSet =
false;
143 bool m_provisionedIopsHasBeenSet =
false;
144 bool m_iopsToStorageRatioHasBeenSet =
false;
ValidStorageOptions & WithProvisionedIops(ProvisionedIopsT &&value)
ValidStorageOptions & AddStorageSize(StorageSizeT &&value)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetStorageSize(StorageSizeT &&value)
bool StorageSizeHasBeenSet() const
AWS_NEPTUNE_API ValidStorageOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetIopsToStorageRatio(IopsToStorageRatioT &&value)
bool StorageTypeHasBeenSet() const
void SetProvisionedIops(ProvisionedIopsT &&value)
const Aws::Vector< Range > & GetProvisionedIops() const
AWS_NEPTUNE_API ValidStorageOptions()=default
ValidStorageOptions & WithStorageType(StorageTypeT &&value)
ValidStorageOptions & WithStorageSize(StorageSizeT &&value)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::Vector< DoubleRange > & GetIopsToStorageRatio() const
const Aws::Vector< Range > & GetStorageSize() const
bool ProvisionedIopsHasBeenSet() const
ValidStorageOptions & AddProvisionedIops(ProvisionedIopsT &&value)
bool IopsToStorageRatioHasBeenSet() const
AWS_NEPTUNE_API ValidStorageOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetStorageType() const
ValidStorageOptions & AddIopsToStorageRatio(IopsToStorageRatioT &&value)
void SetStorageType(StorageTypeT &&value)
ValidStorageOptions & WithIopsToStorageRatio(IopsToStorageRatioT &&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