/** * 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 WorkSpacesWeb { namespace Model { class GetTrustStoreCertificateResult { public: AWS_WORKSPACESWEB_API GetTrustStoreCertificateResult(); AWS_WORKSPACESWEB_API GetTrustStoreCertificateResult(const Aws::AmazonWebServiceResult& result); AWS_WORKSPACESWEB_API GetTrustStoreCertificateResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The certificate of the trust store certificate.

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

The certificate of the trust store certificate.

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

The certificate of the trust store certificate.

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

The certificate of the trust store certificate.

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

The certificate of the trust store certificate.

*/ inline GetTrustStoreCertificateResult& WithCertificate(Certificate&& value) { SetCertificate(std::move(value)); return *this;} /** *

The ARN of the trust store certificate.

*/ inline const Aws::String& GetTrustStoreArn() const{ return m_trustStoreArn; } /** *

The ARN of the trust store certificate.

*/ inline void SetTrustStoreArn(const Aws::String& value) { m_trustStoreArn = value; } /** *

The ARN of the trust store certificate.

*/ inline void SetTrustStoreArn(Aws::String&& value) { m_trustStoreArn = std::move(value); } /** *

The ARN of the trust store certificate.

*/ inline void SetTrustStoreArn(const char* value) { m_trustStoreArn.assign(value); } /** *

The ARN of the trust store certificate.

*/ inline GetTrustStoreCertificateResult& WithTrustStoreArn(const Aws::String& value) { SetTrustStoreArn(value); return *this;} /** *

The ARN of the trust store certificate.

*/ inline GetTrustStoreCertificateResult& WithTrustStoreArn(Aws::String&& value) { SetTrustStoreArn(std::move(value)); return *this;} /** *

The ARN of the trust store certificate.

*/ inline GetTrustStoreCertificateResult& WithTrustStoreArn(const char* value) { SetTrustStoreArn(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 GetTrustStoreCertificateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetTrustStoreCertificateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetTrustStoreCertificateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Certificate m_certificate; Aws::String m_trustStoreArn; Aws::String m_requestId; }; } // namespace Model } // namespace WorkSpacesWeb } // namespace Aws