7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace ComputeOptimizer
47 template<
typename StorageTypeT = Aws::String>
48 void SetStorageType(StorageTypeT&& value) { m_storageTypeHasBeenSet =
true; m_storageType = std::forward<StorageTypeT>(value); }
49 template<
typename StorageTypeT = Aws::String>
59 inline void SetAllocatedStorage(
int value) { m_allocatedStorageHasBeenSet =
true; m_allocatedStorage = value; }
67 inline int GetIops()
const {
return m_iops; }
69 inline void SetIops(
int value) { m_iopsHasBeenSet =
true; m_iops = value; }
80 inline void SetMaxAllocatedStorage(
int value) { m_maxAllocatedStorageHasBeenSet =
true; m_maxAllocatedStorage = value; }
90 inline void SetStorageThroughput(
int value) { m_storageThroughputHasBeenSet =
true; m_storageThroughput = value; }
96 bool m_storageTypeHasBeenSet =
false;
98 int m_allocatedStorage{0};
99 bool m_allocatedStorageHasBeenSet =
false;
102 bool m_iopsHasBeenSet =
false;
104 int m_maxAllocatedStorage{0};
105 bool m_maxAllocatedStorageHasBeenSet =
false;
107 int m_storageThroughput{0};
108 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