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
61 inline void SetInstanceCount(
int value) { m_instanceCountHasBeenSet =
true; m_instanceCount = value; }
86 inline void SetZoneAwarenessEnabled(
bool value) { m_zoneAwarenessEnabledHasBeenSet =
true; m_zoneAwarenessEnabled = value; }
97 template<
typename ZoneAwarenessConfigT = ZoneAwarenessConfig>
98 void SetZoneAwarenessConfig(ZoneAwarenessConfigT&& value) { m_zoneAwarenessConfigHasBeenSet =
true; m_zoneAwarenessConfig = std::forward<ZoneAwarenessConfigT>(value); }
99 template<
typename ZoneAwarenessConfigT = ZoneAwarenessConfig>
130 inline void SetWarmEnabled(
bool value) { m_warmEnabledHasBeenSet =
true; m_warmEnabled = value; }
150 inline void SetWarmCount(
int value) { m_warmCountHasBeenSet =
true; m_warmCount = value; }
161 template<
typename ColdStorageOptionsT = ColdStorageOptions>
162 void SetColdStorageOptions(ColdStorageOptionsT&& value) { m_coldStorageOptionsHasBeenSet =
true; m_coldStorageOptions = std::forward<ColdStorageOptionsT>(value); }
163 template<
typename ColdStorageOptionsT = ColdStorageOptions>
169 bool m_instanceTypeHasBeenSet =
false;
171 int m_instanceCount{0};
172 bool m_instanceCountHasBeenSet =
false;
174 bool m_dedicatedMasterEnabled{
false};
175 bool m_dedicatedMasterEnabledHasBeenSet =
false;
177 bool m_zoneAwarenessEnabled{
false};
178 bool m_zoneAwarenessEnabledHasBeenSet =
false;
180 ZoneAwarenessConfig m_zoneAwarenessConfig;
181 bool m_zoneAwarenessConfigHasBeenSet =
false;
184 bool m_dedicatedMasterTypeHasBeenSet =
false;
186 int m_dedicatedMasterCount{0};
187 bool m_dedicatedMasterCountHasBeenSet =
false;
189 bool m_warmEnabled{
false};
190 bool m_warmEnabledHasBeenSet =
false;
193 bool m_warmTypeHasBeenSet =
false;
196 bool m_warmCountHasBeenSet =
false;
198 ColdStorageOptions m_coldStorageOptions;
199 bool m_coldStorageOptionsHasBeenSet =
false;
void SetWarmCount(int value)
bool WarmTypeHasBeenSet() const
ElasticsearchClusterConfig & WithZoneAwarenessEnabled(bool value)
ElasticsearchClusterConfig & WithInstanceType(ESPartitionInstanceType value)
void SetColdStorageOptions(ColdStorageOptionsT &&value)
void SetInstanceCount(int value)
ElasticsearchClusterConfig & WithWarmEnabled(bool value)
ElasticsearchClusterConfig & WithDedicatedMasterEnabled(bool value)
const ColdStorageOptions & GetColdStorageOptions() const
bool ZoneAwarenessConfigHasBeenSet() const
ElasticsearchClusterConfig & WithInstanceCount(int value)
ESWarmPartitionInstanceType GetWarmType() const
bool ColdStorageOptionsHasBeenSet() const
void SetWarmEnabled(bool value)
ESPartitionInstanceType GetDedicatedMasterType() const
bool DedicatedMasterTypeHasBeenSet() const
bool ZoneAwarenessEnabledHasBeenSet() const
void SetInstanceType(ESPartitionInstanceType value)
AWS_ELASTICSEARCHSERVICE_API ElasticsearchClusterConfig(Aws::Utils::Json::JsonView jsonValue)
bool DedicatedMasterCountHasBeenSet() const
bool GetDedicatedMasterEnabled() const
void SetDedicatedMasterEnabled(bool value)
ElasticsearchClusterConfig & WithZoneAwarenessConfig(ZoneAwarenessConfigT &&value)
bool DedicatedMasterEnabledHasBeenSet() const
void SetWarmType(ESWarmPartitionInstanceType value)
ElasticsearchClusterConfig & WithDedicatedMasterType(ESPartitionInstanceType value)
bool WarmEnabledHasBeenSet() const
AWS_ELASTICSEARCHSERVICE_API ElasticsearchClusterConfig()=default
void SetZoneAwarenessEnabled(bool value)
void SetDedicatedMasterType(ESPartitionInstanceType value)
int GetInstanceCount() const
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ESPartitionInstanceType GetInstanceType() const
bool InstanceCountHasBeenSet() const
void SetDedicatedMasterCount(int value)
ElasticsearchClusterConfig & WithDedicatedMasterCount(int value)
ElasticsearchClusterConfig & WithWarmType(ESWarmPartitionInstanceType value)
AWS_ELASTICSEARCHSERVICE_API ElasticsearchClusterConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
ElasticsearchClusterConfig & WithWarmCount(int value)
bool InstanceTypeHasBeenSet() const
const ZoneAwarenessConfig & GetZoneAwarenessConfig() const
bool GetZoneAwarenessEnabled() const
bool GetWarmEnabled() const
ElasticsearchClusterConfig & WithColdStorageOptions(ColdStorageOptionsT &&value)
bool WarmCountHasBeenSet() const
void SetZoneAwarenessConfig(ZoneAwarenessConfigT &&value)
int GetDedicatedMasterCount() const
ESWarmPartitionInstanceType
Aws::Utils::Json::JsonValue JsonValue