7#include <aws/acm/ACM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/acm/model/CertificateManagedBy.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/acm/model/CertificateStatus.h>
13#include <aws/acm/model/RevocationReason.h>
14#include <aws/acm/model/KeyAlgorithm.h>
15#include <aws/acm/model/FailureReason.h>
16#include <aws/acm/model/CertificateType.h>
17#include <aws/acm/model/RenewalSummary.h>
18#include <aws/acm/model/RenewalEligibility.h>
19#include <aws/acm/model/CertificateOptions.h>
20#include <aws/acm/model/DomainValidation.h>
21#include <aws/acm/model/KeyUsage.h>
22#include <aws/acm/model/ExtendedKeyUsage.h>
65 template<
typename CertificateArnT = Aws::String>
66 void SetCertificateArn(CertificateArnT&& value) { m_certificateArnHasBeenSet =
true; m_certificateArn = std::forward<CertificateArnT>(value); }
67 template<
typename CertificateArnT = Aws::String>
78 template<
typename DomainNameT = Aws::String>
79 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet =
true; m_domainName = std::forward<DomainNameT>(value); }
80 template<
typename DomainNameT = Aws::String>
94 template<
typename SubjectAlternativeNamesT = Aws::Vector<Aws::String>>
95 void SetSubjectAlternativeNames(SubjectAlternativeNamesT&& value) { m_subjectAlternativeNamesHasBeenSet =
true; m_subjectAlternativeNames = std::forward<SubjectAlternativeNamesT>(value); }
96 template<
typename SubjectAlternativeNamesT = Aws::Vector<Aws::String>>
98 template<
typename SubjectAlternativeNamesT = Aws::String>
99 CertificateDetail&
AddSubjectAlternativeNames(SubjectAlternativeNamesT&& value) { m_subjectAlternativeNamesHasBeenSet =
true; m_subjectAlternativeNames.emplace_back(std::forward<SubjectAlternativeNamesT>(value));
return *
this; }
121 template<
typename DomainVal
idationOptionsT = Aws::Vector<DomainVal
idation>>
122 void SetDomainValidationOptions(DomainValidationOptionsT&& value) { m_domainValidationOptionsHasBeenSet =
true; m_domainValidationOptions = std::forward<DomainValidationOptionsT>(value); }
123 template<
typename DomainVal
idationOptionsT = Aws::Vector<DomainVal
idation>>
125 template<
typename DomainVal
idationOptionsT = DomainVal
idation>
126 CertificateDetail&
AddDomainValidationOptions(DomainValidationOptionsT&& value) { m_domainValidationOptionsHasBeenSet =
true; m_domainValidationOptions.emplace_back(std::forward<DomainValidationOptionsT>(value));
return *
this; }
135 template<
typename SerialT = Aws::String>
136 void SetSerial(SerialT&& value) { m_serialHasBeenSet =
true; m_serial = std::forward<SerialT>(value); }
137 template<
typename SerialT = Aws::String>
148 template<
typename SubjectT = Aws::String>
149 void SetSubject(SubjectT&& value) { m_subjectHasBeenSet =
true; m_subject = std::forward<SubjectT>(value); }
150 template<
typename SubjectT = Aws::String>
161 template<
typename IssuerT = Aws::String>
162 void SetIssuer(IssuerT&& value) { m_issuerHasBeenSet =
true; m_issuer = std::forward<IssuerT>(value); }
163 template<
typename IssuerT = Aws::String>
173 template<
typename CreatedAtT = Aws::Utils::DateTime>
174 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
175 template<
typename CreatedAtT = Aws::Utils::DateTime>
186 template<
typename IssuedAtT = Aws::Utils::DateTime>
187 void SetIssuedAt(IssuedAtT&& value) { m_issuedAtHasBeenSet =
true; m_issuedAt = std::forward<IssuedAtT>(value); }
188 template<
typename IssuedAtT = Aws::Utils::DateTime>
199 template<
typename ImportedAtT = Aws::Utils::DateTime>
200 void SetImportedAt(ImportedAtT&& value) { m_importedAtHasBeenSet =
true; m_importedAt = std::forward<ImportedAtT>(value); }
201 template<
typename ImportedAtT = Aws::Utils::DateTime>
233 template<
typename RevokedAtT = Aws::Utils::DateTime>
234 void SetRevokedAt(RevokedAtT&& value) { m_revokedAtHasBeenSet =
true; m_revokedAt = std::forward<RevokedAtT>(value); }
235 template<
typename RevokedAtT = Aws::Utils::DateTime>
256 template<
typename NotBeforeT = Aws::Utils::DateTime>
257 void SetNotBefore(NotBeforeT&& value) { m_notBeforeHasBeenSet =
true; m_notBefore = std::forward<NotBeforeT>(value); }
258 template<
typename NotBeforeT = Aws::Utils::DateTime>
268 template<
typename NotAfterT = Aws::Utils::DateTime>
269 void SetNotAfter(NotAfterT&& value) { m_notAfterHasBeenSet =
true; m_notAfter = std::forward<NotAfterT>(value); }
270 template<
typename NotAfterT = Aws::Utils::DateTime>
290 template<
typename SignatureAlgorithmT = Aws::String>
291 void SetSignatureAlgorithm(SignatureAlgorithmT&& value) { m_signatureAlgorithmHasBeenSet =
true; m_signatureAlgorithm = std::forward<SignatureAlgorithmT>(value); }
292 template<
typename SignatureAlgorithmT = Aws::String>
304 template<
typename InUseByT = Aws::Vector<Aws::String>>
305 void SetInUseBy(InUseByT&& value) { m_inUseByHasBeenSet =
true; m_inUseBy = std::forward<InUseByT>(value); }
306 template<
typename InUseByT = Aws::Vector<Aws::String>>
308 template<
typename InUseByT = Aws::String>
309 CertificateDetail&
AddInUseBy(InUseByT&& value) { m_inUseByHasBeenSet =
true; m_inUseBy.emplace_back(std::forward<InUseByT>(value));
return *
this; }
353 template<
typename RenewalSummaryT = RenewalSummary>
354 void SetRenewalSummary(RenewalSummaryT&& value) { m_renewalSummaryHasBeenSet =
true; m_renewalSummary = std::forward<RenewalSummaryT>(value); }
355 template<
typename RenewalSummaryT = RenewalSummary>
368 template<
typename KeyUsagesT = Aws::Vector<KeyUsage>>
369 void SetKeyUsages(KeyUsagesT&& value) { m_keyUsagesHasBeenSet =
true; m_keyUsages = std::forward<KeyUsagesT>(value); }
370 template<
typename KeyUsagesT = Aws::Vector<KeyUsage>>
372 template<
typename KeyUsagesT = KeyUsage>
373 CertificateDetail&
AddKeyUsages(KeyUsagesT&& value) { m_keyUsagesHasBeenSet =
true; m_keyUsages.emplace_back(std::forward<KeyUsagesT>(value));
return *
this; }
384 template<
typename ExtendedKeyUsagesT = Aws::Vector<ExtendedKeyUsage>>
385 void SetExtendedKeyUsages(ExtendedKeyUsagesT&& value) { m_extendedKeyUsagesHasBeenSet =
true; m_extendedKeyUsages = std::forward<ExtendedKeyUsagesT>(value); }
386 template<
typename ExtendedKeyUsagesT = Aws::Vector<ExtendedKeyUsage>>
388 template<
typename ExtendedKeyUsagesT = ExtendedKeyUsage>
389 CertificateDetail&
AddExtendedKeyUsages(ExtendedKeyUsagesT&& value) { m_extendedKeyUsagesHasBeenSet =
true; m_extendedKeyUsages.emplace_back(std::forward<ExtendedKeyUsagesT>(value));
return *
this; }
401 template<
typename CertificateAuthorityArnT = Aws::String>
402 void SetCertificateAuthorityArn(CertificateAuthorityArnT&& value) { m_certificateAuthorityArnHasBeenSet =
true; m_certificateAuthorityArn = std::forward<CertificateAuthorityArnT>(value); }
403 template<
typename CertificateAuthorityArnT = Aws::String>
429 template<
typename OptionsT = CertificateOptions>
430 void SetOptions(OptionsT&& value) { m_optionsHasBeenSet =
true; m_options = std::forward<OptionsT>(value); }
431 template<
typename OptionsT = CertificateOptions>
437 bool m_certificateArnHasBeenSet =
false;
440 bool m_domainNameHasBeenSet =
false;
443 bool m_subjectAlternativeNamesHasBeenSet =
false;
446 bool m_managedByHasBeenSet =
false;
449 bool m_domainValidationOptionsHasBeenSet =
false;
452 bool m_serialHasBeenSet =
false;
455 bool m_subjectHasBeenSet =
false;
458 bool m_issuerHasBeenSet =
false;
461 bool m_createdAtHasBeenSet =
false;
464 bool m_issuedAtHasBeenSet =
false;
467 bool m_importedAtHasBeenSet =
false;
470 bool m_statusHasBeenSet =
false;
473 bool m_revokedAtHasBeenSet =
false;
476 bool m_revocationReasonHasBeenSet =
false;
479 bool m_notBeforeHasBeenSet =
false;
482 bool m_notAfterHasBeenSet =
false;
485 bool m_keyAlgorithmHasBeenSet =
false;
488 bool m_signatureAlgorithmHasBeenSet =
false;
491 bool m_inUseByHasBeenSet =
false;
494 bool m_failureReasonHasBeenSet =
false;
497 bool m_typeHasBeenSet =
false;
499 RenewalSummary m_renewalSummary;
500 bool m_renewalSummaryHasBeenSet =
false;
503 bool m_keyUsagesHasBeenSet =
false;
506 bool m_extendedKeyUsagesHasBeenSet =
false;
509 bool m_certificateAuthorityArnHasBeenSet =
false;
512 bool m_renewalEligibilityHasBeenSet =
false;
514 CertificateOptions m_options;
515 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