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
50 inline void SetAvailabilityZoneName(
const char* value) { m_availabilityZoneNameHasBeenSet =
true; m_availabilityZoneName.assign(value); }
81 inline void SetConfiguredDataNodeCount(
const char* value) { m_configuredDataNodeCountHasBeenSet =
true; m_configuredDataNodeCount.assign(value); }
95 inline void SetAvailableDataNodeCount(
const char* value) { m_availableDataNodeCountHasBeenSet =
true; m_availableDataNodeCount.assign(value); }
109 inline void SetTotalShards(
const char* value) { m_totalShardsHasBeenSet =
true; m_totalShards.assign(value); }
124 inline void SetTotalUnAssignedShards(
const char* value) { m_totalUnAssignedShardsHasBeenSet =
true; m_totalUnAssignedShards.assign(value); }
132 bool m_availabilityZoneNameHasBeenSet =
false;
135 bool m_zoneStatusHasBeenSet =
false;
138 bool m_configuredDataNodeCountHasBeenSet =
false;
141 bool m_availableDataNodeCountHasBeenSet =
false;
144 bool m_totalShardsHasBeenSet =
false;
147 bool m_totalUnAssignedShardsHasBeenSet =
false;
AvailabilityZoneInfo & WithAvailabilityZoneName(const char *value)
void SetConfiguredDataNodeCount(Aws::String &&value)
AvailabilityZoneInfo & WithConfiguredDataNodeCount(Aws::String &&value)
void SetConfiguredDataNodeCount(const char *value)
AvailabilityZoneInfo & WithTotalUnAssignedShards(const Aws::String &value)
void SetZoneStatus(ZoneStatus &&value)
void SetTotalShards(const char *value)
AWS_OPENSEARCHSERVICE_API AvailabilityZoneInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAvailabilityZoneName(const Aws::String &value)
AWS_OPENSEARCHSERVICE_API AvailabilityZoneInfo(Aws::Utils::Json::JsonView jsonValue)
bool ConfiguredDataNodeCountHasBeenSet() const
void SetAvailabilityZoneName(const char *value)
void SetTotalShards(Aws::String &&value)
const ZoneStatus & GetZoneStatus() const
bool TotalUnAssignedShardsHasBeenSet() const
void SetZoneStatus(const ZoneStatus &value)
AvailabilityZoneInfo & WithTotalUnAssignedShards(const char *value)
const Aws::String & GetAvailabilityZoneName() const
AvailabilityZoneInfo & WithAvailableDataNodeCount(const char *value)
void SetAvailableDataNodeCount(Aws::String &&value)
const Aws::String & GetAvailableDataNodeCount() const
AvailabilityZoneInfo & WithAvailabilityZoneName(Aws::String &&value)
void SetAvailableDataNodeCount(const char *value)
const Aws::String & GetConfiguredDataNodeCount() const
bool ZoneStatusHasBeenSet() const
AvailabilityZoneInfo & WithTotalShards(Aws::String &&value)
void SetTotalUnAssignedShards(Aws::String &&value)
AvailabilityZoneInfo & WithZoneStatus(const ZoneStatus &value)
void SetTotalUnAssignedShards(const Aws::String &value)
AvailabilityZoneInfo & WithConfiguredDataNodeCount(const Aws::String &value)
AvailabilityZoneInfo & WithZoneStatus(ZoneStatus &&value)
AvailabilityZoneInfo & WithTotalShards(const char *value)
AWS_OPENSEARCHSERVICE_API AvailabilityZoneInfo()
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTotalShards(const Aws::String &value)
const Aws::String & GetTotalUnAssignedShards() const
AvailabilityZoneInfo & WithTotalShards(const Aws::String &value)
AvailabilityZoneInfo & WithAvailableDataNodeCount(const Aws::String &value)
AvailabilityZoneInfo & WithAvailableDataNodeCount(Aws::String &&value)
bool AvailabilityZoneNameHasBeenSet() const
void SetAvailabilityZoneName(Aws::String &&value)
void SetTotalUnAssignedShards(const char *value)
void SetConfiguredDataNodeCount(const Aws::String &value)
bool TotalShardsHasBeenSet() const
const Aws::String & GetTotalShards() const
void SetAvailableDataNodeCount(const Aws::String &value)
AvailabilityZoneInfo & WithTotalUnAssignedShards(Aws::String &&value)
AvailabilityZoneInfo & WithConfiguredDataNodeCount(const char *value)
bool AvailableDataNodeCountHasBeenSet() const
AvailabilityZoneInfo & WithAvailabilityZoneName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue