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>
69 template <
typename CreatedAtT = Aws::String>
71 m_createdAtHasBeenSet =
true;
72 m_createdAt = std::forward<CreatedAtT>(value);
74 template <
typename CreatedAtT = Aws::String>
88 template <
typename DomainNameT = Aws::String>
90 m_domainNameHasBeenSet =
true;
91 m_domainName = std::forward<DomainNameT>(value);
93 template <
typename DomainNameT = Aws::String>
107 return m_domainValidationOptions;
110 template <
typename DomainVal
idationOptionsT = Aws::Vector<AwsCertificateManagerCertificateDomainVal
idationOption>>
112 m_domainValidationOptionsHasBeenSet =
true;
113 m_domainValidationOptions = std::forward<DomainValidationOptionsT>(value);
115 template <
typename DomainVal
idationOptionsT = Aws::Vector<AwsCertificateManagerCertificateDomainVal
idationOption>>
120 template <
typename DomainVal
idationOptionsT = AwsCertificateManagerCertificateDomainVal
idationOption>
122 m_domainValidationOptionsHasBeenSet =
true;
123 m_domainValidationOptions.emplace_back(std::forward<DomainValidationOptionsT>(value));
136 template <
typename ExtendedKeyUsagesT = Aws::Vector<AwsCertificateManagerCertificateExtendedKeyUsage>>
138 m_extendedKeyUsagesHasBeenSet =
true;
139 m_extendedKeyUsages = std::forward<ExtendedKeyUsagesT>(value);
141 template <
typename ExtendedKeyUsagesT = Aws::Vector<AwsCertificateManagerCertificateExtendedKeyUsage>>
146 template <
typename ExtendedKeyUsagesT = AwsCertificateManagerCertificateExtendedKeyUsage>
148 m_extendedKeyUsagesHasBeenSet =
true;
149 m_extendedKeyUsages.emplace_back(std::forward<ExtendedKeyUsagesT>(value));
169 template <
typename FailureReasonT = Aws::String>
171 m_failureReasonHasBeenSet =
true;
172 m_failureReason = std::forward<FailureReasonT>(value);
174 template <
typename FailureReasonT = Aws::String>
190 template <
typename ImportedAtT = Aws::String>
192 m_importedAtHasBeenSet =
true;
193 m_importedAt = std::forward<ImportedAtT>(value);
195 template <
typename ImportedAtT = Aws::String>
209 template <
typename InUseByT = Aws::Vector<Aws::String>>
211 m_inUseByHasBeenSet =
true;
212 m_inUseBy = std::forward<InUseByT>(value);
214 template <
typename InUseByT = Aws::Vector<Aws::String>>
219 template <
typename InUseByT = Aws::String>
221 m_inUseByHasBeenSet =
true;
222 m_inUseBy.emplace_back(std::forward<InUseByT>(value));
236 template <
typename IssuedAtT = Aws::String>
238 m_issuedAtHasBeenSet =
true;
239 m_issuedAt = std::forward<IssuedAtT>(value);
241 template <
typename IssuedAtT = Aws::String>
255 template <
typename IssuerT = Aws::String>
257 m_issuerHasBeenSet =
true;
258 m_issuer = std::forward<IssuerT>(value);
260 template <
typename IssuerT = Aws::String>
276 template <
typename KeyAlgorithmT = Aws::String>
278 m_keyAlgorithmHasBeenSet =
true;
279 m_keyAlgorithm = std::forward<KeyAlgorithmT>(value);
281 template <
typename KeyAlgorithmT = Aws::String>
294 template <
typename KeyUsagesT = Aws::Vector<AwsCertificateManagerCertificateKeyUsage>>
296 m_keyUsagesHasBeenSet =
true;
297 m_keyUsages = std::forward<KeyUsagesT>(value);
299 template <
typename KeyUsagesT = Aws::Vector<AwsCertificateManagerCertificateKeyUsage>>
304 template <
typename KeyUsagesT = AwsCertificateManagerCertificateKeyUsage>
306 m_keyUsagesHasBeenSet =
true;
307 m_keyUsages.emplace_back(std::forward<KeyUsagesT>(value));
321 template <
typename NotAfterT = Aws::String>
323 m_notAfterHasBeenSet =
true;
324 m_notAfter = std::forward<NotAfterT>(value);
326 template <
typename NotAfterT = Aws::String>
342 template <
typename NotBeforeT = Aws::String>
344 m_notBeforeHasBeenSet =
true;
345 m_notBefore = std::forward<NotBeforeT>(value);
347 template <
typename NotBeforeT = Aws::String>
361 template <
typename OptionsT = AwsCertificateManagerCertificateOptions>
363 m_optionsHasBeenSet =
true;
364 m_options = std::forward<OptionsT>(value);
366 template <
typename OptionsT = AwsCertificateManagerCertificateOptions>
380 template <
typename RenewalEligibilityT = Aws::String>
382 m_renewalEligibilityHasBeenSet =
true;
383 m_renewalEligibility = std::forward<RenewalEligibilityT>(value);
385 template <
typename RenewalEligibilityT = Aws::String>
400 template <
typename RenewalSummaryT = AwsCertificateManagerCertificateRenewalSummary>
402 m_renewalSummaryHasBeenSet =
true;
403 m_renewalSummary = std::forward<RenewalSummaryT>(value);
405 template <
typename RenewalSummaryT = AwsCertificateManagerCertificateRenewalSummary>
418 template <
typename SerialT = Aws::String>
420 m_serialHasBeenSet =
true;
421 m_serial = std::forward<SerialT>(value);
423 template <
typename SerialT = Aws::String>
436 template <
typename SignatureAlgorithmT = Aws::String>
438 m_signatureAlgorithmHasBeenSet =
true;
439 m_signatureAlgorithm = std::forward<SignatureAlgorithmT>(value);
441 template <
typename SignatureAlgorithmT = Aws::String>
457 template <
typename StatusT = Aws::String>
459 m_statusHasBeenSet =
true;
460 m_status = std::forward<StatusT>(value);
462 template <
typename StatusT = Aws::String>
476 template <
typename SubjectT = Aws::String>
478 m_subjectHasBeenSet =
true;
479 m_subject = std::forward<SubjectT>(value);
481 template <
typename SubjectT = Aws::String>
498 template <
typename SubjectAlternativeNamesT = Aws::Vector<Aws::String>>
500 m_subjectAlternativeNamesHasBeenSet =
true;
501 m_subjectAlternativeNames = std::forward<SubjectAlternativeNamesT>(value);
503 template <
typename SubjectAlternativeNamesT = Aws::Vector<Aws::String>>
508 template <
typename SubjectAlternativeNamesT = Aws::String>
510 m_subjectAlternativeNamesHasBeenSet =
true;
511 m_subjectAlternativeNames.emplace_back(std::forward<SubjectAlternativeNamesT>(value));
526 template <
typename TypeT = Aws::String>
528 m_typeHasBeenSet =
true;
529 m_type = std::forward<TypeT>(value);
531 template <
typename TypeT = Aws::String>
533 SetType(std::forward<TypeT>(value));
583 bool m_certificateAuthorityArnHasBeenSet =
false;
584 bool m_createdAtHasBeenSet =
false;
585 bool m_domainNameHasBeenSet =
false;
586 bool m_domainValidationOptionsHasBeenSet =
false;
587 bool m_extendedKeyUsagesHasBeenSet =
false;
588 bool m_failureReasonHasBeenSet =
false;
589 bool m_importedAtHasBeenSet =
false;
590 bool m_inUseByHasBeenSet =
false;
591 bool m_issuedAtHasBeenSet =
false;
592 bool m_issuerHasBeenSet =
false;
593 bool m_keyAlgorithmHasBeenSet =
false;
594 bool m_keyUsagesHasBeenSet =
false;
595 bool m_notAfterHasBeenSet =
false;
596 bool m_notBeforeHasBeenSet =
false;
597 bool m_optionsHasBeenSet =
false;
598 bool m_renewalEligibilityHasBeenSet =
false;
599 bool m_renewalSummaryHasBeenSet =
false;
600 bool m_serialHasBeenSet =
false;
601 bool m_signatureAlgorithmHasBeenSet =
false;
602 bool m_statusHasBeenSet =
false;
603 bool m_subjectHasBeenSet =
false;
604 bool m_subjectAlternativeNamesHasBeenSet =
false;
605 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