/** * 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 ServerlessClientAuthentication { public: AWS_KAFKA_API ServerlessClientAuthentication(); AWS_KAFKA_API ServerlessClientAuthentication(Aws::Utils::Json::JsonView jsonValue); AWS_KAFKA_API ServerlessClientAuthentication& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Details for ClientAuthentication using SASL.

*/ inline const ServerlessSasl& GetSasl() const{ return m_sasl; } /** *

Details for ClientAuthentication using SASL.

*/ inline bool SaslHasBeenSet() const { return m_saslHasBeenSet; } /** *

Details for ClientAuthentication using SASL.

*/ inline void SetSasl(const ServerlessSasl& value) { m_saslHasBeenSet = true; m_sasl = value; } /** *

Details for ClientAuthentication using SASL.

*/ inline void SetSasl(ServerlessSasl&& value) { m_saslHasBeenSet = true; m_sasl = std::move(value); } /** *

Details for ClientAuthentication using SASL.

*/ inline ServerlessClientAuthentication& WithSasl(const ServerlessSasl& value) { SetSasl(value); return *this;} /** *

Details for ClientAuthentication using SASL.

*/ inline ServerlessClientAuthentication& WithSasl(ServerlessSasl&& value) { SetSasl(std::move(value)); return *this;} private: ServerlessSasl m_sasl; bool m_saslHasBeenSet = false; }; } // namespace Model } // namespace Kafka } // namespace Aws