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

Includes all client authentication information.

*

See Also:

AWS * API Reference

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

Details for ClientAuthentication using TLS.

*/ inline const Tls& GetTls() const{ return m_tls; } /** *

Details for ClientAuthentication using TLS.

*/ inline bool TlsHasBeenSet() const { return m_tlsHasBeenSet; } /** *

Details for ClientAuthentication using TLS.

*/ inline void SetTls(const Tls& value) { m_tlsHasBeenSet = true; m_tls = value; } /** *

Details for ClientAuthentication using TLS.

*/ inline void SetTls(Tls&& value) { m_tlsHasBeenSet = true; m_tls = std::move(value); } /** *

Details for ClientAuthentication using TLS.

*/ inline ClientAuthentication& WithTls(const Tls& value) { SetTls(value); return *this;} /** *

Details for ClientAuthentication using TLS.

*/ inline ClientAuthentication& WithTls(Tls&& value) { SetTls(std::move(value)); return *this;} private: Tls m_tls; bool m_tlsHasBeenSet; }; } // namespace Model } // namespace Kafka } // namespace Aws