7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/es/model/ESPartitionInstanceType.h>
9#include <aws/es/model/ZoneAwarenessConfig.h>
10#include <aws/es/model/ESWarmPartitionInstanceType.h>
11#include <aws/es/model/ColdStorageOptions.h>
24namespace ElasticsearchService
63 inline void SetInstanceCount(
int value) { m_instanceCountHasBeenSet =
true; m_instanceCount = value; }
88 inline void SetZoneAwarenessEnabled(
bool value) { m_zoneAwarenessEnabledHasBeenSet =
true; m_zoneAwarenessEnabled = value; }
134 inline void SetWarmEnabled(
bool value) { m_warmEnabledHasBeenSet =
true; m_warmEnabled = value; }
156 inline void SetWarmCount(
int value) { m_warmCountHasBeenSet =
true; m_warmCount = value; }
175 bool m_instanceTypeHasBeenSet =
false;
178 bool m_instanceCountHasBeenSet =
false;
180 bool m_dedicatedMasterEnabled;
181 bool m_dedicatedMasterEnabledHasBeenSet =
false;
183 bool m_zoneAwarenessEnabled;
184 bool m_zoneAwarenessEnabledHasBeenSet =
false;
187 bool m_zoneAwarenessConfigHasBeenSet =
false;
190 bool m_dedicatedMasterTypeHasBeenSet =
false;
192 int m_dedicatedMasterCount;
193 bool m_dedicatedMasterCountHasBeenSet =
false;
196 bool m_warmEnabledHasBeenSet =
false;
199 bool m_warmTypeHasBeenSet =
false;
202 bool m_warmCountHasBeenSet =
false;
205 bool m_coldStorageOptionsHasBeenSet =
false;
void SetWarmCount(int value)
void SetDedicatedMasterType(const ESPartitionInstanceType &value)
bool WarmTypeHasBeenSet() const
ElasticsearchClusterConfig & WithZoneAwarenessEnabled(bool value)
ElasticsearchClusterConfig & WithWarmType(ESWarmPartitionInstanceType &&value)
const ESPartitionInstanceType & GetInstanceType() const
void SetZoneAwarenessConfig(const ZoneAwarenessConfig &value)
ElasticsearchClusterConfig & WithDedicatedMasterType(const ESPartitionInstanceType &value)
void SetDedicatedMasterType(ESPartitionInstanceType &&value)
void SetInstanceCount(int value)
ElasticsearchClusterConfig & WithWarmEnabled(bool value)
ElasticsearchClusterConfig & WithDedicatedMasterEnabled(bool value)
const ColdStorageOptions & GetColdStorageOptions() const
ElasticsearchClusterConfig & WithDedicatedMasterType(ESPartitionInstanceType &&value)
bool ZoneAwarenessConfigHasBeenSet() const
const ESPartitionInstanceType & GetDedicatedMasterType() const
ElasticsearchClusterConfig & WithInstanceCount(int value)
bool ColdStorageOptionsHasBeenSet() const
ElasticsearchClusterConfig & WithZoneAwarenessConfig(const ZoneAwarenessConfig &value)
void SetWarmEnabled(bool value)
bool DedicatedMasterTypeHasBeenSet() const
ElasticsearchClusterConfig & WithColdStorageOptions(const ColdStorageOptions &value)
bool ZoneAwarenessEnabledHasBeenSet() const
AWS_ELASTICSEARCHSERVICE_API ElasticsearchClusterConfig(Aws::Utils::Json::JsonView jsonValue)
bool DedicatedMasterCountHasBeenSet() const
bool GetDedicatedMasterEnabled() const
void SetColdStorageOptions(ColdStorageOptions &&value)
const ESWarmPartitionInstanceType & GetWarmType() const
void SetDedicatedMasterEnabled(bool value)
bool DedicatedMasterEnabledHasBeenSet() const
bool WarmEnabledHasBeenSet() const
ElasticsearchClusterConfig & WithInstanceType(const ESPartitionInstanceType &value)
void SetZoneAwarenessEnabled(bool value)
int GetInstanceCount() const
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool InstanceCountHasBeenSet() const
void SetDedicatedMasterCount(int value)
ElasticsearchClusterConfig & WithDedicatedMasterCount(int value)
void SetInstanceType(ESPartitionInstanceType &&value)
AWS_ELASTICSEARCHSERVICE_API ElasticsearchClusterConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
ElasticsearchClusterConfig & WithWarmCount(int value)
void SetColdStorageOptions(const ColdStorageOptions &value)
bool InstanceTypeHasBeenSet() const
const ZoneAwarenessConfig & GetZoneAwarenessConfig() const
bool GetZoneAwarenessEnabled() const
bool GetWarmEnabled() const
ElasticsearchClusterConfig & WithInstanceType(ESPartitionInstanceType &&value)
void SetWarmType(ESWarmPartitionInstanceType &&value)
AWS_ELASTICSEARCHSERVICE_API ElasticsearchClusterConfig()
void SetZoneAwarenessConfig(ZoneAwarenessConfig &&value)
void SetInstanceType(const ESPartitionInstanceType &value)
bool WarmCountHasBeenSet() const
ElasticsearchClusterConfig & WithZoneAwarenessConfig(ZoneAwarenessConfig &&value)
ElasticsearchClusterConfig & WithWarmType(const ESWarmPartitionInstanceType &value)
void SetWarmType(const ESWarmPartitionInstanceType &value)
ElasticsearchClusterConfig & WithColdStorageOptions(ColdStorageOptions &&value)
int GetDedicatedMasterCount() const
ESWarmPartitionInstanceType
Aws::Utils::Json::JsonValue JsonValue