7#include <aws/managedblockchain/ManagedBlockchain_EXPORTS.h>
8#include <aws/managedblockchain/ManagedBlockchainRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
18namespace ManagedBlockchain
49 inline void SetNetworkId(
const char* value) { m_networkIdHasBeenSet =
true; m_networkId.assign(value); }
63 inline void SetProposalId(
const char* value) { m_proposalIdHasBeenSet =
true; m_proposalId.assign(value); }
75 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
88 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
96 bool m_networkIdHasBeenSet =
false;
99 bool m_proposalIdHasBeenSet =
false;
102 bool m_maxResultsHasBeenSet =
false;
105 bool m_nextTokenHasBeenSet =
false;
ListProposalVotesRequest & WithNetworkId(const Aws::String &value)
bool NetworkIdHasBeenSet() const
void SetProposalId(const Aws::String &value)
ListProposalVotesRequest & WithProposalId(Aws::String &&value)
ListProposalVotesRequest & WithNetworkId(const char *value)
AWS_MANAGEDBLOCKCHAIN_API ListProposalVotesRequest()
const Aws::String & GetNextToken() const
ListProposalVotesRequest & WithNextToken(const char *value)
void SetNetworkId(const char *value)
const Aws::String & GetNetworkId() const
ListProposalVotesRequest & WithProposalId(const char *value)
ListProposalVotesRequest & WithNextToken(Aws::String &&value)
void SetNextToken(const Aws::String &value)
void SetNextToken(Aws::String &&value)
void SetMaxResults(int value)
const Aws::String & GetProposalId() const
virtual const char * GetServiceRequestName() const override
AWS_MANAGEDBLOCKCHAIN_API Aws::String SerializePayload() const override
void SetProposalId(const char *value)
bool NextTokenHasBeenSet() const
ListProposalVotesRequest & WithProposalId(const Aws::String &value)
int GetMaxResults() const
void SetProposalId(Aws::String &&value)
bool MaxResultsHasBeenSet() const
void SetNetworkId(const Aws::String &value)
bool ProposalIdHasBeenSet() const
ListProposalVotesRequest & WithMaxResults(int value)
AWS_MANAGEDBLOCKCHAIN_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListProposalVotesRequest & WithNextToken(const Aws::String &value)
ListProposalVotesRequest & WithNetworkId(Aws::String &&value)
void SetNextToken(const char *value)
void SetNetworkId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String