/**
* 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 a TLS validation context trust.
*/ inline const TlsValidationContextTrust& GetTrust() const{ return m_trust; } /** *A reference to an object that represents a TLS validation context trust.
*/ inline bool TrustHasBeenSet() const { return m_trustHasBeenSet; } /** *A reference to an object that represents a TLS validation context trust.
*/ inline void SetTrust(const TlsValidationContextTrust& value) { m_trustHasBeenSet = true; m_trust = value; } /** *A reference to an object that represents a TLS validation context trust.
*/ inline void SetTrust(TlsValidationContextTrust&& value) { m_trustHasBeenSet = true; m_trust = std::move(value); } /** *A reference to an object that represents a TLS validation context trust.
*/ inline TlsValidationContext& WithTrust(const TlsValidationContextTrust& value) { SetTrust(value); return *this;} /** *A reference to an object that represents a TLS validation context trust.
*/ inline TlsValidationContext& WithTrust(TlsValidationContextTrust&& value) { SetTrust(std::move(value)); return *this;} private: TlsValidationContextTrust m_trust; bool m_trustHasBeenSet; }; } // namespace Model } // namespace AppMesh } // namespace Aws