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

The unique identifier of the proposal.

*/ inline const Aws::String& GetProposalId() const{ return m_proposalId; } /** *

The unique identifier of the proposal.

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

The unique identifier of the proposal.

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

The unique identifier of the proposal.

*/ inline void SetProposalId(const char* value) { m_proposalId.assign(value); } /** *

The unique identifier of the proposal.

*/ inline CreateProposalResult& WithProposalId(const Aws::String& value) { SetProposalId(value); return *this;} /** *

The unique identifier of the proposal.

*/ inline CreateProposalResult& WithProposalId(Aws::String&& value) { SetProposalId(std::move(value)); return *this;} /** *

The unique identifier of the proposal.

*/ inline CreateProposalResult& WithProposalId(const char* value) { SetProposalId(value); return *this;} private: Aws::String m_proposalId; }; } // namespace Model } // namespace ManagedBlockchain } // namespace Aws