7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
19namespace ComputeOptimizer {
41 template <
typename StorageTypeT = Aws::String>
43 m_storageTypeHasBeenSet =
true;
44 m_storageType = std::forward<StorageTypeT>(value);
46 template <
typename StorageTypeT = Aws::String>
60 m_allocatedStorageHasBeenSet =
true;
61 m_allocatedStorage = value;
73 inline int GetIops()
const {
return m_iops; }
76 m_iopsHasBeenSet =
true;
93 m_maxAllocatedStorageHasBeenSet =
true;
94 m_maxAllocatedStorage = value;
109 m_storageThroughputHasBeenSet =
true;
110 m_storageThroughput = value;
120 int m_allocatedStorage{0};
124 int m_maxAllocatedStorage{0};
126 int m_storageThroughput{0};
127 bool m_storageTypeHasBeenSet =
false;
128 bool m_allocatedStorageHasBeenSet =
false;
129 bool m_iopsHasBeenSet =
false;
130 bool m_maxAllocatedStorageHasBeenSet =
false;
131 bool m_storageThroughputHasBeenSet =
false;
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
bool IopsHasBeenSet() const
int GetAllocatedStorage() const
AWS_COMPUTEOPTIMIZER_API DBStorageConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
DBStorageConfiguration & WithAllocatedStorage(int value)
DBStorageConfiguration & WithIops(int value)
void SetMaxAllocatedStorage(int value)
void SetStorageThroughput(int value)
bool StorageThroughputHasBeenSet() const
DBStorageConfiguration & WithMaxAllocatedStorage(int value)
void SetStorageType(StorageTypeT &&value)
AWS_COMPUTEOPTIMIZER_API DBStorageConfiguration(Aws::Utils::Json::JsonView jsonValue)
DBStorageConfiguration & WithStorageThroughput(int value)
bool MaxAllocatedStorageHasBeenSet() const
int GetMaxAllocatedStorage() const
DBStorageConfiguration & WithStorageType(StorageTypeT &&value)
AWS_COMPUTEOPTIMIZER_API DBStorageConfiguration()=default
int GetStorageThroughput() const
bool AllocatedStorageHasBeenSet() const
const Aws::String & GetStorageType() const
void SetAllocatedStorage(int value)
bool StorageTypeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue