/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains metadata about an Certificate Manager certificate.See
* Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the certificate.
*/ inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; } /** *The Amazon Resource Name (ARN) of the certificate.
*/ inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the certificate.
*/ inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; } /** *The Amazon Resource Name (ARN) of the certificate.
*/ inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the certificate.
*/ inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); } /** *The Amazon Resource Name (ARN) of the certificate.
*/ inline TlsCertificateData& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the certificate.
*/ inline TlsCertificateData& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the certificate.
*/ inline TlsCertificateData& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;} /** *The serial number of the certificate.
*/ inline const Aws::String& GetCertificateSerial() const{ return m_certificateSerial; } /** *The serial number of the certificate.
*/ inline bool CertificateSerialHasBeenSet() const { return m_certificateSerialHasBeenSet; } /** *The serial number of the certificate.
*/ inline void SetCertificateSerial(const Aws::String& value) { m_certificateSerialHasBeenSet = true; m_certificateSerial = value; } /** *The serial number of the certificate.
*/ inline void SetCertificateSerial(Aws::String&& value) { m_certificateSerialHasBeenSet = true; m_certificateSerial = std::move(value); } /** *The serial number of the certificate.
*/ inline void SetCertificateSerial(const char* value) { m_certificateSerialHasBeenSet = true; m_certificateSerial.assign(value); } /** *The serial number of the certificate.
*/ inline TlsCertificateData& WithCertificateSerial(const Aws::String& value) { SetCertificateSerial(value); return *this;} /** *The serial number of the certificate.
*/ inline TlsCertificateData& WithCertificateSerial(Aws::String&& value) { SetCertificateSerial(std::move(value)); return *this;} /** *The serial number of the certificate.
*/ inline TlsCertificateData& WithCertificateSerial(const char* value) { SetCertificateSerial(value); return *this;} /** *The status of the certificate.
*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *The status of the certificate.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the certificate.
*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the certificate.
*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the certificate.
*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *The status of the certificate.
*/ inline TlsCertificateData& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *The status of the certificate.
*/ inline TlsCertificateData& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *The status of the certificate.
*/ inline TlsCertificateData& WithStatus(const char* value) { SetStatus(value); return *this;} /** *Contains details about the certificate status, including information about * certificate errors.
*/ inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } /** *Contains details about the certificate status, including information about * certificate errors.
*/ inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; } /** *Contains details about the certificate status, including information about * certificate errors.
*/ inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; } /** *Contains details about the certificate status, including information about * certificate errors.
*/ inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); } /** *Contains details about the certificate status, including information about * certificate errors.
*/ inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); } /** *Contains details about the certificate status, including information about * certificate errors.
*/ inline TlsCertificateData& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} /** *Contains details about the certificate status, including information about * certificate errors.
*/ inline TlsCertificateData& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} /** *Contains details about the certificate status, including information about * certificate errors.
*/ inline TlsCertificateData& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} private: Aws::String m_certificateArn; bool m_certificateArnHasBeenSet = false; Aws::String m_certificateSerial; bool m_certificateSerialHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; Aws::String m_statusMessage; bool m_statusMessageHasBeenSet = false; }; } // namespace Model } // namespace NetworkFirewall } // namespace Aws