7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearch/model/ZoneStatus.h>
22namespace OpenSearchService
48 template<
typename AvailabilityZoneNameT = Aws::String>
49 void SetAvailabilityZoneName(AvailabilityZoneNameT&& value) { m_availabilityZoneNameHasBeenSet =
true; m_availabilityZoneName = std::forward<AvailabilityZoneNameT>(value); }
50 template<
typename AvailabilityZoneNameT = Aws::String>
75 template<
typename ConfiguredDataNodeCountT = Aws::String>
76 void SetConfiguredDataNodeCount(ConfiguredDataNodeCountT&& value) { m_configuredDataNodeCountHasBeenSet =
true; m_configuredDataNodeCount = std::forward<ConfiguredDataNodeCountT>(value); }
77 template<
typename ConfiguredDataNodeCountT = Aws::String>
87 template<
typename AvailableDataNodeCountT = Aws::String>
88 void SetAvailableDataNodeCount(AvailableDataNodeCountT&& value) { m_availableDataNodeCountHasBeenSet =
true; m_availableDataNodeCount = std::forward<AvailableDataNodeCountT>(value); }
89 template<
typename AvailableDataNodeCountT = Aws::String>
99 template<
typename TotalShardsT = Aws::String>
100 void SetTotalShards(TotalShardsT&& value) { m_totalShardsHasBeenSet =
true; m_totalShards = std::forward<TotalShardsT>(value); }
101 template<
typename TotalShardsT = Aws::String>
112 template<
typename TotalUnAs
signedShardsT = Aws::String>
113 void SetTotalUnAssignedShards(TotalUnAssignedShardsT&& value) { m_totalUnAssignedShardsHasBeenSet =
true; m_totalUnAssignedShards = std::forward<TotalUnAssignedShardsT>(value); }
114 template<
typename TotalUnAs
signedShardsT = Aws::String>
120 bool m_availabilityZoneNameHasBeenSet =
false;
123 bool m_zoneStatusHasBeenSet =
false;
126 bool m_configuredDataNodeCountHasBeenSet =
false;
129 bool m_availableDataNodeCountHasBeenSet =
false;
132 bool m_totalShardsHasBeenSet =
false;
135 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