Struct aws_sdk_managedblockchain::operation::vote_on_proposal::builders::VoteOnProposalInputBuilder
source · #[non_exhaustive]pub struct VoteOnProposalInputBuilder { /* private fields */ }
Expand description
A builder for VoteOnProposalInput
.
Implementations§
source§impl VoteOnProposalInputBuilder
impl VoteOnProposalInputBuilder
sourcepub fn network_id(self, input: impl Into<String>) -> Self
pub fn network_id(self, input: impl Into<String>) -> Self
The unique identifier of the network.
sourcepub fn set_network_id(self, input: Option<String>) -> Self
pub fn set_network_id(self, input: Option<String>) -> Self
The unique identifier of the network.
sourcepub fn get_network_id(&self) -> &Option<String>
pub fn get_network_id(&self) -> &Option<String>
The unique identifier of the network.
sourcepub fn proposal_id(self, input: impl Into<String>) -> Self
pub fn proposal_id(self, input: impl Into<String>) -> Self
The unique identifier of the proposal.
sourcepub fn set_proposal_id(self, input: Option<String>) -> Self
pub fn set_proposal_id(self, input: Option<String>) -> Self
The unique identifier of the proposal.
sourcepub fn get_proposal_id(&self) -> &Option<String>
pub fn get_proposal_id(&self) -> &Option<String>
The unique identifier of the proposal.
sourcepub fn voter_member_id(self, input: impl Into<String>) -> Self
pub fn voter_member_id(self, input: impl Into<String>) -> Self
The unique identifier of the member casting the vote.
sourcepub fn set_voter_member_id(self, input: Option<String>) -> Self
pub fn set_voter_member_id(self, input: Option<String>) -> Self
The unique identifier of the member casting the vote.
sourcepub fn get_voter_member_id(&self) -> &Option<String>
pub fn get_voter_member_id(&self) -> &Option<String>
The unique identifier of the member casting the vote.
sourcepub fn build(self) -> Result<VoteOnProposalInput, BuildError>
pub fn build(self) -> Result<VoteOnProposalInput, BuildError>
Consumes the builder and constructs a VoteOnProposalInput
.
source§impl VoteOnProposalInputBuilder
impl VoteOnProposalInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<VoteOnProposalOutput, SdkError<VoteOnProposalError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<VoteOnProposalOutput, SdkError<VoteOnProposalError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for VoteOnProposalInputBuilder
impl Clone for VoteOnProposalInputBuilder
source§fn clone(&self) -> VoteOnProposalInputBuilder
fn clone(&self) -> VoteOnProposalInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for VoteOnProposalInputBuilder
impl Debug for VoteOnProposalInputBuilder
source§impl Default for VoteOnProposalInputBuilder
impl Default for VoteOnProposalInputBuilder
source§fn default() -> VoteOnProposalInputBuilder
fn default() -> VoteOnProposalInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<VoteOnProposalInputBuilder> for VoteOnProposalInputBuilder
impl PartialEq<VoteOnProposalInputBuilder> for VoteOnProposalInputBuilder
source§fn eq(&self, other: &VoteOnProposalInputBuilder) -> bool
fn eq(&self, other: &VoteOnProposalInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VoteOnProposalInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for VoteOnProposalInputBuilder
impl Send for VoteOnProposalInputBuilder
impl Sync for VoteOnProposalInputBuilder
impl Unpin for VoteOnProposalInputBuilder
impl UnwindSafe for VoteOnProposalInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more