#[non_exhaustive]pub struct GetReferenceInputBuilder { /* private fields */ }
Expand description
A builder for GetReferenceInput
.
Implementations§
source§impl GetReferenceInputBuilder
impl GetReferenceInputBuilder
sourcepub fn reference_store_id(self, input: impl Into<String>) -> Self
pub fn reference_store_id(self, input: impl Into<String>) -> Self
The reference's store ID.
This field is required.sourcepub fn set_reference_store_id(self, input: Option<String>) -> Self
pub fn set_reference_store_id(self, input: Option<String>) -> Self
The reference's store ID.
sourcepub fn get_reference_store_id(&self) -> &Option<String>
pub fn get_reference_store_id(&self) -> &Option<String>
The reference's store ID.
sourcepub fn part_number(self, input: i32) -> Self
pub fn part_number(self, input: i32) -> Self
The part number to retrieve.
This field is required.sourcepub fn set_part_number(self, input: Option<i32>) -> Self
pub fn set_part_number(self, input: Option<i32>) -> Self
The part number to retrieve.
sourcepub fn get_part_number(&self) -> &Option<i32>
pub fn get_part_number(&self) -> &Option<i32>
The part number to retrieve.
sourcepub fn file(self, input: ReferenceFile) -> Self
pub fn file(self, input: ReferenceFile) -> Self
The file to retrieve.
sourcepub fn set_file(self, input: Option<ReferenceFile>) -> Self
pub fn set_file(self, input: Option<ReferenceFile>) -> Self
The file to retrieve.
sourcepub fn get_file(&self) -> &Option<ReferenceFile>
pub fn get_file(&self) -> &Option<ReferenceFile>
The file to retrieve.
sourcepub fn build(self) -> Result<GetReferenceInput, BuildError>
pub fn build(self) -> Result<GetReferenceInput, BuildError>
Consumes the builder and constructs a GetReferenceInput
.
source§impl GetReferenceInputBuilder
impl GetReferenceInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<GetReferenceOutput, SdkError<GetReferenceError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<GetReferenceOutput, SdkError<GetReferenceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetReferenceInputBuilder
impl Clone for GetReferenceInputBuilder
source§fn clone(&self) -> GetReferenceInputBuilder
fn clone(&self) -> GetReferenceInputBuilder
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 GetReferenceInputBuilder
impl Debug for GetReferenceInputBuilder
source§impl Default for GetReferenceInputBuilder
impl Default for GetReferenceInputBuilder
source§fn default() -> GetReferenceInputBuilder
fn default() -> GetReferenceInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetReferenceInputBuilder
impl PartialEq for GetReferenceInputBuilder
source§fn eq(&self, other: &GetReferenceInputBuilder) -> bool
fn eq(&self, other: &GetReferenceInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetReferenceInputBuilder
Auto Trait Implementations§
impl Freeze for GetReferenceInputBuilder
impl RefUnwindSafe for GetReferenceInputBuilder
impl Send for GetReferenceInputBuilder
impl Sync for GetReferenceInputBuilder
impl Unpin for GetReferenceInputBuilder
impl UnwindSafe for GetReferenceInputBuilder
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.