/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace SecurityHub
{
namespace Model
{
/**
* Configuration options for zone awareness.
See Also:
AWS
* API Reference
*/
class AwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetails
{
public:
AWS_SECURITYHUB_API AwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetails();
AWS_SECURITYHUB_API AwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetails(Aws::Utils::Json::JsonView jsonValue);
AWS_SECURITYHUB_API AwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
/**
* The number of Availability Zones that the domain uses. Valid values are
* 2
or 3
. The default is 2
.
*/
inline int GetAvailabilityZoneCount() const{ return m_availabilityZoneCount; }
/**
* The number of Availability Zones that the domain uses. Valid values are
* 2
or 3
. The default is 2
.
*/
inline bool AvailabilityZoneCountHasBeenSet() const { return m_availabilityZoneCountHasBeenSet; }
/**
* The number of Availability Zones that the domain uses. Valid values are
* 2
or 3
. The default is 2
.
*/
inline void SetAvailabilityZoneCount(int value) { m_availabilityZoneCountHasBeenSet = true; m_availabilityZoneCount = value; }
/**
* The number of Availability Zones that the domain uses. Valid values are
* 2
or 3
. The default is 2
.
*/
inline AwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetails& WithAvailabilityZoneCount(int value) { SetAvailabilityZoneCount(value); return *this;}
private:
int m_availabilityZoneCount;
bool m_availabilityZoneCountHasBeenSet = false;
};
} // namespace Model
} // namespace SecurityHub
} // namespace Aws