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

Information about the certificate, including registered date time, * certificate state, the reason for the state, expiration date time, and * certificate common name.

*/ inline const Certificate& GetCertificate() const{ return m_certificate; } /** *

Information about the certificate, including registered date time, * certificate state, the reason for the state, expiration date time, and * certificate common name.

*/ inline void SetCertificate(const Certificate& value) { m_certificate = value; } /** *

Information about the certificate, including registered date time, * certificate state, the reason for the state, expiration date time, and * certificate common name.

*/ inline void SetCertificate(Certificate&& value) { m_certificate = std::move(value); } /** *

Information about the certificate, including registered date time, * certificate state, the reason for the state, expiration date time, and * certificate common name.

*/ inline DescribeCertificateResult& WithCertificate(const Certificate& value) { SetCertificate(value); return *this;} /** *

Information about the certificate, including registered date time, * certificate state, the reason for the state, expiration date time, and * certificate common name.

*/ inline DescribeCertificateResult& WithCertificate(Certificate&& value) { SetCertificate(std::move(value)); return *this;} private: Certificate m_certificate; }; } // namespace Model } // namespace DirectoryService } // namespace Aws