AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeDomainHealthResult.h
1
6#pragma once
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>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace OpenSearchService
29{
30namespace Model
31{
39 {
40 public:
41 AWS_OPENSEARCHSERVICE_API DescribeDomainHealthResult();
44
45
47
53 inline const DomainState& GetDomainState() const{ return m_domainState; }
54 inline void SetDomainState(const DomainState& value) { m_domainState = value; }
55 inline void SetDomainState(DomainState&& value) { m_domainState = std::move(value); }
56 inline DescribeDomainHealthResult& WithDomainState(const DomainState& value) { SetDomainState(value); return *this;}
57 inline DescribeDomainHealthResult& WithDomainState(DomainState&& value) { SetDomainState(std::move(value)); return *this;}
59
61
65 inline const Aws::String& GetAvailabilityZoneCount() const{ return m_availabilityZoneCount; }
66 inline void SetAvailabilityZoneCount(const Aws::String& value) { m_availabilityZoneCount = value; }
67 inline void SetAvailabilityZoneCount(Aws::String&& value) { m_availabilityZoneCount = std::move(value); }
68 inline void SetAvailabilityZoneCount(const char* value) { m_availabilityZoneCount.assign(value); }
71 inline DescribeDomainHealthResult& WithAvailabilityZoneCount(const char* value) { SetAvailabilityZoneCount(value); return *this;}
73
75
80 inline const Aws::String& GetActiveAvailabilityZoneCount() const{ return m_activeAvailabilityZoneCount; }
81 inline void SetActiveAvailabilityZoneCount(const Aws::String& value) { m_activeAvailabilityZoneCount = value; }
82 inline void SetActiveAvailabilityZoneCount(Aws::String&& value) { m_activeAvailabilityZoneCount = std::move(value); }
83 inline void SetActiveAvailabilityZoneCount(const char* value) { m_activeAvailabilityZoneCount.assign(value); }
88
90
95 inline const Aws::String& GetStandByAvailabilityZoneCount() const{ return m_standByAvailabilityZoneCount; }
96 inline void SetStandByAvailabilityZoneCount(const Aws::String& value) { m_standByAvailabilityZoneCount = value; }
97 inline void SetStandByAvailabilityZoneCount(Aws::String&& value) { m_standByAvailabilityZoneCount = std::move(value); }
98 inline void SetStandByAvailabilityZoneCount(const char* value) { m_standByAvailabilityZoneCount.assign(value); }
103
105
109 inline const Aws::String& GetDataNodeCount() const{ return m_dataNodeCount; }
110 inline void SetDataNodeCount(const Aws::String& value) { m_dataNodeCount = value; }
111 inline void SetDataNodeCount(Aws::String&& value) { m_dataNodeCount = std::move(value); }
112 inline void SetDataNodeCount(const char* value) { m_dataNodeCount.assign(value); }
113 inline DescribeDomainHealthResult& WithDataNodeCount(const Aws::String& value) { SetDataNodeCount(value); return *this;}
114 inline DescribeDomainHealthResult& WithDataNodeCount(Aws::String&& value) { SetDataNodeCount(std::move(value)); return *this;}
115 inline DescribeDomainHealthResult& WithDataNodeCount(const char* value) { SetDataNodeCount(value); return *this;}
117
119
123 inline bool GetDedicatedMaster() const{ return m_dedicatedMaster; }
124 inline void SetDedicatedMaster(bool value) { m_dedicatedMaster = value; }
125 inline DescribeDomainHealthResult& WithDedicatedMaster(bool value) { SetDedicatedMaster(value); return *this;}
127
129
135 inline const Aws::String& GetMasterEligibleNodeCount() const{ return m_masterEligibleNodeCount; }
136 inline void SetMasterEligibleNodeCount(const Aws::String& value) { m_masterEligibleNodeCount = value; }
137 inline void SetMasterEligibleNodeCount(Aws::String&& value) { m_masterEligibleNodeCount = std::move(value); }
138 inline void SetMasterEligibleNodeCount(const char* value) { m_masterEligibleNodeCount.assign(value); }
143
145
148 inline const Aws::String& GetWarmNodeCount() const{ return m_warmNodeCount; }
149 inline void SetWarmNodeCount(const Aws::String& value) { m_warmNodeCount = value; }
150 inline void SetWarmNodeCount(Aws::String&& value) { m_warmNodeCount = std::move(value); }
151 inline void SetWarmNodeCount(const char* value) { m_warmNodeCount.assign(value); }
152 inline DescribeDomainHealthResult& WithWarmNodeCount(const Aws::String& value) { SetWarmNodeCount(value); return *this;}
153 inline DescribeDomainHealthResult& WithWarmNodeCount(Aws::String&& value) { SetWarmNodeCount(std::move(value)); return *this;}
154 inline DescribeDomainHealthResult& WithWarmNodeCount(const char* value) { SetWarmNodeCount(value); return *this;}
156
158
164 inline const MasterNodeStatus& GetMasterNode() const{ return m_masterNode; }
165 inline void SetMasterNode(const MasterNodeStatus& value) { m_masterNode = value; }
166 inline void SetMasterNode(MasterNodeStatus&& value) { m_masterNode = std::move(value); }
167 inline DescribeDomainHealthResult& WithMasterNode(const MasterNodeStatus& value) { SetMasterNode(value); return *this;}
168 inline DescribeDomainHealthResult& WithMasterNode(MasterNodeStatus&& value) { SetMasterNode(std::move(value)); return *this;}
170
172
180 inline const DomainHealth& GetClusterHealth() const{ return m_clusterHealth; }
181 inline void SetClusterHealth(const DomainHealth& value) { m_clusterHealth = value; }
182 inline void SetClusterHealth(DomainHealth&& value) { m_clusterHealth = std::move(value); }
183 inline DescribeDomainHealthResult& WithClusterHealth(const DomainHealth& value) { SetClusterHealth(value); return *this;}
184 inline DescribeDomainHealthResult& WithClusterHealth(DomainHealth&& value) { SetClusterHealth(std::move(value)); return *this;}
186
188
191 inline const Aws::String& GetTotalShards() const{ return m_totalShards; }
192 inline void SetTotalShards(const Aws::String& value) { m_totalShards = value; }
193 inline void SetTotalShards(Aws::String&& value) { m_totalShards = std::move(value); }
194 inline void SetTotalShards(const char* value) { m_totalShards.assign(value); }
195 inline DescribeDomainHealthResult& WithTotalShards(const Aws::String& value) { SetTotalShards(value); return *this;}
196 inline DescribeDomainHealthResult& WithTotalShards(Aws::String&& value) { SetTotalShards(std::move(value)); return *this;}
197 inline DescribeDomainHealthResult& WithTotalShards(const char* value) { SetTotalShards(value); return *this;}
199
201
205 inline const Aws::String& GetTotalUnAssignedShards() const{ return m_totalUnAssignedShards; }
206 inline void SetTotalUnAssignedShards(const Aws::String& value) { m_totalUnAssignedShards = value; }
207 inline void SetTotalUnAssignedShards(Aws::String&& value) { m_totalUnAssignedShards = std::move(value); }
208 inline void SetTotalUnAssignedShards(const char* value) { m_totalUnAssignedShards.assign(value); }
211 inline DescribeDomainHealthResult& WithTotalUnAssignedShards(const char* value) { SetTotalUnAssignedShards(value); return *this;}
213
215
218 inline const Aws::Vector<EnvironmentInfo>& GetEnvironmentInformation() const{ return m_environmentInformation; }
219 inline void SetEnvironmentInformation(const Aws::Vector<EnvironmentInfo>& value) { m_environmentInformation = value; }
220 inline void SetEnvironmentInformation(Aws::Vector<EnvironmentInfo>&& value) { m_environmentInformation = std::move(value); }
223 inline DescribeDomainHealthResult& AddEnvironmentInformation(const EnvironmentInfo& value) { m_environmentInformation.push_back(value); return *this; }
224 inline DescribeDomainHealthResult& AddEnvironmentInformation(EnvironmentInfo&& value) { m_environmentInformation.push_back(std::move(value)); return *this; }
226
228
229 inline const Aws::String& GetRequestId() const{ return m_requestId; }
230 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
231 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
232 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
233 inline DescribeDomainHealthResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
234 inline DescribeDomainHealthResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
235 inline DescribeDomainHealthResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
237 private:
238
239 DomainState m_domainState;
240
241 Aws::String m_availabilityZoneCount;
242
243 Aws::String m_activeAvailabilityZoneCount;
244
245 Aws::String m_standByAvailabilityZoneCount;
246
247 Aws::String m_dataNodeCount;
248
249 bool m_dedicatedMaster;
250
251 Aws::String m_masterEligibleNodeCount;
252
253 Aws::String m_warmNodeCount;
254
255 MasterNodeStatus m_masterNode;
256
257 DomainHealth m_clusterHealth;
258
259 Aws::String m_totalShards;
260
261 Aws::String m_totalUnAssignedShards;
262
263 Aws::Vector<EnvironmentInfo> m_environmentInformation;
264
265 Aws::String m_requestId;
266 };
267
268} // namespace Model
269} // namespace OpenSearchService
270} // namespace Aws
DescribeDomainHealthResult & WithRequestId(Aws::String &&value)
DescribeDomainHealthResult & WithTotalShards(Aws::String &&value)
DescribeDomainHealthResult & WithWarmNodeCount(const char *value)
DescribeDomainHealthResult & WithTotalUnAssignedShards(const Aws::String &value)
DescribeDomainHealthResult & WithRequestId(const Aws::String &value)
DescribeDomainHealthResult & WithDataNodeCount(const char *value)
DescribeDomainHealthResult & WithTotalShards(const char *value)
void SetEnvironmentInformation(const Aws::Vector< EnvironmentInfo > &value)
DescribeDomainHealthResult & WithActiveAvailabilityZoneCount(Aws::String &&value)
DescribeDomainHealthResult & WithAvailabilityZoneCount(const char *value)
DescribeDomainHealthResult & WithAvailabilityZoneCount(Aws::String &&value)
DescribeDomainHealthResult & AddEnvironmentInformation(const EnvironmentInfo &value)
DescribeDomainHealthResult & WithMasterEligibleNodeCount(const char *value)
DescribeDomainHealthResult & WithDomainState(const DomainState &value)
void SetEnvironmentInformation(Aws::Vector< EnvironmentInfo > &&value)
DescribeDomainHealthResult & WithActiveAvailabilityZoneCount(const char *value)
DescribeDomainHealthResult & WithTotalUnAssignedShards(Aws::String &&value)
DescribeDomainHealthResult & WithMasterEligibleNodeCount(Aws::String &&value)
DescribeDomainHealthResult & WithWarmNodeCount(const Aws::String &value)
DescribeDomainHealthResult & WithStandByAvailabilityZoneCount(const char *value)
DescribeDomainHealthResult & WithEnvironmentInformation(Aws::Vector< EnvironmentInfo > &&value)
DescribeDomainHealthResult & WithTotalShards(const Aws::String &value)
DescribeDomainHealthResult & WithMasterNode(MasterNodeStatus &&value)
DescribeDomainHealthResult & WithClusterHealth(DomainHealth &&value)
const Aws::Vector< EnvironmentInfo > & GetEnvironmentInformation() const
DescribeDomainHealthResult & AddEnvironmentInformation(EnvironmentInfo &&value)
DescribeDomainHealthResult & WithAvailabilityZoneCount(const Aws::String &value)
DescribeDomainHealthResult & WithStandByAvailabilityZoneCount(const Aws::String &value)
DescribeDomainHealthResult & WithTotalUnAssignedShards(const char *value)
AWS_OPENSEARCHSERVICE_API DescribeDomainHealthResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDomainHealthResult & WithMasterNode(const MasterNodeStatus &value)
DescribeDomainHealthResult & WithWarmNodeCount(Aws::String &&value)
DescribeDomainHealthResult & WithEnvironmentInformation(const Aws::Vector< EnvironmentInfo > &value)
DescribeDomainHealthResult & WithStandByAvailabilityZoneCount(Aws::String &&value)
DescribeDomainHealthResult & WithActiveAvailabilityZoneCount(const Aws::String &value)
DescribeDomainHealthResult & WithDataNodeCount(const Aws::String &value)
DescribeDomainHealthResult & WithClusterHealth(const DomainHealth &value)
DescribeDomainHealthResult & WithDomainState(DomainState &&value)
DescribeDomainHealthResult & WithDataNodeCount(Aws::String &&value)
AWS_OPENSEARCHSERVICE_API DescribeDomainHealthResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDomainHealthResult & WithRequestId(const char *value)
DescribeDomainHealthResult & WithMasterEligibleNodeCount(const Aws::String &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