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>
51 template<
typename CertificateArnT = Aws::String>
52 void SetCertificateArn(CertificateArnT&& value) { m_certificateArnHasBeenSet =
true; m_certificateArn = std::forward<CertificateArnT>(value); }
53 template<
typename CertificateArnT = Aws::String>
63 template<
typename CertificateIdT = Aws::String>
64 void SetCertificateId(CertificateIdT&& value) { m_certificateIdHasBeenSet =
true; m_certificateId = std::forward<CertificateIdT>(value); }
65 template<
typename CertificateIdT = Aws::String>
75 template<
typename CaCertificateIdT = Aws::String>
76 void SetCaCertificateId(CaCertificateIdT&& value) { m_caCertificateIdHasBeenSet =
true; m_caCertificateId = std::forward<CaCertificateIdT>(value); }
77 template<
typename CaCertificateIdT = Aws::String>
97 template<
typename CertificatePemT = Aws::String>
98 void SetCertificatePem(CertificatePemT&& value) { m_certificatePemHasBeenSet =
true; m_certificatePem = std::forward<CertificatePemT>(value); }
99 template<
typename CertificatePemT = Aws::String>
109 template<
typename OwnedByT = Aws::String>
110 void SetOwnedBy(OwnedByT&& value) { m_ownedByHasBeenSet =
true; m_ownedBy = std::forward<OwnedByT>(value); }
111 template<
typename OwnedByT = Aws::String>
122 template<
typename PreviousOwnedByT = Aws::String>
123 void SetPreviousOwnedBy(PreviousOwnedByT&& value) { m_previousOwnedByHasBeenSet =
true; m_previousOwnedBy = std::forward<PreviousOwnedByT>(value); }
124 template<
typename PreviousOwnedByT = Aws::String>
134 template<
typename CreationDateT = Aws::Utils::DateTime>
135 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet =
true; m_creationDate = std::forward<CreationDateT>(value); }
136 template<
typename CreationDateT = Aws::Utils::DateTime>
146 template<
typename LastModifiedDateT = Aws::Utils::DateTime>
147 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
148 template<
typename LastModifiedDateT = Aws::Utils::DateTime>
158 inline void SetCustomerVersion(
int value) { m_customerVersionHasBeenSet =
true; m_customerVersion = value; }
168 template<
typename TransferDataT = TransferData>
169 void SetTransferData(TransferDataT&& value) { m_transferDataHasBeenSet =
true; m_transferData = std::forward<TransferDataT>(value); }
170 template<
typename TransferDataT = TransferData>
180 template<
typename GenerationIdT = Aws::String>
181 void SetGenerationId(GenerationIdT&& value) { m_generationIdHasBeenSet =
true; m_generationId = std::forward<GenerationIdT>(value); }
182 template<
typename GenerationIdT = Aws::String>
192 template<
typename Val
idityT = CertificateVal
idity>
193 void SetValidity(ValidityT&& value) { m_validityHasBeenSet =
true; m_validity = std::forward<ValidityT>(value); }
194 template<
typename Val
idityT = CertificateVal
idity>
223 bool m_certificateArnHasBeenSet =
false;
226 bool m_certificateIdHasBeenSet =
false;
229 bool m_caCertificateIdHasBeenSet =
false;
232 bool m_statusHasBeenSet =
false;
235 bool m_certificatePemHasBeenSet =
false;
238 bool m_ownedByHasBeenSet =
false;
241 bool m_previousOwnedByHasBeenSet =
false;
244 bool m_creationDateHasBeenSet =
false;
247 bool m_lastModifiedDateHasBeenSet =
false;
249 int m_customerVersion{0};
250 bool m_customerVersionHasBeenSet =
false;
252 TransferData m_transferData;
253 bool m_transferDataHasBeenSet =
false;
256 bool m_generationIdHasBeenSet =
false;
258 CertificateValidity m_validity;
259 bool m_validityHasBeenSet =
false;
262 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