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

BrokerNodeInfo

See Also:

AWS * API Reference

*/ class BrokerNodeInfo { public: AWS_KAFKA_API BrokerNodeInfo(); AWS_KAFKA_API BrokerNodeInfo(Aws::Utils::Json::JsonView jsonValue); AWS_KAFKA_API BrokerNodeInfo& 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 BrokerNodeInfo& WithAttachedENIId(const Aws::String& value) { SetAttachedENIId(value); return *this;} /** *

The attached elastic network interface of the broker.

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

The attached elastic network interface of the broker.

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

The ID of the broker.

*/ inline double GetBrokerId() const{ return m_brokerId; } /** *

The ID of the broker.

*/ inline bool BrokerIdHasBeenSet() const { return m_brokerIdHasBeenSet; } /** *

The ID of the broker.

*/ inline void SetBrokerId(double value) { m_brokerIdHasBeenSet = true; m_brokerId = value; } /** *

The ID of the broker.

*/ inline BrokerNodeInfo& WithBrokerId(double value) { SetBrokerId(value); return *this;} /** *

The client subnet to which this broker node belongs.

* */ inline const Aws::String& GetClientSubnet() const{ return m_clientSubnet; } /** *

The client subnet to which this broker node belongs.

* */ inline bool ClientSubnetHasBeenSet() const { return m_clientSubnetHasBeenSet; } /** *

The client subnet to which this broker node belongs.

* */ inline void SetClientSubnet(const Aws::String& value) { m_clientSubnetHasBeenSet = true; m_clientSubnet = value; } /** *

The client subnet to which this broker node belongs.

* */ inline void SetClientSubnet(Aws::String&& value) { m_clientSubnetHasBeenSet = true; m_clientSubnet = std::move(value); } /** *

The client subnet to which this broker node belongs.

* */ inline void SetClientSubnet(const char* value) { m_clientSubnetHasBeenSet = true; m_clientSubnet.assign(value); } /** *

The client subnet to which this broker node belongs.

* */ inline BrokerNodeInfo& WithClientSubnet(const Aws::String& value) { SetClientSubnet(value); return *this;} /** *

The client subnet to which this broker node belongs.

* */ inline BrokerNodeInfo& WithClientSubnet(Aws::String&& value) { SetClientSubnet(std::move(value)); return *this;} /** *

The client subnet to which this broker node belongs.

* */ inline BrokerNodeInfo& WithClientSubnet(const char* value) { SetClientSubnet(value); return *this;} /** *

The virtual private cloud (VPC) of the client.

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

The virtual private cloud (VPC) of the client.

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

The virtual private cloud (VPC) of the client.

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

The virtual private cloud (VPC) of the client.

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

The virtual private cloud (VPC) of the client.

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

The virtual private cloud (VPC) of the client.

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

The virtual private cloud (VPC) of the client.

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

The virtual private cloud (VPC) of the client.

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

Information about the version of software currently deployed on * the Apache Kafka brokers in the cluster.

*/ inline const BrokerSoftwareInfo& GetCurrentBrokerSoftwareInfo() const{ return m_currentBrokerSoftwareInfo; } /** *

Information about the version of software currently deployed on * the Apache Kafka brokers in the cluster.

*/ inline bool CurrentBrokerSoftwareInfoHasBeenSet() const { return m_currentBrokerSoftwareInfoHasBeenSet; } /** *

Information about the version of software currently deployed on * the Apache Kafka brokers in the cluster.

*/ inline void SetCurrentBrokerSoftwareInfo(const BrokerSoftwareInfo& value) { m_currentBrokerSoftwareInfoHasBeenSet = true; m_currentBrokerSoftwareInfo = value; } /** *

Information about the version of software currently deployed on * the Apache Kafka brokers in the cluster.

*/ inline void SetCurrentBrokerSoftwareInfo(BrokerSoftwareInfo&& value) { m_currentBrokerSoftwareInfoHasBeenSet = true; m_currentBrokerSoftwareInfo = std::move(value); } /** *

Information about the version of software currently deployed on * the Apache Kafka brokers in the cluster.

*/ inline BrokerNodeInfo& WithCurrentBrokerSoftwareInfo(const BrokerSoftwareInfo& value) { SetCurrentBrokerSoftwareInfo(value); return *this;} /** *

Information about the version of software currently deployed on * the Apache Kafka brokers in the cluster.

*/ inline BrokerNodeInfo& WithCurrentBrokerSoftwareInfo(BrokerSoftwareInfo&& value) { SetCurrentBrokerSoftwareInfo(std::move(value)); return *this;} /** *

Endpoints for accessing the broker.

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

Endpoints for accessing the broker.

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

Endpoints for accessing the broker.

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

Endpoints for accessing the broker.

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

Endpoints for accessing the broker.

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

Endpoints for accessing the broker.

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

Endpoints for accessing the broker.

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

Endpoints for accessing the broker.

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

Endpoints for accessing the broker.

*/ inline BrokerNodeInfo& AddEndpoints(const char* value) { m_endpointsHasBeenSet = true; m_endpoints.push_back(value); return *this; } private: Aws::String m_attachedENIId; bool m_attachedENIIdHasBeenSet = false; double m_brokerId; bool m_brokerIdHasBeenSet = false; Aws::String m_clientSubnet; bool m_clientSubnetHasBeenSet = false; Aws::String m_clientVpcIpAddress; bool m_clientVpcIpAddressHasBeenSet = false; BrokerSoftwareInfo m_currentBrokerSoftwareInfo; bool m_currentBrokerSoftwareInfoHasBeenSet = false; Aws::Vector m_endpoints; bool m_endpointsHasBeenSet = false; }; } // namespace Model } // namespace Kafka } // namespace Aws