/** * 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 #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ACM { namespace Model { /** *

This structure is returned in the response object of ListCertificates * action.

See Also:

AWS * API Reference

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

Amazon Resource Name (ARN) of the certificate. This is of the form:

* arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012 *

For more information about ARNs, see Amazon * Resource Names (ARNs).

*/ inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; } /** *

Amazon Resource Name (ARN) of the certificate. This is of the form:

* arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012 *

For more information about ARNs, see Amazon * Resource Names (ARNs).

*/ inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; } /** *

Amazon Resource Name (ARN) of the certificate. This is of the form:

* arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012 *

For more information about ARNs, see Amazon * Resource Names (ARNs).

*/ inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; } /** *

Amazon Resource Name (ARN) of the certificate. This is of the form:

* arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012 *

For more information about ARNs, see Amazon * Resource Names (ARNs).

*/ inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); } /** *

Amazon Resource Name (ARN) of the certificate. This is of the form:

* arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012 *

For more information about ARNs, see Amazon * Resource Names (ARNs).

*/ inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); } /** *

Amazon Resource Name (ARN) of the certificate. This is of the form:

* arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012 *

For more information about ARNs, see Amazon * Resource Names (ARNs).

*/ inline CertificateSummary& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;} /** *

Amazon Resource Name (ARN) of the certificate. This is of the form:

* arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012 *

For more information about ARNs, see Amazon * Resource Names (ARNs).

*/ inline CertificateSummary& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;} /** *

Amazon Resource Name (ARN) of the certificate. This is of the form:

* arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012 *

For more information about ARNs, see Amazon * Resource Names (ARNs).

*/ inline CertificateSummary& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;} /** *

Fully qualified domain name (FQDN), such as www.example.com or example.com, * for the certificate.

*/ inline const Aws::String& GetDomainName() const{ return m_domainName; } /** *

Fully qualified domain name (FQDN), such as www.example.com or example.com, * for the certificate.

*/ inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; } /** *

Fully qualified domain name (FQDN), such as www.example.com or example.com, * for the certificate.

*/ inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; } /** *

Fully qualified domain name (FQDN), such as www.example.com or example.com, * for the certificate.

*/ inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); } /** *

Fully qualified domain name (FQDN), such as www.example.com or example.com, * for the certificate.

*/ inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); } /** *

Fully qualified domain name (FQDN), such as www.example.com or example.com, * for the certificate.

*/ inline CertificateSummary& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *

Fully qualified domain name (FQDN), such as www.example.com or example.com, * for the certificate.

*/ inline CertificateSummary& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} /** *

Fully qualified domain name (FQDN), such as www.example.com or example.com, * for the certificate.

*/ inline CertificateSummary& WithDomainName(const char* value) { SetDomainName(value); return *this;} /** *

One or more domain names (subject alternative names) included in the * certificate. This list contains the domain names that are bound to the public * key that is contained in the certificate. The subject alternative names include * the canonical domain name (CN) of the certificate and additional domain names * that can be used to connect to the website.

When called by ListCertificates, * this parameter will only return the first 100 subject alternative names included * in the certificate. To display the full list of subject alternative names, use * DescribeCertificate.

*/ inline const Aws::Vector& GetSubjectAlternativeNameSummaries() const{ return m_subjectAlternativeNameSummaries; } /** *

One or more domain names (subject alternative names) included in the * certificate. This list contains the domain names that are bound to the public * key that is contained in the certificate. The subject alternative names include * the canonical domain name (CN) of the certificate and additional domain names * that can be used to connect to the website.

When called by ListCertificates, * this parameter will only return the first 100 subject alternative names included * in the certificate. To display the full list of subject alternative names, use * DescribeCertificate.

*/ inline bool SubjectAlternativeNameSummariesHasBeenSet() const { return m_subjectAlternativeNameSummariesHasBeenSet; } /** *

One or more domain names (subject alternative names) included in the * certificate. This list contains the domain names that are bound to the public * key that is contained in the certificate. The subject alternative names include * the canonical domain name (CN) of the certificate and additional domain names * that can be used to connect to the website.

When called by ListCertificates, * this parameter will only return the first 100 subject alternative names included * in the certificate. To display the full list of subject alternative names, use * DescribeCertificate.

*/ inline void SetSubjectAlternativeNameSummaries(const Aws::Vector& value) { m_subjectAlternativeNameSummariesHasBeenSet = true; m_subjectAlternativeNameSummaries = value; } /** *

One or more domain names (subject alternative names) included in the * certificate. This list contains the domain names that are bound to the public * key that is contained in the certificate. The subject alternative names include * the canonical domain name (CN) of the certificate and additional domain names * that can be used to connect to the website.

When called by ListCertificates, * this parameter will only return the first 100 subject alternative names included * in the certificate. To display the full list of subject alternative names, use * DescribeCertificate.

*/ inline void SetSubjectAlternativeNameSummaries(Aws::Vector&& value) { m_subjectAlternativeNameSummariesHasBeenSet = true; m_subjectAlternativeNameSummaries = std::move(value); } /** *

One or more domain names (subject alternative names) included in the * certificate. This list contains the domain names that are bound to the public * key that is contained in the certificate. The subject alternative names include * the canonical domain name (CN) of the certificate and additional domain names * that can be used to connect to the website.

When called by ListCertificates, * this parameter will only return the first 100 subject alternative names included * in the certificate. To display the full list of subject alternative names, use * DescribeCertificate.

*/ inline CertificateSummary& WithSubjectAlternativeNameSummaries(const Aws::Vector& value) { SetSubjectAlternativeNameSummaries(value); return *this;} /** *

One or more domain names (subject alternative names) included in the * certificate. This list contains the domain names that are bound to the public * key that is contained in the certificate. The subject alternative names include * the canonical domain name (CN) of the certificate and additional domain names * that can be used to connect to the website.

When called by ListCertificates, * this parameter will only return the first 100 subject alternative names included * in the certificate. To display the full list of subject alternative names, use * DescribeCertificate.

*/ inline CertificateSummary& WithSubjectAlternativeNameSummaries(Aws::Vector&& value) { SetSubjectAlternativeNameSummaries(std::move(value)); return *this;} /** *

One or more domain names (subject alternative names) included in the * certificate. This list contains the domain names that are bound to the public * key that is contained in the certificate. The subject alternative names include * the canonical domain name (CN) of the certificate and additional domain names * that can be used to connect to the website.

When called by ListCertificates, * this parameter will only return the first 100 subject alternative names included * in the certificate. To display the full list of subject alternative names, use * DescribeCertificate.

*/ inline CertificateSummary& AddSubjectAlternativeNameSummaries(const Aws::String& value) { m_subjectAlternativeNameSummariesHasBeenSet = true; m_subjectAlternativeNameSummaries.push_back(value); return *this; } /** *

One or more domain names (subject alternative names) included in the * certificate. This list contains the domain names that are bound to the public * key that is contained in the certificate. The subject alternative names include * the canonical domain name (CN) of the certificate and additional domain names * that can be used to connect to the website.

When called by ListCertificates, * this parameter will only return the first 100 subject alternative names included * in the certificate. To display the full list of subject alternative names, use * DescribeCertificate.

*/ inline CertificateSummary& AddSubjectAlternativeNameSummaries(Aws::String&& value) { m_subjectAlternativeNameSummariesHasBeenSet = true; m_subjectAlternativeNameSummaries.push_back(std::move(value)); return *this; } /** *

One or more domain names (subject alternative names) included in the * certificate. This list contains the domain names that are bound to the public * key that is contained in the certificate. The subject alternative names include * the canonical domain name (CN) of the certificate and additional domain names * that can be used to connect to the website.

When called by ListCertificates, * this parameter will only return the first 100 subject alternative names included * in the certificate. To display the full list of subject alternative names, use * DescribeCertificate.

*/ inline CertificateSummary& AddSubjectAlternativeNameSummaries(const char* value) { m_subjectAlternativeNameSummariesHasBeenSet = true; m_subjectAlternativeNameSummaries.push_back(value); return *this; } /** *

When called by ListCertificates, * indicates whether the full list of subject alternative names has been included * in the response. If false, the response includes all of the subject alternative * names included in the certificate. If true, the response only includes the first * 100 subject alternative names included in the certificate. To display the full * list of subject alternative names, use DescribeCertificate.

*/ inline bool GetHasAdditionalSubjectAlternativeNames() const{ return m_hasAdditionalSubjectAlternativeNames; } /** *

When called by ListCertificates, * indicates whether the full list of subject alternative names has been included * in the response. If false, the response includes all of the subject alternative * names included in the certificate. If true, the response only includes the first * 100 subject alternative names included in the certificate. To display the full * list of subject alternative names, use DescribeCertificate.

*/ inline bool HasAdditionalSubjectAlternativeNamesHasBeenSet() const { return m_hasAdditionalSubjectAlternativeNamesHasBeenSet; } /** *

When called by ListCertificates, * indicates whether the full list of subject alternative names has been included * in the response. If false, the response includes all of the subject alternative * names included in the certificate. If true, the response only includes the first * 100 subject alternative names included in the certificate. To display the full * list of subject alternative names, use DescribeCertificate.

*/ inline void SetHasAdditionalSubjectAlternativeNames(bool value) { m_hasAdditionalSubjectAlternativeNamesHasBeenSet = true; m_hasAdditionalSubjectAlternativeNames = value; } /** *

When called by ListCertificates, * indicates whether the full list of subject alternative names has been included * in the response. If false, the response includes all of the subject alternative * names included in the certificate. If true, the response only includes the first * 100 subject alternative names included in the certificate. To display the full * list of subject alternative names, use DescribeCertificate.

*/ inline CertificateSummary& WithHasAdditionalSubjectAlternativeNames(bool value) { SetHasAdditionalSubjectAlternativeNames(value); return *this;} /** *

The status of the certificate.

A certificate enters status * PENDING_VALIDATION upon being requested, unless it fails for any of the reasons * given in the troubleshooting topic Certificate * request fails. ACM makes repeated attempts to validate a certificate for 72 * hours and then times out. If a certificate shows status FAILED or * VALIDATION_TIMED_OUT, delete the request, correct the issue with DNS * validation or Email * validation, and try again. If validation succeeds, the certificate enters * status ISSUED.

*/ inline const CertificateStatus& GetStatus() const{ return m_status; } /** *

The status of the certificate.

A certificate enters status * PENDING_VALIDATION upon being requested, unless it fails for any of the reasons * given in the troubleshooting topic Certificate * request fails. ACM makes repeated attempts to validate a certificate for 72 * hours and then times out. If a certificate shows status FAILED or * VALIDATION_TIMED_OUT, delete the request, correct the issue with DNS * validation or Email * validation, and try again. If validation succeeds, the certificate enters * status ISSUED.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status of the certificate.

A certificate enters status * PENDING_VALIDATION upon being requested, unless it fails for any of the reasons * given in the troubleshooting topic Certificate * request fails. ACM makes repeated attempts to validate a certificate for 72 * hours and then times out. If a certificate shows status FAILED or * VALIDATION_TIMED_OUT, delete the request, correct the issue with DNS * validation or Email * validation, and try again. If validation succeeds, the certificate enters * status ISSUED.

*/ inline void SetStatus(const CertificateStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The status of the certificate.

A certificate enters status * PENDING_VALIDATION upon being requested, unless it fails for any of the reasons * given in the troubleshooting topic Certificate * request fails. ACM makes repeated attempts to validate a certificate for 72 * hours and then times out. If a certificate shows status FAILED or * VALIDATION_TIMED_OUT, delete the request, correct the issue with DNS * validation or Email * validation, and try again. If validation succeeds, the certificate enters * status ISSUED.

*/ inline void SetStatus(CertificateStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The status of the certificate.

A certificate enters status * PENDING_VALIDATION upon being requested, unless it fails for any of the reasons * given in the troubleshooting topic Certificate * request fails. ACM makes repeated attempts to validate a certificate for 72 * hours and then times out. If a certificate shows status FAILED or * VALIDATION_TIMED_OUT, delete the request, correct the issue with DNS * validation or Email * validation, and try again. If validation succeeds, the certificate enters * status ISSUED.

*/ inline CertificateSummary& WithStatus(const CertificateStatus& value) { SetStatus(value); return *this;} /** *

The status of the certificate.

A certificate enters status * PENDING_VALIDATION upon being requested, unless it fails for any of the reasons * given in the troubleshooting topic Certificate * request fails. ACM makes repeated attempts to validate a certificate for 72 * hours and then times out. If a certificate shows status FAILED or * VALIDATION_TIMED_OUT, delete the request, correct the issue with DNS * validation or Email * validation, and try again. If validation succeeds, the certificate enters * status ISSUED.

*/ inline CertificateSummary& WithStatus(CertificateStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The source of the certificate. For certificates provided by ACM, this value * is AMAZON_ISSUED. For certificates that you imported with * ImportCertificate, this value is IMPORTED. ACM does not * provide managed * renewal for imported certificates. For more information about the * differences between certificates that you import and those that ACM provides, * see Importing * Certificates in the Certificate Manager User Guide.

*/ inline const CertificateType& GetType() const{ return m_type; } /** *

The source of the certificate. For certificates provided by ACM, this value * is AMAZON_ISSUED. For certificates that you imported with * ImportCertificate, this value is IMPORTED. ACM does not * provide managed * renewal for imported certificates. For more information about the * differences between certificates that you import and those that ACM provides, * see Importing * Certificates in the Certificate Manager User Guide.

*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *

The source of the certificate. For certificates provided by ACM, this value * is AMAZON_ISSUED. For certificates that you imported with * ImportCertificate, this value is IMPORTED. ACM does not * provide managed * renewal for imported certificates. For more information about the * differences between certificates that you import and those that ACM provides, * see Importing * Certificates in the Certificate Manager User Guide.

*/ inline void SetType(const CertificateType& value) { m_typeHasBeenSet = true; m_type = value; } /** *

The source of the certificate. For certificates provided by ACM, this value * is AMAZON_ISSUED. For certificates that you imported with * ImportCertificate, this value is IMPORTED. ACM does not * provide managed * renewal for imported certificates. For more information about the * differences between certificates that you import and those that ACM provides, * see Importing * Certificates in the Certificate Manager User Guide.

*/ inline void SetType(CertificateType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *

The source of the certificate. For certificates provided by ACM, this value * is AMAZON_ISSUED. For certificates that you imported with * ImportCertificate, this value is IMPORTED. ACM does not * provide managed * renewal for imported certificates. For more information about the * differences between certificates that you import and those that ACM provides, * see Importing * Certificates in the Certificate Manager User Guide.

*/ inline CertificateSummary& WithType(const CertificateType& value) { SetType(value); return *this;} /** *

The source of the certificate. For certificates provided by ACM, this value * is AMAZON_ISSUED. For certificates that you imported with * ImportCertificate, this value is IMPORTED. ACM does not * provide managed * renewal for imported certificates. For more information about the * differences between certificates that you import and those that ACM provides, * see Importing * Certificates in the Certificate Manager User Guide.

*/ inline CertificateSummary& WithType(CertificateType&& value) { SetType(std::move(value)); return *this;} /** *

The algorithm that was used to generate the public-private key pair.

*/ inline const KeyAlgorithm& GetKeyAlgorithm() const{ return m_keyAlgorithm; } /** *

The algorithm that was used to generate the public-private key pair.

*/ inline bool KeyAlgorithmHasBeenSet() const { return m_keyAlgorithmHasBeenSet; } /** *

The algorithm that was used to generate the public-private key pair.

*/ inline void SetKeyAlgorithm(const KeyAlgorithm& value) { m_keyAlgorithmHasBeenSet = true; m_keyAlgorithm = value; } /** *

The algorithm that was used to generate the public-private key pair.

*/ inline void SetKeyAlgorithm(KeyAlgorithm&& value) { m_keyAlgorithmHasBeenSet = true; m_keyAlgorithm = std::move(value); } /** *

The algorithm that was used to generate the public-private key pair.

*/ inline CertificateSummary& WithKeyAlgorithm(const KeyAlgorithm& value) { SetKeyAlgorithm(value); return *this;} /** *

The algorithm that was used to generate the public-private key pair.

*/ inline CertificateSummary& WithKeyAlgorithm(KeyAlgorithm&& value) { SetKeyAlgorithm(std::move(value)); return *this;} /** *

A list of Key Usage X.509 v3 extension objects. Each object is a string value * that identifies the purpose of the public key contained in the certificate. * Possible extension values include DIGITAL_SIGNATURE, KEY_ENCHIPHERMENT, * NON_REPUDIATION, and more.

*/ inline const Aws::Vector& GetKeyUsages() const{ return m_keyUsages; } /** *

A list of Key Usage X.509 v3 extension objects. Each object is a string value * that identifies the purpose of the public key contained in the certificate. * Possible extension values include DIGITAL_SIGNATURE, KEY_ENCHIPHERMENT, * NON_REPUDIATION, and more.

*/ inline bool KeyUsagesHasBeenSet() const { return m_keyUsagesHasBeenSet; } /** *

A list of Key Usage X.509 v3 extension objects. Each object is a string value * that identifies the purpose of the public key contained in the certificate. * Possible extension values include DIGITAL_SIGNATURE, KEY_ENCHIPHERMENT, * NON_REPUDIATION, and more.

*/ inline void SetKeyUsages(const Aws::Vector& value) { m_keyUsagesHasBeenSet = true; m_keyUsages = value; } /** *

A list of Key Usage X.509 v3 extension objects. Each object is a string value * that identifies the purpose of the public key contained in the certificate. * Possible extension values include DIGITAL_SIGNATURE, KEY_ENCHIPHERMENT, * NON_REPUDIATION, and more.

*/ inline void SetKeyUsages(Aws::Vector&& value) { m_keyUsagesHasBeenSet = true; m_keyUsages = std::move(value); } /** *

A list of Key Usage X.509 v3 extension objects. Each object is a string value * that identifies the purpose of the public key contained in the certificate. * Possible extension values include DIGITAL_SIGNATURE, KEY_ENCHIPHERMENT, * NON_REPUDIATION, and more.

*/ inline CertificateSummary& WithKeyUsages(const Aws::Vector& value) { SetKeyUsages(value); return *this;} /** *

A list of Key Usage X.509 v3 extension objects. Each object is a string value * that identifies the purpose of the public key contained in the certificate. * Possible extension values include DIGITAL_SIGNATURE, KEY_ENCHIPHERMENT, * NON_REPUDIATION, and more.

*/ inline CertificateSummary& WithKeyUsages(Aws::Vector&& value) { SetKeyUsages(std::move(value)); return *this;} /** *

A list of Key Usage X.509 v3 extension objects. Each object is a string value * that identifies the purpose of the public key contained in the certificate. * Possible extension values include DIGITAL_SIGNATURE, KEY_ENCHIPHERMENT, * NON_REPUDIATION, and more.

*/ inline CertificateSummary& AddKeyUsages(const KeyUsageName& value) { m_keyUsagesHasBeenSet = true; m_keyUsages.push_back(value); return *this; } /** *

A list of Key Usage X.509 v3 extension objects. Each object is a string value * that identifies the purpose of the public key contained in the certificate. * Possible extension values include DIGITAL_SIGNATURE, KEY_ENCHIPHERMENT, * NON_REPUDIATION, and more.

*/ inline CertificateSummary& AddKeyUsages(KeyUsageName&& value) { m_keyUsagesHasBeenSet = true; m_keyUsages.push_back(std::move(value)); return *this; } /** *

Contains a list of Extended Key Usage X.509 v3 extension objects. Each object * specifies a purpose for which the certificate public key can be used and * consists of a name and an object identifier (OID).

*/ inline const Aws::Vector& GetExtendedKeyUsages() const{ return m_extendedKeyUsages; } /** *

Contains a list of Extended Key Usage X.509 v3 extension objects. Each object * specifies a purpose for which the certificate public key can be used and * consists of a name and an object identifier (OID).

*/ inline bool ExtendedKeyUsagesHasBeenSet() const { return m_extendedKeyUsagesHasBeenSet; } /** *

Contains a list of Extended Key Usage X.509 v3 extension objects. Each object * specifies a purpose for which the certificate public key can be used and * consists of a name and an object identifier (OID).

*/ inline void SetExtendedKeyUsages(const Aws::Vector& value) { m_extendedKeyUsagesHasBeenSet = true; m_extendedKeyUsages = value; } /** *

Contains a list of Extended Key Usage X.509 v3 extension objects. Each object * specifies a purpose for which the certificate public key can be used and * consists of a name and an object identifier (OID).

*/ inline void SetExtendedKeyUsages(Aws::Vector&& value) { m_extendedKeyUsagesHasBeenSet = true; m_extendedKeyUsages = std::move(value); } /** *

Contains a list of Extended Key Usage X.509 v3 extension objects. Each object * specifies a purpose for which the certificate public key can be used and * consists of a name and an object identifier (OID).

*/ inline CertificateSummary& WithExtendedKeyUsages(const Aws::Vector& value) { SetExtendedKeyUsages(value); return *this;} /** *

Contains a list of Extended Key Usage X.509 v3 extension objects. Each object * specifies a purpose for which the certificate public key can be used and * consists of a name and an object identifier (OID).

*/ inline CertificateSummary& WithExtendedKeyUsages(Aws::Vector&& value) { SetExtendedKeyUsages(std::move(value)); return *this;} /** *

Contains a list of Extended Key Usage X.509 v3 extension objects. Each object * specifies a purpose for which the certificate public key can be used and * consists of a name and an object identifier (OID).

*/ inline CertificateSummary& AddExtendedKeyUsages(const ExtendedKeyUsageName& value) { m_extendedKeyUsagesHasBeenSet = true; m_extendedKeyUsages.push_back(value); return *this; } /** *

Contains a list of Extended Key Usage X.509 v3 extension objects. Each object * specifies a purpose for which the certificate public key can be used and * consists of a name and an object identifier (OID).

*/ inline CertificateSummary& AddExtendedKeyUsages(ExtendedKeyUsageName&& value) { m_extendedKeyUsagesHasBeenSet = true; m_extendedKeyUsages.push_back(std::move(value)); return *this; } /** *

Indicates whether the certificate is currently in use by any Amazon Web * Services resources.

*/ inline bool GetInUse() const{ return m_inUse; } /** *

Indicates whether the certificate is currently in use by any Amazon Web * Services resources.

*/ inline bool InUseHasBeenSet() const { return m_inUseHasBeenSet; } /** *

Indicates whether the certificate is currently in use by any Amazon Web * Services resources.

*/ inline void SetInUse(bool value) { m_inUseHasBeenSet = true; m_inUse = value; } /** *

Indicates whether the certificate is currently in use by any Amazon Web * Services resources.

*/ inline CertificateSummary& WithInUse(bool value) { SetInUse(value); return *this;} /** *

Indicates whether the certificate has been exported. This value exists only * when the certificate type is PRIVATE.

*/ inline bool GetExported() const{ return m_exported; } /** *

Indicates whether the certificate has been exported. This value exists only * when the certificate type is PRIVATE.

*/ inline bool ExportedHasBeenSet() const { return m_exportedHasBeenSet; } /** *

Indicates whether the certificate has been exported. This value exists only * when the certificate type is PRIVATE.

*/ inline void SetExported(bool value) { m_exportedHasBeenSet = true; m_exported = value; } /** *

Indicates whether the certificate has been exported. This value exists only * when the certificate type is PRIVATE.

*/ inline CertificateSummary& WithExported(bool value) { SetExported(value); return *this;} /** *

Specifies whether the certificate is eligible for renewal. At this time, only * exported private certificates can be renewed with the RenewCertificate * command.

*/ inline const RenewalEligibility& GetRenewalEligibility() const{ return m_renewalEligibility; } /** *

Specifies whether the certificate is eligible for renewal. At this time, only * exported private certificates can be renewed with the RenewCertificate * command.

*/ inline bool RenewalEligibilityHasBeenSet() const { return m_renewalEligibilityHasBeenSet; } /** *

Specifies whether the certificate is eligible for renewal. At this time, only * exported private certificates can be renewed with the RenewCertificate * command.

*/ inline void SetRenewalEligibility(const RenewalEligibility& value) { m_renewalEligibilityHasBeenSet = true; m_renewalEligibility = value; } /** *

Specifies whether the certificate is eligible for renewal. At this time, only * exported private certificates can be renewed with the RenewCertificate * command.

*/ inline void SetRenewalEligibility(RenewalEligibility&& value) { m_renewalEligibilityHasBeenSet = true; m_renewalEligibility = std::move(value); } /** *

Specifies whether the certificate is eligible for renewal. At this time, only * exported private certificates can be renewed with the RenewCertificate * command.

*/ inline CertificateSummary& WithRenewalEligibility(const RenewalEligibility& value) { SetRenewalEligibility(value); return *this;} /** *

Specifies whether the certificate is eligible for renewal. At this time, only * exported private certificates can be renewed with the RenewCertificate * command.

*/ inline CertificateSummary& WithRenewalEligibility(RenewalEligibility&& value) { SetRenewalEligibility(std::move(value)); return *this;} /** *

The time before which the certificate is not valid.

*/ inline const Aws::Utils::DateTime& GetNotBefore() const{ return m_notBefore; } /** *

The time before which the certificate is not valid.

*/ inline bool NotBeforeHasBeenSet() const { return m_notBeforeHasBeenSet; } /** *

The time before which the certificate is not valid.

*/ inline void SetNotBefore(const Aws::Utils::DateTime& value) { m_notBeforeHasBeenSet = true; m_notBefore = value; } /** *

The time before which the certificate is not valid.

*/ inline void SetNotBefore(Aws::Utils::DateTime&& value) { m_notBeforeHasBeenSet = true; m_notBefore = std::move(value); } /** *

The time before which the certificate is not valid.

*/ inline CertificateSummary& WithNotBefore(const Aws::Utils::DateTime& value) { SetNotBefore(value); return *this;} /** *

The time before which the certificate is not valid.

*/ inline CertificateSummary& WithNotBefore(Aws::Utils::DateTime&& value) { SetNotBefore(std::move(value)); return *this;} /** *

The time after which the certificate is not valid.

*/ inline const Aws::Utils::DateTime& GetNotAfter() const{ return m_notAfter; } /** *

The time after which the certificate is not valid.

*/ inline bool NotAfterHasBeenSet() const { return m_notAfterHasBeenSet; } /** *

The time after which the certificate is not valid.

*/ inline void SetNotAfter(const Aws::Utils::DateTime& value) { m_notAfterHasBeenSet = true; m_notAfter = value; } /** *

The time after which the certificate is not valid.

*/ inline void SetNotAfter(Aws::Utils::DateTime&& value) { m_notAfterHasBeenSet = true; m_notAfter = std::move(value); } /** *

The time after which the certificate is not valid.

*/ inline CertificateSummary& WithNotAfter(const Aws::Utils::DateTime& value) { SetNotAfter(value); return *this;} /** *

The time after which the certificate is not valid.

*/ inline CertificateSummary& WithNotAfter(Aws::Utils::DateTime&& value) { SetNotAfter(std::move(value)); return *this;} /** *

The time at which the certificate was requested.

*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *

The time at which the certificate was requested.

*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *

The time at which the certificate was requested.

*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *

The time at which the certificate was requested.

*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *

The time at which the certificate was requested.

*/ inline CertificateSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *

The time at which the certificate was requested.

*/ inline CertificateSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *

The time at which the certificate was issued. This value exists only when the * certificate type is AMAZON_ISSUED.

*/ inline const Aws::Utils::DateTime& GetIssuedAt() const{ return m_issuedAt; } /** *

The time at which the certificate was issued. This value exists only when the * certificate type is AMAZON_ISSUED.

*/ inline bool IssuedAtHasBeenSet() const { return m_issuedAtHasBeenSet; } /** *

The time at which the certificate was issued. This value exists only when the * certificate type is AMAZON_ISSUED.

*/ inline void SetIssuedAt(const Aws::Utils::DateTime& value) { m_issuedAtHasBeenSet = true; m_issuedAt = value; } /** *

The time at which the certificate was issued. This value exists only when the * certificate type is AMAZON_ISSUED.

*/ inline void SetIssuedAt(Aws::Utils::DateTime&& value) { m_issuedAtHasBeenSet = true; m_issuedAt = std::move(value); } /** *

The time at which the certificate was issued. This value exists only when the * certificate type is AMAZON_ISSUED.

*/ inline CertificateSummary& WithIssuedAt(const Aws::Utils::DateTime& value) { SetIssuedAt(value); return *this;} /** *

The time at which the certificate was issued. This value exists only when the * certificate type is AMAZON_ISSUED.

*/ inline CertificateSummary& WithIssuedAt(Aws::Utils::DateTime&& value) { SetIssuedAt(std::move(value)); return *this;} /** *

The date and time when the certificate was imported. This value exists only * when the certificate type is IMPORTED.

*/ inline const Aws::Utils::DateTime& GetImportedAt() const{ return m_importedAt; } /** *

The date and time when the certificate was imported. This value exists only * when the certificate type is IMPORTED.

*/ inline bool ImportedAtHasBeenSet() const { return m_importedAtHasBeenSet; } /** *

The date and time when the certificate was imported. This value exists only * when the certificate type is IMPORTED.

*/ inline void SetImportedAt(const Aws::Utils::DateTime& value) { m_importedAtHasBeenSet = true; m_importedAt = value; } /** *

The date and time when the certificate was imported. This value exists only * when the certificate type is IMPORTED.

*/ inline void SetImportedAt(Aws::Utils::DateTime&& value) { m_importedAtHasBeenSet = true; m_importedAt = std::move(value); } /** *

The date and time when the certificate was imported. This value exists only * when the certificate type is IMPORTED.

*/ inline CertificateSummary& WithImportedAt(const Aws::Utils::DateTime& value) { SetImportedAt(value); return *this;} /** *

The date and time when the certificate was imported. This value exists only * when the certificate type is IMPORTED.

*/ inline CertificateSummary& WithImportedAt(Aws::Utils::DateTime&& value) { SetImportedAt(std::move(value)); return *this;} /** *

The time at which the certificate was revoked. This value exists only when * the certificate status is REVOKED.

*/ inline const Aws::Utils::DateTime& GetRevokedAt() const{ return m_revokedAt; } /** *

The time at which the certificate was revoked. This value exists only when * the certificate status is REVOKED.

*/ inline bool RevokedAtHasBeenSet() const { return m_revokedAtHasBeenSet; } /** *

The time at which the certificate was revoked. This value exists only when * the certificate status is REVOKED.

*/ inline void SetRevokedAt(const Aws::Utils::DateTime& value) { m_revokedAtHasBeenSet = true; m_revokedAt = value; } /** *

The time at which the certificate was revoked. This value exists only when * the certificate status is REVOKED.

*/ inline void SetRevokedAt(Aws::Utils::DateTime&& value) { m_revokedAtHasBeenSet = true; m_revokedAt = std::move(value); } /** *

The time at which the certificate was revoked. This value exists only when * the certificate status is REVOKED.

*/ inline CertificateSummary& WithRevokedAt(const Aws::Utils::DateTime& value) { SetRevokedAt(value); return *this;} /** *

The time at which the certificate was revoked. This value exists only when * the certificate status is REVOKED.

*/ inline CertificateSummary& WithRevokedAt(Aws::Utils::DateTime&& value) { SetRevokedAt(std::move(value)); return *this;} private: Aws::String m_certificateArn; bool m_certificateArnHasBeenSet = false; Aws::String m_domainName; bool m_domainNameHasBeenSet = false; Aws::Vector m_subjectAlternativeNameSummaries; bool m_subjectAlternativeNameSummariesHasBeenSet = false; bool m_hasAdditionalSubjectAlternativeNames; bool m_hasAdditionalSubjectAlternativeNamesHasBeenSet = false; CertificateStatus m_status; bool m_statusHasBeenSet = false; CertificateType m_type; bool m_typeHasBeenSet = false; KeyAlgorithm m_keyAlgorithm; bool m_keyAlgorithmHasBeenSet = false; Aws::Vector m_keyUsages; bool m_keyUsagesHasBeenSet = false; Aws::Vector m_extendedKeyUsages; bool m_extendedKeyUsagesHasBeenSet = false; bool m_inUse; bool m_inUseHasBeenSet = false; bool m_exported; bool m_exportedHasBeenSet = false; RenewalEligibility m_renewalEligibility; bool m_renewalEligibilityHasBeenSet = false; Aws::Utils::DateTime m_notBefore; bool m_notBeforeHasBeenSet = false; Aws::Utils::DateTime m_notAfter; bool m_notAfterHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::Utils::DateTime m_issuedAt; bool m_issuedAtHasBeenSet = false; Aws::Utils::DateTime m_importedAt; bool m_importedAtHasBeenSet = false; Aws::Utils::DateTime m_revokedAt; bool m_revokedAtHasBeenSet = false; }; } // namespace Model } // namespace ACM } // namespace Aws