#[non_exhaustive]pub struct GetPreparedStatementInputBuilder { /* private fields */ }Expand description
A builder for GetPreparedStatementInput.
Implementations§
Source§impl GetPreparedStatementInputBuilder
impl GetPreparedStatementInputBuilder
Sourcepub fn statement_name(self, input: impl Into<String>) -> Self
pub fn statement_name(self, input: impl Into<String>) -> Self
The name of the prepared statement to retrieve.
This field is required.Sourcepub fn set_statement_name(self, input: Option<String>) -> Self
pub fn set_statement_name(self, input: Option<String>) -> Self
The name of the prepared statement to retrieve.
Sourcepub fn get_statement_name(&self) -> &Option<String>
pub fn get_statement_name(&self) -> &Option<String>
The name of the prepared statement to retrieve.
Sourcepub fn work_group(self, input: impl Into<String>) -> Self
pub fn work_group(self, input: impl Into<String>) -> Self
The workgroup to which the statement to be retrieved belongs.
This field is required.Sourcepub fn set_work_group(self, input: Option<String>) -> Self
pub fn set_work_group(self, input: Option<String>) -> Self
The workgroup to which the statement to be retrieved belongs.
Sourcepub fn get_work_group(&self) -> &Option<String>
pub fn get_work_group(&self) -> &Option<String>
The workgroup to which the statement to be retrieved belongs.
Sourcepub fn build(self) -> Result<GetPreparedStatementInput, BuildError>
pub fn build(self) -> Result<GetPreparedStatementInput, BuildError>
Consumes the builder and constructs a GetPreparedStatementInput.
Source§impl GetPreparedStatementInputBuilder
impl GetPreparedStatementInputBuilder
Sourcepub async fn send_with(
self,
client: &Client,
) -> Result<GetPreparedStatementOutput, SdkError<GetPreparedStatementError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<GetPreparedStatementOutput, SdkError<GetPreparedStatementError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
Source§impl Clone for GetPreparedStatementInputBuilder
impl Clone for GetPreparedStatementInputBuilder
Source§fn clone(&self) -> GetPreparedStatementInputBuilder
fn clone(&self) -> GetPreparedStatementInputBuilder
Returns a duplicate 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 Default for GetPreparedStatementInputBuilder
impl Default for GetPreparedStatementInputBuilder
Source§fn default() -> GetPreparedStatementInputBuilder
fn default() -> GetPreparedStatementInputBuilder
Returns the “default value” for a type. Read more
Source§impl PartialEq for GetPreparedStatementInputBuilder
impl PartialEq for GetPreparedStatementInputBuilder
Source§fn eq(&self, other: &GetPreparedStatementInputBuilder) -> bool
fn eq(&self, other: &GetPreparedStatementInputBuilder) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetPreparedStatementInputBuilder
Auto Trait Implementations§
impl Freeze for GetPreparedStatementInputBuilder
impl RefUnwindSafe for GetPreparedStatementInputBuilder
impl Send for GetPreparedStatementInputBuilder
impl Sync for GetPreparedStatementInputBuilder
impl Unpin for GetPreparedStatementInputBuilder
impl UnsafeUnpin for GetPreparedStatementInputBuilder
impl UnwindSafe for GetPreparedStatementInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.