/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details about the configuration of an OpenSearch cluster.See
* Also:
AWS
* API Reference
The number of data nodes to use in the OpenSearch domain.
*/ inline int GetInstanceCount() const{ return m_instanceCount; } /** *The number of data nodes to use in the OpenSearch domain.
*/ inline bool InstanceCountHasBeenSet() const { return m_instanceCountHasBeenSet; } /** *The number of data nodes to use in the OpenSearch domain.
*/ inline void SetInstanceCount(int value) { m_instanceCountHasBeenSet = true; m_instanceCount = value; } /** *The number of data nodes to use in the OpenSearch domain.
*/ inline AwsOpenSearchServiceDomainClusterConfigDetails& WithInstanceCount(int value) { SetInstanceCount(value); return *this;} /** *Whether UltraWarm is enabled.
*/ inline bool GetWarmEnabled() const{ return m_warmEnabled; } /** *Whether UltraWarm is enabled.
*/ inline bool WarmEnabledHasBeenSet() const { return m_warmEnabledHasBeenSet; } /** *Whether UltraWarm is enabled.
*/ inline void SetWarmEnabled(bool value) { m_warmEnabledHasBeenSet = true; m_warmEnabled = value; } /** *Whether UltraWarm is enabled.
*/ inline AwsOpenSearchServiceDomainClusterConfigDetails& WithWarmEnabled(bool value) { SetWarmEnabled(value); return *this;} /** *The number of UltraWarm instances.
*/ inline int GetWarmCount() const{ return m_warmCount; } /** *The number of UltraWarm instances.
*/ inline bool WarmCountHasBeenSet() const { return m_warmCountHasBeenSet; } /** *The number of UltraWarm instances.
*/ inline void SetWarmCount(int value) { m_warmCountHasBeenSet = true; m_warmCount = value; } /** *The number of UltraWarm instances.
*/ inline AwsOpenSearchServiceDomainClusterConfigDetails& WithWarmCount(int value) { SetWarmCount(value); return *this;} /** *Whether to use a dedicated master node for the OpenSearch domain. A dedicated * master node performs cluster management tasks, but does not hold data or respond * to data upload requests.
*/ inline bool GetDedicatedMasterEnabled() const{ return m_dedicatedMasterEnabled; } /** *Whether to use a dedicated master node for the OpenSearch domain. A dedicated * master node performs cluster management tasks, but does not hold data or respond * to data upload requests.
*/ inline bool DedicatedMasterEnabledHasBeenSet() const { return m_dedicatedMasterEnabledHasBeenSet; } /** *Whether to use a dedicated master node for the OpenSearch domain. A dedicated * master node performs cluster management tasks, but does not hold data or respond * to data upload requests.
*/ inline void SetDedicatedMasterEnabled(bool value) { m_dedicatedMasterEnabledHasBeenSet = true; m_dedicatedMasterEnabled = value; } /** *Whether to use a dedicated master node for the OpenSearch domain. A dedicated * master node performs cluster management tasks, but does not hold data or respond * to data upload requests.
*/ inline AwsOpenSearchServiceDomainClusterConfigDetails& WithDedicatedMasterEnabled(bool value) { SetDedicatedMasterEnabled(value); return *this;} /** *Configuration options for zone awareness. Provided if
* ZoneAwarenessEnabled
is true
.
Configuration options for zone awareness. Provided if
* ZoneAwarenessEnabled
is true
.
Configuration options for zone awareness. Provided if
* ZoneAwarenessEnabled
is true
.
Configuration options for zone awareness. Provided if
* ZoneAwarenessEnabled
is true
.
Configuration options for zone awareness. Provided if
* ZoneAwarenessEnabled
is true
.
Configuration options for zone awareness. Provided if
* ZoneAwarenessEnabled
is true
.
The number of instances to use for the master node. If this attribute is
* specified, then DedicatedMasterEnabled
must be
* true
.
The number of instances to use for the master node. If this attribute is
* specified, then DedicatedMasterEnabled
must be
* true
.
The number of instances to use for the master node. If this attribute is
* specified, then DedicatedMasterEnabled
must be
* true
.
The number of instances to use for the master node. If this attribute is
* specified, then DedicatedMasterEnabled
must be
* true
.
The instance type for your data nodes.
For a list of valid values, see * Supported * instance types in Amazon OpenSearch Service in the Amazon OpenSearch * Service Developer Guide.
*/ inline const Aws::String& GetInstanceType() const{ return m_instanceType; } /** *The instance type for your data nodes.
For a list of valid values, see * Supported * instance types in Amazon OpenSearch Service in the Amazon OpenSearch * Service Developer Guide.
*/ inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; } /** *The instance type for your data nodes.
For a list of valid values, see * Supported * instance types in Amazon OpenSearch Service in the Amazon OpenSearch * Service Developer Guide.
*/ inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; } /** *The instance type for your data nodes.
For a list of valid values, see * Supported * instance types in Amazon OpenSearch Service in the Amazon OpenSearch * Service Developer Guide.
*/ inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); } /** *The instance type for your data nodes.
For a list of valid values, see * Supported * instance types in Amazon OpenSearch Service in the Amazon OpenSearch * Service Developer Guide.
*/ inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); } /** *The instance type for your data nodes.
For a list of valid values, see * Supported * instance types in Amazon OpenSearch Service in the Amazon OpenSearch * Service Developer Guide.
*/ inline AwsOpenSearchServiceDomainClusterConfigDetails& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;} /** *The instance type for your data nodes.
For a list of valid values, see * Supported * instance types in Amazon OpenSearch Service in the Amazon OpenSearch * Service Developer Guide.
*/ inline AwsOpenSearchServiceDomainClusterConfigDetails& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;} /** *The instance type for your data nodes.
For a list of valid values, see * Supported * instance types in Amazon OpenSearch Service in the Amazon OpenSearch * Service Developer Guide.
*/ inline AwsOpenSearchServiceDomainClusterConfigDetails& WithInstanceType(const char* value) { SetInstanceType(value); return *this;} /** *The type of UltraWarm instance.
*/ inline const Aws::String& GetWarmType() const{ return m_warmType; } /** *The type of UltraWarm instance.
*/ inline bool WarmTypeHasBeenSet() const { return m_warmTypeHasBeenSet; } /** *The type of UltraWarm instance.
*/ inline void SetWarmType(const Aws::String& value) { m_warmTypeHasBeenSet = true; m_warmType = value; } /** *The type of UltraWarm instance.
*/ inline void SetWarmType(Aws::String&& value) { m_warmTypeHasBeenSet = true; m_warmType = std::move(value); } /** *The type of UltraWarm instance.
*/ inline void SetWarmType(const char* value) { m_warmTypeHasBeenSet = true; m_warmType.assign(value); } /** *The type of UltraWarm instance.
*/ inline AwsOpenSearchServiceDomainClusterConfigDetails& WithWarmType(const Aws::String& value) { SetWarmType(value); return *this;} /** *The type of UltraWarm instance.
*/ inline AwsOpenSearchServiceDomainClusterConfigDetails& WithWarmType(Aws::String&& value) { SetWarmType(std::move(value)); return *this;} /** *The type of UltraWarm instance.
*/ inline AwsOpenSearchServiceDomainClusterConfigDetails& WithWarmType(const char* value) { SetWarmType(value); return *this;} /** *Whether to enable zone awareness for the OpenSearch domain. When zone * awareness is enabled, OpenSearch Service allocates the cluster's nodes and * replica index shards across Availability Zones (AZs) in the same Region. This * prevents data loss and minimizes downtime if a node or data center fails.
*/ inline bool GetZoneAwarenessEnabled() const{ return m_zoneAwarenessEnabled; } /** *Whether to enable zone awareness for the OpenSearch domain. When zone * awareness is enabled, OpenSearch Service allocates the cluster's nodes and * replica index shards across Availability Zones (AZs) in the same Region. This * prevents data loss and minimizes downtime if a node or data center fails.
*/ inline bool ZoneAwarenessEnabledHasBeenSet() const { return m_zoneAwarenessEnabledHasBeenSet; } /** *Whether to enable zone awareness for the OpenSearch domain. When zone * awareness is enabled, OpenSearch Service allocates the cluster's nodes and * replica index shards across Availability Zones (AZs) in the same Region. This * prevents data loss and minimizes downtime if a node or data center fails.
*/ inline void SetZoneAwarenessEnabled(bool value) { m_zoneAwarenessEnabledHasBeenSet = true; m_zoneAwarenessEnabled = value; } /** *Whether to enable zone awareness for the OpenSearch domain. When zone * awareness is enabled, OpenSearch Service allocates the cluster's nodes and * replica index shards across Availability Zones (AZs) in the same Region. This * prevents data loss and minimizes downtime if a node or data center fails.
*/ inline AwsOpenSearchServiceDomainClusterConfigDetails& WithZoneAwarenessEnabled(bool value) { SetZoneAwarenessEnabled(value); return *this;} /** *The hardware configuration of the computer that hosts the dedicated master * node.
If this attribute is specified, then
* DedicatedMasterEnabled
must be true
.
The hardware configuration of the computer that hosts the dedicated master * node.
If this attribute is specified, then
* DedicatedMasterEnabled
must be true
.
The hardware configuration of the computer that hosts the dedicated master * node.
If this attribute is specified, then
* DedicatedMasterEnabled
must be true
.
The hardware configuration of the computer that hosts the dedicated master * node.
If this attribute is specified, then
* DedicatedMasterEnabled
must be true
.
The hardware configuration of the computer that hosts the dedicated master * node.
If this attribute is specified, then
* DedicatedMasterEnabled
must be true
.
The hardware configuration of the computer that hosts the dedicated master * node.
If this attribute is specified, then
* DedicatedMasterEnabled
must be true
.
The hardware configuration of the computer that hosts the dedicated master * node.
If this attribute is specified, then
* DedicatedMasterEnabled
must be true
.
The hardware configuration of the computer that hosts the dedicated master * node.
If this attribute is specified, then
* DedicatedMasterEnabled
must be true
.