AWS SDK for C++  1.9.159
AWS SDK for C++
GetProposalResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace ManagedBlockchain
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Proposal& GetProposal() const{ return m_proposal; }
39 
43  inline void SetProposal(const Proposal& value) { m_proposal = value; }
44 
48  inline void SetProposal(Proposal&& value) { m_proposal = std::move(value); }
49 
53  inline GetProposalResult& WithProposal(const Proposal& value) { SetProposal(value); return *this;}
54 
58  inline GetProposalResult& WithProposal(Proposal&& value) { SetProposal(std::move(value)); return *this;}
59 
60  private:
61 
62  Proposal m_proposal;
63  };
64 
65 } // namespace Model
66 } // namespace ManagedBlockchain
67 } // namespace Aws
Aws::ManagedBlockchain::Model::GetProposalResult::GetProposal
const Proposal & GetProposal() const
Definition: GetProposalResult.h:38
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ManagedBlockchain::Model::GetProposalResult::GetProposalResult
GetProposalResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ManagedBlockchain::Model::GetProposalResult::WithProposal
GetProposalResult & WithProposal(const Proposal &value)
Definition: GetProposalResult.h:53
Aws::ManagedBlockchain::Model::GetProposalResult::operator=
GetProposalResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ManagedBlockchain::Model::GetProposalResult::SetProposal
void SetProposal(const Proposal &value)
Definition: GetProposalResult.h:43
Aws::ManagedBlockchain::Model::GetProposalResult::GetProposalResult
GetProposalResult()
Aws::ManagedBlockchain::Model::GetProposalResult
Definition: GetProposalResult.h:28
Aws::ManagedBlockchain::Model::Proposal
Definition: Proposal.h:37
AWS_MANAGEDBLOCKCHAIN_API
#define AWS_MANAGEDBLOCKCHAIN_API
Definition: ManagedBlockchain_EXPORTS.h:28
Proposal.h
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
ManagedBlockchain_EXPORTS.h
Aws::ManagedBlockchain::Model::GetProposalResult::SetProposal
void SetProposal(Proposal &&value)
Definition: GetProposalResult.h:48
Aws::ManagedBlockchain::Model::GetProposalResult::WithProposal
GetProposalResult & WithProposal(Proposal &&value)
Definition: GetProposalResult.h:58