Struct aws_sdk_iotdataplane::operation::get_thing_shadow::builders::GetThingShadowInputBuilder
source · #[non_exhaustive]pub struct GetThingShadowInputBuilder { /* private fields */ }
Expand description
A builder for GetThingShadowInput
.
Implementations§
source§impl GetThingShadowInputBuilder
impl GetThingShadowInputBuilder
sourcepub fn thing_name(self, input: impl Into<String>) -> Self
pub fn thing_name(self, input: impl Into<String>) -> Self
The name of the thing.
This field is required.sourcepub fn set_thing_name(self, input: Option<String>) -> Self
pub fn set_thing_name(self, input: Option<String>) -> Self
The name of the thing.
sourcepub fn get_thing_name(&self) -> &Option<String>
pub fn get_thing_name(&self) -> &Option<String>
The name of the thing.
sourcepub fn shadow_name(self, input: impl Into<String>) -> Self
pub fn shadow_name(self, input: impl Into<String>) -> Self
The name of the shadow.
sourcepub fn set_shadow_name(self, input: Option<String>) -> Self
pub fn set_shadow_name(self, input: Option<String>) -> Self
The name of the shadow.
sourcepub fn get_shadow_name(&self) -> &Option<String>
pub fn get_shadow_name(&self) -> &Option<String>
The name of the shadow.
sourcepub fn build(self) -> Result<GetThingShadowInput, BuildError>
pub fn build(self) -> Result<GetThingShadowInput, BuildError>
Consumes the builder and constructs a GetThingShadowInput
.
source§impl GetThingShadowInputBuilder
impl GetThingShadowInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetThingShadowOutput, SdkError<GetThingShadowError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetThingShadowOutput, SdkError<GetThingShadowError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetThingShadowInputBuilder
impl Clone for GetThingShadowInputBuilder
source§fn clone(&self) -> GetThingShadowInputBuilder
fn clone(&self) -> GetThingShadowInputBuilder
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 GetThingShadowInputBuilder
impl Debug for GetThingShadowInputBuilder
source§impl Default for GetThingShadowInputBuilder
impl Default for GetThingShadowInputBuilder
source§fn default() -> GetThingShadowInputBuilder
fn default() -> GetThingShadowInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetThingShadowInputBuilder
impl PartialEq for GetThingShadowInputBuilder
source§fn eq(&self, other: &GetThingShadowInputBuilder) -> bool
fn eq(&self, other: &GetThingShadowInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetThingShadowInputBuilder
Auto Trait Implementations§
impl Freeze for GetThingShadowInputBuilder
impl RefUnwindSafe for GetThingShadowInputBuilder
impl Send for GetThingShadowInputBuilder
impl Sync for GetThingShadowInputBuilder
impl Unpin for GetThingShadowInputBuilder
impl UnwindSafe for GetThingShadowInputBuilder
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.