/** * 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 encryption in transit to the Apache Kafka cluster.

See * Also:

AWS * API Reference

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

The type of encryption in transit to the Apache Kafka cluster.

*/ inline const KafkaClusterEncryptionInTransitType& GetEncryptionType() const{ return m_encryptionType; } /** *

The type of encryption in transit to the Apache Kafka cluster.

*/ inline bool EncryptionTypeHasBeenSet() const { return m_encryptionTypeHasBeenSet; } /** *

The type of encryption in transit to the Apache Kafka cluster.

*/ inline void SetEncryptionType(const KafkaClusterEncryptionInTransitType& value) { m_encryptionTypeHasBeenSet = true; m_encryptionType = value; } /** *

The type of encryption in transit to the Apache Kafka cluster.

*/ inline void SetEncryptionType(KafkaClusterEncryptionInTransitType&& value) { m_encryptionTypeHasBeenSet = true; m_encryptionType = std::move(value); } /** *

The type of encryption in transit to the Apache Kafka cluster.

*/ inline KafkaClusterEncryptionInTransit& WithEncryptionType(const KafkaClusterEncryptionInTransitType& value) { SetEncryptionType(value); return *this;} /** *

The type of encryption in transit to the Apache Kafka cluster.

*/ inline KafkaClusterEncryptionInTransit& WithEncryptionType(KafkaClusterEncryptionInTransitType&& value) { SetEncryptionType(std::move(value)); return *this;} private: KafkaClusterEncryptionInTransitType m_encryptionType; bool m_encryptionTypeHasBeenSet = false; }; } // namespace Model } // namespace KafkaConnect } // namespace Aws