/** * 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 { /** *

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

See Also:

AWS * API Reference

*/ class KafkaCluster { public: AWS_KAFKACONNECT_API KafkaCluster(); AWS_KAFKACONNECT_API KafkaCluster(Aws::Utils::Json::JsonView jsonValue); AWS_KAFKACONNECT_API KafkaCluster& 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 ApacheKafkaCluster& 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 ApacheKafkaCluster& value) { m_apacheKafkaClusterHasBeenSet = true; m_apacheKafkaCluster = value; } /** *

The Apache Kafka cluster to which the connector is connected.

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

The Apache Kafka cluster to which the connector is connected.

*/ inline KafkaCluster& WithApacheKafkaCluster(const ApacheKafkaCluster& value) { SetApacheKafkaCluster(value); return *this;} /** *

The Apache Kafka cluster to which the connector is connected.

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