7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/opensearch/OpenSearchService_EXPORTS.h>
11#include <aws/opensearch/model/DomainHealth.h>
12#include <aws/opensearch/model/DomainState.h>
13#include <aws/opensearch/model/EnvironmentInfo.h>
14#include <aws/opensearch/model/MasterNodeStatus.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
27namespace OpenSearchService {
50 m_domainStateHasBeenSet =
true;
51 m_domainState = value;
65 template <
typename AvailabilityZoneCountT = Aws::String>
67 m_availabilityZoneCountHasBeenSet =
true;
68 m_availabilityZoneCount = std::forward<AvailabilityZoneCountT>(value);
70 template <
typename AvailabilityZoneCountT = Aws::String>
84 template <
typename ActiveAvailabilityZoneCountT = Aws::String>
86 m_activeAvailabilityZoneCountHasBeenSet =
true;
87 m_activeAvailabilityZoneCount = std::forward<ActiveAvailabilityZoneCountT>(value);
89 template <
typename ActiveAvailabilityZoneCountT = Aws::String>
103 template <
typename StandByAvailabilityZoneCountT = Aws::String>
105 m_standByAvailabilityZoneCountHasBeenSet =
true;
106 m_standByAvailabilityZoneCount = std::forward<StandByAvailabilityZoneCountT>(value);
108 template <
typename StandByAvailabilityZoneCountT = Aws::String>
121 template <
typename DataNodeCountT = Aws::String>
123 m_dataNodeCountHasBeenSet =
true;
124 m_dataNodeCount = std::forward<DataNodeCountT>(value);
126 template <
typename DataNodeCountT = Aws::String>
140 m_dedicatedMasterHasBeenSet =
true;
141 m_dedicatedMaster = value;
157 template <
typename MasterEligibleNodeCountT = Aws::String>
159 m_masterEligibleNodeCountHasBeenSet =
true;
160 m_masterEligibleNodeCount = std::forward<MasterEligibleNodeCountT>(value);
162 template <
typename MasterEligibleNodeCountT = Aws::String>
174 template <
typename WarmNodeCountT = Aws::String>
176 m_warmNodeCountHasBeenSet =
true;
177 m_warmNodeCount = std::forward<WarmNodeCountT>(value);
179 template <
typename WarmNodeCountT = Aws::String>
195 m_masterNodeHasBeenSet =
true;
196 m_masterNode = value;
215 m_clusterHealthHasBeenSet =
true;
216 m_clusterHealth = value;
229 template <
typename TotalShardsT = Aws::String>
231 m_totalShardsHasBeenSet =
true;
232 m_totalShards = std::forward<TotalShardsT>(value);
234 template <
typename TotalShardsT = Aws::String>
247 template <
typename TotalUnAs
signedShardsT = Aws::String>
249 m_totalUnAssignedShardsHasBeenSet =
true;
250 m_totalUnAssignedShards = std::forward<TotalUnAssignedShardsT>(value);
252 template <
typename TotalUnAs
signedShardsT = Aws::String>
264 template <
typename EnvironmentInformationT = Aws::Vector<EnvironmentInfo>>
266 m_environmentInformationHasBeenSet =
true;
267 m_environmentInformation = std::forward<EnvironmentInformationT>(value);
269 template <
typename EnvironmentInformationT = Aws::Vector<EnvironmentInfo>>
274 template <
typename EnvironmentInformationT = EnvironmentInfo>
276 m_environmentInformationHasBeenSet =
true;
277 m_environmentInformation.emplace_back(std::forward<EnvironmentInformationT>(value));
285 template <
typename RequestIdT = Aws::String>
287 m_requestIdHasBeenSet =
true;
288 m_requestId = std::forward<RequestIdT>(value);
290 template <
typename RequestIdT = Aws::String>
309 bool m_dedicatedMaster{
false};
327 bool m_domainStateHasBeenSet =
false;
328 bool m_availabilityZoneCountHasBeenSet =
false;
329 bool m_activeAvailabilityZoneCountHasBeenSet =
false;
330 bool m_standByAvailabilityZoneCountHasBeenSet =
false;
331 bool m_dataNodeCountHasBeenSet =
false;
332 bool m_dedicatedMasterHasBeenSet =
false;
333 bool m_masterEligibleNodeCountHasBeenSet =
false;
334 bool m_warmNodeCountHasBeenSet =
false;
335 bool m_masterNodeHasBeenSet =
false;
336 bool m_clusterHealthHasBeenSet =
false;
337 bool m_totalShardsHasBeenSet =
false;
338 bool m_totalUnAssignedShardsHasBeenSet =
false;
339 bool m_environmentInformationHasBeenSet =
false;
340 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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