7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/opensearch/OpenSearchService_EXPORTS.h>
10#include <aws/opensearch/model/DomainHealth.h>
11#include <aws/opensearch/model/DomainState.h>
12#include <aws/opensearch/model/EnvironmentInfo.h>
13#include <aws/opensearch/model/MasterNodeStatus.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace OpenSearchService {
49 m_domainStateHasBeenSet =
true;
50 m_domainState = value;
64 template <
typename AvailabilityZoneCountT = Aws::String>
66 m_availabilityZoneCountHasBeenSet =
true;
67 m_availabilityZoneCount = std::forward<AvailabilityZoneCountT>(value);
69 template <
typename AvailabilityZoneCountT = Aws::String>
83 template <
typename ActiveAvailabilityZoneCountT = Aws::String>
85 m_activeAvailabilityZoneCountHasBeenSet =
true;
86 m_activeAvailabilityZoneCount = std::forward<ActiveAvailabilityZoneCountT>(value);
88 template <
typename ActiveAvailabilityZoneCountT = Aws::String>
102 template <
typename StandByAvailabilityZoneCountT = Aws::String>
104 m_standByAvailabilityZoneCountHasBeenSet =
true;
105 m_standByAvailabilityZoneCount = std::forward<StandByAvailabilityZoneCountT>(value);
107 template <
typename StandByAvailabilityZoneCountT = Aws::String>
120 template <
typename DataNodeCountT = Aws::String>
122 m_dataNodeCountHasBeenSet =
true;
123 m_dataNodeCount = std::forward<DataNodeCountT>(value);
125 template <
typename DataNodeCountT = Aws::String>
139 m_dedicatedMasterHasBeenSet =
true;
140 m_dedicatedMaster = value;
156 template <
typename MasterEligibleNodeCountT = Aws::String>
158 m_masterEligibleNodeCountHasBeenSet =
true;
159 m_masterEligibleNodeCount = std::forward<MasterEligibleNodeCountT>(value);
161 template <
typename MasterEligibleNodeCountT = Aws::String>
173 template <
typename WarmNodeCountT = Aws::String>
175 m_warmNodeCountHasBeenSet =
true;
176 m_warmNodeCount = std::forward<WarmNodeCountT>(value);
178 template <
typename WarmNodeCountT = Aws::String>
194 m_masterNodeHasBeenSet =
true;
195 m_masterNode = value;
214 m_clusterHealthHasBeenSet =
true;
215 m_clusterHealth = value;
228 template <
typename TotalShardsT = Aws::String>
230 m_totalShardsHasBeenSet =
true;
231 m_totalShards = std::forward<TotalShardsT>(value);
233 template <
typename TotalShardsT = Aws::String>
246 template <
typename TotalUnAs
signedShardsT = Aws::String>
248 m_totalUnAssignedShardsHasBeenSet =
true;
249 m_totalUnAssignedShards = std::forward<TotalUnAssignedShardsT>(value);
251 template <
typename TotalUnAs
signedShardsT = Aws::String>
263 template <
typename EnvironmentInformationT = Aws::Vector<EnvironmentInfo>>
265 m_environmentInformationHasBeenSet =
true;
266 m_environmentInformation = std::forward<EnvironmentInformationT>(value);
268 template <
typename EnvironmentInformationT = Aws::Vector<EnvironmentInfo>>
273 template <
typename EnvironmentInformationT = EnvironmentInfo>
275 m_environmentInformationHasBeenSet =
true;
276 m_environmentInformation.emplace_back(std::forward<EnvironmentInformationT>(value));
284 template <
typename RequestIdT = Aws::String>
286 m_requestIdHasBeenSet =
true;
287 m_requestId = std::forward<RequestIdT>(value);
289 template <
typename RequestIdT = Aws::String>
306 bool m_dedicatedMaster{
false};
323 bool m_domainStateHasBeenSet =
false;
324 bool m_availabilityZoneCountHasBeenSet =
false;
325 bool m_activeAvailabilityZoneCountHasBeenSet =
false;
326 bool m_standByAvailabilityZoneCountHasBeenSet =
false;
327 bool m_dataNodeCountHasBeenSet =
false;
328 bool m_dedicatedMasterHasBeenSet =
false;
329 bool m_masterEligibleNodeCountHasBeenSet =
false;
330 bool m_warmNodeCountHasBeenSet =
false;
331 bool m_masterNodeHasBeenSet =
false;
332 bool m_clusterHealthHasBeenSet =
false;
333 bool m_totalShardsHasBeenSet =
false;
334 bool m_totalUnAssignedShardsHasBeenSet =
false;
335 bool m_environmentInformationHasBeenSet =
false;
336 bool m_requestIdHasBeenSet =
false;
void SetMasterNode(MasterNodeStatus value)
const Aws::String & GetStandByAvailabilityZoneCount() const
const Aws::String & GetTotalUnAssignedShards() const
const Aws::String & GetAvailabilityZoneCount() const
void SetEnvironmentInformation(EnvironmentInformationT &&value)
void SetStandByAvailabilityZoneCount(StandByAvailabilityZoneCountT &&value)
DomainState GetDomainState() const
DescribeDomainHealthResult & WithRequestId(RequestIdT &&value)
void SetDataNodeCount(DataNodeCountT &&value)
DescribeDomainHealthResult & WithStandByAvailabilityZoneCount(StandByAvailabilityZoneCountT &&value)
DescribeDomainHealthResult & WithMasterNode(MasterNodeStatus value)
DescribeDomainHealthResult & WithTotalShards(TotalShardsT &&value)
DescribeDomainHealthResult & AddEnvironmentInformation(EnvironmentInformationT &&value)
AWS_OPENSEARCHSERVICE_API DescribeDomainHealthResult()=default
void SetDomainState(DomainState value)
DescribeDomainHealthResult & WithDataNodeCount(DataNodeCountT &&value)
const Aws::String & GetMasterEligibleNodeCount() const
DescribeDomainHealthResult & WithMasterEligibleNodeCount(MasterEligibleNodeCountT &&value)
DescribeDomainHealthResult & WithAvailabilityZoneCount(AvailabilityZoneCountT &&value)
void SetTotalShards(TotalShardsT &&value)
const Aws::String & GetWarmNodeCount() const
const Aws::Vector< EnvironmentInfo > & GetEnvironmentInformation() const
DescribeDomainHealthResult & WithEnvironmentInformation(EnvironmentInformationT &&value)
const Aws::String & GetDataNodeCount() const
void SetClusterHealth(DomainHealth value)
DescribeDomainHealthResult & WithTotalUnAssignedShards(TotalUnAssignedShardsT &&value)
DomainHealth GetClusterHealth() const
AWS_OPENSEARCHSERVICE_API DescribeDomainHealthResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDomainHealthResult & WithDedicatedMaster(bool value)
void SetActiveAvailabilityZoneCount(ActiveAvailabilityZoneCountT &&value)
DescribeDomainHealthResult & WithClusterHealth(DomainHealth value)
const Aws::String & GetActiveAvailabilityZoneCount() const
void SetRequestId(RequestIdT &&value)
const Aws::String & GetTotalShards() const
MasterNodeStatus GetMasterNode() const
DescribeDomainHealthResult & WithDomainState(DomainState value)
void SetDedicatedMaster(bool value)
bool GetDedicatedMaster() const
void SetTotalUnAssignedShards(TotalUnAssignedShardsT &&value)
void SetWarmNodeCount(WarmNodeCountT &&value)
void SetAvailabilityZoneCount(AvailabilityZoneCountT &&value)
DescribeDomainHealthResult & WithActiveAvailabilityZoneCount(ActiveAvailabilityZoneCountT &&value)
void SetMasterEligibleNodeCount(MasterEligibleNodeCountT &&value)
AWS_OPENSEARCHSERVICE_API DescribeDomainHealthResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
DescribeDomainHealthResult & WithWarmNodeCount(WarmNodeCountT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue