AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename AttachedENIIdT = Aws::String>
54 void SetAttachedENIId(AttachedENIIdT&& value) { m_attachedENIIdHasBeenSet = true; m_attachedENIId = std::forward<AttachedENIIdT>(value); }
55 template<typename AttachedENIIdT = Aws::String>
56 ZookeeperNodeInfo& WithAttachedENIId(AttachedENIIdT&& value) { SetAttachedENIId(std::forward<AttachedENIIdT>(value)); return *this;}
58
60
66 inline const Aws::String& GetClientVpcIpAddress() const { return m_clientVpcIpAddress; }
67 inline bool ClientVpcIpAddressHasBeenSet() const { return m_clientVpcIpAddressHasBeenSet; }
68 template<typename ClientVpcIpAddressT = Aws::String>
69 void SetClientVpcIpAddress(ClientVpcIpAddressT&& value) { m_clientVpcIpAddressHasBeenSet = true; m_clientVpcIpAddress = std::forward<ClientVpcIpAddressT>(value); }
70 template<typename ClientVpcIpAddressT = Aws::String>
71 ZookeeperNodeInfo& WithClientVpcIpAddress(ClientVpcIpAddressT&& value) { SetClientVpcIpAddress(std::forward<ClientVpcIpAddressT>(value)); return *this;}
73
75
80 inline const Aws::Vector<Aws::String>& GetEndpoints() const { return m_endpoints; }
81 inline bool EndpointsHasBeenSet() const { return m_endpointsHasBeenSet; }
82 template<typename EndpointsT = Aws::Vector<Aws::String>>
83 void SetEndpoints(EndpointsT&& value) { m_endpointsHasBeenSet = true; m_endpoints = std::forward<EndpointsT>(value); }
84 template<typename EndpointsT = Aws::Vector<Aws::String>>
85 ZookeeperNodeInfo& WithEndpoints(EndpointsT&& value) { SetEndpoints(std::forward<EndpointsT>(value)); return *this;}
86 template<typename EndpointsT = Aws::String>
87 ZookeeperNodeInfo& AddEndpoints(EndpointsT&& value) { m_endpointsHasBeenSet = true; m_endpoints.emplace_back(std::forward<EndpointsT>(value)); return *this; }
89
91
96 inline double GetZookeeperId() const { return m_zookeeperId; }
97 inline bool ZookeeperIdHasBeenSet() const { return m_zookeeperIdHasBeenSet; }
98 inline void SetZookeeperId(double value) { m_zookeeperIdHasBeenSet = true; m_zookeeperId = value; }
99 inline ZookeeperNodeInfo& WithZookeeperId(double value) { SetZookeeperId(value); return *this;}
101
103
108 inline const Aws::String& GetZookeeperVersion() const { return m_zookeeperVersion; }
109 inline bool ZookeeperVersionHasBeenSet() const { return m_zookeeperVersionHasBeenSet; }
110 template<typename ZookeeperVersionT = Aws::String>
111 void SetZookeeperVersion(ZookeeperVersionT&& value) { m_zookeeperVersionHasBeenSet = true; m_zookeeperVersion = std::forward<ZookeeperVersionT>(value); }
112 template<typename ZookeeperVersionT = Aws::String>
113 ZookeeperNodeInfo& WithZookeeperVersion(ZookeeperVersionT&& value) { SetZookeeperVersion(std::forward<ZookeeperVersionT>(value)); return *this;}
115 private:
116
117 Aws::String m_attachedENIId;
118 bool m_attachedENIIdHasBeenSet = false;
119
120 Aws::String m_clientVpcIpAddress;
121 bool m_clientVpcIpAddressHasBeenSet = false;
122
123 Aws::Vector<Aws::String> m_endpoints;
124 bool m_endpointsHasBeenSet = false;
125
126 double m_zookeeperId{0.0};
127 bool m_zookeeperIdHasBeenSet = false;
128
129 Aws::String m_zookeeperVersion;
130 bool m_zookeeperVersionHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace Kafka
135} // namespace Aws
ZookeeperNodeInfo & WithEndpoints(EndpointsT &&value)
const Aws::Vector< Aws::String > & GetEndpoints() const
void SetClientVpcIpAddress(ClientVpcIpAddressT &&value)
void SetZookeeperVersion(ZookeeperVersionT &&value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
ZookeeperNodeInfo & WithAttachedENIId(AttachedENIIdT &&value)
ZookeeperNodeInfo & AddEndpoints(EndpointsT &&value)
const Aws::String & GetZookeeperVersion() const
const Aws::String & GetAttachedENIId() const
ZookeeperNodeInfo & WithZookeeperVersion(ZookeeperVersionT &&value)
ZookeeperNodeInfo & WithZookeeperId(double value)
void SetEndpoints(EndpointsT &&value)
AWS_KAFKA_API ZookeeperNodeInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAttachedENIId(AttachedENIIdT &&value)
ZookeeperNodeInfo & WithClientVpcIpAddress(ClientVpcIpAddressT &&value)
AWS_KAFKA_API ZookeeperNodeInfo()=default
AWS_KAFKA_API ZookeeperNodeInfo(Aws::Utils::Json::JsonView jsonValue)
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