Struct aws_sdk_redshiftdata::operation::get_statement_result::builders::GetStatementResultInputBuilder
source · #[non_exhaustive]pub struct GetStatementResultInputBuilder { /* private fields */ }Expand description
A builder for GetStatementResultInput.
Implementations§
source§impl GetStatementResultInputBuilder
impl GetStatementResultInputBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The identifier of the SQL statement whose results are to be fetched. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API. A suffix indicates then number of the SQL statement. For example, d9b6c0c9-0747-4bf4-b142-e8883122f766:2 has a suffix of :2 that indicates the second SQL statement of a batch query. This identifier is returned by BatchExecuteStatment, ExecuteStatment, and ListStatements.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The identifier of the SQL statement whose results are to be fetched. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API. A suffix indicates then number of the SQL statement. For example, d9b6c0c9-0747-4bf4-b142-e8883122f766:2 has a suffix of :2 that indicates the second SQL statement of a batch query. This identifier is returned by BatchExecuteStatment, ExecuteStatment, and ListStatements.
sourcepub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
The identifier of the SQL statement whose results are to be fetched. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API. A suffix indicates then number of the SQL statement. For example, d9b6c0c9-0747-4bf4-b142-e8883122f766:2 has a suffix of :2 that indicates the second SQL statement of a batch query. This identifier is returned by BatchExecuteStatment, ExecuteStatment, and ListStatements.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.
sourcepub fn build(self) -> Result<GetStatementResultInput, BuildError>
pub fn build(self) -> Result<GetStatementResultInput, BuildError>
Consumes the builder and constructs a GetStatementResultInput.
source§impl GetStatementResultInputBuilder
impl GetStatementResultInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetStatementResultOutput, SdkError<GetStatementResultError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetStatementResultOutput, SdkError<GetStatementResultError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetStatementResultInputBuilder
impl Clone for GetStatementResultInputBuilder
source§fn clone(&self) -> GetStatementResultInputBuilder
fn clone(&self) -> GetStatementResultInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetStatementResultInputBuilder
impl Default for GetStatementResultInputBuilder
source§fn default() -> GetStatementResultInputBuilder
fn default() -> GetStatementResultInputBuilder
source§impl PartialEq for GetStatementResultInputBuilder
impl PartialEq for GetStatementResultInputBuilder
source§fn eq(&self, other: &GetStatementResultInputBuilder) -> bool
fn eq(&self, other: &GetStatementResultInputBuilder) -> bool
self and other values to be equal, and is used
by ==.