7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/opensearch/model/DomainState.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/opensearch/model/MasterNodeStatus.h>
11#include <aws/opensearch/model/DomainHealth.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/opensearch/model/EnvironmentInfo.h>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
28namespace OpenSearchService
64 template<
typename AvailabilityZoneCountT = Aws::String>
65 void SetAvailabilityZoneCount(AvailabilityZoneCountT&& value) { m_availabilityZoneCountHasBeenSet =
true; m_availabilityZoneCount = std::forward<AvailabilityZoneCountT>(value); }
66 template<
typename AvailabilityZoneCountT = Aws::String>
77 template<
typename ActiveAvailabilityZoneCountT = Aws::String>
78 void SetActiveAvailabilityZoneCount(ActiveAvailabilityZoneCountT&& value) { m_activeAvailabilityZoneCountHasBeenSet =
true; m_activeAvailabilityZoneCount = std::forward<ActiveAvailabilityZoneCountT>(value); }
79 template<
typename ActiveAvailabilityZoneCountT = Aws::String>
90 template<
typename StandByAvailabilityZoneCountT = Aws::String>
91 void SetStandByAvailabilityZoneCount(StandByAvailabilityZoneCountT&& value) { m_standByAvailabilityZoneCountHasBeenSet =
true; m_standByAvailabilityZoneCount = std::forward<StandByAvailabilityZoneCountT>(value); }
92 template<
typename StandByAvailabilityZoneCountT = Aws::String>
102 template<
typename DataNodeCountT = Aws::String>
103 void SetDataNodeCount(DataNodeCountT&& value) { m_dataNodeCountHasBeenSet =
true; m_dataNodeCount = std::forward<DataNodeCountT>(value); }
104 template<
typename DataNodeCountT = Aws::String>
114 inline void SetDedicatedMaster(
bool value) { m_dedicatedMasterHasBeenSet =
true; m_dedicatedMaster = value; }
126 template<
typename MasterEligibleNodeCountT = Aws::String>
127 void SetMasterEligibleNodeCount(MasterEligibleNodeCountT&& value) { m_masterEligibleNodeCountHasBeenSet =
true; m_masterEligibleNodeCount = std::forward<MasterEligibleNodeCountT>(value); }
128 template<
typename MasterEligibleNodeCountT = Aws::String>
137 template<
typename WarmNodeCountT = Aws::String>
138 void SetWarmNodeCount(WarmNodeCountT&& value) { m_warmNodeCountHasBeenSet =
true; m_warmNodeCount = std::forward<WarmNodeCountT>(value); }
139 template<
typename WarmNodeCountT = Aws::String>
174 template<
typename TotalShardsT = Aws::String>
175 void SetTotalShards(TotalShardsT&& value) { m_totalShardsHasBeenSet =
true; m_totalShards = std::forward<TotalShardsT>(value); }
176 template<
typename TotalShardsT = Aws::String>
186 template<
typename TotalUnAs
signedShardsT = Aws::String>
187 void SetTotalUnAssignedShards(TotalUnAssignedShardsT&& value) { m_totalUnAssignedShardsHasBeenSet =
true; m_totalUnAssignedShards = std::forward<TotalUnAssignedShardsT>(value); }
188 template<
typename TotalUnAs
signedShardsT = Aws::String>
197 template<
typename EnvironmentInformationT = Aws::Vector<EnvironmentInfo>>
198 void SetEnvironmentInformation(EnvironmentInformationT&& value) { m_environmentInformationHasBeenSet =
true; m_environmentInformation = std::forward<EnvironmentInformationT>(value); }
199 template<
typename EnvironmentInformationT = Aws::Vector<EnvironmentInfo>>
201 template<
typename EnvironmentInformationT = EnvironmentInfo>
208 template<
typename RequestIdT = Aws::String>
209 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
210 template<
typename RequestIdT = Aws::String>
216 bool m_domainStateHasBeenSet =
false;
219 bool m_availabilityZoneCountHasBeenSet =
false;
222 bool m_activeAvailabilityZoneCountHasBeenSet =
false;
225 bool m_standByAvailabilityZoneCountHasBeenSet =
false;
228 bool m_dataNodeCountHasBeenSet =
false;
230 bool m_dedicatedMaster{
false};
231 bool m_dedicatedMasterHasBeenSet =
false;
234 bool m_masterEligibleNodeCountHasBeenSet =
false;
237 bool m_warmNodeCountHasBeenSet =
false;
240 bool m_masterNodeHasBeenSet =
false;
243 bool m_clusterHealthHasBeenSet =
false;
246 bool m_totalShardsHasBeenSet =
false;
249 bool m_totalUnAssignedShardsHasBeenSet =
false;
252 bool m_environmentInformationHasBeenSet =
false;
255 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