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

Contains information about the status of ACM's managed * renewal for the certificate. This structure exists only when the certificate * type is AMAZON_ISSUED.

See Also:

AWS * API Reference

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

The status of ACM's managed * renewal of the certificate.

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

The status of ACM's managed * renewal of the certificate.

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

The status of ACM's managed * renewal of the certificate.

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

The status of ACM's managed * renewal of the certificate.

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

The status of ACM's managed * renewal of the certificate.

*/ inline RenewalSummary& WithRenewalStatus(const RenewalStatus& value) { SetRenewalStatus(value); return *this;} /** *

The status of ACM's managed * renewal of the certificate.

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

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

*/ 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 ACM's managed * renewal. This is different from the initial validation that occurs as a * result of the RequestCertificate request. This field exists only when the * certificate type is AMAZON_ISSUED.

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

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

*/ 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 ACM's managed * renewal. This is different from the initial validation that occurs as a * result of the RequestCertificate request. This field exists only when the * certificate type is AMAZON_ISSUED.

*/ 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 ACM's managed * renewal. This is different from the initial validation that occurs as a * result of the RequestCertificate request. This field exists only when the * certificate type is AMAZON_ISSUED.

*/ inline RenewalSummary& 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 ACM's managed * renewal. This is different from the initial validation that occurs as a * result of the RequestCertificate request. This field exists only when the * certificate type is AMAZON_ISSUED.

*/ inline RenewalSummary& 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 ACM's managed * renewal. This is different from the initial validation that occurs as a * result of the RequestCertificate request. This field exists only when the * certificate type is AMAZON_ISSUED.

*/ inline RenewalSummary& AddDomainValidationOptions(const DomainValidation& 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 ACM's managed * renewal. This is different from the initial validation that occurs as a * result of the RequestCertificate request. This field exists only when the * certificate type is AMAZON_ISSUED.

*/ inline RenewalSummary& AddDomainValidationOptions(DomainValidation&& value) { m_domainValidationOptionsHasBeenSet = true; m_domainValidationOptions.push_back(std::move(value)); return *this; } /** *

The reason that a renewal request was unsuccessful.

*/ inline const FailureReason& GetRenewalStatusReason() const{ return m_renewalStatusReason; } /** *

The reason that a renewal request was unsuccessful.

*/ inline bool RenewalStatusReasonHasBeenSet() const { return m_renewalStatusReasonHasBeenSet; } /** *

The reason that a renewal request was unsuccessful.

*/ inline void SetRenewalStatusReason(const FailureReason& value) { m_renewalStatusReasonHasBeenSet = true; m_renewalStatusReason = value; } /** *

The reason that a renewal request was unsuccessful.

*/ inline void SetRenewalStatusReason(FailureReason&& value) { m_renewalStatusReasonHasBeenSet = true; m_renewalStatusReason = std::move(value); } /** *

The reason that a renewal request was unsuccessful.

*/ inline RenewalSummary& WithRenewalStatusReason(const FailureReason& value) { SetRenewalStatusReason(value); return *this;} /** *

The reason that a renewal request was unsuccessful.

*/ inline RenewalSummary& WithRenewalStatusReason(FailureReason&& value) { SetRenewalStatusReason(std::move(value)); return *this;} /** *

The time at which the renewal summary was last updated.

*/ inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } /** *

The time at which the renewal summary was last updated.

*/ inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } /** *

The time at which the renewal summary was last updated.

*/ inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } /** *

The time at which the renewal summary was last updated.

*/ inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } /** *

The time at which the renewal summary was last updated.

*/ inline RenewalSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} /** *

The time at which the renewal summary was last updated.

*/ inline RenewalSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} private: RenewalStatus m_renewalStatus; bool m_renewalStatusHasBeenSet = false; Aws::Vector m_domainValidationOptions; bool m_domainValidationOptionsHasBeenSet = false; FailureReason m_renewalStatusReason; bool m_renewalStatusReasonHasBeenSet = false; Aws::Utils::DateTime m_updatedAt; bool m_updatedAtHasBeenSet = false; }; } // namespace Model } // namespace ACM } // namespace Aws