Struct aws_sdk_rdsdata::operation::execute_statement::builders::ExecuteStatementOutputBuilder
source · #[non_exhaustive]pub struct ExecuteStatementOutputBuilder { /* private fields */ }Expand description
A builder for ExecuteStatementOutput.
Implementations§
source§impl ExecuteStatementOutputBuilder
impl ExecuteStatementOutputBuilder
sourcepub fn records(self, input: Vec<Field>) -> Self
pub fn records(self, input: Vec<Field>) -> Self
Appends an item to records.
To override the contents of this collection use set_records.
The records returned by the SQL statement. This field is blank if the formatRecordsAs parameter is set to JSON.
sourcepub fn set_records(self, input: Option<Vec<Vec<Field>>>) -> Self
pub fn set_records(self, input: Option<Vec<Vec<Field>>>) -> Self
The records returned by the SQL statement. This field is blank if the formatRecordsAs parameter is set to JSON.
sourcepub fn get_records(&self) -> &Option<Vec<Vec<Field>>>
pub fn get_records(&self) -> &Option<Vec<Vec<Field>>>
The records returned by the SQL statement. This field is blank if the formatRecordsAs parameter is set to JSON.
sourcepub fn column_metadata(self, input: ColumnMetadata) -> Self
pub fn column_metadata(self, input: ColumnMetadata) -> Self
Appends an item to column_metadata.
To override the contents of this collection use set_column_metadata.
Metadata for the columns included in the results. This field is blank if the formatRecordsAs parameter is set to JSON.
sourcepub fn set_column_metadata(self, input: Option<Vec<ColumnMetadata>>) -> Self
pub fn set_column_metadata(self, input: Option<Vec<ColumnMetadata>>) -> Self
Metadata for the columns included in the results. This field is blank if the formatRecordsAs parameter is set to JSON.
sourcepub fn get_column_metadata(&self) -> &Option<Vec<ColumnMetadata>>
pub fn get_column_metadata(&self) -> &Option<Vec<ColumnMetadata>>
Metadata for the columns included in the results. This field is blank if the formatRecordsAs parameter is set to JSON.
sourcepub fn number_of_records_updated(self, input: i64) -> Self
pub fn number_of_records_updated(self, input: i64) -> Self
The number of records updated by the request.
sourcepub fn set_number_of_records_updated(self, input: Option<i64>) -> Self
pub fn set_number_of_records_updated(self, input: Option<i64>) -> Self
The number of records updated by the request.
sourcepub fn get_number_of_records_updated(&self) -> &Option<i64>
pub fn get_number_of_records_updated(&self) -> &Option<i64>
The number of records updated by the request.
sourcepub fn generated_fields(self, input: Field) -> Self
pub fn generated_fields(self, input: Field) -> Self
Appends an item to generated_fields.
To override the contents of this collection use set_generated_fields.
Values for fields generated during a DML request.
The generatedFields data isn't supported by Aurora PostgreSQL. To get the values of generated fields, use the RETURNING clause. For more information, see Returning Data From Modified Rows in the PostgreSQL documentation.
sourcepub fn set_generated_fields(self, input: Option<Vec<Field>>) -> Self
pub fn set_generated_fields(self, input: Option<Vec<Field>>) -> Self
Values for fields generated during a DML request.
The generatedFields data isn't supported by Aurora PostgreSQL. To get the values of generated fields, use the RETURNING clause. For more information, see Returning Data From Modified Rows in the PostgreSQL documentation.
sourcepub fn get_generated_fields(&self) -> &Option<Vec<Field>>
pub fn get_generated_fields(&self) -> &Option<Vec<Field>>
Values for fields generated during a DML request.
The generatedFields data isn't supported by Aurora PostgreSQL. To get the values of generated fields, use the RETURNING clause. For more information, see Returning Data From Modified Rows in the PostgreSQL documentation.
sourcepub fn formatted_records(self, input: impl Into<String>) -> Self
pub fn formatted_records(self, input: impl Into<String>) -> Self
A string value that represents the result set of a SELECT statement in JSON format. This value is only present when the formatRecordsAs parameter is set to JSON.
The size limit for this field is currently 10 MB. If the JSON-formatted string representing the result set requires more than 10 MB, the call returns an error.
sourcepub fn set_formatted_records(self, input: Option<String>) -> Self
pub fn set_formatted_records(self, input: Option<String>) -> Self
A string value that represents the result set of a SELECT statement in JSON format. This value is only present when the formatRecordsAs parameter is set to JSON.
The size limit for this field is currently 10 MB. If the JSON-formatted string representing the result set requires more than 10 MB, the call returns an error.
sourcepub fn get_formatted_records(&self) -> &Option<String>
pub fn get_formatted_records(&self) -> &Option<String>
A string value that represents the result set of a SELECT statement in JSON format. This value is only present when the formatRecordsAs parameter is set to JSON.
The size limit for this field is currently 10 MB. If the JSON-formatted string representing the result set requires more than 10 MB, the call returns an error.
sourcepub fn build(self) -> ExecuteStatementOutput
pub fn build(self) -> ExecuteStatementOutput
Consumes the builder and constructs a ExecuteStatementOutput.
Trait Implementations§
source§impl Clone for ExecuteStatementOutputBuilder
impl Clone for ExecuteStatementOutputBuilder
source§fn clone(&self) -> ExecuteStatementOutputBuilder
fn clone(&self) -> ExecuteStatementOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ExecuteStatementOutputBuilder
impl Default for ExecuteStatementOutputBuilder
source§fn default() -> ExecuteStatementOutputBuilder
fn default() -> ExecuteStatementOutputBuilder
source§impl PartialEq for ExecuteStatementOutputBuilder
impl PartialEq for ExecuteStatementOutputBuilder
source§fn eq(&self, other: &ExecuteStatementOutputBuilder) -> bool
fn eq(&self, other: &ExecuteStatementOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.