/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Kafka { namespace Model { /** *

Details for client authentication using TLS.

*

See Also:

AWS API * Reference

*/ class Tls { public: AWS_KAFKA_API Tls(); AWS_KAFKA_API Tls(Aws::Utils::Json::JsonView jsonValue); AWS_KAFKA_API Tls& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

List of ACM Certificate Authority ARNs.

*/ inline const Aws::Vector& GetCertificateAuthorityArnList() const{ return m_certificateAuthorityArnList; } /** *

List of ACM Certificate Authority ARNs.

*/ inline bool CertificateAuthorityArnListHasBeenSet() const { return m_certificateAuthorityArnListHasBeenSet; } /** *

List of ACM Certificate Authority ARNs.

*/ inline void SetCertificateAuthorityArnList(const Aws::Vector& value) { m_certificateAuthorityArnListHasBeenSet = true; m_certificateAuthorityArnList = value; } /** *

List of ACM Certificate Authority ARNs.

*/ inline void SetCertificateAuthorityArnList(Aws::Vector&& value) { m_certificateAuthorityArnListHasBeenSet = true; m_certificateAuthorityArnList = std::move(value); } /** *

List of ACM Certificate Authority ARNs.

*/ inline Tls& WithCertificateAuthorityArnList(const Aws::Vector& value) { SetCertificateAuthorityArnList(value); return *this;} /** *

List of ACM Certificate Authority ARNs.

*/ inline Tls& WithCertificateAuthorityArnList(Aws::Vector&& value) { SetCertificateAuthorityArnList(std::move(value)); return *this;} /** *

List of ACM Certificate Authority ARNs.

*/ inline Tls& AddCertificateAuthorityArnList(const Aws::String& value) { m_certificateAuthorityArnListHasBeenSet = true; m_certificateAuthorityArnList.push_back(value); return *this; } /** *

List of ACM Certificate Authority ARNs.

*/ inline Tls& AddCertificateAuthorityArnList(Aws::String&& value) { m_certificateAuthorityArnListHasBeenSet = true; m_certificateAuthorityArnList.push_back(std::move(value)); return *this; } /** *

List of ACM Certificate Authority ARNs.

*/ inline Tls& AddCertificateAuthorityArnList(const char* value) { m_certificateAuthorityArnListHasBeenSet = true; m_certificateAuthorityArnList.push_back(value); return *this; } /** *

Specifies whether you want to turn on or turn off TLS * authentication.

*/ inline bool GetEnabled() const{ return m_enabled; } /** *

Specifies whether you want to turn on or turn off TLS * authentication.

*/ inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } /** *

Specifies whether you want to turn on or turn off TLS * authentication.

*/ inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } /** *

Specifies whether you want to turn on or turn off TLS * authentication.

*/ inline Tls& WithEnabled(bool value) { SetEnabled(value); return *this;} private: Aws::Vector m_certificateAuthorityArnList; bool m_certificateAuthorityArnListHasBeenSet = false; bool m_enabled; bool m_enabledHasBeenSet = false; }; } // namespace Model } // namespace Kafka } // namespace Aws