7#include <aws/acm/ACM_EXPORTS.h>
8#include <aws/acm/model/CertificateManagedBy.h>
9#include <aws/acm/model/CertificateOptions.h>
10#include <aws/acm/model/CertificateStatus.h>
11#include <aws/acm/model/CertificateType.h>
12#include <aws/acm/model/DomainValidation.h>
13#include <aws/acm/model/ExtendedKeyUsage.h>
14#include <aws/acm/model/FailureReason.h>
15#include <aws/acm/model/KeyAlgorithm.h>
16#include <aws/acm/model/KeyUsage.h>
17#include <aws/acm/model/RenewalEligibility.h>
18#include <aws/acm/model/RenewalSummary.h>
19#include <aws/acm/model/RevocationReason.h>
20#include <aws/core/utils/DateTime.h>
21#include <aws/core/utils/memory/stl/AWSString.h>
22#include <aws/core/utils/memory/stl/AWSVector.h>
59 template <
typename CertificateArnT = Aws::String>
61 m_certificateArnHasBeenSet =
true;
62 m_certificateArn = std::forward<CertificateArnT>(value);
64 template <
typename CertificateArnT = Aws::String>
78 template <
typename DomainNameT = Aws::String>
80 m_domainNameHasBeenSet =
true;
81 m_domainName = std::forward<DomainNameT>(value);
83 template <
typename DomainNameT = Aws::String>
100 template <
typename SubjectAlternativeNamesT = Aws::Vector<Aws::String>>
102 m_subjectAlternativeNamesHasBeenSet =
true;
103 m_subjectAlternativeNames = std::forward<SubjectAlternativeNamesT>(value);
105 template <
typename SubjectAlternativeNamesT = Aws::Vector<Aws::String>>
110 template <
typename SubjectAlternativeNamesT = Aws::String>
112 m_subjectAlternativeNamesHasBeenSet =
true;
113 m_subjectAlternativeNames.emplace_back(std::forward<SubjectAlternativeNamesT>(value));
126 m_managedByHasBeenSet =
true;
143 template <
typename DomainVal
idationOptionsT = Aws::Vector<DomainVal
idation>>
145 m_domainValidationOptionsHasBeenSet =
true;
146 m_domainValidationOptions = std::forward<DomainValidationOptionsT>(value);
148 template <
typename DomainVal
idationOptionsT = Aws::Vector<DomainVal
idation>>
153 template <
typename DomainVal
idationOptionsT = DomainVal
idation>
155 m_domainValidationOptionsHasBeenSet =
true;
156 m_domainValidationOptions.emplace_back(std::forward<DomainValidationOptionsT>(value));
167 template <
typename SerialT = Aws::String>
169 m_serialHasBeenSet =
true;
170 m_serial = std::forward<SerialT>(value);
172 template <
typename SerialT = Aws::String>
186 template <
typename SubjectT = Aws::String>
188 m_subjectHasBeenSet =
true;
189 m_subject = std::forward<SubjectT>(value);
191 template <
typename SubjectT = Aws::String>
205 template <
typename IssuerT = Aws::String>
207 m_issuerHasBeenSet =
true;
208 m_issuer = std::forward<IssuerT>(value);
210 template <
typename IssuerT = Aws::String>
223 template <
typename CreatedAtT = Aws::Utils::DateTime>
225 m_createdAtHasBeenSet =
true;
226 m_createdAt = std::forward<CreatedAtT>(value);
228 template <
typename CreatedAtT = Aws::Utils::DateTime>
242 template <
typename IssuedAtT = Aws::Utils::DateTime>
244 m_issuedAtHasBeenSet =
true;
245 m_issuedAt = std::forward<IssuedAtT>(value);
247 template <
typename IssuedAtT = Aws::Utils::DateTime>
261 template <
typename ImportedAtT = Aws::Utils::DateTime>
263 m_importedAtHasBeenSet =
true;
264 m_importedAt = std::forward<ImportedAtT>(value);
266 template <
typename ImportedAtT = Aws::Utils::DateTime>
291 m_statusHasBeenSet =
true;
307 template <
typename RevokedAtT = Aws::Utils::DateTime>
309 m_revokedAtHasBeenSet =
true;
310 m_revokedAt = std::forward<RevokedAtT>(value);
312 template <
typename RevokedAtT = Aws::Utils::DateTime>
327 m_revocationReasonHasBeenSet =
true;
328 m_revocationReason = value;
342 template <
typename NotBeforeT = Aws::Utils::DateTime>
344 m_notBeforeHasBeenSet =
true;
345 m_notBefore = std::forward<NotBeforeT>(value);
347 template <
typename NotBeforeT = Aws::Utils::DateTime>
360 template <
typename NotAfterT = Aws::Utils::DateTime>
362 m_notAfterHasBeenSet =
true;
363 m_notAfter = std::forward<NotAfterT>(value);
365 template <
typename NotAfterT = Aws::Utils::DateTime>
379 m_keyAlgorithmHasBeenSet =
true;
380 m_keyAlgorithm = value;
394 template <
typename SignatureAlgorithmT = Aws::String>
396 m_signatureAlgorithmHasBeenSet =
true;
397 m_signatureAlgorithm = std::forward<SignatureAlgorithmT>(value);
399 template <
typename SignatureAlgorithmT = Aws::String>
414 template <
typename InUseByT = Aws::Vector<Aws::String>>
416 m_inUseByHasBeenSet =
true;
417 m_inUseBy = std::forward<InUseByT>(value);
419 template <
typename InUseByT = Aws::Vector<Aws::String>>
424 template <
typename InUseByT = Aws::String>
426 m_inUseByHasBeenSet =
true;
427 m_inUseBy.emplace_back(std::forward<InUseByT>(value));
442 m_failureReasonHasBeenSet =
true;
443 m_failureReason = value;
467 m_typeHasBeenSet =
true;
485 template <
typename RenewalSummaryT = RenewalSummary>
487 m_renewalSummaryHasBeenSet =
true;
488 m_renewalSummary = std::forward<RenewalSummaryT>(value);
490 template <
typename RenewalSummaryT = RenewalSummary>
506 template <
typename KeyUsagesT = Aws::Vector<KeyUsage>>
508 m_keyUsagesHasBeenSet =
true;
509 m_keyUsages = std::forward<KeyUsagesT>(value);
511 template <
typename KeyUsagesT = Aws::Vector<KeyUsage>>
516 template <
typename KeyUsagesT = KeyUsage>
518 m_keyUsagesHasBeenSet =
true;
519 m_keyUsages.emplace_back(std::forward<KeyUsagesT>(value));
532 template <
typename ExtendedKeyUsagesT = Aws::Vector<ExtendedKeyUsage>>
534 m_extendedKeyUsagesHasBeenSet =
true;
535 m_extendedKeyUsages = std::forward<ExtendedKeyUsagesT>(value);
537 template <
typename ExtendedKeyUsagesT = Aws::Vector<ExtendedKeyUsage>>
542 template <
typename ExtendedKeyUsagesT = ExtendedKeyUsage>
544 m_extendedKeyUsagesHasBeenSet =
true;
545 m_extendedKeyUsages.emplace_back(std::forward<ExtendedKeyUsagesT>(value));
559 template <
typename CertificateAuthorityArnT = Aws::String>
561 m_certificateAuthorityArnHasBeenSet =
true;
562 m_certificateAuthorityArn = std::forward<CertificateAuthorityArnT>(value);
564 template <
typename CertificateAuthorityArnT = Aws::String>
580 m_renewalEligibilityHasBeenSet =
true;
581 m_renewalEligibility = value;
599 template <
typename OptionsT = CertificateOptions>
601 m_optionsHasBeenSet =
true;
602 m_options = std::forward<OptionsT>(value);
604 template <
typename OptionsT = CertificateOptions>
653 RenewalSummary m_renewalSummary;
663 CertificateOptions m_options;
664 bool m_certificateArnHasBeenSet =
false;
665 bool m_domainNameHasBeenSet =
false;
666 bool m_subjectAlternativeNamesHasBeenSet =
false;
667 bool m_managedByHasBeenSet =
false;
668 bool m_domainValidationOptionsHasBeenSet =
false;
669 bool m_serialHasBeenSet =
false;
670 bool m_subjectHasBeenSet =
false;
671 bool m_issuerHasBeenSet =
false;
672 bool m_createdAtHasBeenSet =
false;
673 bool m_issuedAtHasBeenSet =
false;
674 bool m_importedAtHasBeenSet =
false;
675 bool m_statusHasBeenSet =
false;
676 bool m_revokedAtHasBeenSet =
false;
677 bool m_revocationReasonHasBeenSet =
false;
678 bool m_notBeforeHasBeenSet =
false;
679 bool m_notAfterHasBeenSet =
false;
680 bool m_keyAlgorithmHasBeenSet =
false;
681 bool m_signatureAlgorithmHasBeenSet =
false;
682 bool m_inUseByHasBeenSet =
false;
683 bool m_failureReasonHasBeenSet =
false;
684 bool m_typeHasBeenSet =
false;
685 bool m_renewalSummaryHasBeenSet =
false;
686 bool m_keyUsagesHasBeenSet =
false;
687 bool m_extendedKeyUsagesHasBeenSet =
false;
688 bool m_certificateAuthorityArnHasBeenSet =
false;
689 bool m_renewalEligibilityHasBeenSet =
false;
690 bool m_optionsHasBeenSet =
false;
CertificateDetail & WithType(CertificateType value)
const Aws::Utils::DateTime & GetImportedAt() const
void SetSignatureAlgorithm(SignatureAlgorithmT &&value)
AWS_ACM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ACM_API CertificateDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SubjectAlternativeNamesHasBeenSet() const
bool ExtendedKeyUsagesHasBeenSet() const
bool NotBeforeHasBeenSet() const
bool DomainValidationOptionsHasBeenSet() const
bool CreatedAtHasBeenSet() const
CertificateDetail & WithCreatedAt(CreatedAtT &&value)
void SetCertificateArn(CertificateArnT &&value)
const Aws::Vector< Aws::String > & GetSubjectAlternativeNames() const
const Aws::String & GetSignatureAlgorithm() const
CertificateDetail & WithCertificateArn(CertificateArnT &&value)
void SetRevocationReason(RevocationReason value)
AWS_ACM_API CertificateDetail(Aws::Utils::Json::JsonView jsonValue)
bool RenewalEligibilityHasBeenSet() const
CertificateDetail & WithDomainName(DomainNameT &&value)
CertificateDetail & WithImportedAt(ImportedAtT &&value)
bool SignatureAlgorithmHasBeenSet() const
CertificateDetail & WithKeyAlgorithm(KeyAlgorithm value)
CertificateDetail & WithSubject(SubjectT &&value)
CertificateDetail & AddKeyUsages(KeyUsagesT &&value)
const Aws::String & GetIssuer() const
CertificateDetail & WithNotAfter(NotAfterT &&value)
bool StatusHasBeenSet() const
CertificateDetail & WithKeyUsages(KeyUsagesT &&value)
bool CertificateAuthorityArnHasBeenSet() const
void SetKeyAlgorithm(KeyAlgorithm value)
bool RevokedAtHasBeenSet() const
bool RevocationReasonHasBeenSet() const
RenewalEligibility GetRenewalEligibility() const
void SetCreatedAt(CreatedAtT &&value)
void SetIssuedAt(IssuedAtT &&value)
void SetDomainName(DomainNameT &&value)
const Aws::String & GetDomainName() const
CertificateDetail & WithNotBefore(NotBeforeT &&value)
CertificateDetail & WithStatus(CertificateStatus value)
bool FailureReasonHasBeenSet() const
void SetExtendedKeyUsages(ExtendedKeyUsagesT &&value)
bool KeyAlgorithmHasBeenSet() const
CertificateDetail & WithRenewalSummary(RenewalSummaryT &&value)
void SetSubject(SubjectT &&value)
const Aws::Vector< ExtendedKeyUsage > & GetExtendedKeyUsages() const
bool CertificateArnHasBeenSet() const
bool RenewalSummaryHasBeenSet() const
CertificateDetail & WithInUseBy(InUseByT &&value)
bool TypeHasBeenSet() const
CertificateManagedBy GetManagedBy() const
const Aws::Vector< Aws::String > & GetInUseBy() const
CertificateDetail & WithRevokedAt(RevokedAtT &&value)
void SetRevokedAt(RevokedAtT &&value)
CertificateDetail & WithDomainValidationOptions(DomainValidationOptionsT &&value)
void SetFailureReason(FailureReason value)
const RenewalSummary & GetRenewalSummary() const
void SetInUseBy(InUseByT &&value)
CertificateDetail & WithRevocationReason(RevocationReason value)
void SetType(CertificateType value)
void SetNotBefore(NotBeforeT &&value)
bool OptionsHasBeenSet() const
void SetRenewalEligibility(RenewalEligibility value)
const CertificateOptions & GetOptions() const
bool IssuedAtHasBeenSet() const
void SetImportedAt(ImportedAtT &&value)
bool DomainNameHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
bool SubjectHasBeenSet() const
CertificateDetail & WithCertificateAuthorityArn(CertificateAuthorityArnT &&value)
const Aws::Utils::DateTime & GetRevokedAt() const
CertificateDetail & WithManagedBy(CertificateManagedBy value)
const Aws::Utils::DateTime & GetNotBefore() const
void SetNotAfter(NotAfterT &&value)
const Aws::Utils::DateTime & GetNotAfter() const
bool NotAfterHasBeenSet() const
bool ImportedAtHasBeenSet() const
const Aws::Utils::DateTime & GetIssuedAt() const
CertificateDetail & WithExtendedKeyUsages(ExtendedKeyUsagesT &&value)
const Aws::String & GetCertificateArn() const
bool IssuerHasBeenSet() const
AWS_ACM_API CertificateDetail()=default
const Aws::String & GetSerial() const
void SetOptions(OptionsT &&value)
CertificateDetail & AddSubjectAlternativeNames(SubjectAlternativeNamesT &&value)
void SetSubjectAlternativeNames(SubjectAlternativeNamesT &&value)
KeyAlgorithm GetKeyAlgorithm() const
void SetManagedBy(CertificateManagedBy value)
void SetSerial(SerialT &&value)
FailureReason GetFailureReason() const
CertificateDetail & WithSignatureAlgorithm(SignatureAlgorithmT &&value)
void SetStatus(CertificateStatus value)
CertificateDetail & WithIssuedAt(IssuedAtT &&value)
bool ManagedByHasBeenSet() const
CertificateDetail & WithSerial(SerialT &&value)
CertificateDetail & AddExtendedKeyUsages(ExtendedKeyUsagesT &&value)
const Aws::String & GetSubject() const
void SetCertificateAuthorityArn(CertificateAuthorityArnT &&value)
CertificateDetail & AddInUseBy(InUseByT &&value)
CertificateDetail & AddDomainValidationOptions(DomainValidationOptionsT &&value)
void SetDomainValidationOptions(DomainValidationOptionsT &&value)
CertificateDetail & WithFailureReason(FailureReason value)
CertificateType GetType() const
const Aws::String & GetCertificateAuthorityArn() const
CertificateDetail & WithRenewalEligibility(RenewalEligibility value)
bool SerialHasBeenSet() const
void SetRenewalSummary(RenewalSummaryT &&value)
const Aws::Vector< DomainValidation > & GetDomainValidationOptions() const
bool KeyUsagesHasBeenSet() const
CertificateStatus GetStatus() const
void SetIssuer(IssuerT &&value)
bool InUseByHasBeenSet() const
CertificateDetail & WithOptions(OptionsT &&value)
CertificateDetail & WithIssuer(IssuerT &&value)
RevocationReason GetRevocationReason() const
void SetKeyUsages(KeyUsagesT &&value)
const Aws::Vector< KeyUsage > & GetKeyUsages() const
CertificateDetail & WithSubjectAlternativeNames(SubjectAlternativeNamesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue