/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the status of a SSL/TLS certificate renewal managed by Amazon
* Lightsail.See Also:
AWS
* API Reference
An array of objects that describe the domain validation records of the * certificate.
*/ inline const Aws::VectorAn array of objects that describe the domain validation records of the * certificate.
*/ inline bool DomainValidationRecordsHasBeenSet() const { return m_domainValidationRecordsHasBeenSet; } /** *An array of objects that describe the domain validation records of the * certificate.
*/ inline void SetDomainValidationRecords(const Aws::VectorAn array of objects that describe the domain validation records of the * certificate.
*/ inline void SetDomainValidationRecords(Aws::VectorAn array of objects that describe the domain validation records of the * certificate.
*/ inline RenewalSummary& WithDomainValidationRecords(const Aws::VectorAn array of objects that describe the domain validation records of the * certificate.
*/ inline RenewalSummary& WithDomainValidationRecords(Aws::VectorAn array of objects that describe the domain validation records of the * certificate.
*/ inline RenewalSummary& AddDomainValidationRecords(const DomainValidationRecord& value) { m_domainValidationRecordsHasBeenSet = true; m_domainValidationRecords.push_back(value); return *this; } /** *An array of objects that describe the domain validation records of the * certificate.
*/ inline RenewalSummary& AddDomainValidationRecords(DomainValidationRecord&& value) { m_domainValidationRecordsHasBeenSet = true; m_domainValidationRecords.push_back(std::move(value)); return *this; } /** *The renewal status of the certificate.
The following renewal status * are possible:
PendingAutoRenewal
-
* Lightsail is attempting to automatically validate the domain names of the
* certificate. No further action is required.
* PendingValidation
- Lightsail couldn't automatically validate
* one or more domain names of the certificate. You must take action to validate
* these domain names or the certificate won't be renewed. Check to make sure your
* certificate's domain validation records exist in your domain's DNS, and that
* your certificate remains in use.
Success
* - All domain names in the certificate are validated, and Lightsail renewed
* the certificate. No further action is required.
* Failed
- One or more domain names were not validated before
* the certificate expired, and Lightsail did not renew the certificate. You can
* request a new certificate using the CreateCertificate
action.
The renewal status of the certificate.
The following renewal status * are possible:
PendingAutoRenewal
-
* Lightsail is attempting to automatically validate the domain names of the
* certificate. No further action is required.
* PendingValidation
- Lightsail couldn't automatically validate
* one or more domain names of the certificate. You must take action to validate
* these domain names or the certificate won't be renewed. Check to make sure your
* certificate's domain validation records exist in your domain's DNS, and that
* your certificate remains in use.
Success
* - All domain names in the certificate are validated, and Lightsail renewed
* the certificate. No further action is required.
* Failed
- One or more domain names were not validated before
* the certificate expired, and Lightsail did not renew the certificate. You can
* request a new certificate using the CreateCertificate
action.
The renewal status of the certificate.
The following renewal status * are possible:
PendingAutoRenewal
-
* Lightsail is attempting to automatically validate the domain names of the
* certificate. No further action is required.
* PendingValidation
- Lightsail couldn't automatically validate
* one or more domain names of the certificate. You must take action to validate
* these domain names or the certificate won't be renewed. Check to make sure your
* certificate's domain validation records exist in your domain's DNS, and that
* your certificate remains in use.
Success
* - All domain names in the certificate are validated, and Lightsail renewed
* the certificate. No further action is required.
* Failed
- One or more domain names were not validated before
* the certificate expired, and Lightsail did not renew the certificate. You can
* request a new certificate using the CreateCertificate
action.
The renewal status of the certificate.
The following renewal status * are possible:
PendingAutoRenewal
-
* Lightsail is attempting to automatically validate the domain names of the
* certificate. No further action is required.
* PendingValidation
- Lightsail couldn't automatically validate
* one or more domain names of the certificate. You must take action to validate
* these domain names or the certificate won't be renewed. Check to make sure your
* certificate's domain validation records exist in your domain's DNS, and that
* your certificate remains in use.
Success
* - All domain names in the certificate are validated, and Lightsail renewed
* the certificate. No further action is required.
* Failed
- One or more domain names were not validated before
* the certificate expired, and Lightsail did not renew the certificate. You can
* request a new certificate using the CreateCertificate
action.
The renewal status of the certificate.
The following renewal status * are possible:
PendingAutoRenewal
-
* Lightsail is attempting to automatically validate the domain names of the
* certificate. No further action is required.
* PendingValidation
- Lightsail couldn't automatically validate
* one or more domain names of the certificate. You must take action to validate
* these domain names or the certificate won't be renewed. Check to make sure your
* certificate's domain validation records exist in your domain's DNS, and that
* your certificate remains in use.
Success
* - All domain names in the certificate are validated, and Lightsail renewed
* the certificate. No further action is required.
* Failed
- One or more domain names were not validated before
* the certificate expired, and Lightsail did not renew the certificate. You can
* request a new certificate using the CreateCertificate
action.
The renewal status of the certificate.
The following renewal status * are possible:
PendingAutoRenewal
-
* Lightsail is attempting to automatically validate the domain names of the
* certificate. No further action is required.
* PendingValidation
- Lightsail couldn't automatically validate
* one or more domain names of the certificate. You must take action to validate
* these domain names or the certificate won't be renewed. Check to make sure your
* certificate's domain validation records exist in your domain's DNS, and that
* your certificate remains in use.
Success
* - All domain names in the certificate are validated, and Lightsail renewed
* the certificate. No further action is required.
* Failed
- One or more domain names were not validated before
* the certificate expired, and Lightsail did not renew the certificate. You can
* request a new certificate using the CreateCertificate
action.
The reason for the renewal status of the certificate.
*/ inline const Aws::String& GetRenewalStatusReason() const{ return m_renewalStatusReason; } /** *The reason for the renewal status of the certificate.
*/ inline bool RenewalStatusReasonHasBeenSet() const { return m_renewalStatusReasonHasBeenSet; } /** *The reason for the renewal status of the certificate.
*/ inline void SetRenewalStatusReason(const Aws::String& value) { m_renewalStatusReasonHasBeenSet = true; m_renewalStatusReason = value; } /** *The reason for the renewal status of the certificate.
*/ inline void SetRenewalStatusReason(Aws::String&& value) { m_renewalStatusReasonHasBeenSet = true; m_renewalStatusReason = std::move(value); } /** *The reason for the renewal status of the certificate.
*/ inline void SetRenewalStatusReason(const char* value) { m_renewalStatusReasonHasBeenSet = true; m_renewalStatusReason.assign(value); } /** *The reason for the renewal status of the certificate.
*/ inline RenewalSummary& WithRenewalStatusReason(const Aws::String& value) { SetRenewalStatusReason(value); return *this;} /** *The reason for the renewal status of the certificate.
*/ inline RenewalSummary& WithRenewalStatusReason(Aws::String&& value) { SetRenewalStatusReason(std::move(value)); return *this;} /** *The reason for the renewal status of the certificate.
*/ inline RenewalSummary& WithRenewalStatusReason(const char* value) { SetRenewalStatusReason(value); return *this;} /** *The timestamp when the certificate was last updated.
*/ inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } /** *The timestamp when the certificate was last updated.
*/ inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } /** *The timestamp when the certificate was last updated.
*/ inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } /** *The timestamp when the certificate was last updated.
*/ inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } /** *The timestamp when the certificate was last updated.
*/ inline RenewalSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} /** *The timestamp when the certificate was last updated.
*/ inline RenewalSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} private: Aws::Vector