7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/opensearch/model/VolumeType.h>
21namespace OpenSearchService
48 inline void SetEBSEnabled(
bool value) { m_eBSEnabledHasBeenSet =
true; m_eBSEnabled = value; }
70 inline void SetVolumeSize(
int value) { m_volumeSizeHasBeenSet =
true; m_volumeSize = value; }
80 inline int GetIops()
const{
return m_iops; }
82 inline void SetIops(
int value) { m_iopsHasBeenSet =
true; m_iops = value; }
93 inline void SetThroughput(
int value) { m_throughputHasBeenSet =
true; m_throughput = value; }
99 bool m_eBSEnabledHasBeenSet =
false;
102 bool m_volumeTypeHasBeenSet =
false;
105 bool m_volumeSizeHasBeenSet =
false;
108 bool m_iopsHasBeenSet =
false;
111 bool m_throughputHasBeenSet =
false;
AWS_OPENSEARCHSERVICE_API EBSOptions()
AWS_OPENSEARCHSERVICE_API EBSOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEBSEnabled(bool value)
void SetVolumeType(const VolumeType &value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool EBSEnabledHasBeenSet() const
int GetThroughput() const
EBSOptions & WithIops(int value)
const VolumeType & GetVolumeType() const
AWS_OPENSEARCHSERVICE_API EBSOptions(Aws::Utils::Json::JsonView jsonValue)
EBSOptions & WithVolumeType(VolumeType &&value)
bool ThroughputHasBeenSet() const
EBSOptions & WithVolumeType(const VolumeType &value)
EBSOptions & WithVolumeSize(int value)
EBSOptions & WithEBSEnabled(bool value)
bool VolumeTypeHasBeenSet() const
void SetVolumeSize(int value)
bool GetEBSEnabled() const
void SetThroughput(int value)
bool VolumeSizeHasBeenSet() const
void SetVolumeType(VolumeType &&value)
bool IopsHasBeenSet() const
int GetVolumeSize() const
EBSOptions & WithThroughput(int value)
Aws::Utils::Json::JsonValue JsonValue