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

Returns the identifier of the certificate object that you are updating.

*/ inline const Aws::String& GetCertificateId() const{ return m_certificateId; } /** *

Returns the identifier of the certificate object that you are updating.

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

Returns the identifier of the certificate object that you are updating.

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

Returns the identifier of the certificate object that you are updating.

*/ inline void SetCertificateId(const char* value) { m_certificateId.assign(value); } /** *

Returns the identifier of the certificate object that you are updating.

*/ inline UpdateCertificateResult& WithCertificateId(const Aws::String& value) { SetCertificateId(value); return *this;} /** *

Returns the identifier of the certificate object that you are updating.

*/ inline UpdateCertificateResult& WithCertificateId(Aws::String&& value) { SetCertificateId(std::move(value)); return *this;} /** *

Returns the identifier of the certificate object that you are updating.

*/ inline UpdateCertificateResult& WithCertificateId(const char* value) { SetCertificateId(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 UpdateCertificateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateCertificateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateCertificateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_certificateId; Aws::String m_requestId; }; } // namespace Model } // namespace Transfer } // namespace Aws