7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lightsail/model/CertificateStatus.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/lightsail/model/RenewalSummary.h>
13#include <aws/lightsail/model/DomainValidationRecord.h>
14#include <aws/lightsail/model/Tag.h>
58 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
59 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
73 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
87 inline void SetDomainName(
const char* value) { m_domainNameHasBeenSet =
true; m_domainName.assign(value); }
113 inline void SetSerialNumber(
const char* value) { m_serialNumberHasBeenSet =
true; m_serialNumber.assign(value); }
198 inline void SetRequestFailureReason(
const char* value) { m_requestFailureReasonHasBeenSet =
true; m_requestFailureReason.assign(value); }
210 inline void SetInUseResourceCount(
int value) { m_inUseResourceCountHasBeenSet =
true; m_inUseResourceCount = value; }
223 inline void SetKeyAlgorithm(
const char* value) { m_keyAlgorithmHasBeenSet =
true; m_keyAlgorithm.assign(value); }
261 inline void SetIssuerCA(
const char* value) { m_issuerCAHasBeenSet =
true; m_issuerCA.assign(value); }
299 inline void SetEligibleToRenew(
const char* value) { m_eligibleToRenewHasBeenSet =
true; m_eligibleToRenew.assign(value); }
340 inline void SetRevocationReason(
const char* value) { m_revocationReasonHasBeenSet =
true; m_revocationReason.assign(value); }
360 inline Certificate&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
373 inline void SetSupportCode(
const char* value) { m_supportCodeHasBeenSet =
true; m_supportCode.assign(value); }
381 bool m_arnHasBeenSet =
false;
384 bool m_nameHasBeenSet =
false;
387 bool m_domainNameHasBeenSet =
false;
390 bool m_statusHasBeenSet =
false;
393 bool m_serialNumberHasBeenSet =
false;
396 bool m_subjectAlternativeNamesHasBeenSet =
false;
399 bool m_domainValidationRecordsHasBeenSet =
false;
402 bool m_requestFailureReasonHasBeenSet =
false;
404 int m_inUseResourceCount;
405 bool m_inUseResourceCountHasBeenSet =
false;
408 bool m_keyAlgorithmHasBeenSet =
false;
411 bool m_createdAtHasBeenSet =
false;
414 bool m_issuedAtHasBeenSet =
false;
417 bool m_issuerCAHasBeenSet =
false;
420 bool m_notBeforeHasBeenSet =
false;
423 bool m_notAfterHasBeenSet =
false;
426 bool m_eligibleToRenewHasBeenSet =
false;
429 bool m_renewalSummaryHasBeenSet =
false;
432 bool m_revokedAtHasBeenSet =
false;
435 bool m_revocationReasonHasBeenSet =
false;
438 bool m_tagsHasBeenSet =
false;
441 bool m_supportCodeHasBeenSet =
false;
void SetStatus(const CertificateStatus &value)
Certificate & WithNotBefore(const Aws::Utils::DateTime &value)
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetRequestFailureReason() const
void SetEligibleToRenew(const Aws::String &value)
Certificate & WithNotBefore(Aws::Utils::DateTime &&value)
void SetSupportCode(const char *value)
Certificate & WithEligibleToRenew(Aws::String &&value)
void SetIssuedAt(const Aws::Utils::DateTime &value)
void SetArn(const char *value)
Certificate & WithDomainValidationRecords(Aws::Vector< DomainValidationRecord > &&value)
Certificate & AddSubjectAlternativeNames(const Aws::String &value)
void SetNotBefore(Aws::Utils::DateTime &&value)
Certificate & WithName(const Aws::String &value)
bool SubjectAlternativeNamesHasBeenSet() const
Certificate & WithDomainName(const Aws::String &value)
Certificate & WithSupportCode(const Aws::String &value)
const Aws::Vector< DomainValidationRecord > & GetDomainValidationRecords() const
void SetSerialNumber(const char *value)
void SetRenewalSummary(RenewalSummary &&value)
Certificate & WithEligibleToRenew(const Aws::String &value)
const RenewalSummary & GetRenewalSummary() const
bool NotBeforeHasBeenSet() const
void SetRevocationReason(const Aws::String &value)
Certificate & WithRevokedAt(Aws::Utils::DateTime &&value)
Certificate & WithSupportCode(const char *value)
void SetSupportCode(Aws::String &&value)
bool NotAfterHasBeenSet() const
const Aws::String & GetKeyAlgorithm() const
const Aws::Vector< Aws::String > & GetSubjectAlternativeNames() const
bool StatusHasBeenSet() const
bool DomainValidationRecordsHasBeenSet() const
void SetSerialNumber(Aws::String &&value)
AWS_LIGHTSAIL_API Certificate()
void SetRenewalSummary(const RenewalSummary &value)
Certificate & AddDomainValidationRecords(DomainValidationRecord &&value)
Certificate & WithRevocationReason(const Aws::String &value)
AWS_LIGHTSAIL_API Certificate & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
bool IssuedAtHasBeenSet() const
void SetRequestFailureReason(Aws::String &&value)
Certificate & WithSerialNumber(const Aws::String &value)
Certificate & WithSubjectAlternativeNames(Aws::Vector< Aws::String > &&value)
AWS_LIGHTSAIL_API Certificate(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetEligibleToRenew() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetSupportCode(const Aws::String &value)
bool ArnHasBeenSet() const
void SetIssuerCA(const Aws::String &value)
Certificate & AddTags(Tag &&value)
void SetRevocationReason(const char *value)
void SetEligibleToRenew(Aws::String &&value)
Certificate & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetDomainValidationRecords(Aws::Vector< DomainValidationRecord > &&value)
void SetIssuerCA(Aws::String &&value)
bool TagsHasBeenSet() const
void SetArn(Aws::String &&value)
void SetDomainValidationRecords(const Aws::Vector< DomainValidationRecord > &value)
const Aws::Utils::DateTime & GetNotBefore() const
void SetRevocationReason(Aws::String &&value)
void SetDomainName(const char *value)
Certificate & WithCreatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetRevokedAt() const
const Aws::String & GetIssuerCA() const
const Aws::String & GetSupportCode() const
const Aws::String & GetRevocationReason() const
void SetDomainName(const Aws::String &value)
void SetIssuerCA(const char *value)
Certificate & WithArn(const Aws::String &value)
void SetDomainName(Aws::String &&value)
void SetSubjectAlternativeNames(Aws::Vector< Aws::String > &&value)
void SetNotAfter(Aws::Utils::DateTime &&value)
Certificate & WithRequestFailureReason(const Aws::String &value)
void SetIssuedAt(Aws::Utils::DateTime &&value)
void SetNotAfter(const Aws::Utils::DateTime &value)
void SetTags(Aws::Vector< Tag > &&value)
Certificate & WithStatus(const CertificateStatus &value)
void SetRevokedAt(const Aws::Utils::DateTime &value)
Certificate & WithRequestFailureReason(const char *value)
Certificate & AddDomainValidationRecords(const DomainValidationRecord &value)
const Aws::Utils::DateTime & GetIssuedAt() const
Certificate & AddTags(const Tag &value)
const CertificateStatus & GetStatus() const
void SetInUseResourceCount(int value)
bool SupportCodeHasBeenSet() const
Certificate & WithSerialNumber(Aws::String &&value)
bool RenewalSummaryHasBeenSet() const
void SetTags(const Aws::Vector< Tag > &value)
Certificate & AddSubjectAlternativeNames(const char *value)
bool RevokedAtHasBeenSet() const
void SetRequestFailureReason(const Aws::String &value)
void SetName(const char *value)
bool NameHasBeenSet() const
Certificate & WithTags(Aws::Vector< Tag > &&value)
Certificate & WithIssuerCA(const Aws::String &value)
Certificate & WithArn(Aws::String &&value)
bool DomainNameHasBeenSet() const
Certificate & WithIssuedAt(Aws::Utils::DateTime &&value)
Certificate & WithNotAfter(const Aws::Utils::DateTime &value)
Certificate & WithName(const char *value)
Certificate & WithTags(const Aws::Vector< Tag > &value)
Certificate & WithKeyAlgorithm(const char *value)
Certificate & WithDomainName(const char *value)
const Aws::Utils::DateTime & GetNotAfter() const
void SetName(Aws::String &&value)
int GetInUseResourceCount() const
const Aws::String & GetName() const
void SetSubjectAlternativeNames(const Aws::Vector< Aws::String > &value)
Certificate & WithRevocationReason(Aws::String &&value)
Certificate & WithEligibleToRenew(const char *value)
void SetRevokedAt(Aws::Utils::DateTime &&value)
bool CreatedAtHasBeenSet() const
bool KeyAlgorithmHasBeenSet() const
Certificate & WithIssuerCA(const char *value)
bool InUseResourceCountHasBeenSet() const
Certificate & WithNotAfter(Aws::Utils::DateTime &&value)
Certificate & WithIssuedAt(const Aws::Utils::DateTime &value)
void SetKeyAlgorithm(const char *value)
Certificate & WithInUseResourceCount(int value)
Certificate & WithIssuerCA(Aws::String &&value)
Certificate & WithDomainValidationRecords(const Aws::Vector< DomainValidationRecord > &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
Certificate & WithRevokedAt(const Aws::Utils::DateTime &value)
Certificate & WithName(Aws::String &&value)
bool SerialNumberHasBeenSet() const
void SetRequestFailureReason(const char *value)
void SetStatus(CertificateStatus &&value)
void SetName(const Aws::String &value)
void SetKeyAlgorithm(Aws::String &&value)
void SetNotBefore(const Aws::Utils::DateTime &value)
Certificate & WithRenewalSummary(const RenewalSummary &value)
void SetEligibleToRenew(const char *value)
Certificate & WithStatus(CertificateStatus &&value)
Certificate & WithKeyAlgorithm(Aws::String &&value)
const Aws::String & GetDomainName() const
Certificate & WithSubjectAlternativeNames(const Aws::Vector< Aws::String > &value)
Certificate & WithSerialNumber(const char *value)
Certificate & WithKeyAlgorithm(const Aws::String &value)
const Aws::String & GetSerialNumber() const
Certificate & WithDomainName(Aws::String &&value)
void SetKeyAlgorithm(const Aws::String &value)
bool RevocationReasonHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
bool RequestFailureReasonHasBeenSet() const
void SetSerialNumber(const Aws::String &value)
Certificate & WithArn(const char *value)
Certificate & WithRequestFailureReason(Aws::String &&value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
Certificate & WithSupportCode(Aws::String &&value)
Certificate & WithRevocationReason(const char *value)
Certificate & WithRenewalSummary(RenewalSummary &&value)
void SetArn(const Aws::String &value)
bool EligibleToRenewHasBeenSet() const
Certificate & AddSubjectAlternativeNames(Aws::String &&value)
bool IssuerCAHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue