/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that represents the virtual gateway's client's Transport Layer
* Security (TLS) certificate.See Also:
AWS
* API Reference
An object that represents a local file certificate. The certificate must meet * specific requirements and you must have proxy authorization enabled. For more * information, see Transport * Layer Security (TLS) .
*/ inline const VirtualGatewayListenerTlsFileCertificate& GetFile() const{ return m_file; } /** *An object that represents a local file certificate. The certificate must meet * specific requirements and you must have proxy authorization enabled. For more * information, see Transport * Layer Security (TLS) .
*/ inline bool FileHasBeenSet() const { return m_fileHasBeenSet; } /** *An object that represents a local file certificate. The certificate must meet * specific requirements and you must have proxy authorization enabled. For more * information, see Transport * Layer Security (TLS) .
*/ inline void SetFile(const VirtualGatewayListenerTlsFileCertificate& value) { m_fileHasBeenSet = true; m_file = value; } /** *An object that represents a local file certificate. The certificate must meet * specific requirements and you must have proxy authorization enabled. For more * information, see Transport * Layer Security (TLS) .
*/ inline void SetFile(VirtualGatewayListenerTlsFileCertificate&& value) { m_fileHasBeenSet = true; m_file = std::move(value); } /** *An object that represents a local file certificate. The certificate must meet * specific requirements and you must have proxy authorization enabled. For more * information, see Transport * Layer Security (TLS) .
*/ inline VirtualGatewayClientTlsCertificate& WithFile(const VirtualGatewayListenerTlsFileCertificate& value) { SetFile(value); return *this;} /** *An object that represents a local file certificate. The certificate must meet * specific requirements and you must have proxy authorization enabled. For more * information, see Transport * Layer Security (TLS) .
*/ inline VirtualGatewayClientTlsCertificate& WithFile(VirtualGatewayListenerTlsFileCertificate&& value) { SetFile(std::move(value)); return *this;} /** *A reference to an object that represents a virtual gateway's client's Secret * Discovery Service certificate.
*/ inline const VirtualGatewayListenerTlsSdsCertificate& GetSds() const{ return m_sds; } /** *A reference to an object that represents a virtual gateway's client's Secret * Discovery Service certificate.
*/ inline bool SdsHasBeenSet() const { return m_sdsHasBeenSet; } /** *A reference to an object that represents a virtual gateway's client's Secret * Discovery Service certificate.
*/ inline void SetSds(const VirtualGatewayListenerTlsSdsCertificate& value) { m_sdsHasBeenSet = true; m_sds = value; } /** *A reference to an object that represents a virtual gateway's client's Secret * Discovery Service certificate.
*/ inline void SetSds(VirtualGatewayListenerTlsSdsCertificate&& value) { m_sdsHasBeenSet = true; m_sds = std::move(value); } /** *A reference to an object that represents a virtual gateway's client's Secret * Discovery Service certificate.
*/ inline VirtualGatewayClientTlsCertificate& WithSds(const VirtualGatewayListenerTlsSdsCertificate& value) { SetSds(value); return *this;} /** *A reference to an object that represents a virtual gateway's client's Secret * Discovery Service certificate.
*/ inline VirtualGatewayClientTlsCertificate& WithSds(VirtualGatewayListenerTlsSdsCertificate&& value) { SetSds(std::move(value)); return *this;} private: VirtualGatewayListenerTlsFileCertificate m_file; bool m_fileHasBeenSet = false; VirtualGatewayListenerTlsSdsCertificate m_sds; bool m_sdsHasBeenSet = false; }; } // namespace Model } // namespace AppMesh } // namespace Aws