/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies the zone awareness configuration for the domain cluster, such as
* the number of availability zones.See Also:
AWS
* API Reference
An integer value to indicate the number of availability zones for a domain * when zone awareness is enabled. This should be equal to number of subnets if VPC * endpoints is enabled
*/ inline int GetAvailabilityZoneCount() const{ return m_availabilityZoneCount; } /** *An integer value to indicate the number of availability zones for a domain * when zone awareness is enabled. This should be equal to number of subnets if VPC * endpoints is enabled
*/ inline bool AvailabilityZoneCountHasBeenSet() const { return m_availabilityZoneCountHasBeenSet; } /** *An integer value to indicate the number of availability zones for a domain * when zone awareness is enabled. This should be equal to number of subnets if VPC * endpoints is enabled
*/ inline void SetAvailabilityZoneCount(int value) { m_availabilityZoneCountHasBeenSet = true; m_availabilityZoneCount = value; } /** *An integer value to indicate the number of availability zones for a domain * when zone awareness is enabled. This should be equal to number of subnets if VPC * endpoints is enabled
*/ inline ZoneAwarenessConfig& WithAvailabilityZoneCount(int value) { SetAvailabilityZoneCount(value); return *this;} private: int m_availabilityZoneCount; bool m_availabilityZoneCountHasBeenSet = false; }; } // namespace Model } // namespace ElasticsearchService } // namespace Aws