/** * 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 AppMesh { namespace Model { /** *

An object that represents a Transport Layer Security (TLS) validation context * trust for an Certificate Manager certificate.

See Also:

AWS * API Reference

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

One or more ACM Amazon Resource Name (ARN)s.

*/ inline const Aws::Vector& GetCertificateAuthorityArns() const{ return m_certificateAuthorityArns; } /** *

One or more ACM Amazon Resource Name (ARN)s.

*/ inline bool CertificateAuthorityArnsHasBeenSet() const { return m_certificateAuthorityArnsHasBeenSet; } /** *

One or more ACM Amazon Resource Name (ARN)s.

*/ inline void SetCertificateAuthorityArns(const Aws::Vector& value) { m_certificateAuthorityArnsHasBeenSet = true; m_certificateAuthorityArns = value; } /** *

One or more ACM Amazon Resource Name (ARN)s.

*/ inline void SetCertificateAuthorityArns(Aws::Vector&& value) { m_certificateAuthorityArnsHasBeenSet = true; m_certificateAuthorityArns = std::move(value); } /** *

One or more ACM Amazon Resource Name (ARN)s.

*/ inline TlsValidationContextAcmTrust& WithCertificateAuthorityArns(const Aws::Vector& value) { SetCertificateAuthorityArns(value); return *this;} /** *

One or more ACM Amazon Resource Name (ARN)s.

*/ inline TlsValidationContextAcmTrust& WithCertificateAuthorityArns(Aws::Vector&& value) { SetCertificateAuthorityArns(std::move(value)); return *this;} /** *

One or more ACM Amazon Resource Name (ARN)s.

*/ inline TlsValidationContextAcmTrust& AddCertificateAuthorityArns(const Aws::String& value) { m_certificateAuthorityArnsHasBeenSet = true; m_certificateAuthorityArns.push_back(value); return *this; } /** *

One or more ACM Amazon Resource Name (ARN)s.

*/ inline TlsValidationContextAcmTrust& AddCertificateAuthorityArns(Aws::String&& value) { m_certificateAuthorityArnsHasBeenSet = true; m_certificateAuthorityArns.push_back(std::move(value)); return *this; } /** *

One or more ACM Amazon Resource Name (ARN)s.

*/ inline TlsValidationContextAcmTrust& AddCertificateAuthorityArns(const char* value) { m_certificateAuthorityArnsHasBeenSet = true; m_certificateAuthorityArns.push_back(value); return *this; } private: Aws::Vector m_certificateAuthorityArns; bool m_certificateAuthorityArnsHasBeenSet = false; }; } // namespace Model } // namespace AppMesh } // namespace Aws