1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListProposalVotes`](crate::operation::list_proposal_votes::builders::ListProposalVotesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_proposal_votes::builders::ListProposalVotesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`network_id(impl ::std::convert::Into<String>)`](crate::operation::list_proposal_votes::builders::ListProposalVotesFluentBuilder::network_id) / [`set_network_id(Option<String>)`](crate::operation::list_proposal_votes::builders::ListProposalVotesFluentBuilder::set_network_id): <p> The unique identifier of the network. </p>
    ///   - [`proposal_id(impl ::std::convert::Into<String>)`](crate::operation::list_proposal_votes::builders::ListProposalVotesFluentBuilder::proposal_id) / [`set_proposal_id(Option<String>)`](crate::operation::list_proposal_votes::builders::ListProposalVotesFluentBuilder::set_proposal_id): <p> The unique identifier of the proposal. </p>
    ///   - [`max_results(i32)`](crate::operation::list_proposal_votes::builders::ListProposalVotesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_proposal_votes::builders::ListProposalVotesFluentBuilder::set_max_results): <p> The maximum number of votes to return. </p>
    ///   - [`next_token(impl ::std::convert::Into<String>)`](crate::operation::list_proposal_votes::builders::ListProposalVotesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_proposal_votes::builders::ListProposalVotesFluentBuilder::set_next_token): <p> The pagination token that indicates the next set of results to retrieve. </p>
    /// - On success, responds with [`ListProposalVotesOutput`](crate::operation::list_proposal_votes::ListProposalVotesOutput) with field(s):
    ///   - [`proposal_votes(Option<Vec<VoteSummary>>)`](crate::operation::list_proposal_votes::ListProposalVotesOutput::proposal_votes): <p> The list of votes. </p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_proposal_votes::ListProposalVotesOutput::next_token): <p> The pagination token that indicates the next set of results to retrieve. </p>
    /// - On failure, responds with [`SdkError<ListProposalVotesError>`](crate::operation::list_proposal_votes::ListProposalVotesError)
    pub fn list_proposal_votes(
        &self,
    ) -> crate::operation::list_proposal_votes::builders::ListProposalVotesFluentBuilder {
        crate::operation::list_proposal_votes::builders::ListProposalVotesFluentBuilder::new(
            self.handle.clone(),
        )
    }
}