7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
19namespace ComputeOptimizer {
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;
158 int m_volumeBaselineIOPS{0};
160 int m_volumeBurstIOPS{0};
162 int m_volumeBaselineThroughput{0};
164 int 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;
bool RootVolumeHasBeenSet() const
void SetVolumeType(VolumeTypeT &&value)
bool GetRootVolume() const
void SetVolumeBurstIOPS(int value)
VolumeConfiguration & WithVolumeBurstIOPS(int value)
VolumeConfiguration & WithVolumeBaselineIOPS(int value)
int GetVolumeSize() const
void SetRootVolume(bool value)
VolumeConfiguration & WithVolumeBurstThroughput(int value)
VolumeConfiguration & WithVolumeSize(int value)
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COMPUTEOPTIMIZER_API VolumeConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetVolumeBaselineThroughput(int value)
void SetVolumeBaselineIOPS(int value)
bool VolumeBurstThroughputHasBeenSet() const
int GetVolumeBaselineThroughput() const
VolumeConfiguration & WithVolumeType(VolumeTypeT &&value)
bool VolumeBurstIOPSHasBeenSet() const
VolumeConfiguration & WithVolumeBaselineThroughput(int value)
bool VolumeBaselineIOPSHasBeenSet() const
const Aws::String & GetVolumeType() const
bool VolumeTypeHasBeenSet() const
void SetVolumeSize(int value)
VolumeConfiguration & WithRootVolume(bool value)
void SetVolumeBurstThroughput(int value)
int GetVolumeBurstIOPS() const
bool VolumeBaselineThroughputHasBeenSet() const
bool VolumeSizeHasBeenSet() const
int GetVolumeBurstThroughput() const
AWS_COMPUTEOPTIMIZER_API VolumeConfiguration()=default
AWS_COMPUTEOPTIMIZER_API VolumeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
int GetVolumeBaselineIOPS() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue