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.
This field is required.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.
This field is required.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.
This field is required.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 for VoteOnProposalInputBuilder
impl PartialEq 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 Freeze for VoteOnProposalInputBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.