/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Lightsail { namespace Model { /** *

Contains information about the status of Lightsail's managed renewal for the * certificate.

The renewal status of the certificate.

The following * renewal status are possible:

  • * PendingAutoRenewal - Lightsail is attempting to automatically * validate the domain names in the certificate. No further action is required. *

  • PendingValidation - Lightsail couldn't * automatically validate one or more domain names in the certificate. You must * take action to validate these domain names or the certificate won't be renewed. * If you used DNS validation, 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.

See Also:

* AWS * API Reference

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

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.

    *
*/ inline const LoadBalancerTlsCertificateRenewalStatus& GetRenewalStatus() const{ return m_renewalStatus; } /** *

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.

    *
*/ inline bool RenewalStatusHasBeenSet() const { return m_renewalStatusHasBeenSet; } /** *

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.

    *
*/ inline void SetRenewalStatus(const LoadBalancerTlsCertificateRenewalStatus& value) { m_renewalStatusHasBeenSet = true; m_renewalStatus = value; } /** *

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.

    *
*/ inline void SetRenewalStatus(LoadBalancerTlsCertificateRenewalStatus&& value) { m_renewalStatusHasBeenSet = true; m_renewalStatus = std::move(value); } /** *

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.

    *
*/ inline LoadBalancerTlsCertificateRenewalSummary& WithRenewalStatus(const LoadBalancerTlsCertificateRenewalStatus& value) { SetRenewalStatus(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.

    *
*/ inline LoadBalancerTlsCertificateRenewalSummary& WithRenewalStatus(LoadBalancerTlsCertificateRenewalStatus&& value) { SetRenewalStatus(std::move(value)); return *this;} /** *

Contains information about the validation of each domain name in the * certificate, as it pertains to Lightsail's managed renewal. This is different * from the initial validation that occurs as a result of the RequestCertificate * request.

*/ inline const Aws::Vector& GetDomainValidationOptions() const{ return m_domainValidationOptions; } /** *

Contains information about the validation of each domain name in the * certificate, as it pertains to Lightsail's managed renewal. This is different * from the initial validation that occurs as a result of the RequestCertificate * request.

*/ inline bool DomainValidationOptionsHasBeenSet() const { return m_domainValidationOptionsHasBeenSet; } /** *

Contains information about the validation of each domain name in the * certificate, as it pertains to Lightsail's managed renewal. This is different * from the initial validation that occurs as a result of the RequestCertificate * request.

*/ inline void SetDomainValidationOptions(const Aws::Vector& value) { m_domainValidationOptionsHasBeenSet = true; m_domainValidationOptions = value; } /** *

Contains information about the validation of each domain name in the * certificate, as it pertains to Lightsail's managed renewal. This is different * from the initial validation that occurs as a result of the RequestCertificate * request.

*/ inline void SetDomainValidationOptions(Aws::Vector&& value) { m_domainValidationOptionsHasBeenSet = true; m_domainValidationOptions = std::move(value); } /** *

Contains information about the validation of each domain name in the * certificate, as it pertains to Lightsail's managed renewal. This is different * from the initial validation that occurs as a result of the RequestCertificate * request.

*/ inline LoadBalancerTlsCertificateRenewalSummary& WithDomainValidationOptions(const Aws::Vector& value) { SetDomainValidationOptions(value); return *this;} /** *

Contains information about the validation of each domain name in the * certificate, as it pertains to Lightsail's managed renewal. This is different * from the initial validation that occurs as a result of the RequestCertificate * request.

*/ inline LoadBalancerTlsCertificateRenewalSummary& WithDomainValidationOptions(Aws::Vector&& value) { SetDomainValidationOptions(std::move(value)); return *this;} /** *

Contains information about the validation of each domain name in the * certificate, as it pertains to Lightsail's managed renewal. This is different * from the initial validation that occurs as a result of the RequestCertificate * request.

*/ inline LoadBalancerTlsCertificateRenewalSummary& AddDomainValidationOptions(const LoadBalancerTlsCertificateDomainValidationOption& value) { m_domainValidationOptionsHasBeenSet = true; m_domainValidationOptions.push_back(value); return *this; } /** *

Contains information about the validation of each domain name in the * certificate, as it pertains to Lightsail's managed renewal. This is different * from the initial validation that occurs as a result of the RequestCertificate * request.

*/ inline LoadBalancerTlsCertificateRenewalSummary& AddDomainValidationOptions(LoadBalancerTlsCertificateDomainValidationOption&& value) { m_domainValidationOptionsHasBeenSet = true; m_domainValidationOptions.push_back(std::move(value)); return *this; } private: LoadBalancerTlsCertificateRenewalStatus m_renewalStatus; bool m_renewalStatusHasBeenSet = false; Aws::Vector m_domainValidationOptions; bool m_domainValidationOptionsHasBeenSet = false; }; } // namespace Model } // namespace Lightsail } // namespace Aws