/** * 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 NetworkFirewall { namespace Model { /** *

Any Certificate Manager Secure Sockets Layer/Transport Layer Security * (SSL/TLS) server certificate that's associated with a * ServerCertificateConfiguration used in a * TLSInspectionConfiguration. You must request or import a SSL/TLS * certificate into ACM for each domain Network Firewall needs to decrypt and * inspect. Network Firewall uses the SSL/TLS certificates to decrypt specified * inbound SSL/TLS traffic going to your firewall. For information about working * with certificates in Certificate Manager, see Request * a public certificate or Importing * certificates in the Certificate Manager User Guide.

See * Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the Certificate Manager SSL/TLS server * certificate.

*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** *

The Amazon Resource Name (ARN) of the Certificate Manager SSL/TLS server * certificate.

*/ inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the Certificate Manager SSL/TLS server * certificate.

*/ inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } /** *

The Amazon Resource Name (ARN) of the Certificate Manager SSL/TLS server * certificate.

*/ inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the Certificate Manager SSL/TLS server * certificate.

*/ inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the Certificate Manager SSL/TLS server * certificate.

*/ inline ServerCertificate& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the Certificate Manager SSL/TLS server * certificate.

*/ inline ServerCertificate& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the Certificate Manager SSL/TLS server * certificate.

*/ inline ServerCertificate& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} private: Aws::String m_resourceArn; bool m_resourceArnHasBeenSet = false; }; } // namespace Model } // namespace NetworkFirewall } // namespace Aws