/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Kafka { namespace Model { /** *

Zookeeper node information.

See Also:

* AWS * API Reference

*/ class ZookeeperNodeInfo { public: AWS_KAFKA_API ZookeeperNodeInfo(); AWS_KAFKA_API ZookeeperNodeInfo(Aws::Utils::Json::JsonView jsonValue); AWS_KAFKA_API ZookeeperNodeInfo& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The attached elastic network interface of the broker.

* */ inline const Aws::String& GetAttachedENIId() const{ return m_attachedENIId; } /** *

The attached elastic network interface of the broker.

* */ inline bool AttachedENIIdHasBeenSet() const { return m_attachedENIIdHasBeenSet; } /** *

The attached elastic network interface of the broker.

* */ inline void SetAttachedENIId(const Aws::String& value) { m_attachedENIIdHasBeenSet = true; m_attachedENIId = value; } /** *

The attached elastic network interface of the broker.

* */ inline void SetAttachedENIId(Aws::String&& value) { m_attachedENIIdHasBeenSet = true; m_attachedENIId = std::move(value); } /** *

The attached elastic network interface of the broker.

* */ inline void SetAttachedENIId(const char* value) { m_attachedENIIdHasBeenSet = true; m_attachedENIId.assign(value); } /** *

The attached elastic network interface of the broker.

* */ inline ZookeeperNodeInfo& WithAttachedENIId(const Aws::String& value) { SetAttachedENIId(value); return *this;} /** *

The attached elastic network interface of the broker.

* */ inline ZookeeperNodeInfo& WithAttachedENIId(Aws::String&& value) { SetAttachedENIId(std::move(value)); return *this;} /** *

The attached elastic network interface of the broker.

* */ inline ZookeeperNodeInfo& WithAttachedENIId(const char* value) { SetAttachedENIId(value); return *this;} /** *

The virtual private cloud (VPC) IP address of the client.

* */ inline const Aws::String& GetClientVpcIpAddress() const{ return m_clientVpcIpAddress; } /** *

The virtual private cloud (VPC) IP address of the client.

* */ inline bool ClientVpcIpAddressHasBeenSet() const { return m_clientVpcIpAddressHasBeenSet; } /** *

The virtual private cloud (VPC) IP address of the client.

* */ inline void SetClientVpcIpAddress(const Aws::String& value) { m_clientVpcIpAddressHasBeenSet = true; m_clientVpcIpAddress = value; } /** *

The virtual private cloud (VPC) IP address of the client.

* */ inline void SetClientVpcIpAddress(Aws::String&& value) { m_clientVpcIpAddressHasBeenSet = true; m_clientVpcIpAddress = std::move(value); } /** *

The virtual private cloud (VPC) IP address of the client.

* */ inline void SetClientVpcIpAddress(const char* value) { m_clientVpcIpAddressHasBeenSet = true; m_clientVpcIpAddress.assign(value); } /** *

The virtual private cloud (VPC) IP address of the client.

* */ inline ZookeeperNodeInfo& WithClientVpcIpAddress(const Aws::String& value) { SetClientVpcIpAddress(value); return *this;} /** *

The virtual private cloud (VPC) IP address of the client.

* */ inline ZookeeperNodeInfo& WithClientVpcIpAddress(Aws::String&& value) { SetClientVpcIpAddress(std::move(value)); return *this;} /** *

The virtual private cloud (VPC) IP address of the client.

* */ inline ZookeeperNodeInfo& WithClientVpcIpAddress(const char* value) { SetClientVpcIpAddress(value); return *this;} /** *

Endpoints for accessing the ZooKeeper.

*/ inline const Aws::Vector& GetEndpoints() const{ return m_endpoints; } /** *

Endpoints for accessing the ZooKeeper.

*/ inline bool EndpointsHasBeenSet() const { return m_endpointsHasBeenSet; } /** *

Endpoints for accessing the ZooKeeper.

*/ inline void SetEndpoints(const Aws::Vector& value) { m_endpointsHasBeenSet = true; m_endpoints = value; } /** *

Endpoints for accessing the ZooKeeper.

*/ inline void SetEndpoints(Aws::Vector&& value) { m_endpointsHasBeenSet = true; m_endpoints = std::move(value); } /** *

Endpoints for accessing the ZooKeeper.

*/ inline ZookeeperNodeInfo& WithEndpoints(const Aws::Vector& value) { SetEndpoints(value); return *this;} /** *

Endpoints for accessing the ZooKeeper.

*/ inline ZookeeperNodeInfo& WithEndpoints(Aws::Vector&& value) { SetEndpoints(std::move(value)); return *this;} /** *

Endpoints for accessing the ZooKeeper.

*/ inline ZookeeperNodeInfo& AddEndpoints(const Aws::String& value) { m_endpointsHasBeenSet = true; m_endpoints.push_back(value); return *this; } /** *

Endpoints for accessing the ZooKeeper.

*/ inline ZookeeperNodeInfo& AddEndpoints(Aws::String&& value) { m_endpointsHasBeenSet = true; m_endpoints.push_back(std::move(value)); return *this; } /** *

Endpoints for accessing the ZooKeeper.

*/ inline ZookeeperNodeInfo& AddEndpoints(const char* value) { m_endpointsHasBeenSet = true; m_endpoints.push_back(value); return *this; } /** *

The role-specific ID for Zookeeper.

*/ inline double GetZookeeperId() const{ return m_zookeeperId; } /** *

The role-specific ID for Zookeeper.

*/ inline bool ZookeeperIdHasBeenSet() const { return m_zookeeperIdHasBeenSet; } /** *

The role-specific ID for Zookeeper.

*/ inline void SetZookeeperId(double value) { m_zookeeperIdHasBeenSet = true; m_zookeeperId = value; } /** *

The role-specific ID for Zookeeper.

*/ inline ZookeeperNodeInfo& WithZookeeperId(double value) { SetZookeeperId(value); return *this;} /** *

The version of Zookeeper.

*/ inline const Aws::String& GetZookeeperVersion() const{ return m_zookeeperVersion; } /** *

The version of Zookeeper.

*/ inline bool ZookeeperVersionHasBeenSet() const { return m_zookeeperVersionHasBeenSet; } /** *

The version of Zookeeper.

*/ inline void SetZookeeperVersion(const Aws::String& value) { m_zookeeperVersionHasBeenSet = true; m_zookeeperVersion = value; } /** *

The version of Zookeeper.

*/ inline void SetZookeeperVersion(Aws::String&& value) { m_zookeeperVersionHasBeenSet = true; m_zookeeperVersion = std::move(value); } /** *

The version of Zookeeper.

*/ inline void SetZookeeperVersion(const char* value) { m_zookeeperVersionHasBeenSet = true; m_zookeeperVersion.assign(value); } /** *

The version of Zookeeper.

*/ inline ZookeeperNodeInfo& WithZookeeperVersion(const Aws::String& value) { SetZookeeperVersion(value); return *this;} /** *

The version of Zookeeper.

*/ inline ZookeeperNodeInfo& WithZookeeperVersion(Aws::String&& value) { SetZookeeperVersion(std::move(value)); return *this;} /** *

The version of Zookeeper.

*/ inline ZookeeperNodeInfo& WithZookeeperVersion(const char* value) { SetZookeeperVersion(value); return *this;} private: Aws::String m_attachedENIId; bool m_attachedENIIdHasBeenSet = false; Aws::String m_clientVpcIpAddress; bool m_clientVpcIpAddressHasBeenSet = false; Aws::Vector m_endpoints; bool m_endpointsHasBeenSet = false; double m_zookeeperId; bool m_zookeeperIdHasBeenSet = false; Aws::String m_zookeeperVersion; bool m_zookeeperVersionHasBeenSet = false; }; } // namespace Model } // namespace Kafka } // namespace Aws