/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ACMPCA { namespace Model { class DescribeCertificateAuthorityResult { public: AWS_ACMPCA_API DescribeCertificateAuthorityResult(); AWS_ACMPCA_API DescribeCertificateAuthorityResult(const Aws::AmazonWebServiceResult& result); AWS_ACMPCA_API DescribeCertificateAuthorityResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A CertificateAuthority * structure that contains information about your private CA.

*/ inline const CertificateAuthority& GetCertificateAuthority() const{ return m_certificateAuthority; } /** *

A CertificateAuthority * structure that contains information about your private CA.

*/ inline void SetCertificateAuthority(const CertificateAuthority& value) { m_certificateAuthority = value; } /** *

A CertificateAuthority * structure that contains information about your private CA.

*/ inline void SetCertificateAuthority(CertificateAuthority&& value) { m_certificateAuthority = std::move(value); } /** *

A CertificateAuthority * structure that contains information about your private CA.

*/ inline DescribeCertificateAuthorityResult& WithCertificateAuthority(const CertificateAuthority& value) { SetCertificateAuthority(value); return *this;} /** *

A CertificateAuthority * structure that contains information about your private CA.

*/ inline DescribeCertificateAuthorityResult& WithCertificateAuthority(CertificateAuthority&& value) { SetCertificateAuthority(std::move(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 DescribeCertificateAuthorityResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeCertificateAuthorityResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeCertificateAuthorityResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: CertificateAuthority m_certificateAuthority; Aws::String m_requestId; }; } // namespace Model } // namespace ACMPCA } // namespace Aws