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<PrepareQueryInputBuilder> for PrepareQueryInputBuilder
impl PartialEq<PrepareQueryInputBuilder> 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 ==
.