AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Kafka {
21namespace Model {
22
32 public:
33 AWS_KAFKA_API VpcConnectivityClientAuthentication() = default;
36 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
45 inline const VpcConnectivitySasl& GetSasl() const { return m_sasl; }
46 inline bool SaslHasBeenSet() const { return m_saslHasBeenSet; }
47 template <typename SaslT = VpcConnectivitySasl>
48 void SetSasl(SaslT&& value) {
49 m_saslHasBeenSet = true;
50 m_sasl = std::forward<SaslT>(value);
51 }
52 template <typename SaslT = VpcConnectivitySasl>
54 SetSasl(std::forward<SaslT>(value));
55 return *this;
56 }
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) {
70 m_tlsHasBeenSet = true;
71 m_tls = std::forward<TlsT>(value);
72 }
73 template <typename TlsT = VpcConnectivityTls>
75 SetTls(std::forward<TlsT>(value));
76 return *this;
77 }
79 private:
81
83 bool m_saslHasBeenSet = false;
84 bool m_tlsHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace Kafka
89} // 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