7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lightsail/Lightsail_EXPORTS.h>
11#include <aws/lightsail/model/LoadBalancerTlsCertificateDomainValidationRecord.h>
12#include <aws/lightsail/model/LoadBalancerTlsCertificateFailureReason.h>
13#include <aws/lightsail/model/LoadBalancerTlsCertificateRenewalSummary.h>
14#include <aws/lightsail/model/LoadBalancerTlsCertificateRevocationReason.h>
15#include <aws/lightsail/model/LoadBalancerTlsCertificateStatus.h>
16#include <aws/lightsail/model/ResourceLocation.h>
17#include <aws/lightsail/model/ResourceType.h>
18#include <aws/lightsail/model/Tag.h>
51 template <
typename NameT = Aws::String>
53 m_nameHasBeenSet =
true;
54 m_name = std::forward<NameT>(value);
56 template <
typename NameT = Aws::String>
58 SetName(std::forward<NameT>(value));
69 template <
typename ArnT = Aws::String>
71 m_arnHasBeenSet =
true;
72 m_arn = std::forward<ArnT>(value);
74 template <
typename ArnT = Aws::String>
76 SetArn(std::forward<ArnT>(value));
89 template <
typename SupportCodeT = Aws::String>
91 m_supportCodeHasBeenSet =
true;
92 m_supportCode = std::forward<SupportCodeT>(value);
94 template <
typename SupportCodeT = Aws::String>
107 template <
typename CreatedAtT = Aws::Utils::DateTime>
109 m_createdAtHasBeenSet =
true;
110 m_createdAt = std::forward<CreatedAtT>(value);
112 template <
typename CreatedAtT = Aws::Utils::DateTime>
126 template <
typename LocationT = ResourceLocation>
128 m_locationHasBeenSet =
true;
129 m_location = std::forward<LocationT>(value);
131 template <
typename LocationT = ResourceLocation>
157 m_resourceTypeHasBeenSet =
true;
158 m_resourceType = value;
175 template <
typename TagsT = Aws::Vector<Tag>>
177 m_tagsHasBeenSet =
true;
178 m_tags = std::forward<TagsT>(value);
180 template <
typename TagsT = Aws::Vector<Tag>>
182 SetTags(std::forward<TagsT>(value));
185 template <
typename TagsT = Tag>
187 m_tagsHasBeenSet =
true;
188 m_tags.emplace_back(std::forward<TagsT>(value));
199 template <
typename LoadBalancerNameT = Aws::String>
201 m_loadBalancerNameHasBeenSet =
true;
202 m_loadBalancerName = std::forward<LoadBalancerNameT>(value);
204 template <
typename LoadBalancerNameT = Aws::String>
219 m_isAttachedHasBeenSet =
true;
220 m_isAttached = value;
235 m_statusHasBeenSet =
true;
250 template <
typename DomainNameT = Aws::String>
252 m_domainNameHasBeenSet =
true;
253 m_domainName = std::forward<DomainNameT>(value);
255 template <
typename DomainNameT = Aws::String>
268 return m_domainValidationRecords;
271 template <
typename DomainVal
idationRecordsT = Aws::Vector<LoadBalancerTlsCertificateDomainVal
idationRecord>>
273 m_domainValidationRecordsHasBeenSet =
true;
274 m_domainValidationRecords = std::forward<DomainValidationRecordsT>(value);
276 template <
typename DomainVal
idationRecordsT = Aws::Vector<LoadBalancerTlsCertificateDomainVal
idationRecord>>
281 template <
typename DomainVal
idationRecordsT = LoadBalancerTlsCertificateDomainVal
idationRecord>
283 m_domainValidationRecordsHasBeenSet =
true;
284 m_domainValidationRecords.emplace_back(std::forward<DomainValidationRecordsT>(value));
334 m_failureReasonHasBeenSet =
true;
335 m_failureReason = value;
349 template <
typename IssuedAtT = Aws::Utils::DateTime>
351 m_issuedAtHasBeenSet =
true;
352 m_issuedAt = std::forward<IssuedAtT>(value);
354 template <
typename IssuedAtT = Aws::Utils::DateTime>
367 template <
typename IssuerT = Aws::String>
369 m_issuerHasBeenSet =
true;
370 m_issuer = std::forward<IssuerT>(value);
372 template <
typename IssuerT = Aws::String>
385 template <
typename KeyAlgorithmT = Aws::String>
387 m_keyAlgorithmHasBeenSet =
true;
388 m_keyAlgorithm = std::forward<KeyAlgorithmT>(value);
390 template <
typename KeyAlgorithmT = Aws::String>
403 template <
typename NotAfterT = Aws::Utils::DateTime>
405 m_notAfterHasBeenSet =
true;
406 m_notAfter = std::forward<NotAfterT>(value);
408 template <
typename NotAfterT = Aws::Utils::DateTime>
421 template <
typename NotBeforeT = Aws::Utils::DateTime>
423 m_notBeforeHasBeenSet =
true;
424 m_notBefore = std::forward<NotBeforeT>(value);
426 template <
typename NotBeforeT = Aws::Utils::DateTime>
440 template <
typename RenewalSummaryT = LoadBalancerTlsCertificateRenewalSummary>
442 m_renewalSummaryHasBeenSet =
true;
443 m_renewalSummary = std::forward<RenewalSummaryT>(value);
445 template <
typename RenewalSummaryT = LoadBalancerTlsCertificateRenewalSummary>
460 m_revocationReasonHasBeenSet =
true;
461 m_revocationReason = value;
476 template <
typename RevokedAtT = Aws::Utils::DateTime>
478 m_revokedAtHasBeenSet =
true;
479 m_revokedAt = std::forward<RevokedAtT>(value);
481 template <
typename RevokedAtT = Aws::Utils::DateTime>
494 template <
typename SerialT = Aws::String>
496 m_serialHasBeenSet =
true;
497 m_serial = std::forward<SerialT>(value);
499 template <
typename SerialT = Aws::String>
512 template <
typename SignatureAlgorithmT = Aws::String>
514 m_signatureAlgorithmHasBeenSet =
true;
515 m_signatureAlgorithm = std::forward<SignatureAlgorithmT>(value);
517 template <
typename SignatureAlgorithmT = Aws::String>
531 template <
typename SubjectT = Aws::String>
533 m_subjectHasBeenSet =
true;
534 m_subject = std::forward<SubjectT>(value);
536 template <
typename SubjectT = Aws::String>
551 template <
typename SubjectAlternativeNamesT = Aws::Vector<Aws::String>>
553 m_subjectAlternativeNamesHasBeenSet =
true;
554 m_subjectAlternativeNames = std::forward<SubjectAlternativeNamesT>(value);
556 template <
typename SubjectAlternativeNamesT = Aws::Vector<Aws::String>>
561 template <
typename SubjectAlternativeNamesT = Aws::String>
563 m_subjectAlternativeNamesHasBeenSet =
true;
564 m_subjectAlternativeNames.emplace_back(std::forward<SubjectAlternativeNamesT>(value));
577 ResourceLocation m_location;
585 bool m_isAttached{
false};
605 LoadBalancerTlsCertificateRenewalSummary m_renewalSummary;
618 bool m_nameHasBeenSet =
false;
619 bool m_arnHasBeenSet =
false;
620 bool m_supportCodeHasBeenSet =
false;
621 bool m_createdAtHasBeenSet =
false;
622 bool m_locationHasBeenSet =
false;
623 bool m_resourceTypeHasBeenSet =
false;
624 bool m_tagsHasBeenSet =
false;
625 bool m_loadBalancerNameHasBeenSet =
false;
626 bool m_isAttachedHasBeenSet =
false;
627 bool m_statusHasBeenSet =
false;
628 bool m_domainNameHasBeenSet =
false;
629 bool m_domainValidationRecordsHasBeenSet =
false;
630 bool m_failureReasonHasBeenSet =
false;
631 bool m_issuedAtHasBeenSet =
false;
632 bool m_issuerHasBeenSet =
false;
633 bool m_keyAlgorithmHasBeenSet =
false;
634 bool m_notAfterHasBeenSet =
false;
635 bool m_notBeforeHasBeenSet =
false;
636 bool m_renewalSummaryHasBeenSet =
false;
637 bool m_revocationReasonHasBeenSet =
false;
638 bool m_revokedAtHasBeenSet =
false;
639 bool m_serialHasBeenSet =
false;
640 bool m_signatureAlgorithmHasBeenSet =
false;
641 bool m_subjectHasBeenSet =
false;
642 bool m_subjectAlternativeNamesHasBeenSet =
false;
bool SubjectHasBeenSet() const
void SetIsAttached(bool value)
LoadBalancerTlsCertificate & WithIsAttached(bool value)
const Aws::String & GetKeyAlgorithm() const
AWS_LIGHTSAIL_API LoadBalancerTlsCertificate(Aws::Utils::Json::JsonView jsonValue)
bool RevokedAtHasBeenSet() const
bool ArnHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
LoadBalancerTlsCertificate & WithSubject(SubjectT &&value)
LoadBalancerTlsCertificate & WithName(NameT &&value)
void SetSerial(SerialT &&value)
LoadBalancerTlsCertificate & WithTags(TagsT &&value)
LoadBalancerTlsCertificate & WithNotAfter(NotAfterT &&value)
bool CreatedAtHasBeenSet() const
bool FailureReasonHasBeenSet() const
const Aws::String & GetSubject() const
bool NameHasBeenSet() const
const Aws::String & GetIssuer() const
AWS_LIGHTSAIL_API LoadBalancerTlsCertificate & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRevokedAt(RevokedAtT &&value)
const Aws::Vector< Tag > & GetTags() const
void SetDomainName(DomainNameT &&value)
void SetKeyAlgorithm(KeyAlgorithmT &&value)
LoadBalancerTlsCertificate & WithSubjectAlternativeNames(SubjectAlternativeNamesT &&value)
bool GetIsAttached() const
const Aws::Utils::DateTime & GetNotAfter() const
const LoadBalancerTlsCertificateRenewalSummary & GetRenewalSummary() const
LoadBalancerTlsCertificate & WithSerial(SerialT &&value)
LoadBalancerTlsCertificate & WithResourceType(ResourceType value)
bool KeyAlgorithmHasBeenSet() const
const ResourceLocation & GetLocation() const
LoadBalancerTlsCertificate & WithRenewalSummary(RenewalSummaryT &&value)
LoadBalancerTlsCertificate & WithLoadBalancerName(LoadBalancerNameT &&value)
const Aws::Utils::DateTime & GetNotBefore() const
const Aws::String & GetSerial() const
LoadBalancerTlsCertificate & WithIssuedAt(IssuedAtT &&value)
void SetFailureReason(LoadBalancerTlsCertificateFailureReason value)
const Aws::Vector< LoadBalancerTlsCertificateDomainValidationRecord > & GetDomainValidationRecords() const
LoadBalancerTlsCertificateStatus GetStatus() const
bool RevocationReasonHasBeenSet() const
LoadBalancerTlsCertificate & AddDomainValidationRecords(DomainValidationRecordsT &&value)
void SetLoadBalancerName(LoadBalancerNameT &&value)
void SetSubjectAlternativeNames(SubjectAlternativeNamesT &&value)
void SetNotAfter(NotAfterT &&value)
bool IssuedAtHasBeenSet() const
bool SubjectAlternativeNamesHasBeenSet() const
void SetArn(ArnT &&value)
const Aws::String & GetArn() const
bool LocationHasBeenSet() const
LoadBalancerTlsCertificate & WithCreatedAt(CreatedAtT &&value)
LoadBalancerTlsCertificate & AddSubjectAlternativeNames(SubjectAlternativeNamesT &&value)
const Aws::String & GetSignatureAlgorithm() const
const Aws::String & GetLoadBalancerName() const
LoadBalancerTlsCertificate & WithStatus(LoadBalancerTlsCertificateStatus value)
bool SupportCodeHasBeenSet() const
bool TagsHasBeenSet() const
void SetLocation(LocationT &&value)
LoadBalancerTlsCertificate & AddTags(TagsT &&value)
LoadBalancerTlsCertificate & WithDomainName(DomainNameT &&value)
ResourceType GetResourceType() const
bool StatusHasBeenSet() const
void SetSupportCode(SupportCodeT &&value)
void SetDomainValidationRecords(DomainValidationRecordsT &&value)
const Aws::Vector< Aws::String > & GetSubjectAlternativeNames() const
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetResourceType(ResourceType value)
LoadBalancerTlsCertificate & WithKeyAlgorithm(KeyAlgorithmT &&value)
LoadBalancerTlsCertificate & WithDomainValidationRecords(DomainValidationRecordsT &&value)
bool IssuerHasBeenSet() const
bool SerialHasBeenSet() const
const Aws::String & GetName() const
bool SignatureAlgorithmHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
const Aws::String & GetDomainName() const
LoadBalancerTlsCertificateFailureReason GetFailureReason() const
bool NotAfterHasBeenSet() const
bool NotBeforeHasBeenSet() const
void SetRenewalSummary(RenewalSummaryT &&value)
const Aws::Utils::DateTime & GetRevokedAt() const
const Aws::Utils::DateTime & GetIssuedAt() const
bool RenewalSummaryHasBeenSet() const
bool ResourceTypeHasBeenSet() const
void SetRevocationReason(LoadBalancerTlsCertificateRevocationReason value)
AWS_LIGHTSAIL_API LoadBalancerTlsCertificate()=default
LoadBalancerTlsCertificate & WithSupportCode(SupportCodeT &&value)
LoadBalancerTlsCertificate & WithLocation(LocationT &&value)
void SetSubject(SubjectT &&value)
const Aws::String & GetSupportCode() const
LoadBalancerTlsCertificate & WithNotBefore(NotBeforeT &&value)
LoadBalancerTlsCertificateRevocationReason GetRevocationReason() const
LoadBalancerTlsCertificate & WithRevokedAt(RevokedAtT &&value)
bool IsAttachedHasBeenSet() const
bool DomainNameHasBeenSet() const
void SetIssuedAt(IssuedAtT &&value)
void SetNotBefore(NotBeforeT &&value)
bool DomainValidationRecordsHasBeenSet() const
LoadBalancerTlsCertificate & WithArn(ArnT &&value)
LoadBalancerTlsCertificate & WithFailureReason(LoadBalancerTlsCertificateFailureReason value)
void SetSignatureAlgorithm(SignatureAlgorithmT &&value)
LoadBalancerTlsCertificate & WithRevocationReason(LoadBalancerTlsCertificateRevocationReason value)
LoadBalancerTlsCertificate & WithIssuer(IssuerT &&value)
void SetTags(TagsT &&value)
LoadBalancerTlsCertificate & WithSignatureAlgorithm(SignatureAlgorithmT &&value)
bool LoadBalancerNameHasBeenSet() const
void SetStatus(LoadBalancerTlsCertificateStatus value)
void SetIssuer(IssuerT &&value)
void SetName(NameT &&value)
LoadBalancerTlsCertificateRevocationReason
LoadBalancerTlsCertificateStatus
LoadBalancerTlsCertificateFailureReason
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue