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; }
68 inline void SetVolumeSize(
int value) { m_volumeSizeHasBeenSet =
true; m_volumeSize = value; }
78 inline int GetIops()
const {
return m_iops; }
80 inline void SetIops(
int value) { m_iopsHasBeenSet =
true; m_iops = value; }
91 inline void SetThroughput(
int value) { m_throughputHasBeenSet =
true; m_throughput = value; }
96 bool m_eBSEnabled{
false};
97 bool m_eBSEnabledHasBeenSet =
false;
100 bool m_volumeTypeHasBeenSet =
false;
103 bool m_volumeSizeHasBeenSet =
false;
106 bool m_iopsHasBeenSet =
false;
109 bool m_throughputHasBeenSet =
false;
AWS_OPENSEARCHSERVICE_API EBSOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEBSEnabled(bool value)
VolumeType GetVolumeType() const
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool EBSEnabledHasBeenSet() const
int GetThroughput() const
EBSOptions & WithIops(int value)
AWS_OPENSEARCHSERVICE_API EBSOptions(Aws::Utils::Json::JsonView jsonValue)
bool ThroughputHasBeenSet() const
AWS_OPENSEARCHSERVICE_API EBSOptions()=default
void SetVolumeType(VolumeType value)
EBSOptions & WithVolumeType(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
bool IopsHasBeenSet() const
int GetVolumeSize() const
EBSOptions & WithThroughput(int value)
Aws::Utils::Json::JsonValue JsonValue