7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/model/CACertificateStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/iot/model/AutoRegistrationStatus.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); }
93 inline void SetCertificatePem(
const char* value) { m_certificatePemHasBeenSet =
true; m_certificatePem.assign(value); }
107 inline void SetOwnedBy(
const char* value) { m_ownedByHasBeenSet =
true; m_ownedBy.assign(value); }
156 inline void SetCustomerVersion(
int value) { m_customerVersionHasBeenSet =
true; m_customerVersion = value; }
168 inline void SetGenerationId(
const char* value) { m_generationIdHasBeenSet =
true; m_generationId.assign(value); }
204 bool m_certificateArnHasBeenSet =
false;
207 bool m_certificateIdHasBeenSet =
false;
210 bool m_statusHasBeenSet =
false;
213 bool m_certificatePemHasBeenSet =
false;
216 bool m_ownedByHasBeenSet =
false;
219 bool m_creationDateHasBeenSet =
false;
222 bool m_autoRegistrationStatusHasBeenSet =
false;
225 bool m_lastModifiedDateHasBeenSet =
false;
227 int m_customerVersion;
228 bool m_customerVersionHasBeenSet =
false;
231 bool m_generationIdHasBeenSet =
false;
234 bool m_validityHasBeenSet =
false;
237 bool m_certificateModeHasBeenSet =
false;
void SetCertificatePem(const char *value)
CACertificateDescription & WithOwnedBy(const Aws::String &value)
CACertificateDescription & WithCertificateArn(const char *value)
const Aws::Utils::DateTime & GetCreationDate() const
CACertificateDescription & WithCertificateArn(const Aws::String &value)
bool LastModifiedDateHasBeenSet() const
CACertificateDescription & WithAutoRegistrationStatus(const AutoRegistrationStatus &value)
void SetCertificatePem(Aws::String &&value)
bool CertificatePemHasBeenSet() const
void SetCertificateArn(Aws::String &&value)
CACertificateDescription & WithCertificateMode(const CertificateMode &value)
void SetCertificateArn(const Aws::String &value)
CACertificateDescription & WithOwnedBy(Aws::String &&value)
CACertificateDescription & WithCertificateId(Aws::String &&value)
bool AutoRegistrationStatusHasBeenSet() const
void SetValidity(const CertificateValidity &value)
void SetGenerationId(const Aws::String &value)
const Aws::Utils::DateTime & GetLastModifiedDate() const
void SetAutoRegistrationStatus(AutoRegistrationStatus &&value)
void SetOwnedBy(const char *value)
CACertificateDescription & WithCreationDate(Aws::Utils::DateTime &&value)
CACertificateDescription & WithCertificatePem(const char *value)
AWS_IOT_API CACertificateDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API CACertificateDescription()
bool CreationDateHasBeenSet() const
bool ValidityHasBeenSet() const
void SetStatus(const CACertificateStatus &value)
CACertificateDescription & WithCertificatePem(const Aws::String &value)
const CertificateValidity & GetValidity() const
const Aws::String & GetOwnedBy() const
void SetStatus(CACertificateStatus &&value)
void SetGenerationId(Aws::String &&value)
void SetCreationDate(const Aws::Utils::DateTime &value)
bool CertificateIdHasBeenSet() const
CACertificateDescription & WithCreationDate(const Aws::Utils::DateTime &value)
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
CACertificateDescription & WithCertificateId(const Aws::String &value)
CACertificateDescription & WithCustomerVersion(int value)
CACertificateDescription & WithStatus(CACertificateStatus &&value)
void SetCreationDate(Aws::Utils::DateTime &&value)
CACertificateDescription & WithCertificateArn(Aws::String &&value)
CACertificateDescription & WithValidity(CertificateValidity &&value)
const Aws::String & GetCertificateArn() const
void SetCertificateId(const Aws::String &value)
void SetAutoRegistrationStatus(const AutoRegistrationStatus &value)
CACertificateDescription & WithCertificatePem(Aws::String &&value)
const AutoRegistrationStatus & GetAutoRegistrationStatus() const
CACertificateDescription & WithLastModifiedDate(const Aws::Utils::DateTime &value)
bool GenerationIdHasBeenSet() const
CACertificateDescription & WithCertificateId(const char *value)
CACertificateDescription & WithCertificateMode(CertificateMode &&value)
int GetCustomerVersion() const
void SetCertificateId(Aws::String &&value)
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
void SetCertificateMode(const CertificateMode &value)
const CACertificateStatus & GetStatus() const
const Aws::String & GetCertificateId() const
CACertificateDescription & WithValidity(const CertificateValidity &value)
void SetCertificatePem(const Aws::String &value)
CACertificateDescription & WithGenerationId(Aws::String &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCertificateMode(CertificateMode &&value)
CACertificateDescription & WithLastModifiedDate(Aws::Utils::DateTime &&value)
AWS_IOT_API CACertificateDescription(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCertificatePem() const
void SetOwnedBy(const Aws::String &value)
CACertificateDescription & WithGenerationId(const Aws::String &value)
bool OwnedByHasBeenSet() const
bool CertificateArnHasBeenSet() const
bool StatusHasBeenSet() const
void SetCustomerVersion(int value)
void SetCertificateArn(const char *value)
const Aws::String & GetGenerationId() const
void SetGenerationId(const char *value)
CACertificateDescription & WithGenerationId(const char *value)
bool CustomerVersionHasBeenSet() const
bool CertificateModeHasBeenSet() const
CACertificateDescription & WithAutoRegistrationStatus(AutoRegistrationStatus &&value)
void SetValidity(CertificateValidity &&value)
void SetCertificateId(const char *value)
CACertificateDescription & WithOwnedBy(const char *value)
CACertificateDescription & WithStatus(const CACertificateStatus &value)
void SetOwnedBy(Aws::String &&value)
const CertificateMode & GetCertificateMode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue