7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/AwsCertificateManagerCertificateDomainValidationOption.h>
11#include <aws/securityhub/model/AwsCertificateManagerCertificateExtendedKeyUsage.h>
12#include <aws/securityhub/model/AwsCertificateManagerCertificateKeyUsage.h>
13#include <aws/securityhub/model/AwsCertificateManagerCertificateOptions.h>
14#include <aws/securityhub/model/AwsCertificateManagerCertificateRenewalSummary.h>
48 template <
typename CertificateAuthorityArnT = Aws::String>
50 m_certificateAuthorityArnHasBeenSet =
true;
51 m_certificateAuthorityArn = std::forward<CertificateAuthorityArnT>(value);
53 template <
typename CertificateAuthorityArnT = Aws::String>
68 template <
typename CreatedAtT = Aws::String>
70 m_createdAtHasBeenSet =
true;
71 m_createdAt = std::forward<CreatedAtT>(value);
73 template <
typename CreatedAtT = Aws::String>
87 template <
typename DomainNameT = Aws::String>
89 m_domainNameHasBeenSet =
true;
90 m_domainName = std::forward<DomainNameT>(value);
92 template <
typename DomainNameT = Aws::String>
106 return m_domainValidationOptions;
109 template <
typename DomainVal
idationOptionsT = Aws::Vector<AwsCertificateManagerCertificateDomainVal
idationOption>>
111 m_domainValidationOptionsHasBeenSet =
true;
112 m_domainValidationOptions = std::forward<DomainValidationOptionsT>(value);
114 template <
typename DomainVal
idationOptionsT = Aws::Vector<AwsCertificateManagerCertificateDomainVal
idationOption>>
119 template <
typename DomainVal
idationOptionsT = AwsCertificateManagerCertificateDomainVal
idationOption>
121 m_domainValidationOptionsHasBeenSet =
true;
122 m_domainValidationOptions.emplace_back(std::forward<DomainValidationOptionsT>(value));
135 template <
typename ExtendedKeyUsagesT = Aws::Vector<AwsCertificateManagerCertificateExtendedKeyUsage>>
137 m_extendedKeyUsagesHasBeenSet =
true;
138 m_extendedKeyUsages = std::forward<ExtendedKeyUsagesT>(value);
140 template <
typename ExtendedKeyUsagesT = Aws::Vector<AwsCertificateManagerCertificateExtendedKeyUsage>>
145 template <
typename ExtendedKeyUsagesT = AwsCertificateManagerCertificateExtendedKeyUsage>
147 m_extendedKeyUsagesHasBeenSet =
true;
148 m_extendedKeyUsages.emplace_back(std::forward<ExtendedKeyUsagesT>(value));
168 template <
typename FailureReasonT = Aws::String>
170 m_failureReasonHasBeenSet =
true;
171 m_failureReason = std::forward<FailureReasonT>(value);
173 template <
typename FailureReasonT = Aws::String>
189 template <
typename ImportedAtT = Aws::String>
191 m_importedAtHasBeenSet =
true;
192 m_importedAt = std::forward<ImportedAtT>(value);
194 template <
typename ImportedAtT = Aws::String>
208 template <
typename InUseByT = Aws::Vector<Aws::String>>
210 m_inUseByHasBeenSet =
true;
211 m_inUseBy = std::forward<InUseByT>(value);
213 template <
typename InUseByT = Aws::Vector<Aws::String>>
218 template <
typename InUseByT = Aws::String>
220 m_inUseByHasBeenSet =
true;
221 m_inUseBy.emplace_back(std::forward<InUseByT>(value));
235 template <
typename IssuedAtT = Aws::String>
237 m_issuedAtHasBeenSet =
true;
238 m_issuedAt = std::forward<IssuedAtT>(value);
240 template <
typename IssuedAtT = Aws::String>
254 template <
typename IssuerT = Aws::String>
256 m_issuerHasBeenSet =
true;
257 m_issuer = std::forward<IssuerT>(value);
259 template <
typename IssuerT = Aws::String>
275 template <
typename KeyAlgorithmT = Aws::String>
277 m_keyAlgorithmHasBeenSet =
true;
278 m_keyAlgorithm = std::forward<KeyAlgorithmT>(value);
280 template <
typename KeyAlgorithmT = Aws::String>
293 template <
typename KeyUsagesT = Aws::Vector<AwsCertificateManagerCertificateKeyUsage>>
295 m_keyUsagesHasBeenSet =
true;
296 m_keyUsages = std::forward<KeyUsagesT>(value);
298 template <
typename KeyUsagesT = Aws::Vector<AwsCertificateManagerCertificateKeyUsage>>
303 template <
typename KeyUsagesT = AwsCertificateManagerCertificateKeyUsage>
305 m_keyUsagesHasBeenSet =
true;
306 m_keyUsages.emplace_back(std::forward<KeyUsagesT>(value));
320 template <
typename NotAfterT = Aws::String>
322 m_notAfterHasBeenSet =
true;
323 m_notAfter = std::forward<NotAfterT>(value);
325 template <
typename NotAfterT = Aws::String>
341 template <
typename NotBeforeT = Aws::String>
343 m_notBeforeHasBeenSet =
true;
344 m_notBefore = std::forward<NotBeforeT>(value);
346 template <
typename NotBeforeT = Aws::String>
360 template <
typename OptionsT = AwsCertificateManagerCertificateOptions>
362 m_optionsHasBeenSet =
true;
363 m_options = std::forward<OptionsT>(value);
365 template <
typename OptionsT = AwsCertificateManagerCertificateOptions>
379 template <
typename RenewalEligibilityT = Aws::String>
381 m_renewalEligibilityHasBeenSet =
true;
382 m_renewalEligibility = std::forward<RenewalEligibilityT>(value);
384 template <
typename RenewalEligibilityT = Aws::String>
399 template <
typename RenewalSummaryT = AwsCertificateManagerCertificateRenewalSummary>
401 m_renewalSummaryHasBeenSet =
true;
402 m_renewalSummary = std::forward<RenewalSummaryT>(value);
404 template <
typename RenewalSummaryT = AwsCertificateManagerCertificateRenewalSummary>
417 template <
typename SerialT = Aws::String>
419 m_serialHasBeenSet =
true;
420 m_serial = std::forward<SerialT>(value);
422 template <
typename SerialT = Aws::String>
435 template <
typename SignatureAlgorithmT = Aws::String>
437 m_signatureAlgorithmHasBeenSet =
true;
438 m_signatureAlgorithm = std::forward<SignatureAlgorithmT>(value);
440 template <
typename SignatureAlgorithmT = Aws::String>
456 template <
typename StatusT = Aws::String>
458 m_statusHasBeenSet =
true;
459 m_status = std::forward<StatusT>(value);
461 template <
typename StatusT = Aws::String>
475 template <
typename SubjectT = Aws::String>
477 m_subjectHasBeenSet =
true;
478 m_subject = std::forward<SubjectT>(value);
480 template <
typename SubjectT = Aws::String>
497 template <
typename SubjectAlternativeNamesT = Aws::Vector<Aws::String>>
499 m_subjectAlternativeNamesHasBeenSet =
true;
500 m_subjectAlternativeNames = std::forward<SubjectAlternativeNamesT>(value);
502 template <
typename SubjectAlternativeNamesT = Aws::Vector<Aws::String>>
507 template <
typename SubjectAlternativeNamesT = Aws::String>
509 m_subjectAlternativeNamesHasBeenSet =
true;
510 m_subjectAlternativeNames.emplace_back(std::forward<SubjectAlternativeNamesT>(value));
525 template <
typename TypeT = Aws::String>
527 m_typeHasBeenSet =
true;
528 m_type = std::forward<TypeT>(value);
530 template <
typename TypeT = Aws::String>
532 SetType(std::forward<TypeT>(value));
582 bool m_certificateAuthorityArnHasBeenSet =
false;
583 bool m_createdAtHasBeenSet =
false;
584 bool m_domainNameHasBeenSet =
false;
585 bool m_domainValidationOptionsHasBeenSet =
false;
586 bool m_extendedKeyUsagesHasBeenSet =
false;
587 bool m_failureReasonHasBeenSet =
false;
588 bool m_importedAtHasBeenSet =
false;
589 bool m_inUseByHasBeenSet =
false;
590 bool m_issuedAtHasBeenSet =
false;
591 bool m_issuerHasBeenSet =
false;
592 bool m_keyAlgorithmHasBeenSet =
false;
593 bool m_keyUsagesHasBeenSet =
false;
594 bool m_notAfterHasBeenSet =
false;
595 bool m_notBeforeHasBeenSet =
false;
596 bool m_optionsHasBeenSet =
false;
597 bool m_renewalEligibilityHasBeenSet =
false;
598 bool m_renewalSummaryHasBeenSet =
false;
599 bool m_serialHasBeenSet =
false;
600 bool m_signatureAlgorithmHasBeenSet =
false;
601 bool m_statusHasBeenSet =
false;
602 bool m_subjectHasBeenSet =
false;
603 bool m_subjectAlternativeNamesHasBeenSet =
false;
604 bool m_typeHasBeenSet =
false;
void SetFailureReason(FailureReasonT &&value)
AwsCertificateManagerCertificateDetails & WithExtendedKeyUsages(ExtendedKeyUsagesT &&value)
const Aws::String & GetSerial() const
AwsCertificateManagerCertificateDetails & AddExtendedKeyUsages(ExtendedKeyUsagesT &&value)
AwsCertificateManagerCertificateDetails & WithFailureReason(FailureReasonT &&value)
AwsCertificateManagerCertificateDetails & WithSerial(SerialT &&value)
void SetCertificateAuthorityArn(CertificateAuthorityArnT &&value)
const Aws::String & GetSubject() const
void SetImportedAt(ImportedAtT &&value)
bool KeyUsagesHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
bool ExtendedKeyUsagesHasBeenSet() const
AwsCertificateManagerCertificateDetails & AddDomainValidationOptions(DomainValidationOptionsT &&value)
const Aws::Vector< Aws::String > & GetSubjectAlternativeNames() const
bool IssuerHasBeenSet() const
AwsCertificateManagerCertificateDetails & WithType(TypeT &&value)
void SetSerial(SerialT &&value)
void SetKeyUsages(KeyUsagesT &&value)
bool IssuedAtHasBeenSet() const
bool OptionsHasBeenSet() const
AwsCertificateManagerCertificateDetails & WithNotAfter(NotAfterT &&value)
const Aws::Vector< AwsCertificateManagerCertificateExtendedKeyUsage > & GetExtendedKeyUsages() const
AwsCertificateManagerCertificateDetails & WithIssuedAt(IssuedAtT &&value)
void SetSubject(SubjectT &&value)
AwsCertificateManagerCertificateDetails & WithSignatureAlgorithm(SignatureAlgorithmT &&value)
AwsCertificateManagerCertificateDetails & AddKeyUsages(KeyUsagesT &&value)
AwsCertificateManagerCertificateDetails & WithIssuer(IssuerT &&value)
const Aws::Vector< AwsCertificateManagerCertificateKeyUsage > & GetKeyUsages() const
bool TypeHasBeenSet() const
void SetIssuer(IssuerT &&value)
AwsCertificateManagerCertificateDetails & WithSubject(SubjectT &&value)
AwsCertificateManagerCertificateDetails & AddInUseBy(InUseByT &&value)
const Aws::String & GetDomainName() const
bool ImportedAtHasBeenSet() const
bool CreatedAtHasBeenSet() const
AwsCertificateManagerCertificateDetails & WithDomainName(DomainNameT &&value)
const Aws::String & GetKeyAlgorithm() const
AwsCertificateManagerCertificateDetails & WithNotBefore(NotBeforeT &&value)
void SetSubjectAlternativeNames(SubjectAlternativeNamesT &&value)
bool InUseByHasBeenSet() const
bool RenewalSummaryHasBeenSet() const
AwsCertificateManagerCertificateDetails & AddSubjectAlternativeNames(SubjectAlternativeNamesT &&value)
void SetRenewalSummary(RenewalSummaryT &&value)
AwsCertificateManagerCertificateDetails & WithKeyAlgorithm(KeyAlgorithmT &&value)
void SetInUseBy(InUseByT &&value)
bool SubjectAlternativeNamesHasBeenSet() const
const Aws::String & GetNotAfter() const
const Aws::String & GetIssuer() const
AwsCertificateManagerCertificateDetails & WithStatus(StatusT &&value)
bool CertificateAuthorityArnHasBeenSet() const
bool StatusHasBeenSet() const
AwsCertificateManagerCertificateDetails & WithCertificateAuthorityArn(CertificateAuthorityArnT &&value)
AWS_SECURITYHUB_API AwsCertificateManagerCertificateDetails()=default
void SetStatus(StatusT &&value)
bool DomainValidationOptionsHasBeenSet() const
void SetExtendedKeyUsages(ExtendedKeyUsagesT &&value)
void SetSignatureAlgorithm(SignatureAlgorithmT &&value)
void SetNotAfter(NotAfterT &&value)
AWS_SECURITYHUB_API AwsCertificateManagerCertificateDetails(Aws::Utils::Json::JsonView jsonValue)
AwsCertificateManagerCertificateDetails & WithImportedAt(ImportedAtT &&value)
AwsCertificateManagerCertificateDetails & WithKeyUsages(KeyUsagesT &&value)
bool RenewalEligibilityHasBeenSet() const
AwsCertificateManagerCertificateDetails & WithCreatedAt(CreatedAtT &&value)
void SetRenewalEligibility(RenewalEligibilityT &&value)
void SetDomainName(DomainNameT &&value)
AwsCertificateManagerCertificateDetails & WithRenewalSummary(RenewalSummaryT &&value)
const Aws::String & GetCreatedAt() const
bool NotBeforeHasBeenSet() const
const Aws::String & GetFailureReason() const
bool SignatureAlgorithmHasBeenSet() const
const Aws::String & GetImportedAt() const
AwsCertificateManagerCertificateDetails & WithInUseBy(InUseByT &&value)
void SetKeyAlgorithm(KeyAlgorithmT &&value)
bool KeyAlgorithmHasBeenSet() const
bool SerialHasBeenSet() const
bool FailureReasonHasBeenSet() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetInUseBy() const
void SetNotBefore(NotBeforeT &&value)
const Aws::Vector< AwsCertificateManagerCertificateDomainValidationOption > & GetDomainValidationOptions() const
bool NotAfterHasBeenSet() const
AwsCertificateManagerCertificateDetails & WithRenewalEligibility(RenewalEligibilityT &&value)
void SetDomainValidationOptions(DomainValidationOptionsT &&value)
AwsCertificateManagerCertificateDetails & WithSubjectAlternativeNames(SubjectAlternativeNamesT &&value)
AwsCertificateManagerCertificateDetails & WithOptions(OptionsT &&value)
const Aws::String & GetStatus() const
const AwsCertificateManagerCertificateRenewalSummary & GetRenewalSummary() const
const AwsCertificateManagerCertificateOptions & GetOptions() const
const Aws::String & GetRenewalEligibility() const
void SetOptions(OptionsT &&value)
const Aws::String & GetSignatureAlgorithm() const
bool DomainNameHasBeenSet() const
void SetType(TypeT &&value)
void SetIssuedAt(IssuedAtT &&value)
const Aws::String & GetType() const
bool SubjectHasBeenSet() const
const Aws::String & GetNotBefore() const
AWS_SECURITYHUB_API AwsCertificateManagerCertificateDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCertificateAuthorityArn() const
const Aws::String & GetIssuedAt() const
AwsCertificateManagerCertificateDetails & WithDomainValidationOptions(DomainValidationOptionsT &&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