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 {
31 AWS_COMPUTEOPTIMIZER_API
VolumeConfiguration(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_COMPUTEOPTIMIZER_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
46 template <
typename VolumeTypeT = Aws::String>
48 m_volumeTypeHasBeenSet =
true;
49 m_volumeType = std::forward<VolumeTypeT>(value);
51 template <
typename VolumeTypeT = Aws::String>
65 m_volumeSizeHasBeenSet =
true;
81 m_volumeBaselineIOPSHasBeenSet =
true;
82 m_volumeBaselineIOPS = value;
97 m_volumeBurstIOPSHasBeenSet =
true;
98 m_volumeBurstIOPS = value;
113 m_volumeBaselineThroughputHasBeenSet =
true;
114 m_volumeBaselineThroughput = value;
129 m_volumeBurstThroughputHasBeenSet =
true;
130 m_volumeBurstThroughput = value;
145 m_rootVolumeHasBeenSet =
true;
146 m_rootVolume = value;
156 int64_t m_volumeSize{0};
158 int64_t m_volumeBaselineIOPS{0};
160 int64_t m_volumeBurstIOPS{0};
162 int64_t m_volumeBaselineThroughput{0};
164 int64_t m_volumeBurstThroughput{0};
166 bool m_rootVolume{
false};
167 bool m_volumeTypeHasBeenSet =
false;
168 bool m_volumeSizeHasBeenSet =
false;
169 bool m_volumeBaselineIOPSHasBeenSet =
false;
170 bool m_volumeBurstIOPSHasBeenSet =
false;
171 bool m_volumeBaselineThroughputHasBeenSet =
false;
172 bool m_volumeBurstThroughputHasBeenSet =
false;
173 bool m_rootVolumeHasBeenSet =
false;
void SetVolumeBurstThroughput(int64_t value)
bool RootVolumeHasBeenSet() const
void SetVolumeType(VolumeTypeT &&value)
int64_t GetVolumeBurstIOPS() const
VolumeConfiguration & WithVolumeBurstThroughput(int64_t value)
bool GetRootVolume() const
int64_t GetVolumeBurstThroughput() const
void SetRootVolume(bool value)
void SetVolumeSize(int64_t value)
int64_t GetVolumeBaselineThroughput() const
AWS_COMPUTEOPTIMIZER_API VolumeConfiguration(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetVolumeBurstIOPS(int64_t value)
bool VolumeBurstThroughputHasBeenSet() const
VolumeConfiguration & WithVolumeType(VolumeTypeT &&value)
AWS_COMPUTEOPTIMIZER_API VolumeConfiguration & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool VolumeBurstIOPSHasBeenSet() const
bool VolumeBaselineIOPSHasBeenSet() const
VolumeConfiguration & WithVolumeSize(int64_t value)
int64_t GetVolumeSize() const
const Aws::String & GetVolumeType() const
bool VolumeTypeHasBeenSet() const
VolumeConfiguration & WithVolumeBaselineThroughput(int64_t value)
VolumeConfiguration & WithRootVolume(bool value)
void SetVolumeBaselineThroughput(int64_t value)
AWS_COMPUTEOPTIMIZER_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
VolumeConfiguration & WithVolumeBurstIOPS(int64_t value)
bool VolumeBaselineThroughputHasBeenSet() const
int64_t GetVolumeBaselineIOPS() const
bool VolumeSizeHasBeenSet() const
VolumeConfiguration & WithVolumeBaselineIOPS(int64_t value)
AWS_COMPUTEOPTIMIZER_API VolumeConfiguration()=default
void SetVolumeBaselineIOPS(int64_t value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String