AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
38 AWS_KAFKA_API VpcConnectivityClientAuthentication() = default;
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 template<typename SaslT = VpcConnectivitySasl>
54 void SetSasl(SaslT&& value) { m_saslHasBeenSet = true; m_sasl = std::forward<SaslT>(value); }
55 template<typename SaslT = VpcConnectivitySasl>
56 VpcConnectivityClientAuthentication& WithSasl(SaslT&& value) { SetSasl(std::forward<SaslT>(value)); return *this;}
58
60
66 inline const VpcConnectivityTls& GetTls() const { return m_tls; }
67 inline bool TlsHasBeenSet() const { return m_tlsHasBeenSet; }
68 template<typename TlsT = VpcConnectivityTls>
69 void SetTls(TlsT&& value) { m_tlsHasBeenSet = true; m_tls = std::forward<TlsT>(value); }
70 template<typename TlsT = VpcConnectivityTls>
71 VpcConnectivityClientAuthentication& WithTls(TlsT&& value) { SetTls(std::forward<TlsT>(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(TlsT &&value)
VpcConnectivityClientAuthentication & WithSasl(SaslT &&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