#[non_exhaustive]pub struct GetControlInputBuilder { /* private fields */ }
Expand description
A builder for GetControlInput
.
Implementations§
source§impl GetControlInputBuilder
impl GetControlInputBuilder
sourcepub fn control_id(self, input: impl Into<String>) -> Self
pub fn control_id(self, input: impl Into<String>) -> Self
The identifier for the control.
This field is required.sourcepub fn set_control_id(self, input: Option<String>) -> Self
pub fn set_control_id(self, input: Option<String>) -> Self
The identifier for the control.
sourcepub fn get_control_id(&self) -> &Option<String>
pub fn get_control_id(&self) -> &Option<String>
The identifier for the control.
sourcepub fn build(self) -> Result<GetControlInput, BuildError>
pub fn build(self) -> Result<GetControlInput, BuildError>
Consumes the builder and constructs a GetControlInput
.
source§impl GetControlInputBuilder
impl GetControlInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetControlOutput, SdkError<GetControlError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetControlOutput, SdkError<GetControlError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetControlInputBuilder
impl Clone for GetControlInputBuilder
source§fn clone(&self) -> GetControlInputBuilder
fn clone(&self) -> GetControlInputBuilder
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 GetControlInputBuilder
impl Debug for GetControlInputBuilder
source§impl Default for GetControlInputBuilder
impl Default for GetControlInputBuilder
source§fn default() -> GetControlInputBuilder
fn default() -> GetControlInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetControlInputBuilder
impl PartialEq for GetControlInputBuilder
source§fn eq(&self, other: &GetControlInputBuilder) -> bool
fn eq(&self, other: &GetControlInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetControlInputBuilder
Auto Trait Implementations§
impl Freeze for GetControlInputBuilder
impl RefUnwindSafe for GetControlInputBuilder
impl Send for GetControlInputBuilder
impl Sync for GetControlInputBuilder
impl Unpin for GetControlInputBuilder
impl UnwindSafe for GetControlInputBuilder
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>
Creates a shared type from an unshared type.