7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/es/model/VolumeType.h>
21namespace ElasticsearchService
49 inline void SetEBSEnabled(
bool value) { m_eBSEnabledHasBeenSet =
true; m_eBSEnabled = value; }
69 inline void SetVolumeSize(
int value) { m_volumeSizeHasBeenSet =
true; m_volumeSize = value; }
77 inline int GetIops()
const {
return m_iops; }
79 inline void SetIops(
int value) { m_iopsHasBeenSet =
true; m_iops = value; }
89 inline void SetThroughput(
int value) { m_throughputHasBeenSet =
true; m_throughput = value; }
94 bool m_eBSEnabled{
false};
95 bool m_eBSEnabledHasBeenSet =
false;
98 bool m_volumeTypeHasBeenSet =
false;
101 bool m_volumeSizeHasBeenSet =
false;
104 bool m_iopsHasBeenSet =
false;
107 bool m_throughputHasBeenSet =
false;
void SetVolumeType(VolumeType value)
EBSOptions & WithEBSEnabled(bool value)
int GetThroughput() const
EBSOptions & WithThroughput(int value)
bool ThroughputHasBeenSet() const
VolumeType GetVolumeType() const
void SetThroughput(int value)
AWS_ELASTICSEARCHSERVICE_API EBSOptions()=default
bool GetEBSEnabled() const
EBSOptions & WithVolumeType(VolumeType value)
bool VolumeSizeHasBeenSet() const
AWS_ELASTICSEARCHSERVICE_API EBSOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
EBSOptions & WithVolumeSize(int value)
EBSOptions & WithIops(int value)
bool VolumeTypeHasBeenSet() const
void SetVolumeSize(int value)
int GetVolumeSize() const
bool IopsHasBeenSet() const
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ELASTICSEARCHSERVICE_API EBSOptions(Aws::Utils::Json::JsonView jsonValue)
bool EBSEnabledHasBeenSet() const
void SetEBSEnabled(bool value)
Aws::Utils::Json::JsonValue JsonValue