/** * 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 client policy.

See Also:

AWS * API Reference

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

A reference to an object that represents a Transport Layer Security (TLS) * client policy.

*/ inline const ClientPolicyTls& GetTls() const{ return m_tls; } /** *

A reference to an object that represents a Transport Layer Security (TLS) * client policy.

*/ inline bool TlsHasBeenSet() const { return m_tlsHasBeenSet; } /** *

A reference to an object that represents a Transport Layer Security (TLS) * client policy.

*/ inline void SetTls(const ClientPolicyTls& value) { m_tlsHasBeenSet = true; m_tls = value; } /** *

A reference to an object that represents a Transport Layer Security (TLS) * client policy.

*/ inline void SetTls(ClientPolicyTls&& value) { m_tlsHasBeenSet = true; m_tls = std::move(value); } /** *

A reference to an object that represents a Transport Layer Security (TLS) * client policy.

*/ inline ClientPolicy& WithTls(const ClientPolicyTls& value) { SetTls(value); return *this;} /** *

A reference to an object that represents a Transport Layer Security (TLS) * client policy.

*/ inline ClientPolicy& WithTls(ClientPolicyTls&& value) { SetTls(std::move(value)); return *this;} private: ClientPolicyTls m_tls; bool m_tlsHasBeenSet = false; }; } // namespace Model } // namespace AppMesh } // namespace Aws