AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
Tls.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/kafka/Kafka_EXPORTS.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
31class Tls {
32 public:
33 AWS_KAFKA_API Tls() = default;
34 AWS_KAFKA_API Tls(Aws::Utils::Json::JsonView jsonValue);
35 AWS_KAFKA_API Tls& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
44 inline const Aws::Vector<Aws::String>& GetCertificateAuthorityArnList() const { return m_certificateAuthorityArnList; }
45 inline bool CertificateAuthorityArnListHasBeenSet() const { return m_certificateAuthorityArnListHasBeenSet; }
46 template <typename CertificateAuthorityArnListT = Aws::Vector<Aws::String>>
47 void SetCertificateAuthorityArnList(CertificateAuthorityArnListT&& value) {
48 m_certificateAuthorityArnListHasBeenSet = true;
49 m_certificateAuthorityArnList = std::forward<CertificateAuthorityArnListT>(value);
50 }
51 template <typename CertificateAuthorityArnListT = Aws::Vector<Aws::String>>
52 Tls& WithCertificateAuthorityArnList(CertificateAuthorityArnListT&& value) {
53 SetCertificateAuthorityArnList(std::forward<CertificateAuthorityArnListT>(value));
54 return *this;
55 }
56 template <typename CertificateAuthorityArnListT = Aws::String>
57 Tls& AddCertificateAuthorityArnList(CertificateAuthorityArnListT&& value) {
58 m_certificateAuthorityArnListHasBeenSet = true;
59 m_certificateAuthorityArnList.emplace_back(std::forward<CertificateAuthorityArnListT>(value));
60 return *this;
61 }
63
65
71 inline bool GetEnabled() const { return m_enabled; }
72 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
73 inline void SetEnabled(bool value) {
74 m_enabledHasBeenSet = true;
75 m_enabled = value;
76 }
77 inline Tls& WithEnabled(bool value) {
78 SetEnabled(value);
79 return *this;
80 }
82 private:
83 Aws::Vector<Aws::String> m_certificateAuthorityArnList;
84
85 bool m_enabled{false};
86 bool m_certificateAuthorityArnListHasBeenSet = false;
87 bool m_enabledHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace Kafka
92} // namespace Aws
Tls & WithEnabled(bool value)
Definition Tls.h:77
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCertificateAuthorityArnList(CertificateAuthorityArnListT &&value)
Definition Tls.h:47
bool GetEnabled() const
Definition Tls.h:71
AWS_KAFKA_API Tls & operator=(Aws::Utils::Json::JsonView jsonValue)
Tls & WithCertificateAuthorityArnList(CertificateAuthorityArnListT &&value)
Definition Tls.h:52
const Aws::Vector< Aws::String > & GetCertificateAuthorityArnList() const
Definition Tls.h:44
void SetEnabled(bool value)
Definition Tls.h:73
AWS_KAFKA_API Tls()=default
AWS_KAFKA_API Tls(Aws::Utils::Json::JsonView jsonValue)
bool EnabledHasBeenSet() const
Definition Tls.h:72
Tls & AddCertificateAuthorityArnList(CertificateAuthorityArnListT &&value)
Definition Tls.h:57
bool CertificateAuthorityArnListHasBeenSet() const
Definition Tls.h:45
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue