7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/kafka/model/Sasl.h>
9#include <aws/kafka/model/Tls.h>
10#include <aws/kafka/model/Unauthenticated.h>
53 template<
typename SaslT = Sasl>
54 void SetSasl(SaslT&& value) { m_saslHasBeenSet =
true; m_sasl = std::forward<SaslT>(value); }
55 template<
typename SaslT = Sasl>
67 template<
typename TlsT = Tls>
68 void SetTls(TlsT&& value) { m_tlsHasBeenSet =
true; m_tls = std::forward<TlsT>(value); }
69 template<
typename TlsT = Tls>
82 template<
typename UnauthenticatedT = Unauthenticated>
83 void SetUnauthenticated(UnauthenticatedT&& value) { m_unauthenticatedHasBeenSet =
true; m_unauthenticated = std::forward<UnauthenticatedT>(value); }
84 template<
typename UnauthenticatedT = Unauthenticated>
90 bool m_saslHasBeenSet =
false;
93 bool m_tlsHasBeenSet =
false;
96 bool m_unauthenticatedHasBeenSet =
false;
void SetTls(TlsT &&value)
AWS_KAFKA_API ClientAuthentication()=default
AWS_KAFKA_API ClientAuthentication & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSasl(SaslT &&value)
AWS_KAFKA_API ClientAuthentication(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
const Tls & GetTls() const
const Unauthenticated & GetUnauthenticated() const
void SetUnauthenticated(UnauthenticatedT &&value)
bool UnauthenticatedHasBeenSet() const
ClientAuthentication & WithTls(TlsT &&value)
ClientAuthentication & WithUnauthenticated(UnauthenticatedT &&value)
ClientAuthentication & WithSasl(SaslT &&value)
const Sasl & GetSasl() const
bool SaslHasBeenSet() const
bool TlsHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue