7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/IoT_EXPORTS.h>
10#include <aws/iot/model/CertificateMode.h>
11#include <aws/iot/model/CertificateStatus.h>
12#include <aws/iot/model/CertificateValidity.h>
13#include <aws/iot/model/TransferData.h>
45 template <
typename CertificateArnT = Aws::String>
47 m_certificateArnHasBeenSet =
true;
48 m_certificateArn = std::forward<CertificateArnT>(value);
50 template <
typename CertificateArnT = Aws::String>
63 template <
typename CertificateIdT = Aws::String>
65 m_certificateIdHasBeenSet =
true;
66 m_certificateId = std::forward<CertificateIdT>(value);
68 template <
typename CertificateIdT = Aws::String>
81 template <
typename CaCertificateIdT = Aws::String>
83 m_caCertificateIdHasBeenSet =
true;
84 m_caCertificateId = std::forward<CaCertificateIdT>(value);
86 template <
typename CaCertificateIdT = Aws::String>
100 m_statusHasBeenSet =
true;
115 template <
typename CertificatePemT = Aws::String>
117 m_certificatePemHasBeenSet =
true;
118 m_certificatePem = std::forward<CertificatePemT>(value);
120 template <
typename CertificatePemT = Aws::String>
133 template <
typename OwnedByT = Aws::String>
135 m_ownedByHasBeenSet =
true;
136 m_ownedBy = std::forward<OwnedByT>(value);
138 template <
typename OwnedByT = Aws::String>
152 template <
typename PreviousOwnedByT = Aws::String>
154 m_previousOwnedByHasBeenSet =
true;
155 m_previousOwnedBy = std::forward<PreviousOwnedByT>(value);
157 template <
typename PreviousOwnedByT = Aws::String>
170 template <
typename CreationDateT = Aws::Utils::DateTime>
172 m_creationDateHasBeenSet =
true;
173 m_creationDate = std::forward<CreationDateT>(value);
175 template <
typename CreationDateT = Aws::Utils::DateTime>
188 template <
typename LastModifiedDateT = Aws::Utils::DateTime>
190 m_lastModifiedDateHasBeenSet =
true;
191 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
193 template <
typename LastModifiedDateT = Aws::Utils::DateTime>
207 m_customerVersionHasBeenSet =
true;
208 m_customerVersion = value;
222 template <
typename TransferDataT = TransferData>
224 m_transferDataHasBeenSet =
true;
225 m_transferData = std::forward<TransferDataT>(value);
227 template <
typename TransferDataT = TransferData>
240 template <
typename GenerationIdT = Aws::String>
242 m_generationIdHasBeenSet =
true;
243 m_generationId = std::forward<GenerationIdT>(value);
245 template <
typename GenerationIdT = Aws::String>
258 template <
typename Val
idityT = CertificateVal
idity>
260 m_validityHasBeenSet =
true;
261 m_validity = std::forward<ValidityT>(value);
263 template <
typename Val
idityT = CertificateVal
idity>
290 m_certificateModeHasBeenSet =
true;
291 m_certificateMode = value;
317 int m_customerVersion{0};
319 TransferData m_transferData;
323 CertificateValidity m_validity;
326 bool m_certificateArnHasBeenSet =
false;
327 bool m_certificateIdHasBeenSet =
false;
328 bool m_caCertificateIdHasBeenSet =
false;
329 bool m_statusHasBeenSet =
false;
330 bool m_certificatePemHasBeenSet =
false;
331 bool m_ownedByHasBeenSet =
false;
332 bool m_previousOwnedByHasBeenSet =
false;
333 bool m_creationDateHasBeenSet =
false;
334 bool m_lastModifiedDateHasBeenSet =
false;
335 bool m_customerVersionHasBeenSet =
false;
336 bool m_transferDataHasBeenSet =
false;
337 bool m_generationIdHasBeenSet =
false;
338 bool m_validityHasBeenSet =
false;
339 bool m_certificateModeHasBeenSet =
false;
const Aws::String & GetCertificateArn() const
bool CertificatePemHasBeenSet() const
const Aws::String & GetCertificatePem() const
AWS_IOT_API CertificateDescription()=default
AWS_IOT_API CertificateDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
const TransferData & GetTransferData() const
bool ValidityHasBeenSet() const
void SetGenerationId(GenerationIdT &&value)
int GetCustomerVersion() const
CertificateDescription & WithLastModifiedDate(LastModifiedDateT &&value)
CertificateDescription & WithValidity(ValidityT &&value)
CertificateDescription & WithCreationDate(CreationDateT &&value)
bool CertificateArnHasBeenSet() const
CertificateDescription & WithCertificateArn(CertificateArnT &&value)
CertificateMode GetCertificateMode() const
void SetTransferData(TransferDataT &&value)
const Aws::Utils::DateTime & GetCreationDate() const
const Aws::Utils::DateTime & GetLastModifiedDate() const
bool StatusHasBeenSet() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPreviousOwnedBy(PreviousOwnedByT &&value)
void SetStatus(CertificateStatus value)
CertificateDescription & WithPreviousOwnedBy(PreviousOwnedByT &&value)
const Aws::String & GetPreviousOwnedBy() const
const Aws::String & GetGenerationId() const
bool TransferDataHasBeenSet() const
CertificateDescription & WithCertificateMode(CertificateMode value)
CertificateDescription & WithCustomerVersion(int value)
void SetCertificateArn(CertificateArnT &&value)
void SetCertificateMode(CertificateMode value)
void SetCertificateId(CertificateIdT &&value)
CertificateDescription & WithCaCertificateId(CaCertificateIdT &&value)
const Aws::String & GetCertificateId() const
const Aws::String & GetOwnedBy() const
CertificateDescription & WithTransferData(TransferDataT &&value)
bool CaCertificateIdHasBeenSet() const
CertificateDescription & WithCertificatePem(CertificatePemT &&value)
CertificateDescription & WithGenerationId(GenerationIdT &&value)
CertificateDescription & WithOwnedBy(OwnedByT &&value)
void SetValidity(ValidityT &&value)
CertificateDescription & WithStatus(CertificateStatus value)
void SetOwnedBy(OwnedByT &&value)
void SetCertificatePem(CertificatePemT &&value)
CertificateStatus GetStatus() const
void SetCaCertificateId(CaCertificateIdT &&value)
AWS_IOT_API CertificateDescription(Aws::Utils::Json::JsonView jsonValue)
bool PreviousOwnedByHasBeenSet() const
bool CertificateIdHasBeenSet() const
bool GenerationIdHasBeenSet() const
bool CertificateModeHasBeenSet() const
void SetCustomerVersion(int value)
const Aws::String & GetCaCertificateId() const
void SetLastModifiedDate(LastModifiedDateT &&value)
void SetCreationDate(CreationDateT &&value)
bool OwnedByHasBeenSet() const
bool LastModifiedDateHasBeenSet() const
bool CreationDateHasBeenSet() const
CertificateDescription & WithCertificateId(CertificateIdT &&value)
bool CustomerVersionHasBeenSet() const
const CertificateValidity & GetValidity() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue