7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
19namespace ComputeOptimizer {
33 AWS_COMPUTEOPTIMIZER_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
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 int64_t
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 int64_t m_allocatedStorage{0};
124 int64_t m_maxAllocatedStorage{0};
126 int64_t 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 DBStorageConfiguration(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetMaxAllocatedStorage(int64_t value)
DBStorageConfiguration & WithIops(int64_t value)
bool IopsHasBeenSet() const
void SetIops(int64_t value)
void SetAllocatedStorage(int64_t value)
void SetStorageThroughput(int64_t value)
bool StorageThroughputHasBeenSet() const
void SetStorageType(StorageTypeT &&value)
bool MaxAllocatedStorageHasBeenSet() const
DBStorageConfiguration & WithStorageType(StorageTypeT &&value)
int64_t GetStorageThroughput() const
int64_t GetAllocatedStorage() const
AWS_COMPUTEOPTIMIZER_API DBStorageConfiguration()=default
bool AllocatedStorageHasBeenSet() const
int64_t GetMaxAllocatedStorage() const
AWS_COMPUTEOPTIMIZER_API DBStorageConfiguration & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
DBStorageConfiguration & WithAllocatedStorage(int64_t value)
DBStorageConfiguration & WithMaxAllocatedStorage(int64_t value)
const Aws::String & GetStorageType() const
AWS_COMPUTEOPTIMIZER_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
DBStorageConfiguration & WithStorageThroughput(int64_t value)
bool StorageTypeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String