7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/managedblockchain/ManagedBlockchainRequest.h>
9#include <aws/managedblockchain/ManagedBlockchain_EXPORTS.h>
10#include <aws/managedblockchain/model/VoteValue.h>
15namespace ManagedBlockchain {
38 template <
typename NetworkIdT = Aws::String>
40 m_networkIdHasBeenSet =
true;
41 m_networkId = std::forward<NetworkIdT>(value);
43 template <
typename NetworkIdT = Aws::String>
56 template <
typename ProposalIdT = Aws::String>
58 m_proposalIdHasBeenSet =
true;
59 m_proposalId = std::forward<ProposalIdT>(value);
61 template <
typename ProposalIdT = Aws::String>
74 template <
typename VoterMemberIdT = Aws::String>
76 m_voterMemberIdHasBeenSet =
true;
77 m_voterMemberId = std::forward<VoterMemberIdT>(value);
79 template <
typename VoterMemberIdT = Aws::String>
93 m_voteHasBeenSet =
true;
109 bool m_networkIdHasBeenSet =
false;
110 bool m_proposalIdHasBeenSet =
false;
111 bool m_voterMemberIdHasBeenSet =
false;
112 bool m_voteHasBeenSet =
false;
virtual const char * GetServiceRequestName() const override
const Aws::String & GetVoterMemberId() const
VoteOnProposalRequest & WithProposalId(ProposalIdT &&value)
void SetProposalId(ProposalIdT &&value)
bool NetworkIdHasBeenSet() const
bool VoterMemberIdHasBeenSet() const
bool ProposalIdHasBeenSet() const
void SetNetworkId(NetworkIdT &&value)
AWS_MANAGEDBLOCKCHAIN_API Aws::String SerializePayload() const override
const Aws::String & GetProposalId() const
void SetVoterMemberId(VoterMemberIdT &&value)
bool VoteHasBeenSet() const
AWS_MANAGEDBLOCKCHAIN_API VoteOnProposalRequest()=default
void SetVote(VoteValue value)
VoteOnProposalRequest & WithVoterMemberId(VoterMemberIdT &&value)
const Aws::String & GetNetworkId() const
VoteOnProposalRequest & WithNetworkId(NetworkIdT &&value)
VoteOnProposalRequest & WithVote(VoteValue value)
VoteValue GetVote() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String