/**
* 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 VirtualGatewayTlsValidationContextAcmTrust& 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 VirtualGatewayTlsValidationContextAcmTrust& 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(VirtualGatewayTlsValidationContextAcmTrust&& 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 VirtualGatewayTlsValidationContextTrust& WithAcm(const VirtualGatewayTlsValidationContextAcmTrust& 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 VirtualGatewayTlsValidationContextTrust& WithAcm(VirtualGatewayTlsValidationContextAcmTrust&& 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 VirtualGatewayTlsValidationContextFileTrust& 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 VirtualGatewayTlsValidationContextFileTrust& 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(VirtualGatewayTlsValidationContextFileTrust&& 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 VirtualGatewayTlsValidationContextTrust& WithFile(const VirtualGatewayTlsValidationContextFileTrust& value) { SetFile(value); return *this;} /** *An object that represents a Transport Layer Security (TLS) validation context * trust for a local file.
*/ inline VirtualGatewayTlsValidationContextTrust& WithFile(VirtualGatewayTlsValidationContextFileTrust&& value) { SetFile(std::move(value)); return *this;} /** *A reference to an object that represents a virtual gateway's Transport Layer * Security (TLS) Secret Discovery Service validation context trust.
*/ inline const VirtualGatewayTlsValidationContextSdsTrust& GetSds() const{ return m_sds; } /** *A reference to an object that represents a virtual gateway's 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 virtual gateway's Transport Layer * Security (TLS) Secret Discovery Service validation context trust.
*/ inline void SetSds(const VirtualGatewayTlsValidationContextSdsTrust& value) { m_sdsHasBeenSet = true; m_sds = value; } /** *A reference to an object that represents a virtual gateway's Transport Layer * Security (TLS) Secret Discovery Service validation context trust.
*/ inline void SetSds(VirtualGatewayTlsValidationContextSdsTrust&& value) { m_sdsHasBeenSet = true; m_sds = std::move(value); } /** *A reference to an object that represents a virtual gateway's Transport Layer * Security (TLS) Secret Discovery Service validation context trust.
*/ inline VirtualGatewayTlsValidationContextTrust& WithSds(const VirtualGatewayTlsValidationContextSdsTrust& value) { SetSds(value); return *this;} /** *A reference to an object that represents a virtual gateway's Transport Layer * Security (TLS) Secret Discovery Service validation context trust.
*/ inline VirtualGatewayTlsValidationContextTrust& WithSds(VirtualGatewayTlsValidationContextSdsTrust&& value) { SetSds(std::move(value)); return *this;} private: VirtualGatewayTlsValidationContextAcmTrust m_acm; bool m_acmHasBeenSet = false; VirtualGatewayTlsValidationContextFileTrust m_file; bool m_fileHasBeenSet = false; VirtualGatewayTlsValidationContextSdsTrust m_sds; bool m_sdsHasBeenSet = false; }; } // namespace Model } // namespace AppMesh } // namespace Aws