AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
CertificateDetail.h
1
6#pragma once
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>
23
24#include <utility>
25
26namespace Aws {
27namespace Utils {
28namespace Json {
29class JsonValue;
30class JsonView;
31} // namespace Json
32} // namespace Utils
33namespace ACM {
34namespace Model {
35
43 public:
44 AWS_ACM_API CertificateDetail() = default;
48
50
57 inline const Aws::String& GetCertificateArn() const { return m_certificateArn; }
58 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
59 template <typename CertificateArnT = Aws::String>
60 void SetCertificateArn(CertificateArnT&& value) {
61 m_certificateArnHasBeenSet = true;
62 m_certificateArn = std::forward<CertificateArnT>(value);
63 }
64 template <typename CertificateArnT = Aws::String>
65 CertificateDetail& WithCertificateArn(CertificateArnT&& value) {
66 SetCertificateArn(std::forward<CertificateArnT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::String& GetDomainName() const { return m_domainName; }
77 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
78 template <typename DomainNameT = Aws::String>
79 void SetDomainName(DomainNameT&& value) {
80 m_domainNameHasBeenSet = true;
81 m_domainName = std::forward<DomainNameT>(value);
82 }
83 template <typename DomainNameT = Aws::String>
84 CertificateDetail& WithDomainName(DomainNameT&& value) {
85 SetDomainName(std::forward<DomainNameT>(value));
86 return *this;
87 }
89
91
98 inline const Aws::Vector<Aws::String>& GetSubjectAlternativeNames() const { return m_subjectAlternativeNames; }
99 inline bool SubjectAlternativeNamesHasBeenSet() const { return m_subjectAlternativeNamesHasBeenSet; }
100 template <typename SubjectAlternativeNamesT = Aws::Vector<Aws::String>>
101 void SetSubjectAlternativeNames(SubjectAlternativeNamesT&& value) {
102 m_subjectAlternativeNamesHasBeenSet = true;
103 m_subjectAlternativeNames = std::forward<SubjectAlternativeNamesT>(value);
104 }
105 template <typename SubjectAlternativeNamesT = Aws::Vector<Aws::String>>
106 CertificateDetail& WithSubjectAlternativeNames(SubjectAlternativeNamesT&& value) {
107 SetSubjectAlternativeNames(std::forward<SubjectAlternativeNamesT>(value));
108 return *this;
109 }
110 template <typename SubjectAlternativeNamesT = Aws::String>
111 CertificateDetail& AddSubjectAlternativeNames(SubjectAlternativeNamesT&& value) {
112 m_subjectAlternativeNamesHasBeenSet = true;
113 m_subjectAlternativeNames.emplace_back(std::forward<SubjectAlternativeNamesT>(value));
114 return *this;
115 }
117
119
123 inline CertificateManagedBy GetManagedBy() const { return m_managedBy; }
124 inline bool ManagedByHasBeenSet() const { return m_managedByHasBeenSet; }
126 m_managedByHasBeenSet = true;
127 m_managedBy = value;
128 }
130 SetManagedBy(value);
131 return *this;
132 }
134
136
141 inline const Aws::Vector<DomainValidation>& GetDomainValidationOptions() const { return m_domainValidationOptions; }
142 inline bool DomainValidationOptionsHasBeenSet() const { return m_domainValidationOptionsHasBeenSet; }
143 template <typename DomainValidationOptionsT = Aws::Vector<DomainValidation>>
144 void SetDomainValidationOptions(DomainValidationOptionsT&& value) {
145 m_domainValidationOptionsHasBeenSet = true;
146 m_domainValidationOptions = std::forward<DomainValidationOptionsT>(value);
147 }
148 template <typename DomainValidationOptionsT = Aws::Vector<DomainValidation>>
149 CertificateDetail& WithDomainValidationOptions(DomainValidationOptionsT&& value) {
150 SetDomainValidationOptions(std::forward<DomainValidationOptionsT>(value));
151 return *this;
152 }
153 template <typename DomainValidationOptionsT = DomainValidation>
154 CertificateDetail& AddDomainValidationOptions(DomainValidationOptionsT&& value) {
155 m_domainValidationOptionsHasBeenSet = true;
156 m_domainValidationOptions.emplace_back(std::forward<DomainValidationOptionsT>(value));
157 return *this;
158 }
160
162
165 inline const Aws::String& GetSerial() const { return m_serial; }
166 inline bool SerialHasBeenSet() const { return m_serialHasBeenSet; }
167 template <typename SerialT = Aws::String>
168 void SetSerial(SerialT&& value) {
169 m_serialHasBeenSet = true;
170 m_serial = std::forward<SerialT>(value);
171 }
172 template <typename SerialT = Aws::String>
173 CertificateDetail& WithSerial(SerialT&& value) {
174 SetSerial(std::forward<SerialT>(value));
175 return *this;
176 }
178
180
184 inline const Aws::String& GetSubject() const { return m_subject; }
185 inline bool SubjectHasBeenSet() const { return m_subjectHasBeenSet; }
186 template <typename SubjectT = Aws::String>
187 void SetSubject(SubjectT&& value) {
188 m_subjectHasBeenSet = true;
189 m_subject = std::forward<SubjectT>(value);
190 }
191 template <typename SubjectT = Aws::String>
192 CertificateDetail& WithSubject(SubjectT&& value) {
193 SetSubject(std::forward<SubjectT>(value));
194 return *this;
195 }
197
199
203 inline const Aws::String& GetIssuer() const { return m_issuer; }
204 inline bool IssuerHasBeenSet() const { return m_issuerHasBeenSet; }
205 template <typename IssuerT = Aws::String>
206 void SetIssuer(IssuerT&& value) {
207 m_issuerHasBeenSet = true;
208 m_issuer = std::forward<IssuerT>(value);
209 }
210 template <typename IssuerT = Aws::String>
211 CertificateDetail& WithIssuer(IssuerT&& value) {
212 SetIssuer(std::forward<IssuerT>(value));
213 return *this;
214 }
216
218
221 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
222 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
223 template <typename CreatedAtT = Aws::Utils::DateTime>
224 void SetCreatedAt(CreatedAtT&& value) {
225 m_createdAtHasBeenSet = true;
226 m_createdAt = std::forward<CreatedAtT>(value);
227 }
228 template <typename CreatedAtT = Aws::Utils::DateTime>
229 CertificateDetail& WithCreatedAt(CreatedAtT&& value) {
230 SetCreatedAt(std::forward<CreatedAtT>(value));
231 return *this;
232 }
234
236
240 inline const Aws::Utils::DateTime& GetIssuedAt() const { return m_issuedAt; }
241 inline bool IssuedAtHasBeenSet() const { return m_issuedAtHasBeenSet; }
242 template <typename IssuedAtT = Aws::Utils::DateTime>
243 void SetIssuedAt(IssuedAtT&& value) {
244 m_issuedAtHasBeenSet = true;
245 m_issuedAt = std::forward<IssuedAtT>(value);
246 }
247 template <typename IssuedAtT = Aws::Utils::DateTime>
248 CertificateDetail& WithIssuedAt(IssuedAtT&& value) {
249 SetIssuedAt(std::forward<IssuedAtT>(value));
250 return *this;
251 }
253
255
259 inline const Aws::Utils::DateTime& GetImportedAt() const { return m_importedAt; }
260 inline bool ImportedAtHasBeenSet() const { return m_importedAtHasBeenSet; }
261 template <typename ImportedAtT = Aws::Utils::DateTime>
262 void SetImportedAt(ImportedAtT&& value) {
263 m_importedAtHasBeenSet = true;
264 m_importedAt = std::forward<ImportedAtT>(value);
265 }
266 template <typename ImportedAtT = Aws::Utils::DateTime>
267 CertificateDetail& WithImportedAt(ImportedAtT&& value) {
268 SetImportedAt(std::forward<ImportedAtT>(value));
269 return *this;
270 }
272
274
288 inline CertificateStatus GetStatus() const { return m_status; }
289 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
290 inline void SetStatus(CertificateStatus value) {
291 m_statusHasBeenSet = true;
292 m_status = value;
293 }
295 SetStatus(value);
296 return *this;
297 }
299
301
305 inline const Aws::Utils::DateTime& GetRevokedAt() const { return m_revokedAt; }
306 inline bool RevokedAtHasBeenSet() const { return m_revokedAtHasBeenSet; }
307 template <typename RevokedAtT = Aws::Utils::DateTime>
308 void SetRevokedAt(RevokedAtT&& value) {
309 m_revokedAtHasBeenSet = true;
310 m_revokedAt = std::forward<RevokedAtT>(value);
311 }
312 template <typename RevokedAtT = Aws::Utils::DateTime>
313 CertificateDetail& WithRevokedAt(RevokedAtT&& value) {
314 SetRevokedAt(std::forward<RevokedAtT>(value));
315 return *this;
316 }
318
320
324 inline RevocationReason GetRevocationReason() const { return m_revocationReason; }
325 inline bool RevocationReasonHasBeenSet() const { return m_revocationReasonHasBeenSet; }
327 m_revocationReasonHasBeenSet = true;
328 m_revocationReason = value;
329 }
331 SetRevocationReason(value);
332 return *this;
333 }
335
337
340 inline const Aws::Utils::DateTime& GetNotBefore() const { return m_notBefore; }
341 inline bool NotBeforeHasBeenSet() const { return m_notBeforeHasBeenSet; }
342 template <typename NotBeforeT = Aws::Utils::DateTime>
343 void SetNotBefore(NotBeforeT&& value) {
344 m_notBeforeHasBeenSet = true;
345 m_notBefore = std::forward<NotBeforeT>(value);
346 }
347 template <typename NotBeforeT = Aws::Utils::DateTime>
348 CertificateDetail& WithNotBefore(NotBeforeT&& value) {
349 SetNotBefore(std::forward<NotBeforeT>(value));
350 return *this;
351 }
353
355
358 inline const Aws::Utils::DateTime& GetNotAfter() const { return m_notAfter; }
359 inline bool NotAfterHasBeenSet() const { return m_notAfterHasBeenSet; }
360 template <typename NotAfterT = Aws::Utils::DateTime>
361 void SetNotAfter(NotAfterT&& value) {
362 m_notAfterHasBeenSet = true;
363 m_notAfter = std::forward<NotAfterT>(value);
364 }
365 template <typename NotAfterT = Aws::Utils::DateTime>
366 CertificateDetail& WithNotAfter(NotAfterT&& value) {
367 SetNotAfter(std::forward<NotAfterT>(value));
368 return *this;
369 }
371
373
376 inline KeyAlgorithm GetKeyAlgorithm() const { return m_keyAlgorithm; }
377 inline bool KeyAlgorithmHasBeenSet() const { return m_keyAlgorithmHasBeenSet; }
378 inline void SetKeyAlgorithm(KeyAlgorithm value) {
379 m_keyAlgorithmHasBeenSet = true;
380 m_keyAlgorithm = value;
381 }
383 SetKeyAlgorithm(value);
384 return *this;
385 }
387
389
392 inline const Aws::String& GetSignatureAlgorithm() const { return m_signatureAlgorithm; }
393 inline bool SignatureAlgorithmHasBeenSet() const { return m_signatureAlgorithmHasBeenSet; }
394 template <typename SignatureAlgorithmT = Aws::String>
395 void SetSignatureAlgorithm(SignatureAlgorithmT&& value) {
396 m_signatureAlgorithmHasBeenSet = true;
397 m_signatureAlgorithm = std::forward<SignatureAlgorithmT>(value);
398 }
399 template <typename SignatureAlgorithmT = Aws::String>
400 CertificateDetail& WithSignatureAlgorithm(SignatureAlgorithmT&& value) {
401 SetSignatureAlgorithm(std::forward<SignatureAlgorithmT>(value));
402 return *this;
403 }
405
407
412 inline const Aws::Vector<Aws::String>& GetInUseBy() const { return m_inUseBy; }
413 inline bool InUseByHasBeenSet() const { return m_inUseByHasBeenSet; }
414 template <typename InUseByT = Aws::Vector<Aws::String>>
415 void SetInUseBy(InUseByT&& value) {
416 m_inUseByHasBeenSet = true;
417 m_inUseBy = std::forward<InUseByT>(value);
418 }
419 template <typename InUseByT = Aws::Vector<Aws::String>>
420 CertificateDetail& WithInUseBy(InUseByT&& value) {
421 SetInUseBy(std::forward<InUseByT>(value));
422 return *this;
423 }
424 template <typename InUseByT = Aws::String>
425 CertificateDetail& AddInUseBy(InUseByT&& value) {
426 m_inUseByHasBeenSet = true;
427 m_inUseBy.emplace_back(std::forward<InUseByT>(value));
428 return *this;
429 }
431
433
439 inline FailureReason GetFailureReason() const { return m_failureReason; }
440 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
441 inline void SetFailureReason(FailureReason value) {
442 m_failureReasonHasBeenSet = true;
443 m_failureReason = value;
444 }
446 SetFailureReason(value);
447 return *this;
448 }
450
452
464 inline CertificateType GetType() const { return m_type; }
465 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
466 inline void SetType(CertificateType value) {
467 m_typeHasBeenSet = true;
468 m_type = value;
469 }
471 SetType(value);
472 return *this;
473 }
475
477
483 inline const RenewalSummary& GetRenewalSummary() const { return m_renewalSummary; }
484 inline bool RenewalSummaryHasBeenSet() const { return m_renewalSummaryHasBeenSet; }
485 template <typename RenewalSummaryT = RenewalSummary>
486 void SetRenewalSummary(RenewalSummaryT&& value) {
487 m_renewalSummaryHasBeenSet = true;
488 m_renewalSummary = std::forward<RenewalSummaryT>(value);
489 }
490 template <typename RenewalSummaryT = RenewalSummary>
491 CertificateDetail& WithRenewalSummary(RenewalSummaryT&& value) {
492 SetRenewalSummary(std::forward<RenewalSummaryT>(value));
493 return *this;
494 }
496
498
504 inline const Aws::Vector<KeyUsage>& GetKeyUsages() const { return m_keyUsages; }
505 inline bool KeyUsagesHasBeenSet() const { return m_keyUsagesHasBeenSet; }
506 template <typename KeyUsagesT = Aws::Vector<KeyUsage>>
507 void SetKeyUsages(KeyUsagesT&& value) {
508 m_keyUsagesHasBeenSet = true;
509 m_keyUsages = std::forward<KeyUsagesT>(value);
510 }
511 template <typename KeyUsagesT = Aws::Vector<KeyUsage>>
512 CertificateDetail& WithKeyUsages(KeyUsagesT&& value) {
513 SetKeyUsages(std::forward<KeyUsagesT>(value));
514 return *this;
515 }
516 template <typename KeyUsagesT = KeyUsage>
517 CertificateDetail& AddKeyUsages(KeyUsagesT&& value) {
518 m_keyUsagesHasBeenSet = true;
519 m_keyUsages.emplace_back(std::forward<KeyUsagesT>(value));
520 return *this;
521 }
523
525
530 inline const Aws::Vector<ExtendedKeyUsage>& GetExtendedKeyUsages() const { return m_extendedKeyUsages; }
531 inline bool ExtendedKeyUsagesHasBeenSet() const { return m_extendedKeyUsagesHasBeenSet; }
532 template <typename ExtendedKeyUsagesT = Aws::Vector<ExtendedKeyUsage>>
533 void SetExtendedKeyUsages(ExtendedKeyUsagesT&& value) {
534 m_extendedKeyUsagesHasBeenSet = true;
535 m_extendedKeyUsages = std::forward<ExtendedKeyUsagesT>(value);
536 }
537 template <typename ExtendedKeyUsagesT = Aws::Vector<ExtendedKeyUsage>>
538 CertificateDetail& WithExtendedKeyUsages(ExtendedKeyUsagesT&& value) {
539 SetExtendedKeyUsages(std::forward<ExtendedKeyUsagesT>(value));
540 return *this;
541 }
542 template <typename ExtendedKeyUsagesT = ExtendedKeyUsage>
543 CertificateDetail& AddExtendedKeyUsages(ExtendedKeyUsagesT&& value) {
544 m_extendedKeyUsagesHasBeenSet = true;
545 m_extendedKeyUsages.emplace_back(std::forward<ExtendedKeyUsagesT>(value));
546 return *this;
547 }
549
551
557 inline const Aws::String& GetCertificateAuthorityArn() const { return m_certificateAuthorityArn; }
558 inline bool CertificateAuthorityArnHasBeenSet() const { return m_certificateAuthorityArnHasBeenSet; }
559 template <typename CertificateAuthorityArnT = Aws::String>
560 void SetCertificateAuthorityArn(CertificateAuthorityArnT&& value) {
561 m_certificateAuthorityArnHasBeenSet = true;
562 m_certificateAuthorityArn = std::forward<CertificateAuthorityArnT>(value);
563 }
564 template <typename CertificateAuthorityArnT = Aws::String>
565 CertificateDetail& WithCertificateAuthorityArn(CertificateAuthorityArnT&& value) {
566 SetCertificateAuthorityArn(std::forward<CertificateAuthorityArnT>(value));
567 return *this;
568 }
570
572
577 inline RenewalEligibility GetRenewalEligibility() const { return m_renewalEligibility; }
578 inline bool RenewalEligibilityHasBeenSet() const { return m_renewalEligibilityHasBeenSet; }
580 m_renewalEligibilityHasBeenSet = true;
581 m_renewalEligibility = value;
582 }
585 return *this;
586 }
588
590
597 inline const CertificateOptions& GetOptions() const { return m_options; }
598 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
599 template <typename OptionsT = CertificateOptions>
600 void SetOptions(OptionsT&& value) {
601 m_optionsHasBeenSet = true;
602 m_options = std::forward<OptionsT>(value);
603 }
604 template <typename OptionsT = CertificateOptions>
605 CertificateDetail& WithOptions(OptionsT&& value) {
606 SetOptions(std::forward<OptionsT>(value));
607 return *this;
608 }
610 private:
611 Aws::String m_certificateArn;
612
613 Aws::String m_domainName;
614
615 Aws::Vector<Aws::String> m_subjectAlternativeNames;
616
618
619 Aws::Vector<DomainValidation> m_domainValidationOptions;
620
621 Aws::String m_serial;
622
623 Aws::String m_subject;
624
625 Aws::String m_issuer;
626
627 Aws::Utils::DateTime m_createdAt{};
628
629 Aws::Utils::DateTime m_issuedAt{};
630
631 Aws::Utils::DateTime m_importedAt{};
632
634
635 Aws::Utils::DateTime m_revokedAt{};
636
638
639 Aws::Utils::DateTime m_notBefore{};
640
641 Aws::Utils::DateTime m_notAfter{};
642
643 KeyAlgorithm m_keyAlgorithm{KeyAlgorithm::NOT_SET};
644
645 Aws::String m_signatureAlgorithm;
646
647 Aws::Vector<Aws::String> m_inUseBy;
648
649 FailureReason m_failureReason{FailureReason::NOT_SET};
650
652
653 RenewalSummary m_renewalSummary;
654
655 Aws::Vector<KeyUsage> m_keyUsages;
656
657 Aws::Vector<ExtendedKeyUsage> m_extendedKeyUsages;
658
659 Aws::String m_certificateAuthorityArn;
660
662
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;
691};
692
693} // namespace Model
694} // namespace ACM
695} // namespace Aws
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)
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)
CertificateDetail & WithDomainName(DomainNameT &&value)
CertificateDetail & WithImportedAt(ImportedAtT &&value)
CertificateDetail & WithKeyAlgorithm(KeyAlgorithm value)
CertificateDetail & WithSubject(SubjectT &&value)
CertificateDetail & AddKeyUsages(KeyUsagesT &&value)
const Aws::String & GetIssuer() const
CertificateDetail & WithNotAfter(NotAfterT &&value)
CertificateDetail & WithKeyUsages(KeyUsagesT &&value)
void SetKeyAlgorithm(KeyAlgorithm value)
RenewalEligibility GetRenewalEligibility() const
void SetCreatedAt(CreatedAtT &&value)
void SetDomainName(DomainNameT &&value)
const Aws::String & GetDomainName() const
CertificateDetail & WithNotBefore(NotBeforeT &&value)
CertificateDetail & WithStatus(CertificateStatus value)
void SetExtendedKeyUsages(ExtendedKeyUsagesT &&value)
CertificateDetail & WithRenewalSummary(RenewalSummaryT &&value)
const Aws::Vector< ExtendedKeyUsage > & GetExtendedKeyUsages() const
CertificateDetail & WithInUseBy(InUseByT &&value)
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
CertificateDetail & WithRevocationReason(RevocationReason value)
void SetType(CertificateType value)
void SetNotBefore(NotBeforeT &&value)
void SetRenewalEligibility(RenewalEligibility value)
const CertificateOptions & GetOptions() const
void SetImportedAt(ImportedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
CertificateDetail & WithCertificateAuthorityArn(CertificateAuthorityArnT &&value)
const Aws::Utils::DateTime & GetRevokedAt() const
CertificateDetail & WithManagedBy(CertificateManagedBy value)
const Aws::Utils::DateTime & GetNotBefore() const
const Aws::Utils::DateTime & GetNotAfter() const
const Aws::Utils::DateTime & GetIssuedAt() const
CertificateDetail & WithExtendedKeyUsages(ExtendedKeyUsagesT &&value)
const Aws::String & GetCertificateArn() const
AWS_ACM_API CertificateDetail()=default
const Aws::String & GetSerial() const
CertificateDetail & AddSubjectAlternativeNames(SubjectAlternativeNamesT &&value)
void SetSubjectAlternativeNames(SubjectAlternativeNamesT &&value)
void SetManagedBy(CertificateManagedBy value)
CertificateDetail & WithSignatureAlgorithm(SignatureAlgorithmT &&value)
void SetStatus(CertificateStatus value)
CertificateDetail & WithIssuedAt(IssuedAtT &&value)
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)
const Aws::String & GetCertificateAuthorityArn() const
CertificateDetail & WithRenewalEligibility(RenewalEligibility value)
void SetRenewalSummary(RenewalSummaryT &&value)
const Aws::Vector< DomainValidation > & GetDomainValidationOptions() const
CertificateStatus GetStatus() 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