7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/es/model/ColdStorageOptions.h>
9#include <aws/es/model/ESPartitionInstanceType.h>
10#include <aws/es/model/ESWarmPartitionInstanceType.h>
11#include <aws/es/model/ZoneAwarenessConfig.h>
22namespace ElasticsearchService {
46 m_instanceTypeHasBeenSet =
true;
47 m_instanceType = value;
62 m_instanceCountHasBeenSet =
true;
63 m_instanceCount = value;
81 m_dedicatedMasterEnabledHasBeenSet =
true;
82 m_dedicatedMasterEnabled = value;
99 m_zoneAwarenessEnabledHasBeenSet =
true;
100 m_zoneAwarenessEnabled = value;
115 template <
typename ZoneAwarenessConfigT = ZoneAwarenessConfig>
117 m_zoneAwarenessConfigHasBeenSet =
true;
118 m_zoneAwarenessConfig = std::forward<ZoneAwarenessConfigT>(value);
120 template <
typename ZoneAwarenessConfigT = ZoneAwarenessConfig>
134 m_dedicatedMasterTypeHasBeenSet =
true;
135 m_dedicatedMasterType = value;
151 m_dedicatedMasterCountHasBeenSet =
true;
152 m_dedicatedMasterCount = value;
167 m_warmEnabledHasBeenSet =
true;
168 m_warmEnabled = value;
183 m_warmTypeHasBeenSet =
true;
199 m_warmCountHasBeenSet =
true;
215 template <
typename ColdStorageOptionsT = ColdStorageOptions>
217 m_coldStorageOptionsHasBeenSet =
true;
218 m_coldStorageOptions = std::forward<ColdStorageOptionsT>(value);
220 template <
typename ColdStorageOptionsT = ColdStorageOptions>
229 int m_instanceCount{0};
231 bool m_dedicatedMasterEnabled{
false};
233 bool m_zoneAwarenessEnabled{
false};
235 ZoneAwarenessConfig m_zoneAwarenessConfig;
239 int m_dedicatedMasterCount{0};
241 bool m_warmEnabled{
false};
247 ColdStorageOptions m_coldStorageOptions;
248 bool m_instanceTypeHasBeenSet =
false;
249 bool m_instanceCountHasBeenSet =
false;
250 bool m_dedicatedMasterEnabledHasBeenSet =
false;
251 bool m_zoneAwarenessEnabledHasBeenSet =
false;
252 bool m_zoneAwarenessConfigHasBeenSet =
false;
253 bool m_dedicatedMasterTypeHasBeenSet =
false;
254 bool m_dedicatedMasterCountHasBeenSet =
false;
255 bool m_warmEnabledHasBeenSet =
false;
256 bool m_warmTypeHasBeenSet =
false;
257 bool m_warmCountHasBeenSet =
false;
258 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