#[non_exhaustive]pub struct QueryOutputBuilder { /* private fields */ }
Expand description
A builder for QueryOutput
.
Implementations§
source§impl QueryOutputBuilder
impl QueryOutputBuilder
sourcepub fn set_query_id(self, input: Option<String>) -> Self
pub fn set_query_id(self, input: Option<String>) -> Self
A unique ID for the given query.
sourcepub fn get_query_id(&self) -> &Option<String>
pub fn get_query_id(&self) -> &Option<String>
A unique ID for the given query.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A pagination token that can be used again on a Query
call to get the next set of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A pagination token that can be used again on a Query
call to get the next set of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A pagination token that can be used again on a Query
call to get the next set of results.
sourcepub fn rows(self, input: Row) -> Self
pub fn rows(self, input: Row) -> Self
Appends an item to rows
.
To override the contents of this collection use set_rows
.
The result set rows returned by the query.
sourcepub fn set_rows(self, input: Option<Vec<Row>>) -> Self
pub fn set_rows(self, input: Option<Vec<Row>>) -> Self
The result set rows returned by the query.
sourcepub fn column_info(self, input: ColumnInfo) -> Self
pub fn column_info(self, input: ColumnInfo) -> Self
Appends an item to column_info
.
To override the contents of this collection use set_column_info
.
The column data types of the returned result set.
sourcepub fn set_column_info(self, input: Option<Vec<ColumnInfo>>) -> Self
pub fn set_column_info(self, input: Option<Vec<ColumnInfo>>) -> Self
The column data types of the returned result set.
sourcepub fn get_column_info(&self) -> &Option<Vec<ColumnInfo>>
pub fn get_column_info(&self) -> &Option<Vec<ColumnInfo>>
The column data types of the returned result set.
sourcepub fn query_status(self, input: QueryStatus) -> Self
pub fn query_status(self, input: QueryStatus) -> Self
Information about the status of the query, including progress and bytes scanned.
sourcepub fn set_query_status(self, input: Option<QueryStatus>) -> Self
pub fn set_query_status(self, input: Option<QueryStatus>) -> Self
Information about the status of the query, including progress and bytes scanned.
sourcepub fn get_query_status(&self) -> &Option<QueryStatus>
pub fn get_query_status(&self) -> &Option<QueryStatus>
Information about the status of the query, including progress and bytes scanned.
sourcepub fn build(self) -> QueryOutput
pub fn build(self) -> QueryOutput
Consumes the builder and constructs a QueryOutput
.
Trait Implementations§
source§impl Clone for QueryOutputBuilder
impl Clone for QueryOutputBuilder
source§fn clone(&self) -> QueryOutputBuilder
fn clone(&self) -> QueryOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for QueryOutputBuilder
impl Debug for QueryOutputBuilder
source§impl Default for QueryOutputBuilder
impl Default for QueryOutputBuilder
source§fn default() -> QueryOutputBuilder
fn default() -> QueryOutputBuilder
source§impl PartialEq<QueryOutputBuilder> for QueryOutputBuilder
impl PartialEq<QueryOutputBuilder> for QueryOutputBuilder
source§fn eq(&self, other: &QueryOutputBuilder) -> bool
fn eq(&self, other: &QueryOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.