AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
AwsCertificateManagerCertificateDetails.h
1
6#pragma once
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>
15
16#include <utility>
17
18namespace Aws {
19namespace Utils {
20namespace Json {
21class JsonValue;
22class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace SecurityHub {
26namespace Model {
27
35 public:
36 AWS_SECURITYHUB_API AwsCertificateManagerCertificateDetails() = default;
39 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
46 inline const Aws::String& GetCertificateAuthorityArn() const { return m_certificateAuthorityArn; }
47 inline bool CertificateAuthorityArnHasBeenSet() const { return m_certificateAuthorityArnHasBeenSet; }
48 template <typename CertificateAuthorityArnT = Aws::String>
49 void SetCertificateAuthorityArn(CertificateAuthorityArnT&& value) {
50 m_certificateAuthorityArnHasBeenSet = true;
51 m_certificateAuthorityArn = std::forward<CertificateAuthorityArnT>(value);
52 }
53 template <typename CertificateAuthorityArnT = Aws::String>
55 SetCertificateAuthorityArn(std::forward<CertificateAuthorityArnT>(value));
56 return *this;
57 }
59
61
66 inline const Aws::String& GetCreatedAt() const { return m_createdAt; }
67 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
68 template <typename CreatedAtT = Aws::String>
69 void SetCreatedAt(CreatedAtT&& value) {
70 m_createdAtHasBeenSet = true;
71 m_createdAt = std::forward<CreatedAtT>(value);
72 }
73 template <typename CreatedAtT = Aws::String>
75 SetCreatedAt(std::forward<CreatedAtT>(value));
76 return *this;
77 }
79
81
85 inline const Aws::String& GetDomainName() const { return m_domainName; }
86 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
87 template <typename DomainNameT = Aws::String>
88 void SetDomainName(DomainNameT&& value) {
89 m_domainNameHasBeenSet = true;
90 m_domainName = std::forward<DomainNameT>(value);
91 }
92 template <typename DomainNameT = Aws::String>
94 SetDomainName(std::forward<DomainNameT>(value));
95 return *this;
96 }
98
100
106 return m_domainValidationOptions;
107 }
108 inline bool DomainValidationOptionsHasBeenSet() const { return m_domainValidationOptionsHasBeenSet; }
109 template <typename DomainValidationOptionsT = Aws::Vector<AwsCertificateManagerCertificateDomainValidationOption>>
110 void SetDomainValidationOptions(DomainValidationOptionsT&& value) {
111 m_domainValidationOptionsHasBeenSet = true;
112 m_domainValidationOptions = std::forward<DomainValidationOptionsT>(value);
113 }
114 template <typename DomainValidationOptionsT = Aws::Vector<AwsCertificateManagerCertificateDomainValidationOption>>
116 SetDomainValidationOptions(std::forward<DomainValidationOptionsT>(value));
117 return *this;
118 }
119 template <typename DomainValidationOptionsT = AwsCertificateManagerCertificateDomainValidationOption>
121 m_domainValidationOptionsHasBeenSet = true;
122 m_domainValidationOptions.emplace_back(std::forward<DomainValidationOptionsT>(value));
123 return *this;
124 }
126
128
134 inline bool ExtendedKeyUsagesHasBeenSet() const { return m_extendedKeyUsagesHasBeenSet; }
135 template <typename ExtendedKeyUsagesT = Aws::Vector<AwsCertificateManagerCertificateExtendedKeyUsage>>
136 void SetExtendedKeyUsages(ExtendedKeyUsagesT&& value) {
137 m_extendedKeyUsagesHasBeenSet = true;
138 m_extendedKeyUsages = std::forward<ExtendedKeyUsagesT>(value);
139 }
140 template <typename ExtendedKeyUsagesT = Aws::Vector<AwsCertificateManagerCertificateExtendedKeyUsage>>
142 SetExtendedKeyUsages(std::forward<ExtendedKeyUsagesT>(value));
143 return *this;
144 }
145 template <typename ExtendedKeyUsagesT = AwsCertificateManagerCertificateExtendedKeyUsage>
147 m_extendedKeyUsagesHasBeenSet = true;
148 m_extendedKeyUsages.emplace_back(std::forward<ExtendedKeyUsagesT>(value));
149 return *this;
150 }
152
154
166 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
167 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
168 template <typename FailureReasonT = Aws::String>
169 void SetFailureReason(FailureReasonT&& value) {
170 m_failureReasonHasBeenSet = true;
171 m_failureReason = std::forward<FailureReasonT>(value);
172 }
173 template <typename FailureReasonT = Aws::String>
175 SetFailureReason(std::forward<FailureReasonT>(value));
176 return *this;
177 }
179
181
187 inline const Aws::String& GetImportedAt() const { return m_importedAt; }
188 inline bool ImportedAtHasBeenSet() const { return m_importedAtHasBeenSet; }
189 template <typename ImportedAtT = Aws::String>
190 void SetImportedAt(ImportedAtT&& value) {
191 m_importedAtHasBeenSet = true;
192 m_importedAt = std::forward<ImportedAtT>(value);
193 }
194 template <typename ImportedAtT = Aws::String>
196 SetImportedAt(std::forward<ImportedAtT>(value));
197 return *this;
198 }
200
202
206 inline const Aws::Vector<Aws::String>& GetInUseBy() const { return m_inUseBy; }
207 inline bool InUseByHasBeenSet() const { return m_inUseByHasBeenSet; }
208 template <typename InUseByT = Aws::Vector<Aws::String>>
209 void SetInUseBy(InUseByT&& value) {
210 m_inUseByHasBeenSet = true;
211 m_inUseBy = std::forward<InUseByT>(value);
212 }
213 template <typename InUseByT = Aws::Vector<Aws::String>>
215 SetInUseBy(std::forward<InUseByT>(value));
216 return *this;
217 }
218 template <typename InUseByT = Aws::String>
220 m_inUseByHasBeenSet = true;
221 m_inUseBy.emplace_back(std::forward<InUseByT>(value));
222 return *this;
223 }
225
227
233 inline const Aws::String& GetIssuedAt() const { return m_issuedAt; }
234 inline bool IssuedAtHasBeenSet() const { return m_issuedAtHasBeenSet; }
235 template <typename IssuedAtT = Aws::String>
236 void SetIssuedAt(IssuedAtT&& value) {
237 m_issuedAtHasBeenSet = true;
238 m_issuedAt = std::forward<IssuedAtT>(value);
239 }
240 template <typename IssuedAtT = Aws::String>
242 SetIssuedAt(std::forward<IssuedAtT>(value));
243 return *this;
244 }
246
248
252 inline const Aws::String& GetIssuer() const { return m_issuer; }
253 inline bool IssuerHasBeenSet() const { return m_issuerHasBeenSet; }
254 template <typename IssuerT = Aws::String>
255 void SetIssuer(IssuerT&& value) {
256 m_issuerHasBeenSet = true;
257 m_issuer = std::forward<IssuerT>(value);
258 }
259 template <typename IssuerT = Aws::String>
261 SetIssuer(std::forward<IssuerT>(value));
262 return *this;
263 }
265
267
273 inline const Aws::String& GetKeyAlgorithm() const { return m_keyAlgorithm; }
274 inline bool KeyAlgorithmHasBeenSet() const { return m_keyAlgorithmHasBeenSet; }
275 template <typename KeyAlgorithmT = Aws::String>
276 void SetKeyAlgorithm(KeyAlgorithmT&& value) {
277 m_keyAlgorithmHasBeenSet = true;
278 m_keyAlgorithm = std::forward<KeyAlgorithmT>(value);
279 }
280 template <typename KeyAlgorithmT = Aws::String>
282 SetKeyAlgorithm(std::forward<KeyAlgorithmT>(value));
283 return *this;
284 }
286
288
291 inline const Aws::Vector<AwsCertificateManagerCertificateKeyUsage>& GetKeyUsages() const { return m_keyUsages; }
292 inline bool KeyUsagesHasBeenSet() const { return m_keyUsagesHasBeenSet; }
293 template <typename KeyUsagesT = Aws::Vector<AwsCertificateManagerCertificateKeyUsage>>
294 void SetKeyUsages(KeyUsagesT&& value) {
295 m_keyUsagesHasBeenSet = true;
296 m_keyUsages = std::forward<KeyUsagesT>(value);
297 }
298 template <typename KeyUsagesT = Aws::Vector<AwsCertificateManagerCertificateKeyUsage>>
300 SetKeyUsages(std::forward<KeyUsagesT>(value));
301 return *this;
302 }
303 template <typename KeyUsagesT = AwsCertificateManagerCertificateKeyUsage>
305 m_keyUsagesHasBeenSet = true;
306 m_keyUsages.emplace_back(std::forward<KeyUsagesT>(value));
307 return *this;
308 }
310
312
318 inline const Aws::String& GetNotAfter() const { return m_notAfter; }
319 inline bool NotAfterHasBeenSet() const { return m_notAfterHasBeenSet; }
320 template <typename NotAfterT = Aws::String>
321 void SetNotAfter(NotAfterT&& value) {
322 m_notAfterHasBeenSet = true;
323 m_notAfter = std::forward<NotAfterT>(value);
324 }
325 template <typename NotAfterT = Aws::String>
327 SetNotAfter(std::forward<NotAfterT>(value));
328 return *this;
329 }
331
333
339 inline const Aws::String& GetNotBefore() const { return m_notBefore; }
340 inline bool NotBeforeHasBeenSet() const { return m_notBeforeHasBeenSet; }
341 template <typename NotBeforeT = Aws::String>
342 void SetNotBefore(NotBeforeT&& value) {
343 m_notBeforeHasBeenSet = true;
344 m_notBefore = std::forward<NotBeforeT>(value);
345 }
346 template <typename NotBeforeT = Aws::String>
348 SetNotBefore(std::forward<NotBeforeT>(value));
349 return *this;
350 }
352
354
358 inline const AwsCertificateManagerCertificateOptions& GetOptions() const { return m_options; }
359 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
360 template <typename OptionsT = AwsCertificateManagerCertificateOptions>
361 void SetOptions(OptionsT&& value) {
362 m_optionsHasBeenSet = true;
363 m_options = std::forward<OptionsT>(value);
364 }
365 template <typename OptionsT = AwsCertificateManagerCertificateOptions>
367 SetOptions(std::forward<OptionsT>(value));
368 return *this;
369 }
371
373
377 inline const Aws::String& GetRenewalEligibility() const { return m_renewalEligibility; }
378 inline bool RenewalEligibilityHasBeenSet() const { return m_renewalEligibilityHasBeenSet; }
379 template <typename RenewalEligibilityT = Aws::String>
380 void SetRenewalEligibility(RenewalEligibilityT&& value) {
381 m_renewalEligibilityHasBeenSet = true;
382 m_renewalEligibility = std::forward<RenewalEligibilityT>(value);
383 }
384 template <typename RenewalEligibilityT = Aws::String>
386 SetRenewalEligibility(std::forward<RenewalEligibilityT>(value));
387 return *this;
388 }
390
392
397 inline const AwsCertificateManagerCertificateRenewalSummary& GetRenewalSummary() const { return m_renewalSummary; }
398 inline bool RenewalSummaryHasBeenSet() const { return m_renewalSummaryHasBeenSet; }
399 template <typename RenewalSummaryT = AwsCertificateManagerCertificateRenewalSummary>
400 void SetRenewalSummary(RenewalSummaryT&& value) {
401 m_renewalSummaryHasBeenSet = true;
402 m_renewalSummary = std::forward<RenewalSummaryT>(value);
403 }
404 template <typename RenewalSummaryT = AwsCertificateManagerCertificateRenewalSummary>
406 SetRenewalSummary(std::forward<RenewalSummaryT>(value));
407 return *this;
408 }
410
412
415 inline const Aws::String& GetSerial() const { return m_serial; }
416 inline bool SerialHasBeenSet() const { return m_serialHasBeenSet; }
417 template <typename SerialT = Aws::String>
418 void SetSerial(SerialT&& value) {
419 m_serialHasBeenSet = true;
420 m_serial = std::forward<SerialT>(value);
421 }
422 template <typename SerialT = Aws::String>
424 SetSerial(std::forward<SerialT>(value));
425 return *this;
426 }
428
430
433 inline const Aws::String& GetSignatureAlgorithm() const { return m_signatureAlgorithm; }
434 inline bool SignatureAlgorithmHasBeenSet() const { return m_signatureAlgorithmHasBeenSet; }
435 template <typename SignatureAlgorithmT = Aws::String>
436 void SetSignatureAlgorithm(SignatureAlgorithmT&& value) {
437 m_signatureAlgorithmHasBeenSet = true;
438 m_signatureAlgorithm = std::forward<SignatureAlgorithmT>(value);
439 }
440 template <typename SignatureAlgorithmT = Aws::String>
442 SetSignatureAlgorithm(std::forward<SignatureAlgorithmT>(value));
443 return *this;
444 }
446
448
454 inline const Aws::String& GetStatus() const { return m_status; }
455 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
456 template <typename StatusT = Aws::String>
457 void SetStatus(StatusT&& value) {
458 m_statusHasBeenSet = true;
459 m_status = std::forward<StatusT>(value);
460 }
461 template <typename StatusT = Aws::String>
463 SetStatus(std::forward<StatusT>(value));
464 return *this;
465 }
467
469
473 inline const Aws::String& GetSubject() const { return m_subject; }
474 inline bool SubjectHasBeenSet() const { return m_subjectHasBeenSet; }
475 template <typename SubjectT = Aws::String>
476 void SetSubject(SubjectT&& value) {
477 m_subjectHasBeenSet = true;
478 m_subject = std::forward<SubjectT>(value);
479 }
480 template <typename SubjectT = Aws::String>
482 SetSubject(std::forward<SubjectT>(value));
483 return *this;
484 }
486
488
495 inline const Aws::Vector<Aws::String>& GetSubjectAlternativeNames() const { return m_subjectAlternativeNames; }
496 inline bool SubjectAlternativeNamesHasBeenSet() const { return m_subjectAlternativeNamesHasBeenSet; }
497 template <typename SubjectAlternativeNamesT = Aws::Vector<Aws::String>>
498 void SetSubjectAlternativeNames(SubjectAlternativeNamesT&& value) {
499 m_subjectAlternativeNamesHasBeenSet = true;
500 m_subjectAlternativeNames = std::forward<SubjectAlternativeNamesT>(value);
501 }
502 template <typename SubjectAlternativeNamesT = Aws::Vector<Aws::String>>
504 SetSubjectAlternativeNames(std::forward<SubjectAlternativeNamesT>(value));
505 return *this;
506 }
507 template <typename SubjectAlternativeNamesT = Aws::String>
509 m_subjectAlternativeNamesHasBeenSet = true;
510 m_subjectAlternativeNames.emplace_back(std::forward<SubjectAlternativeNamesT>(value));
511 return *this;
512 }
514
516
523 inline const Aws::String& GetType() const { return m_type; }
524 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
525 template <typename TypeT = Aws::String>
526 void SetType(TypeT&& value) {
527 m_typeHasBeenSet = true;
528 m_type = std::forward<TypeT>(value);
529 }
530 template <typename TypeT = Aws::String>
532 SetType(std::forward<TypeT>(value));
533 return *this;
534 }
536 private:
537 Aws::String m_certificateAuthorityArn;
538
539 Aws::String m_createdAt;
540
541 Aws::String m_domainName;
542
544
546
547 Aws::String m_failureReason;
548
549 Aws::String m_importedAt;
550
551 Aws::Vector<Aws::String> m_inUseBy;
552
553 Aws::String m_issuedAt;
554
555 Aws::String m_issuer;
556
557 Aws::String m_keyAlgorithm;
558
560
561 Aws::String m_notAfter;
562
563 Aws::String m_notBefore;
564
566
567 Aws::String m_renewalEligibility;
568
570
571 Aws::String m_serial;
572
573 Aws::String m_signatureAlgorithm;
574
575 Aws::String m_status;
576
577 Aws::String m_subject;
578
579 Aws::Vector<Aws::String> m_subjectAlternativeNames;
580
581 Aws::String m_type;
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;
605};
606
607} // namespace Model
608} // namespace SecurityHub
609} // namespace Aws
AwsCertificateManagerCertificateDetails & WithExtendedKeyUsages(ExtendedKeyUsagesT &&value)
AwsCertificateManagerCertificateDetails & AddExtendedKeyUsages(ExtendedKeyUsagesT &&value)
AwsCertificateManagerCertificateDetails & WithFailureReason(FailureReasonT &&value)
AwsCertificateManagerCertificateDetails & AddDomainValidationOptions(DomainValidationOptionsT &&value)
AwsCertificateManagerCertificateDetails & WithNotAfter(NotAfterT &&value)
const Aws::Vector< AwsCertificateManagerCertificateExtendedKeyUsage > & GetExtendedKeyUsages() const
AwsCertificateManagerCertificateDetails & WithIssuedAt(IssuedAtT &&value)
AwsCertificateManagerCertificateDetails & WithSignatureAlgorithm(SignatureAlgorithmT &&value)
AwsCertificateManagerCertificateDetails & AddKeyUsages(KeyUsagesT &&value)
const Aws::Vector< AwsCertificateManagerCertificateKeyUsage > & GetKeyUsages() const
AwsCertificateManagerCertificateDetails & WithSubject(SubjectT &&value)
AwsCertificateManagerCertificateDetails & AddInUseBy(InUseByT &&value)
AwsCertificateManagerCertificateDetails & WithDomainName(DomainNameT &&value)
AwsCertificateManagerCertificateDetails & WithNotBefore(NotBeforeT &&value)
AwsCertificateManagerCertificateDetails & AddSubjectAlternativeNames(SubjectAlternativeNamesT &&value)
AwsCertificateManagerCertificateDetails & WithKeyAlgorithm(KeyAlgorithmT &&value)
AwsCertificateManagerCertificateDetails & WithCertificateAuthorityArn(CertificateAuthorityArnT &&value)
AWS_SECURITYHUB_API AwsCertificateManagerCertificateDetails(Aws::Utils::Json::JsonView jsonValue)
AwsCertificateManagerCertificateDetails & WithImportedAt(ImportedAtT &&value)
AwsCertificateManagerCertificateDetails & WithKeyUsages(KeyUsagesT &&value)
AwsCertificateManagerCertificateDetails & WithCreatedAt(CreatedAtT &&value)
AwsCertificateManagerCertificateDetails & WithRenewalSummary(RenewalSummaryT &&value)
AwsCertificateManagerCertificateDetails & WithInUseBy(InUseByT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< AwsCertificateManagerCertificateDomainValidationOption > & GetDomainValidationOptions() const
AwsCertificateManagerCertificateDetails & WithRenewalEligibility(RenewalEligibilityT &&value)
AwsCertificateManagerCertificateDetails & WithSubjectAlternativeNames(SubjectAlternativeNamesT &&value)
AwsCertificateManagerCertificateDetails & WithOptions(OptionsT &&value)
const AwsCertificateManagerCertificateRenewalSummary & GetRenewalSummary() const
AWS_SECURITYHUB_API AwsCertificateManagerCertificateDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
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