7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/model/CertificateStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/iot/model/TransferData.h>
12#include <aws/iot/model/CertificateValidity.h>
13#include <aws/iot/model/CertificateMode.h>
53 inline void SetCertificateArn(
const char* value) { m_certificateArnHasBeenSet =
true; m_certificateArn.assign(value); }
67 inline void SetCertificateId(
const char* value) { m_certificateIdHasBeenSet =
true; m_certificateId.assign(value); }
81 inline void SetCaCertificateId(
const char* value) { m_caCertificateIdHasBeenSet =
true; m_caCertificateId.assign(value); }
107 inline void SetCertificatePem(
const char* value) { m_certificatePemHasBeenSet =
true; m_certificatePem.assign(value); }
121 inline void SetOwnedBy(
const char* value) { m_ownedByHasBeenSet =
true; m_ownedBy.assign(value); }
136 inline void SetPreviousOwnedBy(
const char* value) { m_previousOwnedByHasBeenSet =
true; m_previousOwnedBy.assign(value); }
172 inline void SetCustomerVersion(
int value) { m_customerVersionHasBeenSet =
true; m_customerVersion = value; }
196 inline void SetGenerationId(
const char* value) { m_generationIdHasBeenSet =
true; m_generationId.assign(value); }
241 bool m_certificateArnHasBeenSet =
false;
244 bool m_certificateIdHasBeenSet =
false;
247 bool m_caCertificateIdHasBeenSet =
false;
250 bool m_statusHasBeenSet =
false;
253 bool m_certificatePemHasBeenSet =
false;
256 bool m_ownedByHasBeenSet =
false;
259 bool m_previousOwnedByHasBeenSet =
false;
262 bool m_creationDateHasBeenSet =
false;
265 bool m_lastModifiedDateHasBeenSet =
false;
267 int m_customerVersion;
268 bool m_customerVersionHasBeenSet =
false;
271 bool m_transferDataHasBeenSet =
false;
274 bool m_generationIdHasBeenSet =
false;
277 bool m_validityHasBeenSet =
false;
280 bool m_certificateModeHasBeenSet =
false;
void SetCertificateId(const char *value)
void SetGenerationId(Aws::String &&value)
CertificateDescription & WithCertificatePem(Aws::String &&value)
CertificateDescription & WithCertificatePem(const char *value)
const Aws::String & GetCertificateArn() const
CertificateDescription & WithCertificateId(const char *value)
CertificateDescription & WithCreationDate(Aws::Utils::DateTime &&value)
void SetTransferData(const TransferData &value)
bool CertificatePemHasBeenSet() const
const Aws::String & GetCertificatePem() const
CertificateDescription & WithCertificateId(Aws::String &&value)
void SetCertificatePem(const char *value)
AWS_IOT_API CertificateDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API CertificateDescription()
const TransferData & GetTransferData() const
CertificateDescription & WithValidity(CertificateValidity &&value)
void SetOwnedBy(const char *value)
CertificateDescription & WithCaCertificateId(const char *value)
bool ValidityHasBeenSet() const
CertificateDescription & WithGenerationId(Aws::String &&value)
CertificateDescription & WithOwnedBy(const char *value)
void SetCertificateId(const Aws::String &value)
int GetCustomerVersion() const
CertificateDescription & WithStatus(const CertificateStatus &value)
void SetCertificateMode(CertificateMode &&value)
CertificateDescription & WithValidity(const CertificateValidity &value)
void SetCertificateMode(const CertificateMode &value)
bool CertificateArnHasBeenSet() const
CertificateDescription & WithStatus(CertificateStatus &&value)
CertificateDescription & WithTransferData(const TransferData &value)
const Aws::Utils::DateTime & GetCreationDate() const
CertificateDescription & WithPreviousOwnedBy(const Aws::String &value)
void SetCertificateArn(const char *value)
CertificateDescription & WithCertificatePem(const Aws::String &value)
const Aws::Utils::DateTime & GetLastModifiedDate() const
bool StatusHasBeenSet() const
CertificateDescription & WithOwnedBy(const Aws::String &value)
void SetOwnedBy(Aws::String &&value)
void SetValidity(const CertificateValidity &value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
CertificateDescription & WithLastModifiedDate(Aws::Utils::DateTime &&value)
CertificateDescription & WithCertificateId(const Aws::String &value)
CertificateDescription & WithCaCertificateId(Aws::String &&value)
CertificateDescription & WithGenerationId(const char *value)
const Aws::String & GetPreviousOwnedBy() const
void SetCreationDate(Aws::Utils::DateTime &&value)
const Aws::String & GetGenerationId() const
bool TransferDataHasBeenSet() const
CertificateDescription & WithCustomerVersion(int value)
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
void SetCreationDate(const Aws::Utils::DateTime &value)
void SetStatus(CertificateStatus &&value)
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
CertificateDescription & WithCertificateMode(const CertificateMode &value)
const CertificateMode & GetCertificateMode() const
const Aws::String & GetCertificateId() const
CertificateDescription & WithTransferData(TransferData &&value)
CertificateDescription & WithCaCertificateId(const Aws::String &value)
const Aws::String & GetOwnedBy() const
void SetCertificateId(Aws::String &&value)
void SetOwnedBy(const Aws::String &value)
void SetPreviousOwnedBy(const Aws::String &value)
void SetCaCertificateId(Aws::String &&value)
void SetPreviousOwnedBy(Aws::String &&value)
CertificateDescription & WithLastModifiedDate(const Aws::Utils::DateTime &value)
CertificateDescription & WithCertificateArn(Aws::String &&value)
bool CaCertificateIdHasBeenSet() const
void SetGenerationId(const char *value)
CertificateDescription & WithCertificateMode(CertificateMode &&value)
void SetStatus(const CertificateStatus &value)
void SetGenerationId(const Aws::String &value)
CertificateDescription & WithPreviousOwnedBy(Aws::String &&value)
CertificateDescription & WithPreviousOwnedBy(const char *value)
CertificateDescription & WithOwnedBy(Aws::String &&value)
CertificateDescription & WithCertificateArn(const Aws::String &value)
CertificateDescription & WithGenerationId(const Aws::String &value)
void SetCertificatePem(Aws::String &&value)
AWS_IOT_API CertificateDescription(Aws::Utils::Json::JsonView jsonValue)
bool PreviousOwnedByHasBeenSet() const
bool CertificateIdHasBeenSet() const
bool GenerationIdHasBeenSet() const
CertificateDescription & WithCreationDate(const Aws::Utils::DateTime &value)
bool CertificateModeHasBeenSet() const
void SetCustomerVersion(int value)
void SetCaCertificateId(const Aws::String &value)
void SetCertificatePem(const Aws::String &value)
const Aws::String & GetCaCertificateId() const
void SetValidity(CertificateValidity &&value)
const CertificateStatus & GetStatus() const
bool OwnedByHasBeenSet() const
bool LastModifiedDateHasBeenSet() const
bool CreationDateHasBeenSet() const
void SetCertificateArn(Aws::String &&value)
void SetCertificateArn(const Aws::String &value)
void SetPreviousOwnedBy(const char *value)
bool CustomerVersionHasBeenSet() const
const CertificateValidity & GetValidity() const
void SetCaCertificateId(const char *value)
void SetTransferData(TransferData &&value)
CertificateDescription & WithCertificateArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue