7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 template<
typename VolumeTypeT = Aws::String>
50 void SetVolumeType(VolumeTypeT&& value) { m_volumeTypeHasBeenSet =
true; m_volumeType = std::forward<VolumeTypeT>(value); }
51 template<
typename VolumeTypeT = Aws::String>
59 inline int GetIops()
const {
return m_iops; }
61 inline void SetIops(
int value) { m_iopsHasBeenSet =
true; m_iops = value; }
72 inline void SetSizeInGB(
int value) { m_sizeInGBHasBeenSet =
true; m_sizeInGB = value; }
83 inline void SetThroughput(
int value) { m_throughputHasBeenSet =
true; m_throughput = value; }
89 bool m_volumeTypeHasBeenSet =
false;
92 bool m_iopsHasBeenSet =
false;
95 bool m_sizeInGBHasBeenSet =
false;
98 bool m_throughputHasBeenSet =
false;
void SetVolumeType(VolumeTypeT &&value)
VolumeSpecification & WithVolumeType(VolumeTypeT &&value)
bool VolumeTypeHasBeenSet() const
VolumeSpecification & WithSizeInGB(int value)
bool ThroughputHasBeenSet() const
const Aws::String & GetVolumeType() const
AWS_EMR_API VolumeSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSizeInGB(int value)
bool SizeInGBHasBeenSet() const
void SetThroughput(int value)
AWS_EMR_API VolumeSpecification()=default
VolumeSpecification & WithIops(int value)
VolumeSpecification & WithThroughput(int value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EMR_API VolumeSpecification(Aws::Utils::Json::JsonView jsonValue)
int GetThroughput() const
bool IopsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue