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

Details of how to connect to the Apache Kafka cluster.

See * Also:

AWS * API Reference

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

The Apache Kafka cluster to which the connector is connected.

*/ inline const ApacheKafkaClusterDescription& GetApacheKafkaCluster() const{ return m_apacheKafkaCluster; } /** *

The Apache Kafka cluster to which the connector is connected.

*/ inline bool ApacheKafkaClusterHasBeenSet() const { return m_apacheKafkaClusterHasBeenSet; } /** *

The Apache Kafka cluster to which the connector is connected.

*/ inline void SetApacheKafkaCluster(const ApacheKafkaClusterDescription& value) { m_apacheKafkaClusterHasBeenSet = true; m_apacheKafkaCluster = value; } /** *

The Apache Kafka cluster to which the connector is connected.

*/ inline void SetApacheKafkaCluster(ApacheKafkaClusterDescription&& value) { m_apacheKafkaClusterHasBeenSet = true; m_apacheKafkaCluster = std::move(value); } /** *

The Apache Kafka cluster to which the connector is connected.

*/ inline KafkaClusterDescription& WithApacheKafkaCluster(const ApacheKafkaClusterDescription& value) { SetApacheKafkaCluster(value); return *this;} /** *

The Apache Kafka cluster to which the connector is connected.

*/ inline KafkaClusterDescription& WithApacheKafkaCluster(ApacheKafkaClusterDescription&& value) { SetApacheKafkaCluster(std::move(value)); return *this;} private: ApacheKafkaClusterDescription m_apacheKafkaCluster; bool m_apacheKafkaClusterHasBeenSet = false; }; } // namespace Model } // namespace KafkaConnect } // namespace Aws