AWS SDK for C++

AWS SDK for C++ Version 1.11.785

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
67 inline const Aws::String& GetCreatedAt() const { return m_createdAt; }
68 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
69 template <typename CreatedAtT = Aws::String>
70 void SetCreatedAt(CreatedAtT&& value) {
71 m_createdAtHasBeenSet = true;
72 m_createdAt = std::forward<CreatedAtT>(value);
73 }
74 template <typename CreatedAtT = Aws::String>
76 SetCreatedAt(std::forward<CreatedAtT>(value));
77 return *this;
78 }
80
82
86 inline const Aws::String& GetDomainName() const { return m_domainName; }
87 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
88 template <typename DomainNameT = Aws::String>
89 void SetDomainName(DomainNameT&& value) {
90 m_domainNameHasBeenSet = true;
91 m_domainName = std::forward<DomainNameT>(value);
92 }
93 template <typename DomainNameT = Aws::String>
95 SetDomainName(std::forward<DomainNameT>(value));
96 return *this;
97 }
99
101
107 return m_domainValidationOptions;
108 }
109 inline bool DomainValidationOptionsHasBeenSet() const { return m_domainValidationOptionsHasBeenSet; }
110 template <typename DomainValidationOptionsT = Aws::Vector<AwsCertificateManagerCertificateDomainValidationOption>>
111 void SetDomainValidationOptions(DomainValidationOptionsT&& value) {
112 m_domainValidationOptionsHasBeenSet = true;
113 m_domainValidationOptions = std::forward<DomainValidationOptionsT>(value);
114 }
115 template <typename DomainValidationOptionsT = Aws::Vector<AwsCertificateManagerCertificateDomainValidationOption>>
117 SetDomainValidationOptions(std::forward<DomainValidationOptionsT>(value));
118 return *this;
119 }
120 template <typename DomainValidationOptionsT = AwsCertificateManagerCertificateDomainValidationOption>
122 m_domainValidationOptionsHasBeenSet = true;
123 m_domainValidationOptions.emplace_back(std::forward<DomainValidationOptionsT>(value));
124 return *this;
125 }
127
129
135 inline bool ExtendedKeyUsagesHasBeenSet() const { return m_extendedKeyUsagesHasBeenSet; }
136 template <typename ExtendedKeyUsagesT = Aws::Vector<AwsCertificateManagerCertificateExtendedKeyUsage>>
137 void SetExtendedKeyUsages(ExtendedKeyUsagesT&& value) {
138 m_extendedKeyUsagesHasBeenSet = true;
139 m_extendedKeyUsages = std::forward<ExtendedKeyUsagesT>(value);
140 }
141 template <typename ExtendedKeyUsagesT = Aws::Vector<AwsCertificateManagerCertificateExtendedKeyUsage>>
143 SetExtendedKeyUsages(std::forward<ExtendedKeyUsagesT>(value));
144 return *this;
145 }
146 template <typename ExtendedKeyUsagesT = AwsCertificateManagerCertificateExtendedKeyUsage>
148 m_extendedKeyUsagesHasBeenSet = true;
149 m_extendedKeyUsages.emplace_back(std::forward<ExtendedKeyUsagesT>(value));
150 return *this;
151 }
153
155
167 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
168 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
169 template <typename FailureReasonT = Aws::String>
170 void SetFailureReason(FailureReasonT&& value) {
171 m_failureReasonHasBeenSet = true;
172 m_failureReason = std::forward<FailureReasonT>(value);
173 }
174 template <typename FailureReasonT = Aws::String>
176 SetFailureReason(std::forward<FailureReasonT>(value));
177 return *this;
178 }
180
182
188 inline const Aws::String& GetImportedAt() const { return m_importedAt; }
189 inline bool ImportedAtHasBeenSet() const { return m_importedAtHasBeenSet; }
190 template <typename ImportedAtT = Aws::String>
191 void SetImportedAt(ImportedAtT&& value) {
192 m_importedAtHasBeenSet = true;
193 m_importedAt = std::forward<ImportedAtT>(value);
194 }
195 template <typename ImportedAtT = Aws::String>
197 SetImportedAt(std::forward<ImportedAtT>(value));
198 return *this;
199 }
201
203
207 inline const Aws::Vector<Aws::String>& GetInUseBy() const { return m_inUseBy; }
208 inline bool InUseByHasBeenSet() const { return m_inUseByHasBeenSet; }
209 template <typename InUseByT = Aws::Vector<Aws::String>>
210 void SetInUseBy(InUseByT&& value) {
211 m_inUseByHasBeenSet = true;
212 m_inUseBy = std::forward<InUseByT>(value);
213 }
214 template <typename InUseByT = Aws::Vector<Aws::String>>
216 SetInUseBy(std::forward<InUseByT>(value));
217 return *this;
218 }
219 template <typename InUseByT = Aws::String>
221 m_inUseByHasBeenSet = true;
222 m_inUseBy.emplace_back(std::forward<InUseByT>(value));
223 return *this;
224 }
226
228
234 inline const Aws::String& GetIssuedAt() const { return m_issuedAt; }
235 inline bool IssuedAtHasBeenSet() const { return m_issuedAtHasBeenSet; }
236 template <typename IssuedAtT = Aws::String>
237 void SetIssuedAt(IssuedAtT&& value) {
238 m_issuedAtHasBeenSet = true;
239 m_issuedAt = std::forward<IssuedAtT>(value);
240 }
241 template <typename IssuedAtT = Aws::String>
243 SetIssuedAt(std::forward<IssuedAtT>(value));
244 return *this;
245 }
247
249
253 inline const Aws::String& GetIssuer() const { return m_issuer; }
254 inline bool IssuerHasBeenSet() const { return m_issuerHasBeenSet; }
255 template <typename IssuerT = Aws::String>
256 void SetIssuer(IssuerT&& value) {
257 m_issuerHasBeenSet = true;
258 m_issuer = std::forward<IssuerT>(value);
259 }
260 template <typename IssuerT = Aws::String>
262 SetIssuer(std::forward<IssuerT>(value));
263 return *this;
264 }
266
268
274 inline const Aws::String& GetKeyAlgorithm() const { return m_keyAlgorithm; }
275 inline bool KeyAlgorithmHasBeenSet() const { return m_keyAlgorithmHasBeenSet; }
276 template <typename KeyAlgorithmT = Aws::String>
277 void SetKeyAlgorithm(KeyAlgorithmT&& value) {
278 m_keyAlgorithmHasBeenSet = true;
279 m_keyAlgorithm = std::forward<KeyAlgorithmT>(value);
280 }
281 template <typename KeyAlgorithmT = Aws::String>
283 SetKeyAlgorithm(std::forward<KeyAlgorithmT>(value));
284 return *this;
285 }
287
289
292 inline const Aws::Vector<AwsCertificateManagerCertificateKeyUsage>& GetKeyUsages() const { return m_keyUsages; }
293 inline bool KeyUsagesHasBeenSet() const { return m_keyUsagesHasBeenSet; }
294 template <typename KeyUsagesT = Aws::Vector<AwsCertificateManagerCertificateKeyUsage>>
295 void SetKeyUsages(KeyUsagesT&& value) {
296 m_keyUsagesHasBeenSet = true;
297 m_keyUsages = std::forward<KeyUsagesT>(value);
298 }
299 template <typename KeyUsagesT = Aws::Vector<AwsCertificateManagerCertificateKeyUsage>>
301 SetKeyUsages(std::forward<KeyUsagesT>(value));
302 return *this;
303 }
304 template <typename KeyUsagesT = AwsCertificateManagerCertificateKeyUsage>
306 m_keyUsagesHasBeenSet = true;
307 m_keyUsages.emplace_back(std::forward<KeyUsagesT>(value));
308 return *this;
309 }
311
313
319 inline const Aws::String& GetNotAfter() const { return m_notAfter; }
320 inline bool NotAfterHasBeenSet() const { return m_notAfterHasBeenSet; }
321 template <typename NotAfterT = Aws::String>
322 void SetNotAfter(NotAfterT&& value) {
323 m_notAfterHasBeenSet = true;
324 m_notAfter = std::forward<NotAfterT>(value);
325 }
326 template <typename NotAfterT = Aws::String>
328 SetNotAfter(std::forward<NotAfterT>(value));
329 return *this;
330 }
332
334
340 inline const Aws::String& GetNotBefore() const { return m_notBefore; }
341 inline bool NotBeforeHasBeenSet() const { return m_notBeforeHasBeenSet; }
342 template <typename NotBeforeT = Aws::String>
343 void SetNotBefore(NotBeforeT&& value) {
344 m_notBeforeHasBeenSet = true;
345 m_notBefore = std::forward<NotBeforeT>(value);
346 }
347 template <typename NotBeforeT = Aws::String>
349 SetNotBefore(std::forward<NotBeforeT>(value));
350 return *this;
351 }
353
355
359 inline const AwsCertificateManagerCertificateOptions& GetOptions() const { return m_options; }
360 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
361 template <typename OptionsT = AwsCertificateManagerCertificateOptions>
362 void SetOptions(OptionsT&& value) {
363 m_optionsHasBeenSet = true;
364 m_options = std::forward<OptionsT>(value);
365 }
366 template <typename OptionsT = AwsCertificateManagerCertificateOptions>
368 SetOptions(std::forward<OptionsT>(value));
369 return *this;
370 }
372
374
378 inline const Aws::String& GetRenewalEligibility() const { return m_renewalEligibility; }
379 inline bool RenewalEligibilityHasBeenSet() const { return m_renewalEligibilityHasBeenSet; }
380 template <typename RenewalEligibilityT = Aws::String>
381 void SetRenewalEligibility(RenewalEligibilityT&& value) {
382 m_renewalEligibilityHasBeenSet = true;
383 m_renewalEligibility = std::forward<RenewalEligibilityT>(value);
384 }
385 template <typename RenewalEligibilityT = Aws::String>
387 SetRenewalEligibility(std::forward<RenewalEligibilityT>(value));
388 return *this;
389 }
391
393
398 inline const AwsCertificateManagerCertificateRenewalSummary& GetRenewalSummary() const { return m_renewalSummary; }
399 inline bool RenewalSummaryHasBeenSet() const { return m_renewalSummaryHasBeenSet; }
400 template <typename RenewalSummaryT = AwsCertificateManagerCertificateRenewalSummary>
401 void SetRenewalSummary(RenewalSummaryT&& value) {
402 m_renewalSummaryHasBeenSet = true;
403 m_renewalSummary = std::forward<RenewalSummaryT>(value);
404 }
405 template <typename RenewalSummaryT = AwsCertificateManagerCertificateRenewalSummary>
407 SetRenewalSummary(std::forward<RenewalSummaryT>(value));
408 return *this;
409 }
411
413
416 inline const Aws::String& GetSerial() const { return m_serial; }
417 inline bool SerialHasBeenSet() const { return m_serialHasBeenSet; }
418 template <typename SerialT = Aws::String>
419 void SetSerial(SerialT&& value) {
420 m_serialHasBeenSet = true;
421 m_serial = std::forward<SerialT>(value);
422 }
423 template <typename SerialT = Aws::String>
425 SetSerial(std::forward<SerialT>(value));
426 return *this;
427 }
429
431
434 inline const Aws::String& GetSignatureAlgorithm() const { return m_signatureAlgorithm; }
435 inline bool SignatureAlgorithmHasBeenSet() const { return m_signatureAlgorithmHasBeenSet; }
436 template <typename SignatureAlgorithmT = Aws::String>
437 void SetSignatureAlgorithm(SignatureAlgorithmT&& value) {
438 m_signatureAlgorithmHasBeenSet = true;
439 m_signatureAlgorithm = std::forward<SignatureAlgorithmT>(value);
440 }
441 template <typename SignatureAlgorithmT = Aws::String>
443 SetSignatureAlgorithm(std::forward<SignatureAlgorithmT>(value));
444 return *this;
445 }
447
449
455 inline const Aws::String& GetStatus() const { return m_status; }
456 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
457 template <typename StatusT = Aws::String>
458 void SetStatus(StatusT&& value) {
459 m_statusHasBeenSet = true;
460 m_status = std::forward<StatusT>(value);
461 }
462 template <typename StatusT = Aws::String>
464 SetStatus(std::forward<StatusT>(value));
465 return *this;
466 }
468
470
474 inline const Aws::String& GetSubject() const { return m_subject; }
475 inline bool SubjectHasBeenSet() const { return m_subjectHasBeenSet; }
476 template <typename SubjectT = Aws::String>
477 void SetSubject(SubjectT&& value) {
478 m_subjectHasBeenSet = true;
479 m_subject = std::forward<SubjectT>(value);
480 }
481 template <typename SubjectT = Aws::String>
483 SetSubject(std::forward<SubjectT>(value));
484 return *this;
485 }
487
489
496 inline const Aws::Vector<Aws::String>& GetSubjectAlternativeNames() const { return m_subjectAlternativeNames; }
497 inline bool SubjectAlternativeNamesHasBeenSet() const { return m_subjectAlternativeNamesHasBeenSet; }
498 template <typename SubjectAlternativeNamesT = Aws::Vector<Aws::String>>
499 void SetSubjectAlternativeNames(SubjectAlternativeNamesT&& value) {
500 m_subjectAlternativeNamesHasBeenSet = true;
501 m_subjectAlternativeNames = std::forward<SubjectAlternativeNamesT>(value);
502 }
503 template <typename SubjectAlternativeNamesT = Aws::Vector<Aws::String>>
505 SetSubjectAlternativeNames(std::forward<SubjectAlternativeNamesT>(value));
506 return *this;
507 }
508 template <typename SubjectAlternativeNamesT = Aws::String>
510 m_subjectAlternativeNamesHasBeenSet = true;
511 m_subjectAlternativeNames.emplace_back(std::forward<SubjectAlternativeNamesT>(value));
512 return *this;
513 }
515
517
524 inline const Aws::String& GetType() const { return m_type; }
525 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
526 template <typename TypeT = Aws::String>
527 void SetType(TypeT&& value) {
528 m_typeHasBeenSet = true;
529 m_type = std::forward<TypeT>(value);
530 }
531 template <typename TypeT = Aws::String>
533 SetType(std::forward<TypeT>(value));
534 return *this;
535 }
537 private:
538 Aws::String m_certificateAuthorityArn;
539
540 Aws::String m_createdAt;
541
542 Aws::String m_domainName;
543
545
547
548 Aws::String m_failureReason;
549
550 Aws::String m_importedAt;
551
552 Aws::Vector<Aws::String> m_inUseBy;
553
554 Aws::String m_issuedAt;
555
556 Aws::String m_issuer;
557
558 Aws::String m_keyAlgorithm;
559
561
562 Aws::String m_notAfter;
563
564 Aws::String m_notBefore;
565
567
568 Aws::String m_renewalEligibility;
569
571
572 Aws::String m_serial;
573
574 Aws::String m_signatureAlgorithm;
575
576 Aws::String m_status;
577
578 Aws::String m_subject;
579
580 Aws::Vector<Aws::String> m_subjectAlternativeNames;
581
582 Aws::String m_type;
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;
606};
607
608} // namespace Model
609} // namespace SecurityHub
610} // 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