/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace AppMesh { namespace Model { /** *

An object that represents a Transport Layer Security (TLS) validation * context.

See Also:

AWS * API Reference

*/ class AWS_APPMESH_API VirtualGatewayTlsValidationContext { public: VirtualGatewayTlsValidationContext(); VirtualGatewayTlsValidationContext(Aws::Utils::Json::JsonView jsonValue); VirtualGatewayTlsValidationContext& operator=(Aws::Utils::Json::JsonView jsonValue); Aws::Utils::Json::JsonValue Jsonize() const; /** *

A reference to an object that represents a TLS validation context trust.

*/ inline const VirtualGatewayTlsValidationContextTrust& 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 VirtualGatewayTlsValidationContextTrust& value) { m_trustHasBeenSet = true; m_trust = value; } /** *

A reference to an object that represents a TLS validation context trust.

*/ inline void SetTrust(VirtualGatewayTlsValidationContextTrust&& value) { m_trustHasBeenSet = true; m_trust = std::move(value); } /** *

A reference to an object that represents a TLS validation context trust.

*/ inline VirtualGatewayTlsValidationContext& WithTrust(const VirtualGatewayTlsValidationContextTrust& value) { SetTrust(value); return *this;} /** *

A reference to an object that represents a TLS validation context trust.

*/ inline VirtualGatewayTlsValidationContext& WithTrust(VirtualGatewayTlsValidationContextTrust&& value) { SetTrust(std::move(value)); return *this;} private: VirtualGatewayTlsValidationContextTrust m_trust; bool m_trustHasBeenSet; }; } // namespace Model } // namespace AppMesh } // namespace Aws