/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that represents a Transport Layer Security (TLS) validation context
* trust for a local file.See Also:
AWS
* API Reference
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 TlsValidationContextFileTrust& 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 TlsValidationContextFileTrust& 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 TlsValidationContextFileTrust& WithCertificateChain(const char* value) { SetCertificateChain(value); return *this;} private: Aws::String m_certificateChain; bool m_certificateChainHasBeenSet; }; } // namespace Model } // namespace AppMesh } // namespace Aws