AWS SDK for C++  1.9.154
AWS SDK for C++
NodeInfo.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace Kafka
25 {
26 namespace Model
27 {
28 
37  {
38  public:
43 
44 
50  inline const Aws::String& GetAddedToClusterTime() const{ return m_addedToClusterTime; }
51 
57  inline bool AddedToClusterTimeHasBeenSet() const { return m_addedToClusterTimeHasBeenSet; }
58 
64  inline void SetAddedToClusterTime(const Aws::String& value) { m_addedToClusterTimeHasBeenSet = true; m_addedToClusterTime = value; }
65 
71  inline void SetAddedToClusterTime(Aws::String&& value) { m_addedToClusterTimeHasBeenSet = true; m_addedToClusterTime = std::move(value); }
72 
78  inline void SetAddedToClusterTime(const char* value) { m_addedToClusterTimeHasBeenSet = true; m_addedToClusterTime.assign(value); }
79 
85  inline NodeInfo& WithAddedToClusterTime(const Aws::String& value) { SetAddedToClusterTime(value); return *this;}
86 
92  inline NodeInfo& WithAddedToClusterTime(Aws::String&& value) { SetAddedToClusterTime(std::move(value)); return *this;}
93 
99  inline NodeInfo& WithAddedToClusterTime(const char* value) { SetAddedToClusterTime(value); return *this;}
100 
101 
107  inline const BrokerNodeInfo& GetBrokerNodeInfo() const{ return m_brokerNodeInfo; }
108 
114  inline bool BrokerNodeInfoHasBeenSet() const { return m_brokerNodeInfoHasBeenSet; }
115 
121  inline void SetBrokerNodeInfo(const BrokerNodeInfo& value) { m_brokerNodeInfoHasBeenSet = true; m_brokerNodeInfo = value; }
122 
128  inline void SetBrokerNodeInfo(BrokerNodeInfo&& value) { m_brokerNodeInfoHasBeenSet = true; m_brokerNodeInfo = std::move(value); }
129 
135  inline NodeInfo& WithBrokerNodeInfo(const BrokerNodeInfo& value) { SetBrokerNodeInfo(value); return *this;}
136 
142  inline NodeInfo& WithBrokerNodeInfo(BrokerNodeInfo&& value) { SetBrokerNodeInfo(std::move(value)); return *this;}
143 
144 
150  inline const Aws::String& GetInstanceType() const{ return m_instanceType; }
151 
157  inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
158 
164  inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
165 
171  inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
172 
178  inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); }
179 
185  inline NodeInfo& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;}
186 
192  inline NodeInfo& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;}
193 
199  inline NodeInfo& WithInstanceType(const char* value) { SetInstanceType(value); return *this;}
200 
201 
207  inline const Aws::String& GetNodeARN() const{ return m_nodeARN; }
208 
214  inline bool NodeARNHasBeenSet() const { return m_nodeARNHasBeenSet; }
215 
221  inline void SetNodeARN(const Aws::String& value) { m_nodeARNHasBeenSet = true; m_nodeARN = value; }
222 
228  inline void SetNodeARN(Aws::String&& value) { m_nodeARNHasBeenSet = true; m_nodeARN = std::move(value); }
229 
235  inline void SetNodeARN(const char* value) { m_nodeARNHasBeenSet = true; m_nodeARN.assign(value); }
236 
242  inline NodeInfo& WithNodeARN(const Aws::String& value) { SetNodeARN(value); return *this;}
243 
249  inline NodeInfo& WithNodeARN(Aws::String&& value) { SetNodeARN(std::move(value)); return *this;}
250 
256  inline NodeInfo& WithNodeARN(const char* value) { SetNodeARN(value); return *this;}
257 
258 
264  inline const NodeType& GetNodeType() const{ return m_nodeType; }
265 
271  inline bool NodeTypeHasBeenSet() const { return m_nodeTypeHasBeenSet; }
272 
278  inline void SetNodeType(const NodeType& value) { m_nodeTypeHasBeenSet = true; m_nodeType = value; }
279 
285  inline void SetNodeType(NodeType&& value) { m_nodeTypeHasBeenSet = true; m_nodeType = std::move(value); }
286 
292  inline NodeInfo& WithNodeType(const NodeType& value) { SetNodeType(value); return *this;}
293 
299  inline NodeInfo& WithNodeType(NodeType&& value) { SetNodeType(std::move(value)); return *this;}
300 
301 
307  inline const ZookeeperNodeInfo& GetZookeeperNodeInfo() const{ return m_zookeeperNodeInfo; }
308 
314  inline bool ZookeeperNodeInfoHasBeenSet() const { return m_zookeeperNodeInfoHasBeenSet; }
315 
321  inline void SetZookeeperNodeInfo(const ZookeeperNodeInfo& value) { m_zookeeperNodeInfoHasBeenSet = true; m_zookeeperNodeInfo = value; }
322 
328  inline void SetZookeeperNodeInfo(ZookeeperNodeInfo&& value) { m_zookeeperNodeInfoHasBeenSet = true; m_zookeeperNodeInfo = std::move(value); }
329 
335  inline NodeInfo& WithZookeeperNodeInfo(const ZookeeperNodeInfo& value) { SetZookeeperNodeInfo(value); return *this;}
336 
342  inline NodeInfo& WithZookeeperNodeInfo(ZookeeperNodeInfo&& value) { SetZookeeperNodeInfo(std::move(value)); return *this;}
343 
344  private:
345 
346  Aws::String m_addedToClusterTime;
347  bool m_addedToClusterTimeHasBeenSet;
348 
349  BrokerNodeInfo m_brokerNodeInfo;
350  bool m_brokerNodeInfoHasBeenSet;
351 
352  Aws::String m_instanceType;
353  bool m_instanceTypeHasBeenSet;
354 
355  Aws::String m_nodeARN;
356  bool m_nodeARNHasBeenSet;
357 
358  NodeType m_nodeType;
359  bool m_nodeTypeHasBeenSet;
360 
361  ZookeeperNodeInfo m_zookeeperNodeInfo;
362  bool m_zookeeperNodeInfoHasBeenSet;
363  };
364 
365 } // namespace Model
366 } // namespace Kafka
367 } // namespace Aws
BrokerNodeInfo.h
Aws::Kafka::Model::NodeInfo::WithInstanceType
NodeInfo & WithInstanceType(const char *value)
Definition: NodeInfo.h:199
Aws::Kafka::Model::NodeInfo::NodeARNHasBeenSet
bool NodeARNHasBeenSet() const
Definition: NodeInfo.h:214
ZookeeperNodeInfo.h
Aws::Kafka::Model::NodeInfo::NodeInfo
NodeInfo(Aws::Utils::Json::JsonView jsonValue)
Aws::Kafka::Model::NodeInfo::WithNodeARN
NodeInfo & WithNodeARN(Aws::String &&value)
Definition: NodeInfo.h:249
Aws::Kafka::Model::NodeInfo::SetAddedToClusterTime
void SetAddedToClusterTime(const char *value)
Definition: NodeInfo.h:78
Aws::Kafka::Model::NodeInfo::GetAddedToClusterTime
const Aws::String & GetAddedToClusterTime() const
Definition: NodeInfo.h:50
Aws::Kafka::Model::NodeInfo::ZookeeperNodeInfoHasBeenSet
bool ZookeeperNodeInfoHasBeenSet() const
Definition: NodeInfo.h:314
Aws::Kafka::Model::NodeInfo
Definition: NodeInfo.h:37
Aws::Kafka::Model::NodeInfo::WithNodeARN
NodeInfo & WithNodeARN(const Aws::String &value)
Definition: NodeInfo.h:242
Aws::Kafka::Model::NodeInfo::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Kafka::Model::NodeInfo::operator=
NodeInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Kafka::Model::NodeInfo::WithNodeARN
NodeInfo & WithNodeARN(const char *value)
Definition: NodeInfo.h:256
Aws::Kafka::Model::NodeInfo::SetInstanceType
void SetInstanceType(const char *value)
Definition: NodeInfo.h:178
Aws::Kafka::Model::NodeInfo::SetBrokerNodeInfo
void SetBrokerNodeInfo(const BrokerNodeInfo &value)
Definition: NodeInfo.h:121
Aws::Kafka::Model::NodeInfo::WithAddedToClusterTime
NodeInfo & WithAddedToClusterTime(const char *value)
Definition: NodeInfo.h:99
Aws::Kafka::Model::NodeInfo::SetZookeeperNodeInfo
void SetZookeeperNodeInfo(const ZookeeperNodeInfo &value)
Definition: NodeInfo.h:321
Aws::Kafka::Model::NodeInfo::NodeInfo
NodeInfo()
Aws::Kafka::Model::ZookeeperNodeInfo
Definition: ZookeeperNodeInfo.h:36
Aws::Kafka::Model::NodeInfo::SetNodeARN
void SetNodeARN(const Aws::String &value)
Definition: NodeInfo.h:221
Aws::Kafka::Model::NodeInfo::WithZookeeperNodeInfo
NodeInfo & WithZookeeperNodeInfo(const ZookeeperNodeInfo &value)
Definition: NodeInfo.h:335
Aws::Kafka::Model::NodeInfo::WithAddedToClusterTime
NodeInfo & WithAddedToClusterTime(const Aws::String &value)
Definition: NodeInfo.h:85
Aws::Kafka::Model::NodeInfo::WithNodeType
NodeInfo & WithNodeType(const NodeType &value)
Definition: NodeInfo.h:292
Aws::Kafka::Model::NodeInfo::WithInstanceType
NodeInfo & WithInstanceType(const Aws::String &value)
Definition: NodeInfo.h:185
Aws::Kafka::Model::NodeInfo::SetZookeeperNodeInfo
void SetZookeeperNodeInfo(ZookeeperNodeInfo &&value)
Definition: NodeInfo.h:328
Aws::Kafka::Model::BrokerNodeInfo
Definition: BrokerNodeInfo.h:36
Aws::Kafka::Model::NodeInfo::GetNodeType
const NodeType & GetNodeType() const
Definition: NodeInfo.h:264
Aws::Kafka::Model::NodeInfo::SetBrokerNodeInfo
void SetBrokerNodeInfo(BrokerNodeInfo &&value)
Definition: NodeInfo.h:128
Aws::Kafka::Model::NodeInfo::BrokerNodeInfoHasBeenSet
bool BrokerNodeInfoHasBeenSet() const
Definition: NodeInfo.h:114
Aws::Kafka::Model::NodeInfo::SetNodeARN
void SetNodeARN(const char *value)
Definition: NodeInfo.h:235
Aws::Kafka::Model::NodeInfo::GetBrokerNodeInfo
const BrokerNodeInfo & GetBrokerNodeInfo() const
Definition: NodeInfo.h:107
Aws::Kafka::Model::NodeType
NodeType
Definition: NodeType.h:17
Aws::Kafka::Model::NodeInfo::SetInstanceType
void SetInstanceType(const Aws::String &value)
Definition: NodeInfo.h:164
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Kafka::Model::NodeInfo::WithZookeeperNodeInfo
NodeInfo & WithZookeeperNodeInfo(ZookeeperNodeInfo &&value)
Definition: NodeInfo.h:342
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::NodeInfo::WithBrokerNodeInfo
NodeInfo & WithBrokerNodeInfo(const BrokerNodeInfo &value)
Definition: NodeInfo.h:135
Aws::Kafka::Model::NodeInfo::SetAddedToClusterTime
void SetAddedToClusterTime(const Aws::String &value)
Definition: NodeInfo.h:64
Aws::Kafka::Model::NodeInfo::SetInstanceType
void SetInstanceType(Aws::String &&value)
Definition: NodeInfo.h:171
Aws::Kafka::Model::NodeInfo::SetNodeARN
void SetNodeARN(Aws::String &&value)
Definition: NodeInfo.h:228
Aws::Kafka::Model::NodeInfo::SetAddedToClusterTime
void SetAddedToClusterTime(Aws::String &&value)
Definition: NodeInfo.h:71
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Kafka::Model::NodeInfo::GetZookeeperNodeInfo
const ZookeeperNodeInfo & GetZookeeperNodeInfo() const
Definition: NodeInfo.h:307
Aws::Kafka::Model::NodeInfo::WithAddedToClusterTime
NodeInfo & WithAddedToClusterTime(Aws::String &&value)
Definition: NodeInfo.h:92
Aws::Kafka::Model::NodeInfo::GetNodeARN
const Aws::String & GetNodeARN() const
Definition: NodeInfo.h:207
Aws::Kafka::Model::NodeInfo::WithBrokerNodeInfo
NodeInfo & WithBrokerNodeInfo(BrokerNodeInfo &&value)
Definition: NodeInfo.h:142
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Kafka_EXPORTS.h
Aws::Kafka::Model::NodeInfo::SetNodeType
void SetNodeType(NodeType &&value)
Definition: NodeInfo.h:285
Aws::Kafka::Model::NodeInfo::SetNodeType
void SetNodeType(const NodeType &value)
Definition: NodeInfo.h:278
Aws::Kafka::Model::NodeInfo::InstanceTypeHasBeenSet
bool InstanceTypeHasBeenSet() const
Definition: NodeInfo.h:157
Aws::Kafka::Model::NodeInfo::GetInstanceType
const Aws::String & GetInstanceType() const
Definition: NodeInfo.h:150
Aws::Kafka::Model::NodeInfo::NodeTypeHasBeenSet
bool NodeTypeHasBeenSet() const
Definition: NodeInfo.h:271
Aws::Kafka::Model::NodeInfo::AddedToClusterTimeHasBeenSet
bool AddedToClusterTimeHasBeenSet() const
Definition: NodeInfo.h:57
Aws::Kafka::Model::NodeInfo::WithInstanceType
NodeInfo & WithInstanceType(Aws::String &&value)
Definition: NodeInfo.h:192
Aws::Kafka::Model::NodeInfo::WithNodeType
NodeInfo & WithNodeType(NodeType &&value)
Definition: NodeInfo.h:299
NodeType.h