/** * 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 SecurityHub { namespace Model { /** *

Contains information about the Certificate Manager managed renewal for an * AMAZON_ISSUED certificate.

See Also:

AWS * API Reference

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

Information about the validation of each domain name in the certificate, as * it pertains to Certificate Manager managed renewal. Provided only when the * certificate type is AMAZON_ISSUED.

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

Information about the validation of each domain name in the certificate, as * it pertains to Certificate Manager managed renewal. Provided only when the * certificate type is AMAZON_ISSUED.

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

Information about the validation of each domain name in the certificate, as * it pertains to Certificate Manager managed renewal. Provided only when the * certificate type is AMAZON_ISSUED.

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

Information about the validation of each domain name in the certificate, as * it pertains to Certificate Manager managed renewal. Provided only when the * certificate type is AMAZON_ISSUED.

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

Information about the validation of each domain name in the certificate, as * it pertains to Certificate Manager managed renewal. Provided only when the * certificate type is AMAZON_ISSUED.

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

Information about the validation of each domain name in the certificate, as * it pertains to Certificate Manager managed renewal. Provided only when the * certificate type is AMAZON_ISSUED.

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

Information about the validation of each domain name in the certificate, as * it pertains to Certificate Manager managed renewal. Provided only when the * certificate type is AMAZON_ISSUED.

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

Information about the validation of each domain name in the certificate, as * it pertains to Certificate Manager managed renewal. Provided only when the * certificate type is AMAZON_ISSUED.

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

The status of the Certificate Manager managed renewal of the certificate.

*

Valid values: PENDING_AUTO_RENEWAL | * PENDING_VALIDATION | SUCCESS | FAILED *

*/ inline const Aws::String& GetRenewalStatus() const{ return m_renewalStatus; } /** *

The status of the Certificate Manager managed renewal of the certificate.

*

Valid values: PENDING_AUTO_RENEWAL | * PENDING_VALIDATION | SUCCESS | FAILED *

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

The status of the Certificate Manager managed renewal of the certificate.

*

Valid values: PENDING_AUTO_RENEWAL | * PENDING_VALIDATION | SUCCESS | FAILED *

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

The status of the Certificate Manager managed renewal of the certificate.

*

Valid values: PENDING_AUTO_RENEWAL | * PENDING_VALIDATION | SUCCESS | FAILED *

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

The status of the Certificate Manager managed renewal of the certificate.

*

Valid values: PENDING_AUTO_RENEWAL | * PENDING_VALIDATION | SUCCESS | FAILED *

*/ inline void SetRenewalStatus(const char* value) { m_renewalStatusHasBeenSet = true; m_renewalStatus.assign(value); } /** *

The status of the Certificate Manager managed renewal of the certificate.

*

Valid values: PENDING_AUTO_RENEWAL | * PENDING_VALIDATION | SUCCESS | FAILED *

*/ inline AwsCertificateManagerCertificateRenewalSummary& WithRenewalStatus(const Aws::String& value) { SetRenewalStatus(value); return *this;} /** *

The status of the Certificate Manager managed renewal of the certificate.

*

Valid values: PENDING_AUTO_RENEWAL | * PENDING_VALIDATION | SUCCESS | FAILED *

*/ inline AwsCertificateManagerCertificateRenewalSummary& WithRenewalStatus(Aws::String&& value) { SetRenewalStatus(std::move(value)); return *this;} /** *

The status of the Certificate Manager managed renewal of the certificate.

*

Valid values: PENDING_AUTO_RENEWAL | * PENDING_VALIDATION | SUCCESS | FAILED *

*/ inline AwsCertificateManagerCertificateRenewalSummary& WithRenewalStatus(const char* value) { SetRenewalStatus(value); return *this;} /** *

The reason that a renewal request was unsuccessful. This attribute is used * only when RenewalStatus is FAILED.

Valid * values: NO_AVAILABLE_CONTACTS | * ADDITIONAL_VERIFICATION_REQUIRED | DOMAIN_NOT_ALLOWED * | INVALID_PUBLIC_DOMAIN | DOMAIN_VALIDATION_DENIED | * CAA_ERROR | PCA_LIMIT_EXCEEDED | * PCA_INVALID_ARN | PCA_INVALID_STATE | * PCA_REQUEST_FAILED | PCA_NAME_CONSTRAINTS_VALIDATION | * PCA_RESOURCE_NOT_FOUND | PCA_INVALID_ARGS | * PCA_INVALID_DURATION | PCA_ACCESS_DENIED | * SLR_NOT_FOUND | OTHER

*/ inline const Aws::String& GetRenewalStatusReason() const{ return m_renewalStatusReason; } /** *

The reason that a renewal request was unsuccessful. This attribute is used * only when RenewalStatus is FAILED.

Valid * values: NO_AVAILABLE_CONTACTS | * ADDITIONAL_VERIFICATION_REQUIRED | DOMAIN_NOT_ALLOWED * | INVALID_PUBLIC_DOMAIN | DOMAIN_VALIDATION_DENIED | * CAA_ERROR | PCA_LIMIT_EXCEEDED | * PCA_INVALID_ARN | PCA_INVALID_STATE | * PCA_REQUEST_FAILED | PCA_NAME_CONSTRAINTS_VALIDATION | * PCA_RESOURCE_NOT_FOUND | PCA_INVALID_ARGS | * PCA_INVALID_DURATION | PCA_ACCESS_DENIED | * SLR_NOT_FOUND | OTHER

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

The reason that a renewal request was unsuccessful. This attribute is used * only when RenewalStatus is FAILED.

Valid * values: NO_AVAILABLE_CONTACTS | * ADDITIONAL_VERIFICATION_REQUIRED | DOMAIN_NOT_ALLOWED * | INVALID_PUBLIC_DOMAIN | DOMAIN_VALIDATION_DENIED | * CAA_ERROR | PCA_LIMIT_EXCEEDED | * PCA_INVALID_ARN | PCA_INVALID_STATE | * PCA_REQUEST_FAILED | PCA_NAME_CONSTRAINTS_VALIDATION | * PCA_RESOURCE_NOT_FOUND | PCA_INVALID_ARGS | * PCA_INVALID_DURATION | PCA_ACCESS_DENIED | * SLR_NOT_FOUND | OTHER

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

The reason that a renewal request was unsuccessful. This attribute is used * only when RenewalStatus is FAILED.

Valid * values: NO_AVAILABLE_CONTACTS | * ADDITIONAL_VERIFICATION_REQUIRED | DOMAIN_NOT_ALLOWED * | INVALID_PUBLIC_DOMAIN | DOMAIN_VALIDATION_DENIED | * CAA_ERROR | PCA_LIMIT_EXCEEDED | * PCA_INVALID_ARN | PCA_INVALID_STATE | * PCA_REQUEST_FAILED | PCA_NAME_CONSTRAINTS_VALIDATION | * PCA_RESOURCE_NOT_FOUND | PCA_INVALID_ARGS | * PCA_INVALID_DURATION | PCA_ACCESS_DENIED | * SLR_NOT_FOUND | OTHER

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

The reason that a renewal request was unsuccessful. This attribute is used * only when RenewalStatus is FAILED.

Valid * values: NO_AVAILABLE_CONTACTS | * ADDITIONAL_VERIFICATION_REQUIRED | DOMAIN_NOT_ALLOWED * | INVALID_PUBLIC_DOMAIN | DOMAIN_VALIDATION_DENIED | * CAA_ERROR | PCA_LIMIT_EXCEEDED | * PCA_INVALID_ARN | PCA_INVALID_STATE | * PCA_REQUEST_FAILED | PCA_NAME_CONSTRAINTS_VALIDATION | * PCA_RESOURCE_NOT_FOUND | PCA_INVALID_ARGS | * PCA_INVALID_DURATION | PCA_ACCESS_DENIED | * SLR_NOT_FOUND | OTHER

*/ inline void SetRenewalStatusReason(const char* value) { m_renewalStatusReasonHasBeenSet = true; m_renewalStatusReason.assign(value); } /** *

The reason that a renewal request was unsuccessful. This attribute is used * only when RenewalStatus is FAILED.

Valid * values: NO_AVAILABLE_CONTACTS | * ADDITIONAL_VERIFICATION_REQUIRED | DOMAIN_NOT_ALLOWED * | INVALID_PUBLIC_DOMAIN | DOMAIN_VALIDATION_DENIED | * CAA_ERROR | PCA_LIMIT_EXCEEDED | * PCA_INVALID_ARN | PCA_INVALID_STATE | * PCA_REQUEST_FAILED | PCA_NAME_CONSTRAINTS_VALIDATION | * PCA_RESOURCE_NOT_FOUND | PCA_INVALID_ARGS | * PCA_INVALID_DURATION | PCA_ACCESS_DENIED | * SLR_NOT_FOUND | OTHER

*/ inline AwsCertificateManagerCertificateRenewalSummary& WithRenewalStatusReason(const Aws::String& value) { SetRenewalStatusReason(value); return *this;} /** *

The reason that a renewal request was unsuccessful. This attribute is used * only when RenewalStatus is FAILED.

Valid * values: NO_AVAILABLE_CONTACTS | * ADDITIONAL_VERIFICATION_REQUIRED | DOMAIN_NOT_ALLOWED * | INVALID_PUBLIC_DOMAIN | DOMAIN_VALIDATION_DENIED | * CAA_ERROR | PCA_LIMIT_EXCEEDED | * PCA_INVALID_ARN | PCA_INVALID_STATE | * PCA_REQUEST_FAILED | PCA_NAME_CONSTRAINTS_VALIDATION | * PCA_RESOURCE_NOT_FOUND | PCA_INVALID_ARGS | * PCA_INVALID_DURATION | PCA_ACCESS_DENIED | * SLR_NOT_FOUND | OTHER

*/ inline AwsCertificateManagerCertificateRenewalSummary& WithRenewalStatusReason(Aws::String&& value) { SetRenewalStatusReason(std::move(value)); return *this;} /** *

The reason that a renewal request was unsuccessful. This attribute is used * only when RenewalStatus is FAILED.

Valid * values: NO_AVAILABLE_CONTACTS | * ADDITIONAL_VERIFICATION_REQUIRED | DOMAIN_NOT_ALLOWED * | INVALID_PUBLIC_DOMAIN | DOMAIN_VALIDATION_DENIED | * CAA_ERROR | PCA_LIMIT_EXCEEDED | * PCA_INVALID_ARN | PCA_INVALID_STATE | * PCA_REQUEST_FAILED | PCA_NAME_CONSTRAINTS_VALIDATION | * PCA_RESOURCE_NOT_FOUND | PCA_INVALID_ARGS | * PCA_INVALID_DURATION | PCA_ACCESS_DENIED | * SLR_NOT_FOUND | OTHER

*/ inline AwsCertificateManagerCertificateRenewalSummary& WithRenewalStatusReason(const char* value) { SetRenewalStatusReason(value); return *this;} /** *

Indicates when the renewal summary was last updated.

Uses the * date-time format specified in RFC 3339 section 5.6, * Internet Date/Time Format. The value cannot contain spaces, and date and * time should be separated by T. For example, * 2020-03-22T13:22:13.933Z.

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

Indicates when the renewal summary was last updated.

Uses the * date-time format specified in RFC 3339 section 5.6, * Internet Date/Time Format. The value cannot contain spaces, and date and * time should be separated by T. For example, * 2020-03-22T13:22:13.933Z.

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

Indicates when the renewal summary was last updated.

Uses the * date-time format specified in RFC 3339 section 5.6, * Internet Date/Time Format. The value cannot contain spaces, and date and * time should be separated by T. For example, * 2020-03-22T13:22:13.933Z.

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

Indicates when the renewal summary was last updated.

Uses the * date-time format specified in RFC 3339 section 5.6, * Internet Date/Time Format. The value cannot contain spaces, and date and * time should be separated by T. For example, * 2020-03-22T13:22:13.933Z.

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

Indicates when the renewal summary was last updated.

Uses the * date-time format specified in RFC 3339 section 5.6, * Internet Date/Time Format. The value cannot contain spaces, and date and * time should be separated by T. For example, * 2020-03-22T13:22:13.933Z.

*/ inline void SetUpdatedAt(const char* value) { m_updatedAtHasBeenSet = true; m_updatedAt.assign(value); } /** *

Indicates when the renewal summary was last updated.

Uses the * date-time format specified in RFC 3339 section 5.6, * Internet Date/Time Format. The value cannot contain spaces, and date and * time should be separated by T. For example, * 2020-03-22T13:22:13.933Z.

*/ inline AwsCertificateManagerCertificateRenewalSummary& WithUpdatedAt(const Aws::String& value) { SetUpdatedAt(value); return *this;} /** *

Indicates when the renewal summary was last updated.

Uses the * date-time format specified in RFC 3339 section 5.6, * Internet Date/Time Format. The value cannot contain spaces, and date and * time should be separated by T. For example, * 2020-03-22T13:22:13.933Z.

*/ inline AwsCertificateManagerCertificateRenewalSummary& WithUpdatedAt(Aws::String&& value) { SetUpdatedAt(std::move(value)); return *this;} /** *

Indicates when the renewal summary was last updated.

Uses the * date-time format specified in RFC 3339 section 5.6, * Internet Date/Time Format. The value cannot contain spaces, and date and * time should be separated by T. For example, * 2020-03-22T13:22:13.933Z.

*/ inline AwsCertificateManagerCertificateRenewalSummary& WithUpdatedAt(const char* value) { SetUpdatedAt(value); return *this;} private: Aws::Vector m_domainValidationOptions; bool m_domainValidationOptionsHasBeenSet = false; Aws::String m_renewalStatus; bool m_renewalStatusHasBeenSet = false; Aws::String m_renewalStatusReason; bool m_renewalStatusReasonHasBeenSet = false; Aws::String m_updatedAt; bool m_updatedAtHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws