AWS SDK for C++  1.9.104
AWS SDK for C++
Tls.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Kafka
23 {
24 namespace Model
25 {
26 
36  {
37  public:
38  Tls();
42 
43 
49  inline const Aws::Vector<Aws::String>& GetCertificateAuthorityArnList() const{ return m_certificateAuthorityArnList; }
50 
56  inline bool CertificateAuthorityArnListHasBeenSet() const { return m_certificateAuthorityArnListHasBeenSet; }
57 
63  inline void SetCertificateAuthorityArnList(const Aws::Vector<Aws::String>& value) { m_certificateAuthorityArnListHasBeenSet = true; m_certificateAuthorityArnList = value; }
64 
70  inline void SetCertificateAuthorityArnList(Aws::Vector<Aws::String>&& value) { m_certificateAuthorityArnListHasBeenSet = true; m_certificateAuthorityArnList = std::move(value); }
71 
77  inline Tls& WithCertificateAuthorityArnList(const Aws::Vector<Aws::String>& value) { SetCertificateAuthorityArnList(value); return *this;}
78 
84  inline Tls& WithCertificateAuthorityArnList(Aws::Vector<Aws::String>&& value) { SetCertificateAuthorityArnList(std::move(value)); return *this;}
85 
91  inline Tls& AddCertificateAuthorityArnList(const Aws::String& value) { m_certificateAuthorityArnListHasBeenSet = true; m_certificateAuthorityArnList.push_back(value); return *this; }
92 
98  inline Tls& AddCertificateAuthorityArnList(Aws::String&& value) { m_certificateAuthorityArnListHasBeenSet = true; m_certificateAuthorityArnList.push_back(std::move(value)); return *this; }
99 
105  inline Tls& AddCertificateAuthorityArnList(const char* value) { m_certificateAuthorityArnListHasBeenSet = true; m_certificateAuthorityArnList.push_back(value); return *this; }
106 
107 
114  inline bool GetEnabled() const{ return m_enabled; }
115 
122  inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
123 
130  inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
131 
138  inline Tls& WithEnabled(bool value) { SetEnabled(value); return *this;}
139 
140  private:
141 
142  Aws::Vector<Aws::String> m_certificateAuthorityArnList;
143  bool m_certificateAuthorityArnListHasBeenSet;
144 
145  bool m_enabled;
146  bool m_enabledHasBeenSet;
147  };
148 
149 } // namespace Model
150 } // namespace Kafka
151 } // namespace Aws
Aws::Kafka::Model::Tls::AddCertificateAuthorityArnList
Tls & AddCertificateAuthorityArnList(const char *value)
Definition: Tls.h:105
Aws::Kafka::Model::Tls::GetCertificateAuthorityArnList
const Aws::Vector< Aws::String > & GetCertificateAuthorityArnList() const
Definition: Tls.h:49
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Kafka::Model::Tls::WithEnabled
Tls & WithEnabled(bool value)
Definition: Tls.h:138
AWSVector.h
Aws::Kafka::Model::Tls::CertificateAuthorityArnListHasBeenSet
bool CertificateAuthorityArnListHasBeenSet() const
Definition: Tls.h:56
Aws::Kafka::Model::Tls::GetEnabled
bool GetEnabled() const
Definition: Tls.h:114
Aws::Kafka::Model::Tls::WithCertificateAuthorityArnList
Tls & WithCertificateAuthorityArnList(const Aws::Vector< Aws::String > &value)
Definition: Tls.h:77
Aws::Kafka::Model::Tls
Definition: Tls.h:36
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::Tls::operator=
Tls & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Kafka::Model::Tls::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Kafka::Model::Tls::SetEnabled
void SetEnabled(bool value)
Definition: Tls.h:130
Aws::Kafka::Model::Tls::WithCertificateAuthorityArnList
Tls & WithCertificateAuthorityArnList(Aws::Vector< Aws::String > &&value)
Definition: Tls.h:84
Aws::Kafka::Model::Tls::Tls
Tls()
Aws::Kafka::Model::Tls::AddCertificateAuthorityArnList
Tls & AddCertificateAuthorityArnList(Aws::String &&value)
Definition: Tls.h:98
Aws
Definition: AccessManagementClient.h:15
Aws::Kafka::Model::Tls::Tls
Tls(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Kafka_EXPORTS.h
Aws::Kafka::Model::Tls::EnabledHasBeenSet
bool EnabledHasBeenSet() const
Definition: Tls.h:122
Aws::Kafka::Model::Tls::SetCertificateAuthorityArnList
void SetCertificateAuthorityArnList(const Aws::Vector< Aws::String > &value)
Definition: Tls.h:63
Aws::Kafka::Model::Tls::SetCertificateAuthorityArnList
void SetCertificateAuthorityArnList(Aws::Vector< Aws::String > &&value)
Definition: Tls.h:70
Aws::Kafka::Model::Tls::AddCertificateAuthorityArnList
Tls & AddCertificateAuthorityArnList(const Aws::String &value)
Definition: Tls.h:91