AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
Tls.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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
35 class Tls
36 {
37 public:
38 AWS_KAFKA_API Tls() = default;
39 AWS_KAFKA_API Tls(Aws::Utils::Json::JsonView jsonValue);
40 AWS_KAFKA_API Tls& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const Aws::Vector<Aws::String>& GetCertificateAuthorityArnList() const { return m_certificateAuthorityArnList; }
51 inline bool CertificateAuthorityArnListHasBeenSet() const { return m_certificateAuthorityArnListHasBeenSet; }
52 template<typename CertificateAuthorityArnListT = Aws::Vector<Aws::String>>
53 void SetCertificateAuthorityArnList(CertificateAuthorityArnListT&& value) { m_certificateAuthorityArnListHasBeenSet = true; m_certificateAuthorityArnList = std::forward<CertificateAuthorityArnListT>(value); }
54 template<typename CertificateAuthorityArnListT = Aws::Vector<Aws::String>>
55 Tls& WithCertificateAuthorityArnList(CertificateAuthorityArnListT&& value) { SetCertificateAuthorityArnList(std::forward<CertificateAuthorityArnListT>(value)); return *this;}
56 template<typename CertificateAuthorityArnListT = Aws::String>
57 Tls& AddCertificateAuthorityArnList(CertificateAuthorityArnListT&& value) { m_certificateAuthorityArnListHasBeenSet = true; m_certificateAuthorityArnList.emplace_back(std::forward<CertificateAuthorityArnListT>(value)); return *this; }
59
61
67 inline bool GetEnabled() const { return m_enabled; }
68 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
69 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
70 inline Tls& WithEnabled(bool value) { SetEnabled(value); return *this;}
72 private:
73
74 Aws::Vector<Aws::String> m_certificateAuthorityArnList;
75 bool m_certificateAuthorityArnListHasBeenSet = false;
76
77 bool m_enabled{false};
78 bool m_enabledHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace Kafka
83} // namespace Aws
Tls & WithEnabled(bool value)
Definition Tls.h:70
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCertificateAuthorityArnList(CertificateAuthorityArnListT &&value)
Definition Tls.h:53
bool GetEnabled() const
Definition Tls.h:67
AWS_KAFKA_API Tls & operator=(Aws::Utils::Json::JsonView jsonValue)
Tls & WithCertificateAuthorityArnList(CertificateAuthorityArnListT &&value)
Definition Tls.h:55
const Aws::Vector< Aws::String > & GetCertificateAuthorityArnList() const
Definition Tls.h:50
void SetEnabled(bool value)
Definition Tls.h:69
AWS_KAFKA_API Tls()=default
AWS_KAFKA_API Tls(Aws::Utils::Json::JsonView jsonValue)
bool EnabledHasBeenSet() const
Definition Tls.h:68
Tls & AddCertificateAuthorityArnList(CertificateAuthorityArnListT &&value)
Definition Tls.h:57
bool CertificateAuthorityArnListHasBeenSet() const
Definition Tls.h:51
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue