AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VpcConnectivityClientAuthentication.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/kafka/model/VpcConnectivitySasl.h>
9#include <aws/kafka/model/VpcConnectivityTls.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Kafka
23{
24namespace Model
25{
26
36 {
37 public:
41 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
51 inline const VpcConnectivitySasl& GetSasl() const{ return m_sasl; }
52 inline bool SaslHasBeenSet() const { return m_saslHasBeenSet; }
53 inline void SetSasl(const VpcConnectivitySasl& value) { m_saslHasBeenSet = true; m_sasl = value; }
54 inline void SetSasl(VpcConnectivitySasl&& value) { m_saslHasBeenSet = true; m_sasl = std::move(value); }
55 inline VpcConnectivityClientAuthentication& WithSasl(const VpcConnectivitySasl& value) { SetSasl(value); return *this;}
56 inline VpcConnectivityClientAuthentication& WithSasl(VpcConnectivitySasl&& value) { SetSasl(std::move(value)); return *this;}
58
60
66 inline const VpcConnectivityTls& GetTls() const{ return m_tls; }
67 inline bool TlsHasBeenSet() const { return m_tlsHasBeenSet; }
68 inline void SetTls(const VpcConnectivityTls& value) { m_tlsHasBeenSet = true; m_tls = value; }
69 inline void SetTls(VpcConnectivityTls&& value) { m_tlsHasBeenSet = true; m_tls = std::move(value); }
70 inline VpcConnectivityClientAuthentication& WithTls(const VpcConnectivityTls& value) { SetTls(value); return *this;}
71 inline VpcConnectivityClientAuthentication& WithTls(VpcConnectivityTls&& value) { SetTls(std::move(value)); return *this;}
73 private:
74
76 bool m_saslHasBeenSet = false;
77
79 bool m_tlsHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace Kafka
84} // namespace Aws
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
VpcConnectivityClientAuthentication & WithTls(VpcConnectivityTls &&value)
VpcConnectivityClientAuthentication & WithSasl(VpcConnectivitySasl &&value)
VpcConnectivityClientAuthentication & WithTls(const VpcConnectivityTls &value)
VpcConnectivityClientAuthentication & WithSasl(const VpcConnectivitySasl &value)
AWS_KAFKA_API VpcConnectivityClientAuthentication & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKA_API VpcConnectivityClientAuthentication(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue