7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace ComputeOptimizer
52 template<
typename VolumeTypeT = Aws::String>
53 void SetVolumeType(VolumeTypeT&& value) { m_volumeTypeHasBeenSet =
true; m_volumeType = std::forward<VolumeTypeT>(value); }
54 template<
typename VolumeTypeT = Aws::String>
64 inline void SetVolumeSize(
int value) { m_volumeSizeHasBeenSet =
true; m_volumeSize = value; }
74 inline void SetVolumeBaselineIOPS(
int value) { m_volumeBaselineIOPSHasBeenSet =
true; m_volumeBaselineIOPS = value; }
84 inline void SetVolumeBurstIOPS(
int value) { m_volumeBurstIOPSHasBeenSet =
true; m_volumeBurstIOPS = value; }
114 inline void SetRootVolume(
bool value) { m_rootVolumeHasBeenSet =
true; m_rootVolume = value; }
120 bool m_volumeTypeHasBeenSet =
false;
123 bool m_volumeSizeHasBeenSet =
false;
125 int m_volumeBaselineIOPS{0};
126 bool m_volumeBaselineIOPSHasBeenSet =
false;
128 int m_volumeBurstIOPS{0};
129 bool m_volumeBurstIOPSHasBeenSet =
false;
131 int m_volumeBaselineThroughput{0};
132 bool m_volumeBaselineThroughputHasBeenSet =
false;
134 int m_volumeBurstThroughput{0};
135 bool m_volumeBurstThroughputHasBeenSet =
false;
137 bool m_rootVolume{
false};
138 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