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

A unique identifier for the agreement. This identifier is returned when you * create an agreement.

*/ inline const Aws::String& GetAgreementId() const{ return m_agreementId; } /** *

A unique identifier for the agreement. This identifier is returned when you * create an agreement.

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

A unique identifier for the agreement. This identifier is returned when you * create an agreement.

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

A unique identifier for the agreement. This identifier is returned when you * create an agreement.

*/ inline void SetAgreementId(const char* value) { m_agreementId.assign(value); } /** *

A unique identifier for the agreement. This identifier is returned when you * create an agreement.

*/ inline UpdateAgreementResult& WithAgreementId(const Aws::String& value) { SetAgreementId(value); return *this;} /** *

A unique identifier for the agreement. This identifier is returned when you * create an agreement.

*/ inline UpdateAgreementResult& WithAgreementId(Aws::String&& value) { SetAgreementId(std::move(value)); return *this;} /** *

A unique identifier for the agreement. This identifier is returned when you * create an agreement.

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