/**
* 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.See Also:
AWS
* API Reference
A reference to an object that represents a Transport Layer Security (TLS) * validation context trust for an Certificate Manager certificate.
*/ inline const TlsValidationContextAcmTrust& GetAcm() const{ return m_acm; } /** *A reference to an object that represents a Transport Layer Security (TLS) * validation context trust for an Certificate Manager certificate.
*/ inline bool AcmHasBeenSet() const { return m_acmHasBeenSet; } /** *A reference to an object that represents a Transport Layer Security (TLS) * validation context trust for an Certificate Manager certificate.
*/ inline void SetAcm(const TlsValidationContextAcmTrust& value) { m_acmHasBeenSet = true; m_acm = value; } /** *A reference to an object that represents a Transport Layer Security (TLS) * validation context trust for an Certificate Manager certificate.
*/ inline void SetAcm(TlsValidationContextAcmTrust&& value) { m_acmHasBeenSet = true; m_acm = std::move(value); } /** *A reference to an object that represents a Transport Layer Security (TLS) * validation context trust for an Certificate Manager certificate.
*/ inline TlsValidationContextTrust& WithAcm(const TlsValidationContextAcmTrust& value) { SetAcm(value); return *this;} /** *A reference to an object that represents a Transport Layer Security (TLS) * validation context trust for an Certificate Manager certificate.
*/ inline TlsValidationContextTrust& WithAcm(TlsValidationContextAcmTrust&& value) { SetAcm(std::move(value)); return *this;} /** *An object that represents a Transport Layer Security (TLS) validation context * trust for a local file.
*/ inline const TlsValidationContextFileTrust& GetFile() const{ return m_file; } /** *An object that represents a Transport Layer Security (TLS) validation context * trust for a local file.
*/ inline bool FileHasBeenSet() const { return m_fileHasBeenSet; } /** *An object that represents a Transport Layer Security (TLS) validation context * trust for a local file.
*/ inline void SetFile(const TlsValidationContextFileTrust& value) { m_fileHasBeenSet = true; m_file = value; } /** *An object that represents a Transport Layer Security (TLS) validation context * trust for a local file.
*/ inline void SetFile(TlsValidationContextFileTrust&& value) { m_fileHasBeenSet = true; m_file = std::move(value); } /** *An object that represents a Transport Layer Security (TLS) validation context * trust for a local file.
*/ inline TlsValidationContextTrust& WithFile(const TlsValidationContextFileTrust& value) { SetFile(value); return *this;} /** *An object that represents a Transport Layer Security (TLS) validation context * trust for a local file.
*/ inline TlsValidationContextTrust& WithFile(TlsValidationContextFileTrust&& value) { SetFile(std::move(value)); return *this;} /** *A reference to an object that represents a Transport Layer Security (TLS) * Secret Discovery Service validation context trust.
*/ inline const TlsValidationContextSdsTrust& GetSds() const{ return m_sds; } /** *A reference to an object that represents a Transport Layer Security (TLS) * Secret Discovery Service validation context trust.
*/ inline bool SdsHasBeenSet() const { return m_sdsHasBeenSet; } /** *A reference to an object that represents a Transport Layer Security (TLS) * Secret Discovery Service validation context trust.
*/ inline void SetSds(const TlsValidationContextSdsTrust& value) { m_sdsHasBeenSet = true; m_sds = value; } /** *A reference to an object that represents a Transport Layer Security (TLS) * Secret Discovery Service validation context trust.
*/ inline void SetSds(TlsValidationContextSdsTrust&& value) { m_sdsHasBeenSet = true; m_sds = std::move(value); } /** *A reference to an object that represents a Transport Layer Security (TLS) * Secret Discovery Service validation context trust.
*/ inline TlsValidationContextTrust& WithSds(const TlsValidationContextSdsTrust& value) { SetSds(value); return *this;} /** *A reference to an object that represents a Transport Layer Security (TLS) * Secret Discovery Service validation context trust.
*/ inline TlsValidationContextTrust& WithSds(TlsValidationContextSdsTrust&& value) { SetSds(std::move(value)); return *this;} private: TlsValidationContextAcmTrust m_acm; bool m_acmHasBeenSet = false; TlsValidationContextFileTrust m_file; bool m_fileHasBeenSet = false; TlsValidationContextSdsTrust m_sds; bool m_sdsHasBeenSet = false; }; } // namespace Model } // namespace AppMesh } // namespace Aws