/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The output from the CreateCertificateFromCsr operation.See
* Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the certificate. You can use the ARN as a * principal for policy operations.
*/ inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; } /** *The Amazon Resource Name (ARN) of the certificate. You can use the ARN as a * principal for policy operations.
*/ inline void SetCertificateArn(const Aws::String& value) { m_certificateArn = value; } /** *The Amazon Resource Name (ARN) of the certificate. You can use the ARN as a * principal for policy operations.
*/ inline void SetCertificateArn(Aws::String&& value) { m_certificateArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the certificate. You can use the ARN as a * principal for policy operations.
*/ inline void SetCertificateArn(const char* value) { m_certificateArn.assign(value); } /** *The Amazon Resource Name (ARN) of the certificate. You can use the ARN as a * principal for policy operations.
*/ inline CreateCertificateFromCsrResult& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the certificate. You can use the ARN as a * principal for policy operations.
*/ inline CreateCertificateFromCsrResult& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the certificate. You can use the ARN as a * principal for policy operations.
*/ inline CreateCertificateFromCsrResult& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;} /** *The ID of the certificate. Certificate management operations only take a * certificateId.
*/ inline const Aws::String& GetCertificateId() const{ return m_certificateId; } /** *The ID of the certificate. Certificate management operations only take a * certificateId.
*/ inline void SetCertificateId(const Aws::String& value) { m_certificateId = value; } /** *The ID of the certificate. Certificate management operations only take a * certificateId.
*/ inline void SetCertificateId(Aws::String&& value) { m_certificateId = std::move(value); } /** *The ID of the certificate. Certificate management operations only take a * certificateId.
*/ inline void SetCertificateId(const char* value) { m_certificateId.assign(value); } /** *The ID of the certificate. Certificate management operations only take a * certificateId.
*/ inline CreateCertificateFromCsrResult& WithCertificateId(const Aws::String& value) { SetCertificateId(value); return *this;} /** *The ID of the certificate. Certificate management operations only take a * certificateId.
*/ inline CreateCertificateFromCsrResult& WithCertificateId(Aws::String&& value) { SetCertificateId(std::move(value)); return *this;} /** *The ID of the certificate. Certificate management operations only take a * certificateId.
*/ inline CreateCertificateFromCsrResult& WithCertificateId(const char* value) { SetCertificateId(value); return *this;} /** *The certificate data, in PEM format.
*/ inline const Aws::String& GetCertificatePem() const{ return m_certificatePem; } /** *The certificate data, in PEM format.
*/ inline void SetCertificatePem(const Aws::String& value) { m_certificatePem = value; } /** *The certificate data, in PEM format.
*/ inline void SetCertificatePem(Aws::String&& value) { m_certificatePem = std::move(value); } /** *The certificate data, in PEM format.
*/ inline void SetCertificatePem(const char* value) { m_certificatePem.assign(value); } /** *The certificate data, in PEM format.
*/ inline CreateCertificateFromCsrResult& WithCertificatePem(const Aws::String& value) { SetCertificatePem(value); return *this;} /** *The certificate data, in PEM format.
*/ inline CreateCertificateFromCsrResult& WithCertificatePem(Aws::String&& value) { SetCertificatePem(std::move(value)); return *this;} /** *The certificate data, in PEM format.
*/ inline CreateCertificateFromCsrResult& WithCertificatePem(const char* value) { SetCertificatePem(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreateCertificateFromCsrResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateCertificateFromCsrResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateCertificateFromCsrResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_certificateArn; Aws::String m_certificateId; Aws::String m_certificatePem; Aws::String m_requestId; }; } // namespace Model } // namespace IoT } // namespace Aws