AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DomainNodesStatus.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearch/model/NodeType.h>
10#include <aws/opensearch/model/OpenSearchPartitionInstanceType.h>
11#include <aws/opensearch/model/NodeStatus.h>
12#include <aws/opensearch/model/VolumeType.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace OpenSearchService
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_OPENSEARCHSERVICE_API DomainNodesStatus();
40 AWS_OPENSEARCHSERVICE_API DomainNodesStatus(Aws::Utils::Json::JsonView jsonValue);
41 AWS_OPENSEARCHSERVICE_API DomainNodesStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetNodeId() const{ return m_nodeId; }
50 inline bool NodeIdHasBeenSet() const { return m_nodeIdHasBeenSet; }
51 inline void SetNodeId(const Aws::String& value) { m_nodeIdHasBeenSet = true; m_nodeId = value; }
52 inline void SetNodeId(Aws::String&& value) { m_nodeIdHasBeenSet = true; m_nodeId = std::move(value); }
53 inline void SetNodeId(const char* value) { m_nodeIdHasBeenSet = true; m_nodeId.assign(value); }
54 inline DomainNodesStatus& WithNodeId(const Aws::String& value) { SetNodeId(value); return *this;}
55 inline DomainNodesStatus& WithNodeId(Aws::String&& value) { SetNodeId(std::move(value)); return *this;}
56 inline DomainNodesStatus& WithNodeId(const char* value) { SetNodeId(value); return *this;}
58
60
63 inline const NodeType& GetNodeType() const{ return m_nodeType; }
64 inline bool NodeTypeHasBeenSet() const { return m_nodeTypeHasBeenSet; }
65 inline void SetNodeType(const NodeType& value) { m_nodeTypeHasBeenSet = true; m_nodeType = value; }
66 inline void SetNodeType(NodeType&& value) { m_nodeTypeHasBeenSet = true; m_nodeType = std::move(value); }
67 inline DomainNodesStatus& WithNodeType(const NodeType& value) { SetNodeType(value); return *this;}
68 inline DomainNodesStatus& WithNodeType(NodeType&& value) { SetNodeType(std::move(value)); return *this;}
70
72
75 inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
76 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
77 inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
78 inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
79 inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
80 inline DomainNodesStatus& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;}
81 inline DomainNodesStatus& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
82 inline DomainNodesStatus& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
84
86
89 inline const OpenSearchPartitionInstanceType& GetInstanceType() const{ return m_instanceType; }
90 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
91 inline void SetInstanceType(const OpenSearchPartitionInstanceType& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
92 inline void SetInstanceType(OpenSearchPartitionInstanceType&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
94 inline DomainNodesStatus& WithInstanceType(OpenSearchPartitionInstanceType&& value) { SetInstanceType(std::move(value)); return *this;}
96
98
101 inline const NodeStatus& GetNodeStatus() const{ return m_nodeStatus; }
102 inline bool NodeStatusHasBeenSet() const { return m_nodeStatusHasBeenSet; }
103 inline void SetNodeStatus(const NodeStatus& value) { m_nodeStatusHasBeenSet = true; m_nodeStatus = value; }
104 inline void SetNodeStatus(NodeStatus&& value) { m_nodeStatusHasBeenSet = true; m_nodeStatus = std::move(value); }
105 inline DomainNodesStatus& WithNodeStatus(const NodeStatus& value) { SetNodeStatus(value); return *this;}
106 inline DomainNodesStatus& WithNodeStatus(NodeStatus&& value) { SetNodeStatus(std::move(value)); return *this;}
108
110
113 inline const Aws::String& GetStorageType() const{ return m_storageType; }
114 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
115 inline void SetStorageType(const Aws::String& value) { m_storageTypeHasBeenSet = true; m_storageType = value; }
116 inline void SetStorageType(Aws::String&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::move(value); }
117 inline void SetStorageType(const char* value) { m_storageTypeHasBeenSet = true; m_storageType.assign(value); }
118 inline DomainNodesStatus& WithStorageType(const Aws::String& value) { SetStorageType(value); return *this;}
119 inline DomainNodesStatus& WithStorageType(Aws::String&& value) { SetStorageType(std::move(value)); return *this;}
120 inline DomainNodesStatus& WithStorageType(const char* value) { SetStorageType(value); return *this;}
122
124
128 inline const VolumeType& GetStorageVolumeType() const{ return m_storageVolumeType; }
129 inline bool StorageVolumeTypeHasBeenSet() const { return m_storageVolumeTypeHasBeenSet; }
130 inline void SetStorageVolumeType(const VolumeType& value) { m_storageVolumeTypeHasBeenSet = true; m_storageVolumeType = value; }
131 inline void SetStorageVolumeType(VolumeType&& value) { m_storageVolumeTypeHasBeenSet = true; m_storageVolumeType = std::move(value); }
132 inline DomainNodesStatus& WithStorageVolumeType(const VolumeType& value) { SetStorageVolumeType(value); return *this;}
133 inline DomainNodesStatus& WithStorageVolumeType(VolumeType&& value) { SetStorageVolumeType(std::move(value)); return *this;}
135
137
140 inline const Aws::String& GetStorageSize() const{ return m_storageSize; }
141 inline bool StorageSizeHasBeenSet() const { return m_storageSizeHasBeenSet; }
142 inline void SetStorageSize(const Aws::String& value) { m_storageSizeHasBeenSet = true; m_storageSize = value; }
143 inline void SetStorageSize(Aws::String&& value) { m_storageSizeHasBeenSet = true; m_storageSize = std::move(value); }
144 inline void SetStorageSize(const char* value) { m_storageSizeHasBeenSet = true; m_storageSize.assign(value); }
145 inline DomainNodesStatus& WithStorageSize(const Aws::String& value) { SetStorageSize(value); return *this;}
146 inline DomainNodesStatus& WithStorageSize(Aws::String&& value) { SetStorageSize(std::move(value)); return *this;}
147 inline DomainNodesStatus& WithStorageSize(const char* value) { SetStorageSize(value); return *this;}
149 private:
150
151 Aws::String m_nodeId;
152 bool m_nodeIdHasBeenSet = false;
153
154 NodeType m_nodeType;
155 bool m_nodeTypeHasBeenSet = false;
156
157 Aws::String m_availabilityZone;
158 bool m_availabilityZoneHasBeenSet = false;
159
160 OpenSearchPartitionInstanceType m_instanceType;
161 bool m_instanceTypeHasBeenSet = false;
162
163 NodeStatus m_nodeStatus;
164 bool m_nodeStatusHasBeenSet = false;
165
166 Aws::String m_storageType;
167 bool m_storageTypeHasBeenSet = false;
168
169 VolumeType m_storageVolumeType;
170 bool m_storageVolumeTypeHasBeenSet = false;
171
172 Aws::String m_storageSize;
173 bool m_storageSizeHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace OpenSearchService
178} // namespace Aws
DomainNodesStatus & WithStorageVolumeType(VolumeType &&value)
void SetInstanceType(OpenSearchPartitionInstanceType &&value)
DomainNodesStatus & WithNodeId(const char *value)
DomainNodesStatus & WithNodeStatus(const NodeStatus &value)
DomainNodesStatus & WithInstanceType(const OpenSearchPartitionInstanceType &value)
DomainNodesStatus & WithAvailabilityZone(Aws::String &&value)
AWS_OPENSEARCHSERVICE_API DomainNodesStatus()
DomainNodesStatus & WithInstanceType(OpenSearchPartitionInstanceType &&value)
DomainNodesStatus & WithNodeType(const NodeType &value)
DomainNodesStatus & WithStorageType(const char *value)
void SetInstanceType(const OpenSearchPartitionInstanceType &value)
const OpenSearchPartitionInstanceType & GetInstanceType() const
DomainNodesStatus & WithNodeId(const Aws::String &value)
DomainNodesStatus & WithStorageVolumeType(const VolumeType &value)
AWS_OPENSEARCHSERVICE_API DomainNodesStatus(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API DomainNodesStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
DomainNodesStatus & WithNodeType(NodeType &&value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
DomainNodesStatus & WithAvailabilityZone(const char *value)
DomainNodesStatus & WithStorageType(const Aws::String &value)
DomainNodesStatus & WithStorageSize(Aws::String &&value)
DomainNodesStatus & WithStorageType(Aws::String &&value)
DomainNodesStatus & WithAvailabilityZone(const Aws::String &value)
DomainNodesStatus & WithNodeStatus(NodeStatus &&value)
DomainNodesStatus & WithStorageSize(const Aws::String &value)
DomainNodesStatus & WithNodeId(Aws::String &&value)
DomainNodesStatus & WithStorageSize(const char *value)
void SetAvailabilityZone(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue