This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-acm/include/aws/acm/model/CertificateDetail.h

1410 lines
63 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/acm/ACM_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/DateTime.h>
#include <aws/acm/model/CertificateStatus.h>
#include <aws/acm/model/RevocationReason.h>
#include <aws/acm/model/KeyAlgorithm.h>
#include <aws/acm/model/FailureReason.h>
#include <aws/acm/model/CertificateType.h>
#include <aws/acm/model/RenewalSummary.h>
#include <aws/acm/model/RenewalEligibility.h>
#include <aws/acm/model/CertificateOptions.h>
#include <aws/acm/model/DomainValidation.h>
#include <aws/acm/model/KeyUsage.h>
#include <aws/acm/model/ExtendedKeyUsage.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace ACM
{
namespace Model
{
/**
* <p>Contains metadata about an ACM certificate. This structure is returned in the
* response to a <a>DescribeCertificate</a> request. </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/CertificateDetail">AWS
* API Reference</a></p>
*/
class AWS_ACM_API CertificateDetail
{
public:
CertificateDetail();
CertificateDetail(Aws::Utils::Json::JsonView jsonValue);
CertificateDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The Amazon Resource Name (ARN) of the certificate. For more information about
* ARNs, see <a
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
* Resource Names (ARNs) and AWS Service Namespaces</a> in the <i>AWS General
* Reference</i>.</p>
*/
inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
/**
* <p>The Amazon Resource Name (ARN) of the certificate. For more information about
* ARNs, see <a
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
* Resource Names (ARNs) and AWS Service Namespaces</a> in the <i>AWS General
* Reference</i>.</p>
*/
inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the certificate. For more information about
* ARNs, see <a
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
* Resource Names (ARNs) and AWS Service Namespaces</a> in the <i>AWS General
* Reference</i>.</p>
*/
inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
/**
* <p>The Amazon Resource Name (ARN) of the certificate. For more information about
* ARNs, see <a
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
* Resource Names (ARNs) and AWS Service Namespaces</a> in the <i>AWS General
* Reference</i>.</p>
*/
inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the certificate. For more information about
* ARNs, see <a
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
* Resource Names (ARNs) and AWS Service Namespaces</a> in the <i>AWS General
* Reference</i>.</p>
*/
inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the certificate. For more information about
* ARNs, see <a
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
* Resource Names (ARNs) and AWS Service Namespaces</a> in the <i>AWS General
* Reference</i>.</p>
*/
inline CertificateDetail& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the certificate. For more information about
* ARNs, see <a
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
* Resource Names (ARNs) and AWS Service Namespaces</a> in the <i>AWS General
* Reference</i>.</p>
*/
inline CertificateDetail& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the certificate. For more information about
* ARNs, see <a
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
* Resource Names (ARNs) and AWS Service Namespaces</a> in the <i>AWS General
* Reference</i>.</p>
*/
inline CertificateDetail& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
/**
* <p>The fully qualified domain name for the certificate, such as www.example.com
* or example.com.</p>
*/
inline const Aws::String& GetDomainName() const{ return m_domainName; }
/**
* <p>The fully qualified domain name for the certificate, such as www.example.com
* or example.com.</p>
*/
inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
/**
* <p>The fully qualified domain name for the certificate, such as www.example.com
* or example.com.</p>
*/
inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
/**
* <p>The fully qualified domain name for the certificate, such as www.example.com
* or example.com.</p>
*/
inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
/**
* <p>The fully qualified domain name for the certificate, such as www.example.com
* or example.com.</p>
*/
inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
/**
* <p>The fully qualified domain name for the certificate, such as www.example.com
* or example.com.</p>
*/
inline CertificateDetail& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
/**
* <p>The fully qualified domain name for the certificate, such as www.example.com
* or example.com.</p>
*/
inline CertificateDetail& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
/**
* <p>The fully qualified domain name for the certificate, such as www.example.com
* or example.com.</p>
*/
inline CertificateDetail& WithDomainName(const char* value) { SetDomainName(value); return *this;}
/**
* <p>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. </p>
*/
inline const Aws::Vector<Aws::String>& GetSubjectAlternativeNames() const{ return m_subjectAlternativeNames; }
/**
* <p>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. </p>
*/
inline bool SubjectAlternativeNamesHasBeenSet() const { return m_subjectAlternativeNamesHasBeenSet; }
/**
* <p>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. </p>
*/
inline void SetSubjectAlternativeNames(const Aws::Vector<Aws::String>& value) { m_subjectAlternativeNamesHasBeenSet = true; m_subjectAlternativeNames = value; }
/**
* <p>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. </p>
*/
inline void SetSubjectAlternativeNames(Aws::Vector<Aws::String>&& value) { m_subjectAlternativeNamesHasBeenSet = true; m_subjectAlternativeNames = std::move(value); }
/**
* <p>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. </p>
*/
inline CertificateDetail& WithSubjectAlternativeNames(const Aws::Vector<Aws::String>& value) { SetSubjectAlternativeNames(value); return *this;}
/**
* <p>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. </p>
*/
inline CertificateDetail& WithSubjectAlternativeNames(Aws::Vector<Aws::String>&& value) { SetSubjectAlternativeNames(std::move(value)); return *this;}
/**
* <p>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. </p>
*/
inline CertificateDetail& AddSubjectAlternativeNames(const Aws::String& value) { m_subjectAlternativeNamesHasBeenSet = true; m_subjectAlternativeNames.push_back(value); return *this; }
/**
* <p>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. </p>
*/
inline CertificateDetail& AddSubjectAlternativeNames(Aws::String&& value) { m_subjectAlternativeNamesHasBeenSet = true; m_subjectAlternativeNames.push_back(std::move(value)); return *this; }
/**
* <p>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. </p>
*/
inline CertificateDetail& AddSubjectAlternativeNames(const char* value) { m_subjectAlternativeNamesHasBeenSet = true; m_subjectAlternativeNames.push_back(value); return *this; }
/**
* <p>Contains information about the initial validation of each domain name that
* occurs as a result of the <a>RequestCertificate</a> request. This field exists
* only when the certificate type is <code>AMAZON_ISSUED</code>. </p>
*/
inline const Aws::Vector<DomainValidation>& GetDomainValidationOptions() const{ return m_domainValidationOptions; }
/**
* <p>Contains information about the initial validation of each domain name that
* occurs as a result of the <a>RequestCertificate</a> request. This field exists
* only when the certificate type is <code>AMAZON_ISSUED</code>. </p>
*/
inline bool DomainValidationOptionsHasBeenSet() const { return m_domainValidationOptionsHasBeenSet; }
/**
* <p>Contains information about the initial validation of each domain name that
* occurs as a result of the <a>RequestCertificate</a> request. This field exists
* only when the certificate type is <code>AMAZON_ISSUED</code>. </p>
*/
inline void SetDomainValidationOptions(const Aws::Vector<DomainValidation>& value) { m_domainValidationOptionsHasBeenSet = true; m_domainValidationOptions = value; }
/**
* <p>Contains information about the initial validation of each domain name that
* occurs as a result of the <a>RequestCertificate</a> request. This field exists
* only when the certificate type is <code>AMAZON_ISSUED</code>. </p>
*/
inline void SetDomainValidationOptions(Aws::Vector<DomainValidation>&& value) { m_domainValidationOptionsHasBeenSet = true; m_domainValidationOptions = std::move(value); }
/**
* <p>Contains information about the initial validation of each domain name that
* occurs as a result of the <a>RequestCertificate</a> request. This field exists
* only when the certificate type is <code>AMAZON_ISSUED</code>. </p>
*/
inline CertificateDetail& WithDomainValidationOptions(const Aws::Vector<DomainValidation>& value) { SetDomainValidationOptions(value); return *this;}
/**
* <p>Contains information about the initial validation of each domain name that
* occurs as a result of the <a>RequestCertificate</a> request. This field exists
* only when the certificate type is <code>AMAZON_ISSUED</code>. </p>
*/
inline CertificateDetail& WithDomainValidationOptions(Aws::Vector<DomainValidation>&& value) { SetDomainValidationOptions(std::move(value)); return *this;}
/**
* <p>Contains information about the initial validation of each domain name that
* occurs as a result of the <a>RequestCertificate</a> request. This field exists
* only when the certificate type is <code>AMAZON_ISSUED</code>. </p>
*/
inline CertificateDetail& AddDomainValidationOptions(const DomainValidation& value) { m_domainValidationOptionsHasBeenSet = true; m_domainValidationOptions.push_back(value); return *this; }
/**
* <p>Contains information about the initial validation of each domain name that
* occurs as a result of the <a>RequestCertificate</a> request. This field exists
* only when the certificate type is <code>AMAZON_ISSUED</code>. </p>
*/
inline CertificateDetail& AddDomainValidationOptions(DomainValidation&& value) { m_domainValidationOptionsHasBeenSet = true; m_domainValidationOptions.push_back(std::move(value)); return *this; }
/**
* <p>The serial number of the certificate.</p>
*/
inline const Aws::String& GetSerial() const{ return m_serial; }
/**
* <p>The serial number of the certificate.</p>
*/
inline bool SerialHasBeenSet() const { return m_serialHasBeenSet; }
/**
* <p>The serial number of the certificate.</p>
*/
inline void SetSerial(const Aws::String& value) { m_serialHasBeenSet = true; m_serial = value; }
/**
* <p>The serial number of the certificate.</p>
*/
inline void SetSerial(Aws::String&& value) { m_serialHasBeenSet = true; m_serial = std::move(value); }
/**
* <p>The serial number of the certificate.</p>
*/
inline void SetSerial(const char* value) { m_serialHasBeenSet = true; m_serial.assign(value); }
/**
* <p>The serial number of the certificate.</p>
*/
inline CertificateDetail& WithSerial(const Aws::String& value) { SetSerial(value); return *this;}
/**
* <p>The serial number of the certificate.</p>
*/
inline CertificateDetail& WithSerial(Aws::String&& value) { SetSerial(std::move(value)); return *this;}
/**
* <p>The serial number of the certificate.</p>
*/
inline CertificateDetail& WithSerial(const char* value) { SetSerial(value); return *this;}
/**
* <p>The name of the entity that is associated with the public key contained in
* the certificate.</p>
*/
inline const Aws::String& GetSubject() const{ return m_subject; }
/**
* <p>The name of the entity that is associated with the public key contained in
* the certificate.</p>
*/
inline bool SubjectHasBeenSet() const { return m_subjectHasBeenSet; }
/**
* <p>The name of the entity that is associated with the public key contained in
* the certificate.</p>
*/
inline void SetSubject(const Aws::String& value) { m_subjectHasBeenSet = true; m_subject = value; }
/**
* <p>The name of the entity that is associated with the public key contained in
* the certificate.</p>
*/
inline void SetSubject(Aws::String&& value) { m_subjectHasBeenSet = true; m_subject = std::move(value); }
/**
* <p>The name of the entity that is associated with the public key contained in
* the certificate.</p>
*/
inline void SetSubject(const char* value) { m_subjectHasBeenSet = true; m_subject.assign(value); }
/**
* <p>The name of the entity that is associated with the public key contained in
* the certificate.</p>
*/
inline CertificateDetail& WithSubject(const Aws::String& value) { SetSubject(value); return *this;}
/**
* <p>The name of the entity that is associated with the public key contained in
* the certificate.</p>
*/
inline CertificateDetail& WithSubject(Aws::String&& value) { SetSubject(std::move(value)); return *this;}
/**
* <p>The name of the entity that is associated with the public key contained in
* the certificate.</p>
*/
inline CertificateDetail& WithSubject(const char* value) { SetSubject(value); return *this;}
/**
* <p>The name of the certificate authority that issued and signed the
* certificate.</p>
*/
inline const Aws::String& GetIssuer() const{ return m_issuer; }
/**
* <p>The name of the certificate authority that issued and signed the
* certificate.</p>
*/
inline bool IssuerHasBeenSet() const { return m_issuerHasBeenSet; }
/**
* <p>The name of the certificate authority that issued and signed the
* certificate.</p>
*/
inline void SetIssuer(const Aws::String& value) { m_issuerHasBeenSet = true; m_issuer = value; }
/**
* <p>The name of the certificate authority that issued and signed the
* certificate.</p>
*/
inline void SetIssuer(Aws::String&& value) { m_issuerHasBeenSet = true; m_issuer = std::move(value); }
/**
* <p>The name of the certificate authority that issued and signed the
* certificate.</p>
*/
inline void SetIssuer(const char* value) { m_issuerHasBeenSet = true; m_issuer.assign(value); }
/**
* <p>The name of the certificate authority that issued and signed the
* certificate.</p>
*/
inline CertificateDetail& WithIssuer(const Aws::String& value) { SetIssuer(value); return *this;}
/**
* <p>The name of the certificate authority that issued and signed the
* certificate.</p>
*/
inline CertificateDetail& WithIssuer(Aws::String&& value) { SetIssuer(std::move(value)); return *this;}
/**
* <p>The name of the certificate authority that issued and signed the
* certificate.</p>
*/
inline CertificateDetail& WithIssuer(const char* value) { SetIssuer(value); return *this;}
/**
* <p>The time at which the certificate was requested. This value exists only when
* the certificate type is <code>AMAZON_ISSUED</code>. </p>
*/
inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
/**
* <p>The time at which the certificate was requested. This value exists only when
* the certificate type is <code>AMAZON_ISSUED</code>. </p>
*/
inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
/**
* <p>The time at which the certificate was requested. This value exists only when
* the certificate type is <code>AMAZON_ISSUED</code>. </p>
*/
inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
/**
* <p>The time at which the certificate was requested. This value exists only when
* the certificate type is <code>AMAZON_ISSUED</code>. </p>
*/
inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
/**
* <p>The time at which the certificate was requested. This value exists only when
* the certificate type is <code>AMAZON_ISSUED</code>. </p>
*/
inline CertificateDetail& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
/**
* <p>The time at which the certificate was requested. This value exists only when
* the certificate type is <code>AMAZON_ISSUED</code>. </p>
*/
inline CertificateDetail& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
/**
* <p>The time at which the certificate was issued. This value exists only when the
* certificate type is <code>AMAZON_ISSUED</code>. </p>
*/
inline const Aws::Utils::DateTime& GetIssuedAt() const{ return m_issuedAt; }
/**
* <p>The time at which the certificate was issued. This value exists only when the
* certificate type is <code>AMAZON_ISSUED</code>. </p>
*/
inline bool IssuedAtHasBeenSet() const { return m_issuedAtHasBeenSet; }
/**
* <p>The time at which the certificate was issued. This value exists only when the
* certificate type is <code>AMAZON_ISSUED</code>. </p>
*/
inline void SetIssuedAt(const Aws::Utils::DateTime& value) { m_issuedAtHasBeenSet = true; m_issuedAt = value; }
/**
* <p>The time at which the certificate was issued. This value exists only when the
* certificate type is <code>AMAZON_ISSUED</code>. </p>
*/
inline void SetIssuedAt(Aws::Utils::DateTime&& value) { m_issuedAtHasBeenSet = true; m_issuedAt = std::move(value); }
/**
* <p>The time at which the certificate was issued. This value exists only when the
* certificate type is <code>AMAZON_ISSUED</code>. </p>
*/
inline CertificateDetail& WithIssuedAt(const Aws::Utils::DateTime& value) { SetIssuedAt(value); return *this;}
/**
* <p>The time at which the certificate was issued. This value exists only when the
* certificate type is <code>AMAZON_ISSUED</code>. </p>
*/
inline CertificateDetail& WithIssuedAt(Aws::Utils::DateTime&& value) { SetIssuedAt(std::move(value)); return *this;}
/**
* <p>The date and time at which the certificate was imported. This value exists
* only when the certificate type is <code>IMPORTED</code>. </p>
*/
inline const Aws::Utils::DateTime& GetImportedAt() const{ return m_importedAt; }
/**
* <p>The date and time at which the certificate was imported. This value exists
* only when the certificate type is <code>IMPORTED</code>. </p>
*/
inline bool ImportedAtHasBeenSet() const { return m_importedAtHasBeenSet; }
/**
* <p>The date and time at which the certificate was imported. This value exists
* only when the certificate type is <code>IMPORTED</code>. </p>
*/
inline void SetImportedAt(const Aws::Utils::DateTime& value) { m_importedAtHasBeenSet = true; m_importedAt = value; }
/**
* <p>The date and time at which the certificate was imported. This value exists
* only when the certificate type is <code>IMPORTED</code>. </p>
*/
inline void SetImportedAt(Aws::Utils::DateTime&& value) { m_importedAtHasBeenSet = true; m_importedAt = std::move(value); }
/**
* <p>The date and time at which the certificate was imported. This value exists
* only when the certificate type is <code>IMPORTED</code>. </p>
*/
inline CertificateDetail& WithImportedAt(const Aws::Utils::DateTime& value) { SetImportedAt(value); return *this;}
/**
* <p>The date and time at which the certificate was imported. This value exists
* only when the certificate type is <code>IMPORTED</code>. </p>
*/
inline CertificateDetail& WithImportedAt(Aws::Utils::DateTime&& value) { SetImportedAt(std::move(value)); return *this;}
/**
* <p>The status of the certificate.</p>
*/
inline const CertificateStatus& GetStatus() const{ return m_status; }
/**
* <p>The status of the certificate.</p>
*/
inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
/**
* <p>The status of the certificate.</p>
*/
inline void SetStatus(const CertificateStatus& value) { m_statusHasBeenSet = true; m_status = value; }
/**
* <p>The status of the certificate.</p>
*/
inline void SetStatus(CertificateStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
/**
* <p>The status of the certificate.</p>
*/
inline CertificateDetail& WithStatus(const CertificateStatus& value) { SetStatus(value); return *this;}
/**
* <p>The status of the certificate.</p>
*/
inline CertificateDetail& WithStatus(CertificateStatus&& value) { SetStatus(std::move(value)); return *this;}
/**
* <p>The time at which the certificate was revoked. This value exists only when
* the certificate status is <code>REVOKED</code>. </p>
*/
inline const Aws::Utils::DateTime& GetRevokedAt() const{ return m_revokedAt; }
/**
* <p>The time at which the certificate was revoked. This value exists only when
* the certificate status is <code>REVOKED</code>. </p>
*/
inline bool RevokedAtHasBeenSet() const { return m_revokedAtHasBeenSet; }
/**
* <p>The time at which the certificate was revoked. This value exists only when
* the certificate status is <code>REVOKED</code>. </p>
*/
inline void SetRevokedAt(const Aws::Utils::DateTime& value) { m_revokedAtHasBeenSet = true; m_revokedAt = value; }
/**
* <p>The time at which the certificate was revoked. This value exists only when
* the certificate status is <code>REVOKED</code>. </p>
*/
inline void SetRevokedAt(Aws::Utils::DateTime&& value) { m_revokedAtHasBeenSet = true; m_revokedAt = std::move(value); }
/**
* <p>The time at which the certificate was revoked. This value exists only when
* the certificate status is <code>REVOKED</code>. </p>
*/
inline CertificateDetail& WithRevokedAt(const Aws::Utils::DateTime& value) { SetRevokedAt(value); return *this;}
/**
* <p>The time at which the certificate was revoked. This value exists only when
* the certificate status is <code>REVOKED</code>. </p>
*/
inline CertificateDetail& WithRevokedAt(Aws::Utils::DateTime&& value) { SetRevokedAt(std::move(value)); return *this;}
/**
* <p>The reason the certificate was revoked. This value exists only when the
* certificate status is <code>REVOKED</code>. </p>
*/
inline const RevocationReason& GetRevocationReason() const{ return m_revocationReason; }
/**
* <p>The reason the certificate was revoked. This value exists only when the
* certificate status is <code>REVOKED</code>. </p>
*/
inline bool RevocationReasonHasBeenSet() const { return m_revocationReasonHasBeenSet; }
/**
* <p>The reason the certificate was revoked. This value exists only when the
* certificate status is <code>REVOKED</code>. </p>
*/
inline void SetRevocationReason(const RevocationReason& value) { m_revocationReasonHasBeenSet = true; m_revocationReason = value; }
/**
* <p>The reason the certificate was revoked. This value exists only when the
* certificate status is <code>REVOKED</code>. </p>
*/
inline void SetRevocationReason(RevocationReason&& value) { m_revocationReasonHasBeenSet = true; m_revocationReason = std::move(value); }
/**
* <p>The reason the certificate was revoked. This value exists only when the
* certificate status is <code>REVOKED</code>. </p>
*/
inline CertificateDetail& WithRevocationReason(const RevocationReason& value) { SetRevocationReason(value); return *this;}
/**
* <p>The reason the certificate was revoked. This value exists only when the
* certificate status is <code>REVOKED</code>. </p>
*/
inline CertificateDetail& WithRevocationReason(RevocationReason&& value) { SetRevocationReason(std::move(value)); return *this;}
/**
* <p>The time before which the certificate is not valid.</p>
*/
inline const Aws::Utils::DateTime& GetNotBefore() const{ return m_notBefore; }
/**
* <p>The time before which the certificate is not valid.</p>
*/
inline bool NotBeforeHasBeenSet() const { return m_notBeforeHasBeenSet; }
/**
* <p>The time before which the certificate is not valid.</p>
*/
inline void SetNotBefore(const Aws::Utils::DateTime& value) { m_notBeforeHasBeenSet = true; m_notBefore = value; }
/**
* <p>The time before which the certificate is not valid.</p>
*/
inline void SetNotBefore(Aws::Utils::DateTime&& value) { m_notBeforeHasBeenSet = true; m_notBefore = std::move(value); }
/**
* <p>The time before which the certificate is not valid.</p>
*/
inline CertificateDetail& WithNotBefore(const Aws::Utils::DateTime& value) { SetNotBefore(value); return *this;}
/**
* <p>The time before which the certificate is not valid.</p>
*/
inline CertificateDetail& WithNotBefore(Aws::Utils::DateTime&& value) { SetNotBefore(std::move(value)); return *this;}
/**
* <p>The time after which the certificate is not valid.</p>
*/
inline const Aws::Utils::DateTime& GetNotAfter() const{ return m_notAfter; }
/**
* <p>The time after which the certificate is not valid.</p>
*/
inline bool NotAfterHasBeenSet() const { return m_notAfterHasBeenSet; }
/**
* <p>The time after which the certificate is not valid.</p>
*/
inline void SetNotAfter(const Aws::Utils::DateTime& value) { m_notAfterHasBeenSet = true; m_notAfter = value; }
/**
* <p>The time after which the certificate is not valid.</p>
*/
inline void SetNotAfter(Aws::Utils::DateTime&& value) { m_notAfterHasBeenSet = true; m_notAfter = std::move(value); }
/**
* <p>The time after which the certificate is not valid.</p>
*/
inline CertificateDetail& WithNotAfter(const Aws::Utils::DateTime& value) { SetNotAfter(value); return *this;}
/**
* <p>The time after which the certificate is not valid.</p>
*/
inline CertificateDetail& WithNotAfter(Aws::Utils::DateTime&& value) { SetNotAfter(std::move(value)); return *this;}
/**
* <p>The algorithm that was used to generate the public-private key pair.</p>
*/
inline const KeyAlgorithm& GetKeyAlgorithm() const{ return m_keyAlgorithm; }
/**
* <p>The algorithm that was used to generate the public-private key pair.</p>
*/
inline bool KeyAlgorithmHasBeenSet() const { return m_keyAlgorithmHasBeenSet; }
/**
* <p>The algorithm that was used to generate the public-private key pair.</p>
*/
inline void SetKeyAlgorithm(const KeyAlgorithm& value) { m_keyAlgorithmHasBeenSet = true; m_keyAlgorithm = value; }
/**
* <p>The algorithm that was used to generate the public-private key pair.</p>
*/
inline void SetKeyAlgorithm(KeyAlgorithm&& value) { m_keyAlgorithmHasBeenSet = true; m_keyAlgorithm = std::move(value); }
/**
* <p>The algorithm that was used to generate the public-private key pair.</p>
*/
inline CertificateDetail& WithKeyAlgorithm(const KeyAlgorithm& value) { SetKeyAlgorithm(value); return *this;}
/**
* <p>The algorithm that was used to generate the public-private key pair.</p>
*/
inline CertificateDetail& WithKeyAlgorithm(KeyAlgorithm&& value) { SetKeyAlgorithm(std::move(value)); return *this;}
/**
* <p>The algorithm that was used to sign the certificate.</p>
*/
inline const Aws::String& GetSignatureAlgorithm() const{ return m_signatureAlgorithm; }
/**
* <p>The algorithm that was used to sign the certificate.</p>
*/
inline bool SignatureAlgorithmHasBeenSet() const { return m_signatureAlgorithmHasBeenSet; }
/**
* <p>The algorithm that was used to sign the certificate.</p>
*/
inline void SetSignatureAlgorithm(const Aws::String& value) { m_signatureAlgorithmHasBeenSet = true; m_signatureAlgorithm = value; }
/**
* <p>The algorithm that was used to sign the certificate.</p>
*/
inline void SetSignatureAlgorithm(Aws::String&& value) { m_signatureAlgorithmHasBeenSet = true; m_signatureAlgorithm = std::move(value); }
/**
* <p>The algorithm that was used to sign the certificate.</p>
*/
inline void SetSignatureAlgorithm(const char* value) { m_signatureAlgorithmHasBeenSet = true; m_signatureAlgorithm.assign(value); }
/**
* <p>The algorithm that was used to sign the certificate.</p>
*/
inline CertificateDetail& WithSignatureAlgorithm(const Aws::String& value) { SetSignatureAlgorithm(value); return *this;}
/**
* <p>The algorithm that was used to sign the certificate.</p>
*/
inline CertificateDetail& WithSignatureAlgorithm(Aws::String&& value) { SetSignatureAlgorithm(std::move(value)); return *this;}
/**
* <p>The algorithm that was used to sign the certificate.</p>
*/
inline CertificateDetail& WithSignatureAlgorithm(const char* value) { SetSignatureAlgorithm(value); return *this;}
/**
* <p>A list of ARNs for the AWS resources that are using the certificate. A
* certificate can be used by multiple AWS resources. </p>
*/
inline const Aws::Vector<Aws::String>& GetInUseBy() const{ return m_inUseBy; }
/**
* <p>A list of ARNs for the AWS resources that are using the certificate. A
* certificate can be used by multiple AWS resources. </p>
*/
inline bool InUseByHasBeenSet() const { return m_inUseByHasBeenSet; }
/**
* <p>A list of ARNs for the AWS resources that are using the certificate. A
* certificate can be used by multiple AWS resources. </p>
*/
inline void SetInUseBy(const Aws::Vector<Aws::String>& value) { m_inUseByHasBeenSet = true; m_inUseBy = value; }
/**
* <p>A list of ARNs for the AWS resources that are using the certificate. A
* certificate can be used by multiple AWS resources. </p>
*/
inline void SetInUseBy(Aws::Vector<Aws::String>&& value) { m_inUseByHasBeenSet = true; m_inUseBy = std::move(value); }
/**
* <p>A list of ARNs for the AWS resources that are using the certificate. A
* certificate can be used by multiple AWS resources. </p>
*/
inline CertificateDetail& WithInUseBy(const Aws::Vector<Aws::String>& value) { SetInUseBy(value); return *this;}
/**
* <p>A list of ARNs for the AWS resources that are using the certificate. A
* certificate can be used by multiple AWS resources. </p>
*/
inline CertificateDetail& WithInUseBy(Aws::Vector<Aws::String>&& value) { SetInUseBy(std::move(value)); return *this;}
/**
* <p>A list of ARNs for the AWS resources that are using the certificate. A
* certificate can be used by multiple AWS resources. </p>
*/
inline CertificateDetail& AddInUseBy(const Aws::String& value) { m_inUseByHasBeenSet = true; m_inUseBy.push_back(value); return *this; }
/**
* <p>A list of ARNs for the AWS resources that are using the certificate. A
* certificate can be used by multiple AWS resources. </p>
*/
inline CertificateDetail& AddInUseBy(Aws::String&& value) { m_inUseByHasBeenSet = true; m_inUseBy.push_back(std::move(value)); return *this; }
/**
* <p>A list of ARNs for the AWS resources that are using the certificate. A
* certificate can be used by multiple AWS resources. </p>
*/
inline CertificateDetail& AddInUseBy(const char* value) { m_inUseByHasBeenSet = true; m_inUseBy.push_back(value); return *this; }
/**
* <p>The reason the certificate request failed. This value exists only when the
* certificate status is <code>FAILED</code>. For more information, see <a
* href="https://docs.aws.amazon.com/acm/latest/userguide/troubleshooting.html#troubleshooting-failed">Certificate
* Request Failed</a> in the <i>AWS Certificate Manager User Guide</i>. </p>
*/
inline const FailureReason& GetFailureReason() const{ return m_failureReason; }
/**
* <p>The reason the certificate request failed. This value exists only when the
* certificate status is <code>FAILED</code>. For more information, see <a
* href="https://docs.aws.amazon.com/acm/latest/userguide/troubleshooting.html#troubleshooting-failed">Certificate
* Request Failed</a> in the <i>AWS Certificate Manager User Guide</i>. </p>
*/
inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
/**
* <p>The reason the certificate request failed. This value exists only when the
* certificate status is <code>FAILED</code>. For more information, see <a
* href="https://docs.aws.amazon.com/acm/latest/userguide/troubleshooting.html#troubleshooting-failed">Certificate
* Request Failed</a> in the <i>AWS Certificate Manager User Guide</i>. </p>
*/
inline void SetFailureReason(const FailureReason& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
/**
* <p>The reason the certificate request failed. This value exists only when the
* certificate status is <code>FAILED</code>. For more information, see <a
* href="https://docs.aws.amazon.com/acm/latest/userguide/troubleshooting.html#troubleshooting-failed">Certificate
* Request Failed</a> in the <i>AWS Certificate Manager User Guide</i>. </p>
*/
inline void SetFailureReason(FailureReason&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
/**
* <p>The reason the certificate request failed. This value exists only when the
* certificate status is <code>FAILED</code>. For more information, see <a
* href="https://docs.aws.amazon.com/acm/latest/userguide/troubleshooting.html#troubleshooting-failed">Certificate
* Request Failed</a> in the <i>AWS Certificate Manager User Guide</i>. </p>
*/
inline CertificateDetail& WithFailureReason(const FailureReason& value) { SetFailureReason(value); return *this;}
/**
* <p>The reason the certificate request failed. This value exists only when the
* certificate status is <code>FAILED</code>. For more information, see <a
* href="https://docs.aws.amazon.com/acm/latest/userguide/troubleshooting.html#troubleshooting-failed">Certificate
* Request Failed</a> in the <i>AWS Certificate Manager User Guide</i>. </p>
*/
inline CertificateDetail& WithFailureReason(FailureReason&& value) { SetFailureReason(std::move(value)); return *this;}
/**
* <p>The source of the certificate. For certificates provided by ACM, this value
* is <code>AMAZON_ISSUED</code>. For certificates that you imported with
* <a>ImportCertificate</a>, this value is <code>IMPORTED</code>. ACM does not
* provide <a
* href="https://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html">managed
* renewal</a> for imported certificates. For more information about the
* differences between certificates that you import and those that ACM provides,
* see <a
* href="https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html">Importing
* Certificates</a> in the <i>AWS Certificate Manager User Guide</i>. </p>
*/
inline const CertificateType& GetType() const{ return m_type; }
/**
* <p>The source of the certificate. For certificates provided by ACM, this value
* is <code>AMAZON_ISSUED</code>. For certificates that you imported with
* <a>ImportCertificate</a>, this value is <code>IMPORTED</code>. ACM does not
* provide <a
* href="https://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html">managed
* renewal</a> for imported certificates. For more information about the
* differences between certificates that you import and those that ACM provides,
* see <a
* href="https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html">Importing
* Certificates</a> in the <i>AWS Certificate Manager User Guide</i>. </p>
*/
inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
/**
* <p>The source of the certificate. For certificates provided by ACM, this value
* is <code>AMAZON_ISSUED</code>. For certificates that you imported with
* <a>ImportCertificate</a>, this value is <code>IMPORTED</code>. ACM does not
* provide <a
* href="https://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html">managed
* renewal</a> for imported certificates. For more information about the
* differences between certificates that you import and those that ACM provides,
* see <a
* href="https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html">Importing
* Certificates</a> in the <i>AWS Certificate Manager User Guide</i>. </p>
*/
inline void SetType(const CertificateType& value) { m_typeHasBeenSet = true; m_type = value; }
/**
* <p>The source of the certificate. For certificates provided by ACM, this value
* is <code>AMAZON_ISSUED</code>. For certificates that you imported with
* <a>ImportCertificate</a>, this value is <code>IMPORTED</code>. ACM does not
* provide <a
* href="https://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html">managed
* renewal</a> for imported certificates. For more information about the
* differences between certificates that you import and those that ACM provides,
* see <a
* href="https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html">Importing
* Certificates</a> in the <i>AWS Certificate Manager User Guide</i>. </p>
*/
inline void SetType(CertificateType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
/**
* <p>The source of the certificate. For certificates provided by ACM, this value
* is <code>AMAZON_ISSUED</code>. For certificates that you imported with
* <a>ImportCertificate</a>, this value is <code>IMPORTED</code>. ACM does not
* provide <a
* href="https://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html">managed
* renewal</a> for imported certificates. For more information about the
* differences between certificates that you import and those that ACM provides,
* see <a
* href="https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html">Importing
* Certificates</a> in the <i>AWS Certificate Manager User Guide</i>. </p>
*/
inline CertificateDetail& WithType(const CertificateType& value) { SetType(value); return *this;}
/**
* <p>The source of the certificate. For certificates provided by ACM, this value
* is <code>AMAZON_ISSUED</code>. For certificates that you imported with
* <a>ImportCertificate</a>, this value is <code>IMPORTED</code>. ACM does not
* provide <a
* href="https://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html">managed
* renewal</a> for imported certificates. For more information about the
* differences between certificates that you import and those that ACM provides,
* see <a
* href="https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html">Importing
* Certificates</a> in the <i>AWS Certificate Manager User Guide</i>. </p>
*/
inline CertificateDetail& WithType(CertificateType&& value) { SetType(std::move(value)); return *this;}
/**
* <p>Contains information about the status of ACM's <a
* href="https://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html">managed
* renewal</a> for the certificate. This field exists only when the certificate
* type is <code>AMAZON_ISSUED</code>.</p>
*/
inline const RenewalSummary& GetRenewalSummary() const{ return m_renewalSummary; }
/**
* <p>Contains information about the status of ACM's <a
* href="https://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html">managed
* renewal</a> for the certificate. This field exists only when the certificate
* type is <code>AMAZON_ISSUED</code>.</p>
*/
inline bool RenewalSummaryHasBeenSet() const { return m_renewalSummaryHasBeenSet; }
/**
* <p>Contains information about the status of ACM's <a
* href="https://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html">managed
* renewal</a> for the certificate. This field exists only when the certificate
* type is <code>AMAZON_ISSUED</code>.</p>
*/
inline void SetRenewalSummary(const RenewalSummary& value) { m_renewalSummaryHasBeenSet = true; m_renewalSummary = value; }
/**
* <p>Contains information about the status of ACM's <a
* href="https://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html">managed
* renewal</a> for the certificate. This field exists only when the certificate
* type is <code>AMAZON_ISSUED</code>.</p>
*/
inline void SetRenewalSummary(RenewalSummary&& value) { m_renewalSummaryHasBeenSet = true; m_renewalSummary = std::move(value); }
/**
* <p>Contains information about the status of ACM's <a
* href="https://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html">managed
* renewal</a> for the certificate. This field exists only when the certificate
* type is <code>AMAZON_ISSUED</code>.</p>
*/
inline CertificateDetail& WithRenewalSummary(const RenewalSummary& value) { SetRenewalSummary(value); return *this;}
/**
* <p>Contains information about the status of ACM's <a
* href="https://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html">managed
* renewal</a> for the certificate. This field exists only when the certificate
* type is <code>AMAZON_ISSUED</code>.</p>
*/
inline CertificateDetail& WithRenewalSummary(RenewalSummary&& value) { SetRenewalSummary(std::move(value)); return *this;}
/**
* <p>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.</p>
*/
inline const Aws::Vector<KeyUsage>& GetKeyUsages() const{ return m_keyUsages; }
/**
* <p>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.</p>
*/
inline bool KeyUsagesHasBeenSet() const { return m_keyUsagesHasBeenSet; }
/**
* <p>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.</p>
*/
inline void SetKeyUsages(const Aws::Vector<KeyUsage>& value) { m_keyUsagesHasBeenSet = true; m_keyUsages = value; }
/**
* <p>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.</p>
*/
inline void SetKeyUsages(Aws::Vector<KeyUsage>&& value) { m_keyUsagesHasBeenSet = true; m_keyUsages = std::move(value); }
/**
* <p>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.</p>
*/
inline CertificateDetail& WithKeyUsages(const Aws::Vector<KeyUsage>& value) { SetKeyUsages(value); return *this;}
/**
* <p>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.</p>
*/
inline CertificateDetail& WithKeyUsages(Aws::Vector<KeyUsage>&& value) { SetKeyUsages(std::move(value)); return *this;}
/**
* <p>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.</p>
*/
inline CertificateDetail& AddKeyUsages(const KeyUsage& value) { m_keyUsagesHasBeenSet = true; m_keyUsages.push_back(value); return *this; }
/**
* <p>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.</p>
*/
inline CertificateDetail& AddKeyUsages(KeyUsage&& value) { m_keyUsagesHasBeenSet = true; m_keyUsages.push_back(std::move(value)); return *this; }
/**
* <p>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). </p>
*/
inline const Aws::Vector<ExtendedKeyUsage>& GetExtendedKeyUsages() const{ return m_extendedKeyUsages; }
/**
* <p>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). </p>
*/
inline bool ExtendedKeyUsagesHasBeenSet() const { return m_extendedKeyUsagesHasBeenSet; }
/**
* <p>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). </p>
*/
inline void SetExtendedKeyUsages(const Aws::Vector<ExtendedKeyUsage>& value) { m_extendedKeyUsagesHasBeenSet = true; m_extendedKeyUsages = value; }
/**
* <p>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). </p>
*/
inline void SetExtendedKeyUsages(Aws::Vector<ExtendedKeyUsage>&& value) { m_extendedKeyUsagesHasBeenSet = true; m_extendedKeyUsages = std::move(value); }
/**
* <p>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). </p>
*/
inline CertificateDetail& WithExtendedKeyUsages(const Aws::Vector<ExtendedKeyUsage>& value) { SetExtendedKeyUsages(value); return *this;}
/**
* <p>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). </p>
*/
inline CertificateDetail& WithExtendedKeyUsages(Aws::Vector<ExtendedKeyUsage>&& value) { SetExtendedKeyUsages(std::move(value)); return *this;}
/**
* <p>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). </p>
*/
inline CertificateDetail& AddExtendedKeyUsages(const ExtendedKeyUsage& value) { m_extendedKeyUsagesHasBeenSet = true; m_extendedKeyUsages.push_back(value); return *this; }
/**
* <p>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). </p>
*/
inline CertificateDetail& AddExtendedKeyUsages(ExtendedKeyUsage&& value) { m_extendedKeyUsagesHasBeenSet = true; m_extendedKeyUsages.push_back(std::move(value)); return *this; }
/**
* <p>The Amazon Resource Name (ARN) of the ACM PCA private certificate authority
* (CA) that issued the certificate. This has the following format: </p> <p>
* <code>arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012</code>
* </p>
*/
inline const Aws::String& GetCertificateAuthorityArn() const{ return m_certificateAuthorityArn; }
/**
* <p>The Amazon Resource Name (ARN) of the ACM PCA private certificate authority
* (CA) that issued the certificate. This has the following format: </p> <p>
* <code>arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012</code>
* </p>
*/
inline bool CertificateAuthorityArnHasBeenSet() const { return m_certificateAuthorityArnHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the ACM PCA private certificate authority
* (CA) that issued the certificate. This has the following format: </p> <p>
* <code>arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012</code>
* </p>
*/
inline void SetCertificateAuthorityArn(const Aws::String& value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn = value; }
/**
* <p>The Amazon Resource Name (ARN) of the ACM PCA private certificate authority
* (CA) that issued the certificate. This has the following format: </p> <p>
* <code>arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012</code>
* </p>
*/
inline void SetCertificateAuthorityArn(Aws::String&& value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the ACM PCA private certificate authority
* (CA) that issued the certificate. This has the following format: </p> <p>
* <code>arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012</code>
* </p>
*/
inline void SetCertificateAuthorityArn(const char* value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the ACM PCA private certificate authority
* (CA) that issued the certificate. This has the following format: </p> <p>
* <code>arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012</code>
* </p>
*/
inline CertificateDetail& WithCertificateAuthorityArn(const Aws::String& value) { SetCertificateAuthorityArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the ACM PCA private certificate authority
* (CA) that issued the certificate. This has the following format: </p> <p>
* <code>arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012</code>
* </p>
*/
inline CertificateDetail& WithCertificateAuthorityArn(Aws::String&& value) { SetCertificateAuthorityArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the ACM PCA private certificate authority
* (CA) that issued the certificate. This has the following format: </p> <p>
* <code>arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012</code>
* </p>
*/
inline CertificateDetail& WithCertificateAuthorityArn(const char* value) { SetCertificateAuthorityArn(value); return *this;}
/**
* <p>Specifies whether the certificate is eligible for renewal. At this time, only
* exported private certificates can be renewed with the <a>RenewCertificate</a>
* command.</p>
*/
inline const RenewalEligibility& GetRenewalEligibility() const{ return m_renewalEligibility; }
/**
* <p>Specifies whether the certificate is eligible for renewal. At this time, only
* exported private certificates can be renewed with the <a>RenewCertificate</a>
* command.</p>
*/
inline bool RenewalEligibilityHasBeenSet() const { return m_renewalEligibilityHasBeenSet; }
/**
* <p>Specifies whether the certificate is eligible for renewal. At this time, only
* exported private certificates can be renewed with the <a>RenewCertificate</a>
* command.</p>
*/
inline void SetRenewalEligibility(const RenewalEligibility& value) { m_renewalEligibilityHasBeenSet = true; m_renewalEligibility = value; }
/**
* <p>Specifies whether the certificate is eligible for renewal. At this time, only
* exported private certificates can be renewed with the <a>RenewCertificate</a>
* command.</p>
*/
inline void SetRenewalEligibility(RenewalEligibility&& value) { m_renewalEligibilityHasBeenSet = true; m_renewalEligibility = std::move(value); }
/**
* <p>Specifies whether the certificate is eligible for renewal. At this time, only
* exported private certificates can be renewed with the <a>RenewCertificate</a>
* command.</p>
*/
inline CertificateDetail& WithRenewalEligibility(const RenewalEligibility& value) { SetRenewalEligibility(value); return *this;}
/**
* <p>Specifies whether the certificate is eligible for renewal. At this time, only
* exported private certificates can be renewed with the <a>RenewCertificate</a>
* command.</p>
*/
inline CertificateDetail& WithRenewalEligibility(RenewalEligibility&& value) { SetRenewalEligibility(std::move(value)); return *this;}
/**
* <p>Value that specifies whether to add the certificate to a transparency log.
* Certificate transparency makes it possible to detect SSL certificates that have
* been mistakenly or maliciously issued. A browser might respond to certificate
* that has not been logged by showing an error message. The logs are
* cryptographically secure. </p>
*/
inline const CertificateOptions& GetOptions() const{ return m_options; }
/**
* <p>Value that specifies whether to add the certificate to a transparency log.
* Certificate transparency makes it possible to detect SSL certificates that have
* been mistakenly or maliciously issued. A browser might respond to certificate
* that has not been logged by showing an error message. The logs are
* cryptographically secure. </p>
*/
inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
/**
* <p>Value that specifies whether to add the certificate to a transparency log.
* Certificate transparency makes it possible to detect SSL certificates that have
* been mistakenly or maliciously issued. A browser might respond to certificate
* that has not been logged by showing an error message. The logs are
* cryptographically secure. </p>
*/
inline void SetOptions(const CertificateOptions& value) { m_optionsHasBeenSet = true; m_options = value; }
/**
* <p>Value that specifies whether to add the certificate to a transparency log.
* Certificate transparency makes it possible to detect SSL certificates that have
* been mistakenly or maliciously issued. A browser might respond to certificate
* that has not been logged by showing an error message. The logs are
* cryptographically secure. </p>
*/
inline void SetOptions(CertificateOptions&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); }
/**
* <p>Value that specifies whether to add the certificate to a transparency log.
* Certificate transparency makes it possible to detect SSL certificates that have
* been mistakenly or maliciously issued. A browser might respond to certificate
* that has not been logged by showing an error message. The logs are
* cryptographically secure. </p>
*/
inline CertificateDetail& WithOptions(const CertificateOptions& value) { SetOptions(value); return *this;}
/**
* <p>Value that specifies whether to add the certificate to a transparency log.
* Certificate transparency makes it possible to detect SSL certificates that have
* been mistakenly or maliciously issued. A browser might respond to certificate
* that has not been logged by showing an error message. The logs are
* cryptographically secure. </p>
*/
inline CertificateDetail& WithOptions(CertificateOptions&& value) { SetOptions(std::move(value)); return *this;}
private:
Aws::String m_certificateArn;
bool m_certificateArnHasBeenSet;
Aws::String m_domainName;
bool m_domainNameHasBeenSet;
Aws::Vector<Aws::String> m_subjectAlternativeNames;
bool m_subjectAlternativeNamesHasBeenSet;
Aws::Vector<DomainValidation> m_domainValidationOptions;
bool m_domainValidationOptionsHasBeenSet;
Aws::String m_serial;
bool m_serialHasBeenSet;
Aws::String m_subject;
bool m_subjectHasBeenSet;
Aws::String m_issuer;
bool m_issuerHasBeenSet;
Aws::Utils::DateTime m_createdAt;
bool m_createdAtHasBeenSet;
Aws::Utils::DateTime m_issuedAt;
bool m_issuedAtHasBeenSet;
Aws::Utils::DateTime m_importedAt;
bool m_importedAtHasBeenSet;
CertificateStatus m_status;
bool m_statusHasBeenSet;
Aws::Utils::DateTime m_revokedAt;
bool m_revokedAtHasBeenSet;
RevocationReason m_revocationReason;
bool m_revocationReasonHasBeenSet;
Aws::Utils::DateTime m_notBefore;
bool m_notBeforeHasBeenSet;
Aws::Utils::DateTime m_notAfter;
bool m_notAfterHasBeenSet;
KeyAlgorithm m_keyAlgorithm;
bool m_keyAlgorithmHasBeenSet;
Aws::String m_signatureAlgorithm;
bool m_signatureAlgorithmHasBeenSet;
Aws::Vector<Aws::String> m_inUseBy;
bool m_inUseByHasBeenSet;
FailureReason m_failureReason;
bool m_failureReasonHasBeenSet;
CertificateType m_type;
bool m_typeHasBeenSet;
RenewalSummary m_renewalSummary;
bool m_renewalSummaryHasBeenSet;
Aws::Vector<KeyUsage> m_keyUsages;
bool m_keyUsagesHasBeenSet;
Aws::Vector<ExtendedKeyUsage> m_extendedKeyUsages;
bool m_extendedKeyUsagesHasBeenSet;
Aws::String m_certificateAuthorityArn;
bool m_certificateAuthorityArnHasBeenSet;
RenewalEligibility m_renewalEligibility;
bool m_renewalEligibilityHasBeenSet;
CertificateOptions m_options;
bool m_optionsHasBeenSet;
};
} // namespace Model
} // namespace ACM
} // namespace Aws