Struct aws_sdk_timestreamquery::operation::prepare_query::builders::PrepareQueryInputBuilder
source · #[non_exhaustive]pub struct PrepareQueryInputBuilder { /* private fields */ }
Expand description
A builder for PrepareQueryInput
.
Implementations§
source§impl PrepareQueryInputBuilder
impl PrepareQueryInputBuilder
sourcepub fn query_string(self, input: impl Into<String>) -> Self
pub fn query_string(self, input: impl Into<String>) -> Self
The Timestream query string that you want to use as a prepared statement. Parameter names can be specified in the query string @
character followed by an identifier.
sourcepub fn set_query_string(self, input: Option<String>) -> Self
pub fn set_query_string(self, input: Option<String>) -> Self
The Timestream query string that you want to use as a prepared statement. Parameter names can be specified in the query string @
character followed by an identifier.
sourcepub fn get_query_string(&self) -> &Option<String>
pub fn get_query_string(&self) -> &Option<String>
The Timestream query string that you want to use as a prepared statement. Parameter names can be specified in the query string @
character followed by an identifier.
sourcepub fn validate_only(self, input: bool) -> Self
pub fn validate_only(self, input: bool) -> Self
By setting this value to true
, Timestream will only validate that the query string is a valid Timestream query, and not store the prepared query for later use.
sourcepub fn set_validate_only(self, input: Option<bool>) -> Self
pub fn set_validate_only(self, input: Option<bool>) -> Self
By setting this value to true
, Timestream will only validate that the query string is a valid Timestream query, and not store the prepared query for later use.
sourcepub fn get_validate_only(&self) -> &Option<bool>
pub fn get_validate_only(&self) -> &Option<bool>
By setting this value to true
, Timestream will only validate that the query string is a valid Timestream query, and not store the prepared query for later use.
sourcepub fn build(self) -> Result<PrepareQueryInput, BuildError>
pub fn build(self) -> Result<PrepareQueryInput, BuildError>
Consumes the builder and constructs a PrepareQueryInput
.
source§impl PrepareQueryInputBuilder
impl PrepareQueryInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<PrepareQueryOutput, SdkError<PrepareQueryError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<PrepareQueryOutput, SdkError<PrepareQueryError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for PrepareQueryInputBuilder
impl Clone for PrepareQueryInputBuilder
source§fn clone(&self) -> PrepareQueryInputBuilder
fn clone(&self) -> PrepareQueryInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PrepareQueryInputBuilder
impl Debug for PrepareQueryInputBuilder
source§impl Default for PrepareQueryInputBuilder
impl Default for PrepareQueryInputBuilder
source§fn default() -> PrepareQueryInputBuilder
fn default() -> PrepareQueryInputBuilder
source§impl PartialEq for PrepareQueryInputBuilder
impl PartialEq for PrepareQueryInputBuilder
source§fn eq(&self, other: &PrepareQueryInputBuilder) -> bool
fn eq(&self, other: &PrepareQueryInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PrepareQueryInputBuilder
Auto Trait Implementations§
impl Freeze for PrepareQueryInputBuilder
impl RefUnwindSafe for PrepareQueryInputBuilder
impl Send for PrepareQueryInputBuilder
impl Sync for PrepareQueryInputBuilder
impl Unpin for PrepareQueryInputBuilder
impl UnwindSafe for PrepareQueryInputBuilder
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
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>
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>
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 more