7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearch/OpenSearchService_EXPORTS.h>
9#include <aws/opensearch/model/ZoneStatus.h>
20namespace OpenSearchService {
42 template <
typename AvailabilityZoneNameT = Aws::String>
44 m_availabilityZoneNameHasBeenSet =
true;
45 m_availabilityZoneName = std::forward<AvailabilityZoneNameT>(value);
47 template <
typename AvailabilityZoneNameT = Aws::String>
66 m_zoneStatusHasBeenSet =
true;
81 template <
typename ConfiguredDataNodeCountT = Aws::String>
83 m_configuredDataNodeCountHasBeenSet =
true;
84 m_configuredDataNodeCount = std::forward<ConfiguredDataNodeCountT>(value);
86 template <
typename ConfiguredDataNodeCountT = Aws::String>
99 template <
typename AvailableDataNodeCountT = Aws::String>
101 m_availableDataNodeCountHasBeenSet =
true;
102 m_availableDataNodeCount = std::forward<AvailableDataNodeCountT>(value);
104 template <
typename AvailableDataNodeCountT = Aws::String>
117 template <
typename TotalShardsT = Aws::String>
119 m_totalShardsHasBeenSet =
true;
120 m_totalShards = std::forward<TotalShardsT>(value);
122 template <
typename TotalShardsT = Aws::String>
136 template <
typename TotalUnAs
signedShardsT = Aws::String>
138 m_totalUnAssignedShardsHasBeenSet =
true;
139 m_totalUnAssignedShards = std::forward<TotalUnAssignedShardsT>(value);
141 template <
typename TotalUnAs
signedShardsT = Aws::String>
159 bool m_availabilityZoneNameHasBeenSet =
false;
160 bool m_zoneStatusHasBeenSet =
false;
161 bool m_configuredDataNodeCountHasBeenSet =
false;
162 bool m_availableDataNodeCountHasBeenSet =
false;
163 bool m_totalShardsHasBeenSet =
false;
164 bool m_totalUnAssignedShardsHasBeenSet =
false;
void SetTotalShards(TotalShardsT &&value)
AvailabilityZoneInfo & WithTotalShards(TotalShardsT &&value)
AWS_OPENSEARCHSERVICE_API AvailabilityZoneInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API AvailabilityZoneInfo(Aws::Utils::Json::JsonView jsonValue)
void SetAvailableDataNodeCount(AvailableDataNodeCountT &&value)
AvailabilityZoneInfo & WithTotalUnAssignedShards(TotalUnAssignedShardsT &&value)
bool ConfiguredDataNodeCountHasBeenSet() const
void SetAvailabilityZoneName(AvailabilityZoneNameT &&value)
bool TotalUnAssignedShardsHasBeenSet() const
void SetConfiguredDataNodeCount(ConfiguredDataNodeCountT &&value)
void SetTotalUnAssignedShards(TotalUnAssignedShardsT &&value)
AvailabilityZoneInfo & WithZoneStatus(ZoneStatus value)
const Aws::String & GetAvailabilityZoneName() const
const Aws::String & GetAvailableDataNodeCount() const
const Aws::String & GetConfiguredDataNodeCount() const
bool ZoneStatusHasBeenSet() const
AvailabilityZoneInfo & WithAvailabilityZoneName(AvailabilityZoneNameT &&value)
AWS_OPENSEARCHSERVICE_API AvailabilityZoneInfo()=default
void SetZoneStatus(ZoneStatus value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ZoneStatus GetZoneStatus() const
AvailabilityZoneInfo & WithAvailableDataNodeCount(AvailableDataNodeCountT &&value)
const Aws::String & GetTotalUnAssignedShards() const
bool AvailabilityZoneNameHasBeenSet() const
bool TotalShardsHasBeenSet() const
const Aws::String & GetTotalShards() const
bool AvailableDataNodeCountHasBeenSet() const
AvailabilityZoneInfo & WithConfiguredDataNodeCount(ConfiguredDataNodeCountT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue