AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCertificateAuthorityArnList(const Aws::Vector<Aws::String>& value) { m_certificateAuthorityArnListHasBeenSet = true; m_certificateAuthorityArnList = value; }
53 inline void SetCertificateAuthorityArnList(Aws::Vector<Aws::String>&& value) { m_certificateAuthorityArnListHasBeenSet = true; m_certificateAuthorityArnList = std::move(value); }
56 inline Tls& AddCertificateAuthorityArnList(const Aws::String& value) { m_certificateAuthorityArnListHasBeenSet = true; m_certificateAuthorityArnList.push_back(value); return *this; }
57 inline Tls& AddCertificateAuthorityArnList(Aws::String&& value) { m_certificateAuthorityArnListHasBeenSet = true; m_certificateAuthorityArnList.push_back(std::move(value)); return *this; }
58 inline Tls& AddCertificateAuthorityArnList(const char* value) { m_certificateAuthorityArnListHasBeenSet = true; m_certificateAuthorityArnList.push_back(value); return *this; }
60
62
68 inline bool GetEnabled() const{ return m_enabled; }
69 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
70 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
71 inline Tls& WithEnabled(bool value) { SetEnabled(value); return *this;}
73 private:
74
75 Aws::Vector<Aws::String> m_certificateAuthorityArnList;
76 bool m_certificateAuthorityArnListHasBeenSet = false;
77
78 bool m_enabled;
79 bool m_enabledHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace Kafka
84} // namespace Aws
Tls & WithCertificateAuthorityArnList(Aws::Vector< Aws::String > &&value)
Definition Tls.h:55
Tls & WithEnabled(bool value)
Definition Tls.h:71
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCertificateAuthorityArnList(const Aws::Vector< Aws::String > &value)
Definition Tls.h:52
Tls & WithCertificateAuthorityArnList(const Aws::Vector< Aws::String > &value)
Definition Tls.h:54
bool GetEnabled() const
Definition Tls.h:68
AWS_KAFKA_API Tls & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetCertificateAuthorityArnList() const
Definition Tls.h:50
Tls & AddCertificateAuthorityArnList(const Aws::String &value)
Definition Tls.h:56
void SetEnabled(bool value)
Definition Tls.h:70
AWS_KAFKA_API Tls()
AWS_KAFKA_API Tls(Aws::Utils::Json::JsonView jsonValue)
Tls & AddCertificateAuthorityArnList(const char *value)
Definition Tls.h:58
bool EnabledHasBeenSet() const
Definition Tls.h:69
Tls & AddCertificateAuthorityArnList(Aws::String &&value)
Definition Tls.h:57
bool CertificateAuthorityArnListHasBeenSet() const
Definition Tls.h:51
void SetCertificateAuthorityArnList(Aws::Vector< Aws::String > &&value)
Definition Tls.h:53
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue