7#include <aws/managedblockchain/ManagedBlockchain_EXPORTS.h>
8#include <aws/managedblockchain/ManagedBlockchainRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/managedblockchain/model/VoteValue.h>
15namespace ManagedBlockchain
44 inline void SetNetworkId(
const char* value) { m_networkIdHasBeenSet =
true; m_networkId.assign(value); }
58 inline void SetProposalId(
const char* value) { m_proposalIdHasBeenSet =
true; m_proposalId.assign(value); }
72 inline void SetVoterMemberId(
const char* value) { m_voterMemberIdHasBeenSet =
true; m_voterMemberId.assign(value); }
84 inline void SetVote(
const VoteValue& value) { m_voteHasBeenSet =
true; m_vote = value; }
85 inline void SetVote(
VoteValue&& value) { m_voteHasBeenSet =
true; m_vote = std::move(value); }
92 bool m_networkIdHasBeenSet =
false;
95 bool m_proposalIdHasBeenSet =
false;
98 bool m_voterMemberIdHasBeenSet =
false;
101 bool m_voteHasBeenSet =
false;
virtual const char * GetServiceRequestName() const override
const Aws::String & GetVoterMemberId() const
VoteOnProposalRequest & WithNetworkId(const char *value)
VoteOnProposalRequest & WithProposalId(const char *value)
void SetVote(const VoteValue &value)
void SetVoterMemberId(Aws::String &&value)
AWS_MANAGEDBLOCKCHAIN_API VoteOnProposalRequest()
bool NetworkIdHasBeenSet() const
void SetVoterMemberId(const Aws::String &value)
VoteOnProposalRequest & WithNetworkId(Aws::String &&value)
void SetProposalId(const char *value)
VoteOnProposalRequest & WithVote(VoteValue &&value)
void SetVoterMemberId(const char *value)
void SetProposalId(Aws::String &&value)
VoteOnProposalRequest & WithNetworkId(const Aws::String &value)
bool VoterMemberIdHasBeenSet() const
VoteOnProposalRequest & WithVote(const VoteValue &value)
bool ProposalIdHasBeenSet() const
VoteOnProposalRequest & WithProposalId(const Aws::String &value)
const VoteValue & GetVote() const
AWS_MANAGEDBLOCKCHAIN_API Aws::String SerializePayload() const override
const Aws::String & GetProposalId() const
bool VoteHasBeenSet() const
void SetNetworkId(const char *value)
VoteOnProposalRequest & WithVoterMemberId(Aws::String &&value)
VoteOnProposalRequest & WithVoterMemberId(const char *value)
const Aws::String & GetNetworkId() const
void SetNetworkId(Aws::String &&value)
void SetVote(VoteValue &&value)
VoteOnProposalRequest & WithVoterMemberId(const Aws::String &value)
void SetProposalId(const Aws::String &value)
VoteOnProposalRequest & WithProposalId(Aws::String &&value)
void SetNetworkId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String