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

Information about a proposal.

*/ inline const Proposal& GetProposal() const{ return m_proposal; } /** *

Information about a proposal.

*/ inline void SetProposal(const Proposal& value) { m_proposal = value; } /** *

Information about a proposal.

*/ inline void SetProposal(Proposal&& value) { m_proposal = std::move(value); } /** *

Information about a proposal.

*/ inline GetProposalResult& WithProposal(const Proposal& value) { SetProposal(value); return *this;} /** *

Information about a proposal.

*/ inline GetProposalResult& WithProposal(Proposal&& value) { SetProposal(std::move(value)); return *this;} private: Proposal m_proposal; }; } // namespace Model } // namespace ManagedBlockchain } // namespace Aws