AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ZookeeperNodeInfo.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Kafka
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_KAFKA_API ZookeeperNodeInfo();
41 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
51 inline const Aws::String& GetAttachedENIId() const{ return m_attachedENIId; }
52 inline bool AttachedENIIdHasBeenSet() const { return m_attachedENIIdHasBeenSet; }
53 inline void SetAttachedENIId(const Aws::String& value) { m_attachedENIIdHasBeenSet = true; m_attachedENIId = value; }
54 inline void SetAttachedENIId(Aws::String&& value) { m_attachedENIIdHasBeenSet = true; m_attachedENIId = std::move(value); }
55 inline void SetAttachedENIId(const char* value) { m_attachedENIIdHasBeenSet = true; m_attachedENIId.assign(value); }
56 inline ZookeeperNodeInfo& WithAttachedENIId(const Aws::String& value) { SetAttachedENIId(value); return *this;}
57 inline ZookeeperNodeInfo& WithAttachedENIId(Aws::String&& value) { SetAttachedENIId(std::move(value)); return *this;}
58 inline ZookeeperNodeInfo& WithAttachedENIId(const char* value) { SetAttachedENIId(value); return *this;}
60
62
68 inline const Aws::String& GetClientVpcIpAddress() const{ return m_clientVpcIpAddress; }
69 inline bool ClientVpcIpAddressHasBeenSet() const { return m_clientVpcIpAddressHasBeenSet; }
70 inline void SetClientVpcIpAddress(const Aws::String& value) { m_clientVpcIpAddressHasBeenSet = true; m_clientVpcIpAddress = value; }
71 inline void SetClientVpcIpAddress(Aws::String&& value) { m_clientVpcIpAddressHasBeenSet = true; m_clientVpcIpAddress = std::move(value); }
72 inline void SetClientVpcIpAddress(const char* value) { m_clientVpcIpAddressHasBeenSet = true; m_clientVpcIpAddress.assign(value); }
73 inline ZookeeperNodeInfo& WithClientVpcIpAddress(const Aws::String& value) { SetClientVpcIpAddress(value); return *this;}
74 inline ZookeeperNodeInfo& WithClientVpcIpAddress(Aws::String&& value) { SetClientVpcIpAddress(std::move(value)); return *this;}
75 inline ZookeeperNodeInfo& WithClientVpcIpAddress(const char* value) { SetClientVpcIpAddress(value); return *this;}
77
79
84 inline const Aws::Vector<Aws::String>& GetEndpoints() const{ return m_endpoints; }
85 inline bool EndpointsHasBeenSet() const { return m_endpointsHasBeenSet; }
86 inline void SetEndpoints(const Aws::Vector<Aws::String>& value) { m_endpointsHasBeenSet = true; m_endpoints = value; }
87 inline void SetEndpoints(Aws::Vector<Aws::String>&& value) { m_endpointsHasBeenSet = true; m_endpoints = std::move(value); }
88 inline ZookeeperNodeInfo& WithEndpoints(const Aws::Vector<Aws::String>& value) { SetEndpoints(value); return *this;}
89 inline ZookeeperNodeInfo& WithEndpoints(Aws::Vector<Aws::String>&& value) { SetEndpoints(std::move(value)); return *this;}
90 inline ZookeeperNodeInfo& AddEndpoints(const Aws::String& value) { m_endpointsHasBeenSet = true; m_endpoints.push_back(value); return *this; }
91 inline ZookeeperNodeInfo& AddEndpoints(Aws::String&& value) { m_endpointsHasBeenSet = true; m_endpoints.push_back(std::move(value)); return *this; }
92 inline ZookeeperNodeInfo& AddEndpoints(const char* value) { m_endpointsHasBeenSet = true; m_endpoints.push_back(value); return *this; }
94
96
101 inline double GetZookeeperId() const{ return m_zookeeperId; }
102 inline bool ZookeeperIdHasBeenSet() const { return m_zookeeperIdHasBeenSet; }
103 inline void SetZookeeperId(double value) { m_zookeeperIdHasBeenSet = true; m_zookeeperId = value; }
104 inline ZookeeperNodeInfo& WithZookeeperId(double value) { SetZookeeperId(value); return *this;}
106
108
113 inline const Aws::String& GetZookeeperVersion() const{ return m_zookeeperVersion; }
114 inline bool ZookeeperVersionHasBeenSet() const { return m_zookeeperVersionHasBeenSet; }
115 inline void SetZookeeperVersion(const Aws::String& value) { m_zookeeperVersionHasBeenSet = true; m_zookeeperVersion = value; }
116 inline void SetZookeeperVersion(Aws::String&& value) { m_zookeeperVersionHasBeenSet = true; m_zookeeperVersion = std::move(value); }
117 inline void SetZookeeperVersion(const char* value) { m_zookeeperVersionHasBeenSet = true; m_zookeeperVersion.assign(value); }
118 inline ZookeeperNodeInfo& WithZookeeperVersion(const Aws::String& value) { SetZookeeperVersion(value); return *this;}
119 inline ZookeeperNodeInfo& WithZookeeperVersion(Aws::String&& value) { SetZookeeperVersion(std::move(value)); return *this;}
120 inline ZookeeperNodeInfo& WithZookeeperVersion(const char* value) { SetZookeeperVersion(value); return *this;}
122 private:
123
124 Aws::String m_attachedENIId;
125 bool m_attachedENIIdHasBeenSet = false;
126
127 Aws::String m_clientVpcIpAddress;
128 bool m_clientVpcIpAddressHasBeenSet = false;
129
130 Aws::Vector<Aws::String> m_endpoints;
131 bool m_endpointsHasBeenSet = false;
132
133 double m_zookeeperId;
134 bool m_zookeeperIdHasBeenSet = false;
135
136 Aws::String m_zookeeperVersion;
137 bool m_zookeeperVersionHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace Kafka
142} // namespace Aws
const Aws::Vector< Aws::String > & GetEndpoints() const
ZookeeperNodeInfo & WithAttachedENIId(const Aws::String &value)
ZookeeperNodeInfo & WithZookeeperVersion(Aws::String &&value)
void SetEndpoints(Aws::Vector< Aws::String > &&value)
void SetZookeeperVersion(Aws::String &&value)
ZookeeperNodeInfo & WithZookeeperVersion(const char *value)
void SetClientVpcIpAddress(const Aws::String &value)
ZookeeperNodeInfo & AddEndpoints(const Aws::String &value)
void SetAttachedENIId(Aws::String &&value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
ZookeeperNodeInfo & WithClientVpcIpAddress(const char *value)
void SetEndpoints(const Aws::Vector< Aws::String > &value)
const Aws::String & GetZookeeperVersion() const
void SetClientVpcIpAddress(const char *value)
ZookeeperNodeInfo & WithEndpoints(const Aws::Vector< Aws::String > &value)
const Aws::String & GetAttachedENIId() const
ZookeeperNodeInfo & WithZookeeperId(double value)
void SetAttachedENIId(const char *value)
ZookeeperNodeInfo & WithEndpoints(Aws::Vector< Aws::String > &&value)
void SetClientVpcIpAddress(Aws::String &&value)
AWS_KAFKA_API ZookeeperNodeInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
ZookeeperNodeInfo & AddEndpoints(const char *value)
ZookeeperNodeInfo & AddEndpoints(Aws::String &&value)
void SetZookeeperVersion(const Aws::String &value)
ZookeeperNodeInfo & WithClientVpcIpAddress(const Aws::String &value)
ZookeeperNodeInfo & WithClientVpcIpAddress(Aws::String &&value)
ZookeeperNodeInfo & WithZookeeperVersion(const Aws::String &value)
ZookeeperNodeInfo & WithAttachedENIId(Aws::String &&value)
void SetZookeeperVersion(const char *value)
ZookeeperNodeInfo & WithAttachedENIId(const char *value)
AWS_KAFKA_API ZookeeperNodeInfo(Aws::Utils::Json::JsonView jsonValue)
void SetAttachedENIId(const Aws::String &value)
const Aws::String & GetClientVpcIpAddress() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue