/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 a local file.

See Also:

AWS * API Reference

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

The certificate trust chain for a certificate stored on the file system of * the virtual node that the proxy is running on.

*/ inline const Aws::String& GetCertificateChain() const{ return m_certificateChain; } /** *

The certificate trust chain for a certificate stored on the file system of * the virtual node that the proxy is running on.

*/ inline bool CertificateChainHasBeenSet() const { return m_certificateChainHasBeenSet; } /** *

The certificate trust chain for a certificate stored on the file system of * the virtual node that the proxy is running on.

*/ inline void SetCertificateChain(const Aws::String& value) { m_certificateChainHasBeenSet = true; m_certificateChain = value; } /** *

The certificate trust chain for a certificate stored on the file system of * the virtual node that the proxy is running on.

*/ inline void SetCertificateChain(Aws::String&& value) { m_certificateChainHasBeenSet = true; m_certificateChain = std::move(value); } /** *

The certificate trust chain for a certificate stored on the file system of * the virtual node that the proxy is running on.

*/ inline void SetCertificateChain(const char* value) { m_certificateChainHasBeenSet = true; m_certificateChain.assign(value); } /** *

The certificate trust chain for a certificate stored on the file system of * the virtual node that the proxy is running on.

*/ inline VirtualGatewayTlsValidationContextFileTrust& WithCertificateChain(const Aws::String& value) { SetCertificateChain(value); return *this;} /** *

The certificate trust chain for a certificate stored on the file system of * the virtual node that the proxy is running on.

*/ inline VirtualGatewayTlsValidationContextFileTrust& WithCertificateChain(Aws::String&& value) { SetCertificateChain(std::move(value)); return *this;} /** *

The certificate trust chain for a certificate stored on the file system of * the virtual node that the proxy is running on.

*/ inline VirtualGatewayTlsValidationContextFileTrust& WithCertificateChain(const char* value) { SetCertificateChain(value); return *this;} private: Aws::String m_certificateChain; bool m_certificateChainHasBeenSet; }; } // namespace Model } // namespace AppMesh } // namespace Aws