7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/opensearch/model/OpenSearchPartitionInstanceType.h>
9#include <aws/opensearch/model/ZoneAwarenessConfig.h>
10#include <aws/opensearch/model/OpenSearchWarmPartitionInstanceType.h>
11#include <aws/opensearch/model/ColdStorageOptions.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/opensearch/model/NodeOption.h>
26namespace OpenSearchService
68 inline void SetInstanceCount(
int value) { m_instanceCountHasBeenSet =
true; m_instanceCount = value; }
93 inline void SetZoneAwarenessEnabled(
bool value) { m_zoneAwarenessEnabledHasBeenSet =
true; m_zoneAwarenessEnabled = value; }
140 inline void SetWarmEnabled(
bool value) { m_warmEnabledHasBeenSet =
true; m_warmEnabled = value; }
162 inline void SetWarmCount(
int value) { m_warmCountHasBeenSet =
true; m_warmCount = value; }
207 bool m_instanceTypeHasBeenSet =
false;
210 bool m_instanceCountHasBeenSet =
false;
212 bool m_dedicatedMasterEnabled;
213 bool m_dedicatedMasterEnabledHasBeenSet =
false;
215 bool m_zoneAwarenessEnabled;
216 bool m_zoneAwarenessEnabledHasBeenSet =
false;
219 bool m_zoneAwarenessConfigHasBeenSet =
false;
222 bool m_dedicatedMasterTypeHasBeenSet =
false;
224 int m_dedicatedMasterCount;
225 bool m_dedicatedMasterCountHasBeenSet =
false;
228 bool m_warmEnabledHasBeenSet =
false;
231 bool m_warmTypeHasBeenSet =
false;
234 bool m_warmCountHasBeenSet =
false;
237 bool m_coldStorageOptionsHasBeenSet =
false;
239 bool m_multiAZWithStandbyEnabled;
240 bool m_multiAZWithStandbyEnabledHasBeenSet =
false;
243 bool m_nodeOptionsHasBeenSet =
false;
const OpenSearchPartitionInstanceType & GetInstanceType() const
ClusterConfig & WithWarmCount(int value)
bool WarmTypeHasBeenSet() const
void SetWarmType(const OpenSearchWarmPartitionInstanceType &value)
bool ZoneAwarenessEnabledHasBeenSet() const
ClusterConfig & WithDedicatedMasterCount(int value)
AWS_OPENSEARCHSERVICE_API ClusterConfig()
void SetColdStorageOptions(const ColdStorageOptions &value)
ClusterConfig & WithInstanceType(const OpenSearchPartitionInstanceType &value)
void SetColdStorageOptions(ColdStorageOptions &&value)
ClusterConfig & WithNodeOptions(Aws::Vector< NodeOption > &&value)
const ZoneAwarenessConfig & GetZoneAwarenessConfig() const
bool NodeOptionsHasBeenSet() const
bool MultiAZWithStandbyEnabledHasBeenSet() const
int GetInstanceCount() const
void SetDedicatedMasterCount(int value)
void SetNodeOptions(const Aws::Vector< NodeOption > &value)
void SetDedicatedMasterEnabled(bool value)
ClusterConfig & WithDedicatedMasterType(const OpenSearchPartitionInstanceType &value)
bool InstanceCountHasBeenSet() const
void SetMultiAZWithStandbyEnabled(bool value)
ClusterConfig & AddNodeOptions(const NodeOption &value)
ClusterConfig & WithInstanceCount(int value)
ClusterConfig & WithNodeOptions(const Aws::Vector< NodeOption > &value)
void SetDedicatedMasterType(const OpenSearchPartitionInstanceType &value)
void SetInstanceType(OpenSearchPartitionInstanceType &&value)
bool GetDedicatedMasterEnabled() const
ClusterConfig & WithZoneAwarenessEnabled(bool value)
ClusterConfig & WithWarmType(const OpenSearchWarmPartitionInstanceType &value)
void SetWarmType(OpenSearchWarmPartitionInstanceType &&value)
void SetWarmEnabled(bool value)
void SetDedicatedMasterType(OpenSearchPartitionInstanceType &&value)
bool DedicatedMasterEnabledHasBeenSet() const
ClusterConfig & WithZoneAwarenessConfig(const ZoneAwarenessConfig &value)
void SetZoneAwarenessConfig(ZoneAwarenessConfig &&value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ClusterConfig & WithWarmType(OpenSearchWarmPartitionInstanceType &&value)
const ColdStorageOptions & GetColdStorageOptions() const
ClusterConfig & WithDedicatedMasterEnabled(bool value)
void SetInstanceType(const OpenSearchPartitionInstanceType &value)
bool DedicatedMasterTypeHasBeenSet() const
bool GetWarmEnabled() const
ClusterConfig & WithZoneAwarenessConfig(ZoneAwarenessConfig &&value)
int GetDedicatedMasterCount() const
void SetZoneAwarenessConfig(const ZoneAwarenessConfig &value)
bool DedicatedMasterCountHasBeenSet() const
void SetZoneAwarenessEnabled(bool value)
bool ZoneAwarenessConfigHasBeenSet() const
ClusterConfig & WithInstanceType(OpenSearchPartitionInstanceType &&value)
ClusterConfig & WithDedicatedMasterType(OpenSearchPartitionInstanceType &&value)
bool WarmCountHasBeenSet() const
AWS_OPENSEARCHSERVICE_API ClusterConfig(Aws::Utils::Json::JsonView jsonValue)
bool ColdStorageOptionsHasBeenSet() const
ClusterConfig & WithMultiAZWithStandbyEnabled(bool value)
ClusterConfig & WithColdStorageOptions(const ColdStorageOptions &value)
ClusterConfig & WithColdStorageOptions(ColdStorageOptions &&value)
const OpenSearchPartitionInstanceType & GetDedicatedMasterType() const
bool WarmEnabledHasBeenSet() const
void SetNodeOptions(Aws::Vector< NodeOption > &&value)
void SetInstanceCount(int value)
bool GetMultiAZWithStandbyEnabled() const
AWS_OPENSEARCHSERVICE_API ClusterConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const OpenSearchWarmPartitionInstanceType & GetWarmType() const
void SetWarmCount(int value)
ClusterConfig & AddNodeOptions(NodeOption &&value)
const Aws::Vector< NodeOption > & GetNodeOptions() const
ClusterConfig & WithWarmEnabled(bool value)
bool InstanceTypeHasBeenSet() const
bool GetZoneAwarenessEnabled() const
OpenSearchWarmPartitionInstanceType
OpenSearchPartitionInstanceType
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue