7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/lightsail/model/ResourceLocation.h>
11#include <aws/lightsail/model/ResourceType.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/lightsail/model/LoadBalancerTlsCertificateStatus.h>
14#include <aws/lightsail/model/LoadBalancerTlsCertificateFailureReason.h>
15#include <aws/lightsail/model/LoadBalancerTlsCertificateRenewalSummary.h>
16#include <aws/lightsail/model/LoadBalancerTlsCertificateRevocationReason.h>
17#include <aws/lightsail/model/Tag.h>
18#include <aws/lightsail/model/LoadBalancerTlsCertificateDomainValidationRecord.h>
57 template<
typename NameT = Aws::String>
58 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
59 template<
typename NameT = Aws::String>
69 template<
typename ArnT = Aws::String>
70 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
71 template<
typename ArnT = Aws::String>
83 template<
typename SupportCodeT = Aws::String>
84 void SetSupportCode(SupportCodeT&& value) { m_supportCodeHasBeenSet =
true; m_supportCode = std::forward<SupportCodeT>(value); }
85 template<
typename SupportCodeT = Aws::String>
95 template<
typename CreatedAtT = Aws::Utils::DateTime>
96 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
97 template<
typename CreatedAtT = Aws::Utils::DateTime>
108 template<
typename LocationT = ResourceLocation>
109 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
110 template<
typename LocationT = ResourceLocation>
145 template<
typename TagsT = Aws::Vector<Tag>>
146 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
147 template<
typename TagsT = Aws::Vector<Tag>>
149 template<
typename TagsT = Tag>
159 template<
typename LoadBalancerNameT = Aws::String>
160 void SetLoadBalancerName(LoadBalancerNameT&& value) { m_loadBalancerNameHasBeenSet =
true; m_loadBalancerName = std::forward<LoadBalancerNameT>(value); }
161 template<
typename LoadBalancerNameT = Aws::String>
172 inline void SetIsAttached(
bool value) { m_isAttachedHasBeenSet =
true; m_isAttached = value; }
192 template<
typename DomainNameT = Aws::String>
193 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet =
true; m_domainName = std::forward<DomainNameT>(value); }
194 template<
typename DomainNameT = Aws::String>
205 template<
typename DomainVal
idationRecordsT = Aws::Vector<LoadBalancerTlsCertificateDomainVal
idationRecord>>
206 void SetDomainValidationRecords(DomainValidationRecordsT&& value) { m_domainValidationRecordsHasBeenSet =
true; m_domainValidationRecords = std::forward<DomainValidationRecordsT>(value); }
207 template<
typename DomainVal
idationRecordsT = Aws::Vector<LoadBalancerTlsCertificateDomainVal
idationRecord>>
209 template<
typename DomainVal
idationRecordsT = LoadBalancerTlsCertificateDomainVal
idationRecord>
267 template<
typename IssuedAtT = Aws::Utils::DateTime>
268 void SetIssuedAt(IssuedAtT&& value) { m_issuedAtHasBeenSet =
true; m_issuedAt = std::forward<IssuedAtT>(value); }
269 template<
typename IssuedAtT = Aws::Utils::DateTime>
279 template<
typename IssuerT = Aws::String>
280 void SetIssuer(IssuerT&& value) { m_issuerHasBeenSet =
true; m_issuer = std::forward<IssuerT>(value); }
281 template<
typename IssuerT = Aws::String>
291 template<
typename KeyAlgorithmT = Aws::String>
292 void SetKeyAlgorithm(KeyAlgorithmT&& value) { m_keyAlgorithmHasBeenSet =
true; m_keyAlgorithm = std::forward<KeyAlgorithmT>(value); }
293 template<
typename KeyAlgorithmT = Aws::String>
303 template<
typename NotAfterT = Aws::Utils::DateTime>
304 void SetNotAfter(NotAfterT&& value) { m_notAfterHasBeenSet =
true; m_notAfter = std::forward<NotAfterT>(value); }
305 template<
typename NotAfterT = Aws::Utils::DateTime>
315 template<
typename NotBeforeT = Aws::Utils::DateTime>
316 void SetNotBefore(NotBeforeT&& value) { m_notBeforeHasBeenSet =
true; m_notBefore = std::forward<NotBeforeT>(value); }
317 template<
typename NotBeforeT = Aws::Utils::DateTime>
328 template<
typename RenewalSummaryT = LoadBalancerTlsCertificateRenewalSummary>
329 void SetRenewalSummary(RenewalSummaryT&& value) { m_renewalSummaryHasBeenSet =
true; m_renewalSummary = std::forward<RenewalSummaryT>(value); }
330 template<
typename RenewalSummaryT = LoadBalancerTlsCertificateRenewalSummary>
352 template<
typename RevokedAtT = Aws::Utils::DateTime>
353 void SetRevokedAt(RevokedAtT&& value) { m_revokedAtHasBeenSet =
true; m_revokedAt = std::forward<RevokedAtT>(value); }
354 template<
typename RevokedAtT = Aws::Utils::DateTime>
364 template<
typename SerialT = Aws::String>
365 void SetSerial(SerialT&& value) { m_serialHasBeenSet =
true; m_serial = std::forward<SerialT>(value); }
366 template<
typename SerialT = Aws::String>
376 template<
typename SignatureAlgorithmT = Aws::String>
377 void SetSignatureAlgorithm(SignatureAlgorithmT&& value) { m_signatureAlgorithmHasBeenSet =
true; m_signatureAlgorithm = std::forward<SignatureAlgorithmT>(value); }
378 template<
typename SignatureAlgorithmT = Aws::String>
389 template<
typename SubjectT = Aws::String>
390 void SetSubject(SubjectT&& value) { m_subjectHasBeenSet =
true; m_subject = std::forward<SubjectT>(value); }
391 template<
typename SubjectT = Aws::String>
403 template<
typename SubjectAlternativeNamesT = Aws::Vector<Aws::String>>
404 void SetSubjectAlternativeNames(SubjectAlternativeNamesT&& value) { m_subjectAlternativeNamesHasBeenSet =
true; m_subjectAlternativeNames = std::forward<SubjectAlternativeNamesT>(value); }
405 template<
typename SubjectAlternativeNamesT = Aws::Vector<Aws::String>>
407 template<
typename SubjectAlternativeNamesT = Aws::String>
413 bool m_nameHasBeenSet =
false;
416 bool m_arnHasBeenSet =
false;
419 bool m_supportCodeHasBeenSet =
false;
422 bool m_createdAtHasBeenSet =
false;
424 ResourceLocation m_location;
425 bool m_locationHasBeenSet =
false;
428 bool m_resourceTypeHasBeenSet =
false;
431 bool m_tagsHasBeenSet =
false;
434 bool m_loadBalancerNameHasBeenSet =
false;
436 bool m_isAttached{
false};
437 bool m_isAttachedHasBeenSet =
false;
440 bool m_statusHasBeenSet =
false;
443 bool m_domainNameHasBeenSet =
false;
446 bool m_domainValidationRecordsHasBeenSet =
false;
449 bool m_failureReasonHasBeenSet =
false;
452 bool m_issuedAtHasBeenSet =
false;
455 bool m_issuerHasBeenSet =
false;
458 bool m_keyAlgorithmHasBeenSet =
false;
461 bool m_notAfterHasBeenSet =
false;
464 bool m_notBeforeHasBeenSet =
false;
466 LoadBalancerTlsCertificateRenewalSummary m_renewalSummary;
467 bool m_renewalSummaryHasBeenSet =
false;
470 bool m_revocationReasonHasBeenSet =
false;
473 bool m_revokedAtHasBeenSet =
false;
476 bool m_serialHasBeenSet =
false;
479 bool m_signatureAlgorithmHasBeenSet =
false;
482 bool m_subjectHasBeenSet =
false;
485 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