1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`VoteOnProposal`](crate::operation::vote_on_proposal::builders::VoteOnProposalFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`network_id(impl ::std::convert::Into<String>)`](crate::operation::vote_on_proposal::builders::VoteOnProposalFluentBuilder::network_id) / [`set_network_id(Option<String>)`](crate::operation::vote_on_proposal::builders::VoteOnProposalFluentBuilder::set_network_id): <p> The unique identifier of the network. </p>
    ///   - [`proposal_id(impl ::std::convert::Into<String>)`](crate::operation::vote_on_proposal::builders::VoteOnProposalFluentBuilder::proposal_id) / [`set_proposal_id(Option<String>)`](crate::operation::vote_on_proposal::builders::VoteOnProposalFluentBuilder::set_proposal_id): <p> The unique identifier of the proposal. </p>
    ///   - [`voter_member_id(impl ::std::convert::Into<String>)`](crate::operation::vote_on_proposal::builders::VoteOnProposalFluentBuilder::voter_member_id) / [`set_voter_member_id(Option<String>)`](crate::operation::vote_on_proposal::builders::VoteOnProposalFluentBuilder::set_voter_member_id): <p>The unique identifier of the member casting the vote. </p>
    ///   - [`vote(VoteValue)`](crate::operation::vote_on_proposal::builders::VoteOnProposalFluentBuilder::vote) / [`set_vote(Option<VoteValue>)`](crate::operation::vote_on_proposal::builders::VoteOnProposalFluentBuilder::set_vote): <p> The value of the vote. </p>
    /// - On success, responds with [`VoteOnProposalOutput`](crate::operation::vote_on_proposal::VoteOnProposalOutput)
    /// - On failure, responds with [`SdkError<VoteOnProposalError>`](crate::operation::vote_on_proposal::VoteOnProposalError)
    pub fn vote_on_proposal(
        &self,
    ) -> crate::operation::vote_on_proposal::builders::VoteOnProposalFluentBuilder {
        crate::operation::vote_on_proposal::builders::VoteOnProposalFluentBuilder::new(
            self.handle.clone(),
        )
    }
}