/**
* 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.See Also:
AWS
* API Reference
A reference to an object that represents the SANs for a virtual gateway's * listener's Transport Layer Security (TLS) validation context.
*/ inline const SubjectAlternativeNames& GetSubjectAlternativeNames() const{ return m_subjectAlternativeNames; } /** *A reference to an object that represents the SANs for a virtual gateway's * listener's Transport Layer Security (TLS) validation context.
*/ inline bool SubjectAlternativeNamesHasBeenSet() const { return m_subjectAlternativeNamesHasBeenSet; } /** *A reference to an object that represents the SANs for a virtual gateway's * listener's Transport Layer Security (TLS) validation context.
*/ inline void SetSubjectAlternativeNames(const SubjectAlternativeNames& value) { m_subjectAlternativeNamesHasBeenSet = true; m_subjectAlternativeNames = value; } /** *A reference to an object that represents the SANs for a virtual gateway's * listener's Transport Layer Security (TLS) validation context.
*/ inline void SetSubjectAlternativeNames(SubjectAlternativeNames&& value) { m_subjectAlternativeNamesHasBeenSet = true; m_subjectAlternativeNames = std::move(value); } /** *A reference to an object that represents the SANs for a virtual gateway's * listener's Transport Layer Security (TLS) validation context.
*/ inline VirtualGatewayTlsValidationContext& WithSubjectAlternativeNames(const SubjectAlternativeNames& value) { SetSubjectAlternativeNames(value); return *this;} /** *A reference to an object that represents the SANs for a virtual gateway's * listener's Transport Layer Security (TLS) validation context.
*/ inline VirtualGatewayTlsValidationContext& WithSubjectAlternativeNames(SubjectAlternativeNames&& value) { SetSubjectAlternativeNames(std::move(value)); return *this;} /** *A reference to where to retrieve the trust chain when validating a peer’s * Transport Layer Security (TLS) certificate.
*/ inline const VirtualGatewayTlsValidationContextTrust& GetTrust() const{ return m_trust; } /** *A reference to where to retrieve the trust chain when validating a peer’s * Transport Layer Security (TLS) certificate.
*/ inline bool TrustHasBeenSet() const { return m_trustHasBeenSet; } /** *A reference to where to retrieve the trust chain when validating a peer’s * Transport Layer Security (TLS) certificate.
*/ inline void SetTrust(const VirtualGatewayTlsValidationContextTrust& value) { m_trustHasBeenSet = true; m_trust = value; } /** *A reference to where to retrieve the trust chain when validating a peer’s * Transport Layer Security (TLS) certificate.
*/ inline void SetTrust(VirtualGatewayTlsValidationContextTrust&& value) { m_trustHasBeenSet = true; m_trust = std::move(value); } /** *A reference to where to retrieve the trust chain when validating a peer’s * Transport Layer Security (TLS) certificate.
*/ inline VirtualGatewayTlsValidationContext& WithTrust(const VirtualGatewayTlsValidationContextTrust& value) { SetTrust(value); return *this;} /** *A reference to where to retrieve the trust chain when validating a peer’s * Transport Layer Security (TLS) certificate.
*/ inline VirtualGatewayTlsValidationContext& WithTrust(VirtualGatewayTlsValidationContextTrust&& value) { SetTrust(std::move(value)); return *this;} private: SubjectAlternativeNames m_subjectAlternativeNames; bool m_subjectAlternativeNamesHasBeenSet = false; VirtualGatewayTlsValidationContextTrust m_trust; bool m_trustHasBeenSet = false; }; } // namespace Model } // namespace AppMesh } // namespace Aws