AWS SDK for C++  1.9.104
AWS SDK for C++
ZookeeperNodeInfo.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Kafka
23 {
24 namespace Model
25 {
26 
36  {
37  public:
42 
43 
50  inline const Aws::String& GetAttachedENIId() const{ return m_attachedENIId; }
51 
58  inline bool AttachedENIIdHasBeenSet() const { return m_attachedENIIdHasBeenSet; }
59 
66  inline void SetAttachedENIId(const Aws::String& value) { m_attachedENIIdHasBeenSet = true; m_attachedENIId = value; }
67 
74  inline void SetAttachedENIId(Aws::String&& value) { m_attachedENIIdHasBeenSet = true; m_attachedENIId = std::move(value); }
75 
82  inline void SetAttachedENIId(const char* value) { m_attachedENIIdHasBeenSet = true; m_attachedENIId.assign(value); }
83 
90  inline ZookeeperNodeInfo& WithAttachedENIId(const Aws::String& value) { SetAttachedENIId(value); return *this;}
91 
98  inline ZookeeperNodeInfo& WithAttachedENIId(Aws::String&& value) { SetAttachedENIId(std::move(value)); return *this;}
99 
106  inline ZookeeperNodeInfo& WithAttachedENIId(const char* value) { SetAttachedENIId(value); return *this;}
107 
108 
115  inline const Aws::String& GetClientVpcIpAddress() const{ return m_clientVpcIpAddress; }
116 
123  inline bool ClientVpcIpAddressHasBeenSet() const { return m_clientVpcIpAddressHasBeenSet; }
124 
131  inline void SetClientVpcIpAddress(const Aws::String& value) { m_clientVpcIpAddressHasBeenSet = true; m_clientVpcIpAddress = value; }
132 
139  inline void SetClientVpcIpAddress(Aws::String&& value) { m_clientVpcIpAddressHasBeenSet = true; m_clientVpcIpAddress = std::move(value); }
140 
147  inline void SetClientVpcIpAddress(const char* value) { m_clientVpcIpAddressHasBeenSet = true; m_clientVpcIpAddress.assign(value); }
148 
155  inline ZookeeperNodeInfo& WithClientVpcIpAddress(const Aws::String& value) { SetClientVpcIpAddress(value); return *this;}
156 
163  inline ZookeeperNodeInfo& WithClientVpcIpAddress(Aws::String&& value) { SetClientVpcIpAddress(std::move(value)); return *this;}
164 
171  inline ZookeeperNodeInfo& WithClientVpcIpAddress(const char* value) { SetClientVpcIpAddress(value); return *this;}
172 
173 
179  inline const Aws::Vector<Aws::String>& GetEndpoints() const{ return m_endpoints; }
180 
186  inline bool EndpointsHasBeenSet() const { return m_endpointsHasBeenSet; }
187 
193  inline void SetEndpoints(const Aws::Vector<Aws::String>& value) { m_endpointsHasBeenSet = true; m_endpoints = value; }
194 
200  inline void SetEndpoints(Aws::Vector<Aws::String>&& value) { m_endpointsHasBeenSet = true; m_endpoints = std::move(value); }
201 
207  inline ZookeeperNodeInfo& WithEndpoints(const Aws::Vector<Aws::String>& value) { SetEndpoints(value); return *this;}
208 
214  inline ZookeeperNodeInfo& WithEndpoints(Aws::Vector<Aws::String>&& value) { SetEndpoints(std::move(value)); return *this;}
215 
221  inline ZookeeperNodeInfo& AddEndpoints(const Aws::String& value) { m_endpointsHasBeenSet = true; m_endpoints.push_back(value); return *this; }
222 
228  inline ZookeeperNodeInfo& AddEndpoints(Aws::String&& value) { m_endpointsHasBeenSet = true; m_endpoints.push_back(std::move(value)); return *this; }
229 
235  inline ZookeeperNodeInfo& AddEndpoints(const char* value) { m_endpointsHasBeenSet = true; m_endpoints.push_back(value); return *this; }
236 
237 
243  inline double GetZookeeperId() const{ return m_zookeeperId; }
244 
250  inline bool ZookeeperIdHasBeenSet() const { return m_zookeeperIdHasBeenSet; }
251 
257  inline void SetZookeeperId(double value) { m_zookeeperIdHasBeenSet = true; m_zookeeperId = value; }
258 
264  inline ZookeeperNodeInfo& WithZookeeperId(double value) { SetZookeeperId(value); return *this;}
265 
266 
272  inline const Aws::String& GetZookeeperVersion() const{ return m_zookeeperVersion; }
273 
279  inline bool ZookeeperVersionHasBeenSet() const { return m_zookeeperVersionHasBeenSet; }
280 
286  inline void SetZookeeperVersion(const Aws::String& value) { m_zookeeperVersionHasBeenSet = true; m_zookeeperVersion = value; }
287 
293  inline void SetZookeeperVersion(Aws::String&& value) { m_zookeeperVersionHasBeenSet = true; m_zookeeperVersion = std::move(value); }
294 
300  inline void SetZookeeperVersion(const char* value) { m_zookeeperVersionHasBeenSet = true; m_zookeeperVersion.assign(value); }
301 
307  inline ZookeeperNodeInfo& WithZookeeperVersion(const Aws::String& value) { SetZookeeperVersion(value); return *this;}
308 
314  inline ZookeeperNodeInfo& WithZookeeperVersion(Aws::String&& value) { SetZookeeperVersion(std::move(value)); return *this;}
315 
321  inline ZookeeperNodeInfo& WithZookeeperVersion(const char* value) { SetZookeeperVersion(value); return *this;}
322 
323  private:
324 
325  Aws::String m_attachedENIId;
326  bool m_attachedENIIdHasBeenSet;
327 
328  Aws::String m_clientVpcIpAddress;
329  bool m_clientVpcIpAddressHasBeenSet;
330 
331  Aws::Vector<Aws::String> m_endpoints;
332  bool m_endpointsHasBeenSet;
333 
334  double m_zookeeperId;
335  bool m_zookeeperIdHasBeenSet;
336 
337  Aws::String m_zookeeperVersion;
338  bool m_zookeeperVersionHasBeenSet;
339  };
340 
341 } // namespace Model
342 } // namespace Kafka
343 } // namespace Aws
Aws::Kafka::Model::ZookeeperNodeInfo::AddEndpoints
ZookeeperNodeInfo & AddEndpoints(const Aws::String &value)
Definition: ZookeeperNodeInfo.h:221
Aws::Kafka::Model::ZookeeperNodeInfo::WithAttachedENIId
ZookeeperNodeInfo & WithAttachedENIId(const char *value)
Definition: ZookeeperNodeInfo.h:106
Aws::Kafka::Model::ZookeeperNodeInfo::SetClientVpcIpAddress
void SetClientVpcIpAddress(Aws::String &&value)
Definition: ZookeeperNodeInfo.h:139
Aws::Kafka::Model::ZookeeperNodeInfo::SetAttachedENIId
void SetAttachedENIId(const Aws::String &value)
Definition: ZookeeperNodeInfo.h:66
Aws::Kafka::Model::ZookeeperNodeInfo::GetZookeeperId
double GetZookeeperId() const
Definition: ZookeeperNodeInfo.h:243
Aws::Kafka::Model::ZookeeperNodeInfo::AttachedENIIdHasBeenSet
bool AttachedENIIdHasBeenSet() const
Definition: ZookeeperNodeInfo.h:58
Aws::Kafka::Model::ZookeeperNodeInfo::GetZookeeperVersion
const Aws::String & GetZookeeperVersion() const
Definition: ZookeeperNodeInfo.h:272
Aws::Kafka::Model::ZookeeperNodeInfo::GetEndpoints
const Aws::Vector< Aws::String > & GetEndpoints() const
Definition: ZookeeperNodeInfo.h:179
Aws::Kafka::Model::ZookeeperNodeInfo::WithClientVpcIpAddress
ZookeeperNodeInfo & WithClientVpcIpAddress(Aws::String &&value)
Definition: ZookeeperNodeInfo.h:163
Aws::Kafka::Model::ZookeeperNodeInfo::WithZookeeperId
ZookeeperNodeInfo & WithZookeeperId(double value)
Definition: ZookeeperNodeInfo.h:264
Aws::Kafka::Model::ZookeeperNodeInfo::SetAttachedENIId
void SetAttachedENIId(const char *value)
Definition: ZookeeperNodeInfo.h:82
Aws::Kafka::Model::ZookeeperNodeInfo::AddEndpoints
ZookeeperNodeInfo & AddEndpoints(Aws::String &&value)
Definition: ZookeeperNodeInfo.h:228
Aws::Kafka::Model::ZookeeperNodeInfo::ZookeeperVersionHasBeenSet
bool ZookeeperVersionHasBeenSet() const
Definition: ZookeeperNodeInfo.h:279
Aws::Kafka::Model::ZookeeperNodeInfo::ZookeeperIdHasBeenSet
bool ZookeeperIdHasBeenSet() const
Definition: ZookeeperNodeInfo.h:250
Aws::Kafka::Model::ZookeeperNodeInfo::ClientVpcIpAddressHasBeenSet
bool ClientVpcIpAddressHasBeenSet() const
Definition: ZookeeperNodeInfo.h:123
Aws::Kafka::Model::ZookeeperNodeInfo
Definition: ZookeeperNodeInfo.h:36
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Kafka::Model::ZookeeperNodeInfo::WithAttachedENIId
ZookeeperNodeInfo & WithAttachedENIId(Aws::String &&value)
Definition: ZookeeperNodeInfo.h:98
Aws::Kafka::Model::ZookeeperNodeInfo::SetClientVpcIpAddress
void SetClientVpcIpAddress(const char *value)
Definition: ZookeeperNodeInfo.h:147
AWSVector.h
Aws::Kafka::Model::ZookeeperNodeInfo::GetClientVpcIpAddress
const Aws::String & GetClientVpcIpAddress() const
Definition: ZookeeperNodeInfo.h:115
Aws::Kafka::Model::ZookeeperNodeInfo::SetAttachedENIId
void SetAttachedENIId(Aws::String &&value)
Definition: ZookeeperNodeInfo.h:74
Aws::Kafka::Model::ZookeeperNodeInfo::ZookeeperNodeInfo
ZookeeperNodeInfo(Aws::Utils::Json::JsonView jsonValue)
Aws::Kafka::Model::ZookeeperNodeInfo::WithEndpoints
ZookeeperNodeInfo & WithEndpoints(Aws::Vector< Aws::String > &&value)
Definition: ZookeeperNodeInfo.h:214
Aws::Kafka::Model::ZookeeperNodeInfo::SetClientVpcIpAddress
void SetClientVpcIpAddress(const Aws::String &value)
Definition: ZookeeperNodeInfo.h:131
Aws::Kafka::Model::ZookeeperNodeInfo::SetZookeeperVersion
void SetZookeeperVersion(const char *value)
Definition: ZookeeperNodeInfo.h:300
Aws::Kafka::Model::ZookeeperNodeInfo::operator=
ZookeeperNodeInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::ZookeeperNodeInfo::WithAttachedENIId
ZookeeperNodeInfo & WithAttachedENIId(const Aws::String &value)
Definition: ZookeeperNodeInfo.h:90
Aws::Kafka::Model::ZookeeperNodeInfo::WithZookeeperVersion
ZookeeperNodeInfo & WithZookeeperVersion(const char *value)
Definition: ZookeeperNodeInfo.h:321
Aws::Kafka::Model::ZookeeperNodeInfo::WithEndpoints
ZookeeperNodeInfo & WithEndpoints(const Aws::Vector< Aws::String > &value)
Definition: ZookeeperNodeInfo.h:207
Aws::Kafka::Model::ZookeeperNodeInfo::WithZookeeperVersion
ZookeeperNodeInfo & WithZookeeperVersion(Aws::String &&value)
Definition: ZookeeperNodeInfo.h:314
Aws::Kafka::Model::ZookeeperNodeInfo::WithClientVpcIpAddress
ZookeeperNodeInfo & WithClientVpcIpAddress(const char *value)
Definition: ZookeeperNodeInfo.h:171
Aws::Kafka::Model::ZookeeperNodeInfo::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws
Definition: AccessManagementClient.h:15
Aws::Kafka::Model::ZookeeperNodeInfo::WithClientVpcIpAddress
ZookeeperNodeInfo & WithClientVpcIpAddress(const Aws::String &value)
Definition: ZookeeperNodeInfo.h:155
Aws::Kafka::Model::ZookeeperNodeInfo::AddEndpoints
ZookeeperNodeInfo & AddEndpoints(const char *value)
Definition: ZookeeperNodeInfo.h:235
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Kafka_EXPORTS.h
Aws::Kafka::Model::ZookeeperNodeInfo::WithZookeeperVersion
ZookeeperNodeInfo & WithZookeeperVersion(const Aws::String &value)
Definition: ZookeeperNodeInfo.h:307
Aws::Kafka::Model::ZookeeperNodeInfo::SetZookeeperVersion
void SetZookeeperVersion(Aws::String &&value)
Definition: ZookeeperNodeInfo.h:293
Aws::Kafka::Model::ZookeeperNodeInfo::GetAttachedENIId
const Aws::String & GetAttachedENIId() const
Definition: ZookeeperNodeInfo.h:50
Aws::Kafka::Model::ZookeeperNodeInfo::ZookeeperNodeInfo
ZookeeperNodeInfo()
Aws::Kafka::Model::ZookeeperNodeInfo::SetEndpoints
void SetEndpoints(const Aws::Vector< Aws::String > &value)
Definition: ZookeeperNodeInfo.h:193
Aws::Kafka::Model::ZookeeperNodeInfo::SetZookeeperVersion
void SetZookeeperVersion(const Aws::String &value)
Definition: ZookeeperNodeInfo.h:286
Aws::Kafka::Model::ZookeeperNodeInfo::EndpointsHasBeenSet
bool EndpointsHasBeenSet() const
Definition: ZookeeperNodeInfo.h:186
Aws::Kafka::Model::ZookeeperNodeInfo::SetEndpoints
void SetEndpoints(Aws::Vector< Aws::String > &&value)
Definition: ZookeeperNodeInfo.h:200
Aws::Kafka::Model::ZookeeperNodeInfo::SetZookeeperId
void SetZookeeperId(double value)
Definition: ZookeeperNodeInfo.h:257