/** * 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 CreateProposalResult { public: AWS_MANAGEDBLOCKCHAIN_API CreateProposalResult(); AWS_MANAGEDBLOCKCHAIN_API CreateProposalResult(const Aws::AmazonWebServiceResult& result); AWS_MANAGEDBLOCKCHAIN_API 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;} 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 CreateProposalResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateProposalResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateProposalResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_proposalId; Aws::String m_requestId; }; } // namespace Model } // namespace ManagedBlockchain } // namespace Aws