/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A CA certificate.See Also:
AWS
* API Reference
The ARN of the CA certificate.
*/ inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; } /** *The ARN of the CA certificate.
*/ inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; } /** *The ARN of the CA certificate.
*/ inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; } /** *The ARN of the CA certificate.
*/ inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); } /** *The ARN of the CA certificate.
*/ inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); } /** *The ARN of the CA certificate.
*/ inline CACertificate& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;} /** *The ARN of the CA certificate.
*/ inline CACertificate& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;} /** *The ARN of the CA certificate.
*/ inline CACertificate& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;} /** *The ID of the CA certificate.
*/ inline const Aws::String& GetCertificateId() const{ return m_certificateId; } /** *The ID of the CA certificate.
*/ inline bool CertificateIdHasBeenSet() const { return m_certificateIdHasBeenSet; } /** *The ID of the CA certificate.
*/ inline void SetCertificateId(const Aws::String& value) { m_certificateIdHasBeenSet = true; m_certificateId = value; } /** *The ID of the CA certificate.
*/ inline void SetCertificateId(Aws::String&& value) { m_certificateIdHasBeenSet = true; m_certificateId = std::move(value); } /** *The ID of the CA certificate.
*/ inline void SetCertificateId(const char* value) { m_certificateIdHasBeenSet = true; m_certificateId.assign(value); } /** *The ID of the CA certificate.
*/ inline CACertificate& WithCertificateId(const Aws::String& value) { SetCertificateId(value); return *this;} /** *The ID of the CA certificate.
*/ inline CACertificate& WithCertificateId(Aws::String&& value) { SetCertificateId(std::move(value)); return *this;} /** *The ID of the CA certificate.
*/ inline CACertificate& WithCertificateId(const char* value) { SetCertificateId(value); return *this;} /** *The status of the CA certificate.
The status value REGISTER_INACTIVE * is deprecated and should not be used.
*/ inline const CACertificateStatus& GetStatus() const{ return m_status; } /** *The status of the CA certificate.
The status value REGISTER_INACTIVE * is deprecated and should not be used.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the CA certificate.
The status value REGISTER_INACTIVE * is deprecated and should not be used.
*/ inline void SetStatus(const CACertificateStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the CA certificate.
The status value REGISTER_INACTIVE * is deprecated and should not be used.
*/ inline void SetStatus(CACertificateStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the CA certificate.
The status value REGISTER_INACTIVE * is deprecated and should not be used.
*/ inline CACertificate& WithStatus(const CACertificateStatus& value) { SetStatus(value); return *this;} /** *The status of the CA certificate.
The status value REGISTER_INACTIVE * is deprecated and should not be used.
*/ inline CACertificate& WithStatus(CACertificateStatus&& value) { SetStatus(std::move(value)); return *this;} /** *The date the CA certificate was created.
*/ inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; } /** *The date the CA certificate was created.
*/ inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; } /** *The date the CA certificate was created.
*/ inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; } /** *The date the CA certificate was created.
*/ inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); } /** *The date the CA certificate was created.
*/ inline CACertificate& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;} /** *The date the CA certificate was created.
*/ inline CACertificate& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;} private: Aws::String m_certificateArn; bool m_certificateArnHasBeenSet = false; Aws::String m_certificateId; bool m_certificateIdHasBeenSet = false; CACertificateStatus m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_creationDate; bool m_creationDateHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws