AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ClientAuthentication.h
1
6#pragma once
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>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Kafka
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_KAFKA_API ClientAuthentication();
42 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
51 inline const Sasl& GetSasl() const{ return m_sasl; }
52 inline bool SaslHasBeenSet() const { return m_saslHasBeenSet; }
53 inline void SetSasl(const Sasl& value) { m_saslHasBeenSet = true; m_sasl = value; }
54 inline void SetSasl(Sasl&& value) { m_saslHasBeenSet = true; m_sasl = std::move(value); }
55 inline ClientAuthentication& WithSasl(const Sasl& value) { SetSasl(value); return *this;}
56 inline ClientAuthentication& WithSasl(Sasl&& value) { SetSasl(std::move(value)); return *this;}
58
60
65 inline const Tls& GetTls() const{ return m_tls; }
66 inline bool TlsHasBeenSet() const { return m_tlsHasBeenSet; }
67 inline void SetTls(const Tls& value) { m_tlsHasBeenSet = true; m_tls = value; }
68 inline void SetTls(Tls&& value) { m_tlsHasBeenSet = true; m_tls = std::move(value); }
69 inline ClientAuthentication& WithTls(const Tls& value) { SetTls(value); return *this;}
70 inline ClientAuthentication& WithTls(Tls&& value) { SetTls(std::move(value)); return *this;}
72
74
80 inline const Unauthenticated& GetUnauthenticated() const{ return m_unauthenticated; }
81 inline bool UnauthenticatedHasBeenSet() const { return m_unauthenticatedHasBeenSet; }
82 inline void SetUnauthenticated(const Unauthenticated& value) { m_unauthenticatedHasBeenSet = true; m_unauthenticated = value; }
83 inline void SetUnauthenticated(Unauthenticated&& value) { m_unauthenticatedHasBeenSet = true; m_unauthenticated = std::move(value); }
84 inline ClientAuthentication& WithUnauthenticated(const Unauthenticated& value) { SetUnauthenticated(value); return *this;}
85 inline ClientAuthentication& WithUnauthenticated(Unauthenticated&& value) { SetUnauthenticated(std::move(value)); return *this;}
87 private:
88
89 Sasl m_sasl;
90 bool m_saslHasBeenSet = false;
91
92 Tls m_tls;
93 bool m_tlsHasBeenSet = false;
94
95 Unauthenticated m_unauthenticated;
96 bool m_unauthenticatedHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace Kafka
101} // namespace Aws
AWS_KAFKA_API ClientAuthentication & operator=(Aws::Utils::Json::JsonView jsonValue)
ClientAuthentication & WithUnauthenticated(const Unauthenticated &value)
AWS_KAFKA_API ClientAuthentication(Aws::Utils::Json::JsonView jsonValue)
ClientAuthentication & WithTls(const Tls &value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
const Unauthenticated & GetUnauthenticated() const
ClientAuthentication & WithSasl(const Sasl &value)
ClientAuthentication & WithSasl(Sasl &&value)
void SetUnauthenticated(const Unauthenticated &value)
ClientAuthentication & WithUnauthenticated(Unauthenticated &&value)
ClientAuthentication & WithTls(Tls &&value)
void SetUnauthenticated(Unauthenticated &&value)
Aws::Utils::Json::JsonValue JsonValue