/** * 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 client authentication information used in order to authenticate with the * Apache Kafka cluster.

See Also:

AWS * API Reference

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

The type of client authentication used to connect to the Apache Kafka * cluster. Value NONE means that no client authentication is used.

*/ inline const KafkaClusterClientAuthenticationType& GetAuthenticationType() const{ return m_authenticationType; } /** *

The type of client authentication used to connect to the Apache Kafka * cluster. Value NONE means that no client authentication is used.

*/ inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; } /** *

The type of client authentication used to connect to the Apache Kafka * cluster. Value NONE means that no client authentication is used.

*/ inline void SetAuthenticationType(const KafkaClusterClientAuthenticationType& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = value; } /** *

The type of client authentication used to connect to the Apache Kafka * cluster. Value NONE means that no client authentication is used.

*/ inline void SetAuthenticationType(KafkaClusterClientAuthenticationType&& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = std::move(value); } /** *

The type of client authentication used to connect to the Apache Kafka * cluster. Value NONE means that no client authentication is used.

*/ inline KafkaClusterClientAuthenticationDescription& WithAuthenticationType(const KafkaClusterClientAuthenticationType& value) { SetAuthenticationType(value); return *this;} /** *

The type of client authentication used to connect to the Apache Kafka * cluster. Value NONE means that no client authentication is used.

*/ inline KafkaClusterClientAuthenticationDescription& WithAuthenticationType(KafkaClusterClientAuthenticationType&& value) { SetAuthenticationType(std::move(value)); return *this;} private: KafkaClusterClientAuthenticationType m_authenticationType; bool m_authenticationTypeHasBeenSet = false; }; } // namespace Model } // namespace KafkaConnect } // namespace Aws