/** * 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 KafkaConnect { namespace Model { /** *

The description of the Apache Kafka cluster to which the connector is * connected.

See Also:

AWS * API Reference

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

The bootstrap servers of the cluster.

*/ inline const Aws::String& GetBootstrapServers() const{ return m_bootstrapServers; } /** *

The bootstrap servers of the cluster.

*/ inline bool BootstrapServersHasBeenSet() const { return m_bootstrapServersHasBeenSet; } /** *

The bootstrap servers of the cluster.

*/ inline void SetBootstrapServers(const Aws::String& value) { m_bootstrapServersHasBeenSet = true; m_bootstrapServers = value; } /** *

The bootstrap servers of the cluster.

*/ inline void SetBootstrapServers(Aws::String&& value) { m_bootstrapServersHasBeenSet = true; m_bootstrapServers = std::move(value); } /** *

The bootstrap servers of the cluster.

*/ inline void SetBootstrapServers(const char* value) { m_bootstrapServersHasBeenSet = true; m_bootstrapServers.assign(value); } /** *

The bootstrap servers of the cluster.

*/ inline ApacheKafkaClusterDescription& WithBootstrapServers(const Aws::String& value) { SetBootstrapServers(value); return *this;} /** *

The bootstrap servers of the cluster.

*/ inline ApacheKafkaClusterDescription& WithBootstrapServers(Aws::String&& value) { SetBootstrapServers(std::move(value)); return *this;} /** *

The bootstrap servers of the cluster.

*/ inline ApacheKafkaClusterDescription& WithBootstrapServers(const char* value) { SetBootstrapServers(value); return *this;} /** *

Details of an Amazon VPC which has network connectivity to the Apache Kafka * cluster.

*/ inline const VpcDescription& GetVpc() const{ return m_vpc; } /** *

Details of an Amazon VPC which has network connectivity to the Apache Kafka * cluster.

*/ inline bool VpcHasBeenSet() const { return m_vpcHasBeenSet; } /** *

Details of an Amazon VPC which has network connectivity to the Apache Kafka * cluster.

*/ inline void SetVpc(const VpcDescription& value) { m_vpcHasBeenSet = true; m_vpc = value; } /** *

Details of an Amazon VPC which has network connectivity to the Apache Kafka * cluster.

*/ inline void SetVpc(VpcDescription&& value) { m_vpcHasBeenSet = true; m_vpc = std::move(value); } /** *

Details of an Amazon VPC which has network connectivity to the Apache Kafka * cluster.

*/ inline ApacheKafkaClusterDescription& WithVpc(const VpcDescription& value) { SetVpc(value); return *this;} /** *

Details of an Amazon VPC which has network connectivity to the Apache Kafka * cluster.

*/ inline ApacheKafkaClusterDescription& WithVpc(VpcDescription&& value) { SetVpc(std::move(value)); return *this;} private: Aws::String m_bootstrapServers; bool m_bootstrapServersHasBeenSet = false; VpcDescription m_vpc; bool m_vpcHasBeenSet = false; }; } // namespace Model } // namespace KafkaConnect } // namespace Aws