#pragma once /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. * * This file is generated */ #include #include #include namespace Aws { namespace Iotidentity { /** * Response payload to a CreateCertificateFromCsr request. * */ class AWS_IOTIDENTITY_API CreateCertificateFromCsrResponse final { public: CreateCertificateFromCsrResponse() = default; CreateCertificateFromCsrResponse(const Crt::JsonView &doc); CreateCertificateFromCsrResponse &operator=(const Crt::JsonView &doc); void SerializeToObject(Crt::JsonObject &doc) const; /** * The ID of the certificate. * */ Aws::Crt::Optional CertificateId; /** * The token to prove ownership of the certificate during provisioning. * */ Aws::Crt::Optional CertificateOwnershipToken; /** * The certificate data, in PEM format. * */ Aws::Crt::Optional CertificatePem; private: static void LoadFromObject(CreateCertificateFromCsrResponse &obj, const Crt::JsonView &doc); }; } // namespace Iotidentity } // namespace Aws