AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AwsCertificateManagerCertificateDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityhub/model/AwsCertificateManagerCertificateOptions.h>
11#include <aws/securityhub/model/AwsCertificateManagerCertificateRenewalSummary.h>
12#include <aws/securityhub/model/AwsCertificateManagerCertificateDomainValidationOption.h>
13#include <aws/securityhub/model/AwsCertificateManagerCertificateExtendedKeyUsage.h>
14#include <aws/securityhub/model/AwsCertificateManagerCertificateKeyUsage.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace SecurityHub
28{
29namespace Model
30{
31
39 {
40 public:
41 AWS_SECURITYHUB_API AwsCertificateManagerCertificateDetails() = default;
44 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
52 inline const Aws::String& GetCertificateAuthorityArn() const { return m_certificateAuthorityArn; }
53 inline bool CertificateAuthorityArnHasBeenSet() const { return m_certificateAuthorityArnHasBeenSet; }
54 template<typename CertificateAuthorityArnT = Aws::String>
55 void SetCertificateAuthorityArn(CertificateAuthorityArnT&& value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn = std::forward<CertificateAuthorityArnT>(value); }
56 template<typename CertificateAuthorityArnT = Aws::String>
57 AwsCertificateManagerCertificateDetails& WithCertificateAuthorityArn(CertificateAuthorityArnT&& value) { SetCertificateAuthorityArn(std::forward<CertificateAuthorityArnT>(value)); return *this;}
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) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
70 template<typename CreatedAtT = Aws::String>
71 AwsCertificateManagerCertificateDetails& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
73
75
79 inline const Aws::String& GetDomainName() const { return m_domainName; }
80 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
81 template<typename DomainNameT = Aws::String>
82 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
83 template<typename DomainNameT = Aws::String>
84 AwsCertificateManagerCertificateDetails& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
86
88
94 inline bool DomainValidationOptionsHasBeenSet() const { return m_domainValidationOptionsHasBeenSet; }
95 template<typename DomainValidationOptionsT = Aws::Vector<AwsCertificateManagerCertificateDomainValidationOption>>
96 void SetDomainValidationOptions(DomainValidationOptionsT&& value) { m_domainValidationOptionsHasBeenSet = true; m_domainValidationOptions = std::forward<DomainValidationOptionsT>(value); }
97 template<typename DomainValidationOptionsT = Aws::Vector<AwsCertificateManagerCertificateDomainValidationOption>>
98 AwsCertificateManagerCertificateDetails& WithDomainValidationOptions(DomainValidationOptionsT&& value) { SetDomainValidationOptions(std::forward<DomainValidationOptionsT>(value)); return *this;}
99 template<typename DomainValidationOptionsT = AwsCertificateManagerCertificateDomainValidationOption>
100 AwsCertificateManagerCertificateDetails& AddDomainValidationOptions(DomainValidationOptionsT&& value) { m_domainValidationOptionsHasBeenSet = true; m_domainValidationOptions.emplace_back(std::forward<DomainValidationOptionsT>(value)); return *this; }
102
104
110 inline bool ExtendedKeyUsagesHasBeenSet() const { return m_extendedKeyUsagesHasBeenSet; }
111 template<typename ExtendedKeyUsagesT = Aws::Vector<AwsCertificateManagerCertificateExtendedKeyUsage>>
112 void SetExtendedKeyUsages(ExtendedKeyUsagesT&& value) { m_extendedKeyUsagesHasBeenSet = true; m_extendedKeyUsages = std::forward<ExtendedKeyUsagesT>(value); }
113 template<typename ExtendedKeyUsagesT = Aws::Vector<AwsCertificateManagerCertificateExtendedKeyUsage>>
114 AwsCertificateManagerCertificateDetails& WithExtendedKeyUsages(ExtendedKeyUsagesT&& value) { SetExtendedKeyUsages(std::forward<ExtendedKeyUsagesT>(value)); return *this;}
115 template<typename ExtendedKeyUsagesT = AwsCertificateManagerCertificateExtendedKeyUsage>
116 AwsCertificateManagerCertificateDetails& AddExtendedKeyUsages(ExtendedKeyUsagesT&& value) { m_extendedKeyUsagesHasBeenSet = true; m_extendedKeyUsages.emplace_back(std::forward<ExtendedKeyUsagesT>(value)); return *this; }
118
120
132 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
133 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
134 template<typename FailureReasonT = Aws::String>
135 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
136 template<typename FailureReasonT = Aws::String>
137 AwsCertificateManagerCertificateDetails& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
139
141
147 inline const Aws::String& GetImportedAt() const { return m_importedAt; }
148 inline bool ImportedAtHasBeenSet() const { return m_importedAtHasBeenSet; }
149 template<typename ImportedAtT = Aws::String>
150 void SetImportedAt(ImportedAtT&& value) { m_importedAtHasBeenSet = true; m_importedAt = std::forward<ImportedAtT>(value); }
151 template<typename ImportedAtT = Aws::String>
152 AwsCertificateManagerCertificateDetails& WithImportedAt(ImportedAtT&& value) { SetImportedAt(std::forward<ImportedAtT>(value)); return *this;}
154
156
160 inline const Aws::Vector<Aws::String>& GetInUseBy() const { return m_inUseBy; }
161 inline bool InUseByHasBeenSet() const { return m_inUseByHasBeenSet; }
162 template<typename InUseByT = Aws::Vector<Aws::String>>
163 void SetInUseBy(InUseByT&& value) { m_inUseByHasBeenSet = true; m_inUseBy = std::forward<InUseByT>(value); }
164 template<typename InUseByT = Aws::Vector<Aws::String>>
165 AwsCertificateManagerCertificateDetails& WithInUseBy(InUseByT&& value) { SetInUseBy(std::forward<InUseByT>(value)); return *this;}
166 template<typename InUseByT = Aws::String>
167 AwsCertificateManagerCertificateDetails& AddInUseBy(InUseByT&& value) { m_inUseByHasBeenSet = true; m_inUseBy.emplace_back(std::forward<InUseByT>(value)); return *this; }
169
171
177 inline const Aws::String& GetIssuedAt() const { return m_issuedAt; }
178 inline bool IssuedAtHasBeenSet() const { return m_issuedAtHasBeenSet; }
179 template<typename IssuedAtT = Aws::String>
180 void SetIssuedAt(IssuedAtT&& value) { m_issuedAtHasBeenSet = true; m_issuedAt = std::forward<IssuedAtT>(value); }
181 template<typename IssuedAtT = Aws::String>
182 AwsCertificateManagerCertificateDetails& WithIssuedAt(IssuedAtT&& value) { SetIssuedAt(std::forward<IssuedAtT>(value)); return *this;}
184
186
190 inline const Aws::String& GetIssuer() const { return m_issuer; }
191 inline bool IssuerHasBeenSet() const { return m_issuerHasBeenSet; }
192 template<typename IssuerT = Aws::String>
193 void SetIssuer(IssuerT&& value) { m_issuerHasBeenSet = true; m_issuer = std::forward<IssuerT>(value); }
194 template<typename IssuerT = Aws::String>
195 AwsCertificateManagerCertificateDetails& WithIssuer(IssuerT&& value) { SetIssuer(std::forward<IssuerT>(value)); return *this;}
197
199
205 inline const Aws::String& GetKeyAlgorithm() const { return m_keyAlgorithm; }
206 inline bool KeyAlgorithmHasBeenSet() const { return m_keyAlgorithmHasBeenSet; }
207 template<typename KeyAlgorithmT = Aws::String>
208 void SetKeyAlgorithm(KeyAlgorithmT&& value) { m_keyAlgorithmHasBeenSet = true; m_keyAlgorithm = std::forward<KeyAlgorithmT>(value); }
209 template<typename KeyAlgorithmT = Aws::String>
210 AwsCertificateManagerCertificateDetails& WithKeyAlgorithm(KeyAlgorithmT&& value) { SetKeyAlgorithm(std::forward<KeyAlgorithmT>(value)); return *this;}
212
214
217 inline const Aws::Vector<AwsCertificateManagerCertificateKeyUsage>& GetKeyUsages() const { return m_keyUsages; }
218 inline bool KeyUsagesHasBeenSet() const { return m_keyUsagesHasBeenSet; }
219 template<typename KeyUsagesT = Aws::Vector<AwsCertificateManagerCertificateKeyUsage>>
220 void SetKeyUsages(KeyUsagesT&& value) { m_keyUsagesHasBeenSet = true; m_keyUsages = std::forward<KeyUsagesT>(value); }
221 template<typename KeyUsagesT = Aws::Vector<AwsCertificateManagerCertificateKeyUsage>>
222 AwsCertificateManagerCertificateDetails& WithKeyUsages(KeyUsagesT&& value) { SetKeyUsages(std::forward<KeyUsagesT>(value)); return *this;}
223 template<typename KeyUsagesT = AwsCertificateManagerCertificateKeyUsage>
224 AwsCertificateManagerCertificateDetails& AddKeyUsages(KeyUsagesT&& value) { m_keyUsagesHasBeenSet = true; m_keyUsages.emplace_back(std::forward<KeyUsagesT>(value)); return *this; }
226
228
234 inline const Aws::String& GetNotAfter() const { return m_notAfter; }
235 inline bool NotAfterHasBeenSet() const { return m_notAfterHasBeenSet; }
236 template<typename NotAfterT = Aws::String>
237 void SetNotAfter(NotAfterT&& value) { m_notAfterHasBeenSet = true; m_notAfter = std::forward<NotAfterT>(value); }
238 template<typename NotAfterT = Aws::String>
239 AwsCertificateManagerCertificateDetails& WithNotAfter(NotAfterT&& value) { SetNotAfter(std::forward<NotAfterT>(value)); return *this;}
241
243
249 inline const Aws::String& GetNotBefore() const { return m_notBefore; }
250 inline bool NotBeforeHasBeenSet() const { return m_notBeforeHasBeenSet; }
251 template<typename NotBeforeT = Aws::String>
252 void SetNotBefore(NotBeforeT&& value) { m_notBeforeHasBeenSet = true; m_notBefore = std::forward<NotBeforeT>(value); }
253 template<typename NotBeforeT = Aws::String>
254 AwsCertificateManagerCertificateDetails& WithNotBefore(NotBeforeT&& value) { SetNotBefore(std::forward<NotBeforeT>(value)); return *this;}
256
258
262 inline const AwsCertificateManagerCertificateOptions& GetOptions() const { return m_options; }
263 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
264 template<typename OptionsT = AwsCertificateManagerCertificateOptions>
265 void SetOptions(OptionsT&& value) { m_optionsHasBeenSet = true; m_options = std::forward<OptionsT>(value); }
266 template<typename OptionsT = AwsCertificateManagerCertificateOptions>
267 AwsCertificateManagerCertificateDetails& WithOptions(OptionsT&& value) { SetOptions(std::forward<OptionsT>(value)); return *this;}
269
271
275 inline const Aws::String& GetRenewalEligibility() const { return m_renewalEligibility; }
276 inline bool RenewalEligibilityHasBeenSet() const { return m_renewalEligibilityHasBeenSet; }
277 template<typename RenewalEligibilityT = Aws::String>
278 void SetRenewalEligibility(RenewalEligibilityT&& value) { m_renewalEligibilityHasBeenSet = true; m_renewalEligibility = std::forward<RenewalEligibilityT>(value); }
279 template<typename RenewalEligibilityT = Aws::String>
280 AwsCertificateManagerCertificateDetails& WithRenewalEligibility(RenewalEligibilityT&& value) { SetRenewalEligibility(std::forward<RenewalEligibilityT>(value)); return *this;}
282
284
289 inline const AwsCertificateManagerCertificateRenewalSummary& GetRenewalSummary() const { return m_renewalSummary; }
290 inline bool RenewalSummaryHasBeenSet() const { return m_renewalSummaryHasBeenSet; }
291 template<typename RenewalSummaryT = AwsCertificateManagerCertificateRenewalSummary>
292 void SetRenewalSummary(RenewalSummaryT&& value) { m_renewalSummaryHasBeenSet = true; m_renewalSummary = std::forward<RenewalSummaryT>(value); }
293 template<typename RenewalSummaryT = AwsCertificateManagerCertificateRenewalSummary>
294 AwsCertificateManagerCertificateDetails& WithRenewalSummary(RenewalSummaryT&& value) { SetRenewalSummary(std::forward<RenewalSummaryT>(value)); return *this;}
296
298
301 inline const Aws::String& GetSerial() const { return m_serial; }
302 inline bool SerialHasBeenSet() const { return m_serialHasBeenSet; }
303 template<typename SerialT = Aws::String>
304 void SetSerial(SerialT&& value) { m_serialHasBeenSet = true; m_serial = std::forward<SerialT>(value); }
305 template<typename SerialT = Aws::String>
306 AwsCertificateManagerCertificateDetails& WithSerial(SerialT&& value) { SetSerial(std::forward<SerialT>(value)); return *this;}
308
310
313 inline const Aws::String& GetSignatureAlgorithm() const { return m_signatureAlgorithm; }
314 inline bool SignatureAlgorithmHasBeenSet() const { return m_signatureAlgorithmHasBeenSet; }
315 template<typename SignatureAlgorithmT = Aws::String>
316 void SetSignatureAlgorithm(SignatureAlgorithmT&& value) { m_signatureAlgorithmHasBeenSet = true; m_signatureAlgorithm = std::forward<SignatureAlgorithmT>(value); }
317 template<typename SignatureAlgorithmT = Aws::String>
318 AwsCertificateManagerCertificateDetails& WithSignatureAlgorithm(SignatureAlgorithmT&& value) { SetSignatureAlgorithm(std::forward<SignatureAlgorithmT>(value)); return *this;}
320
322
328 inline const Aws::String& GetStatus() const { return m_status; }
329 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
330 template<typename StatusT = Aws::String>
331 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
332 template<typename StatusT = Aws::String>
333 AwsCertificateManagerCertificateDetails& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
335
337
341 inline const Aws::String& GetSubject() const { return m_subject; }
342 inline bool SubjectHasBeenSet() const { return m_subjectHasBeenSet; }
343 template<typename SubjectT = Aws::String>
344 void SetSubject(SubjectT&& value) { m_subjectHasBeenSet = true; m_subject = std::forward<SubjectT>(value); }
345 template<typename SubjectT = Aws::String>
346 AwsCertificateManagerCertificateDetails& WithSubject(SubjectT&& value) { SetSubject(std::forward<SubjectT>(value)); return *this;}
348
350
357 inline const Aws::Vector<Aws::String>& GetSubjectAlternativeNames() const { return m_subjectAlternativeNames; }
358 inline bool SubjectAlternativeNamesHasBeenSet() const { return m_subjectAlternativeNamesHasBeenSet; }
359 template<typename SubjectAlternativeNamesT = Aws::Vector<Aws::String>>
360 void SetSubjectAlternativeNames(SubjectAlternativeNamesT&& value) { m_subjectAlternativeNamesHasBeenSet = true; m_subjectAlternativeNames = std::forward<SubjectAlternativeNamesT>(value); }
361 template<typename SubjectAlternativeNamesT = Aws::Vector<Aws::String>>
362 AwsCertificateManagerCertificateDetails& WithSubjectAlternativeNames(SubjectAlternativeNamesT&& value) { SetSubjectAlternativeNames(std::forward<SubjectAlternativeNamesT>(value)); return *this;}
363 template<typename SubjectAlternativeNamesT = Aws::String>
364 AwsCertificateManagerCertificateDetails& AddSubjectAlternativeNames(SubjectAlternativeNamesT&& value) { m_subjectAlternativeNamesHasBeenSet = true; m_subjectAlternativeNames.emplace_back(std::forward<SubjectAlternativeNamesT>(value)); return *this; }
366
368
375 inline const Aws::String& GetType() const { return m_type; }
376 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
377 template<typename TypeT = Aws::String>
378 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
379 template<typename TypeT = Aws::String>
380 AwsCertificateManagerCertificateDetails& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
382 private:
383
384 Aws::String m_certificateAuthorityArn;
385 bool m_certificateAuthorityArnHasBeenSet = false;
386
387 Aws::String m_createdAt;
388 bool m_createdAtHasBeenSet = false;
389
390 Aws::String m_domainName;
391 bool m_domainNameHasBeenSet = false;
392
394 bool m_domainValidationOptionsHasBeenSet = false;
395
397 bool m_extendedKeyUsagesHasBeenSet = false;
398
399 Aws::String m_failureReason;
400 bool m_failureReasonHasBeenSet = false;
401
402 Aws::String m_importedAt;
403 bool m_importedAtHasBeenSet = false;
404
405 Aws::Vector<Aws::String> m_inUseBy;
406 bool m_inUseByHasBeenSet = false;
407
408 Aws::String m_issuedAt;
409 bool m_issuedAtHasBeenSet = false;
410
411 Aws::String m_issuer;
412 bool m_issuerHasBeenSet = false;
413
414 Aws::String m_keyAlgorithm;
415 bool m_keyAlgorithmHasBeenSet = false;
416
418 bool m_keyUsagesHasBeenSet = false;
419
420 Aws::String m_notAfter;
421 bool m_notAfterHasBeenSet = false;
422
423 Aws::String m_notBefore;
424 bool m_notBeforeHasBeenSet = false;
425
427 bool m_optionsHasBeenSet = false;
428
429 Aws::String m_renewalEligibility;
430 bool m_renewalEligibilityHasBeenSet = false;
431
433 bool m_renewalSummaryHasBeenSet = false;
434
435 Aws::String m_serial;
436 bool m_serialHasBeenSet = false;
437
438 Aws::String m_signatureAlgorithm;
439 bool m_signatureAlgorithmHasBeenSet = false;
440
441 Aws::String m_status;
442 bool m_statusHasBeenSet = false;
443
444 Aws::String m_subject;
445 bool m_subjectHasBeenSet = false;
446
447 Aws::Vector<Aws::String> m_subjectAlternativeNames;
448 bool m_subjectAlternativeNamesHasBeenSet = false;
449
450 Aws::String m_type;
451 bool m_typeHasBeenSet = false;
452 };
453
454} // namespace Model
455} // namespace SecurityHub
456} // 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