Struct aws_sdk_internetmonitor::operation::get_query_results::builders::GetQueryResultsOutputBuilder
source · #[non_exhaustive]pub struct GetQueryResultsOutputBuilder { /* private fields */ }Expand description
A builder for GetQueryResultsOutput.
Implementations§
source§impl GetQueryResultsOutputBuilder
impl GetQueryResultsOutputBuilder
sourcepub fn fields(self, input: QueryField) -> Self
pub fn fields(self, input: QueryField) -> Self
Appends an item to fields.
To override the contents of this collection use set_fields.
The fields that the query returns data for. Fields are name-data type pairs, such as availability_score-float.
sourcepub fn set_fields(self, input: Option<Vec<QueryField>>) -> Self
pub fn set_fields(self, input: Option<Vec<QueryField>>) -> Self
The fields that the query returns data for. Fields are name-data type pairs, such as availability_score-float.
sourcepub fn get_fields(&self) -> &Option<Vec<QueryField>>
pub fn get_fields(&self) -> &Option<Vec<QueryField>>
The fields that the query returns data for. Fields are name-data type pairs, such as availability_score-float.
sourcepub fn data(self, input: Vec<String>) -> Self
pub fn data(self, input: Vec<String>) -> Self
Appends an item to data.
To override the contents of this collection use set_data.
The data results that the query returns. Data is returned in arrays, aligned with the Fields for the query, which creates a repository of Amazon CloudWatch Internet Monitor information for your application. Then, you can filter the information in the repository by using FilterParameters that you define.
sourcepub fn set_data(self, input: Option<Vec<Vec<String>>>) -> Self
pub fn set_data(self, input: Option<Vec<Vec<String>>>) -> Self
The data results that the query returns. Data is returned in arrays, aligned with the Fields for the query, which creates a repository of Amazon CloudWatch Internet Monitor information for your application. Then, you can filter the information in the repository by using FilterParameters that you define.
sourcepub fn get_data(&self) -> &Option<Vec<Vec<String>>>
pub fn get_data(&self) -> &Option<Vec<Vec<String>>>
The data results that the query returns. Data is returned in arrays, aligned with the Fields for the query, which creates a repository of Amazon CloudWatch Internet Monitor information for your application. Then, you can filter the information in the repository by using FilterParameters that you define.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token for the next set of results. You receive this token from a previous call.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token for the next set of results. You receive this token from a previous call.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token for the next set of results. You receive this token from a previous call.
sourcepub fn build(self) -> Result<GetQueryResultsOutput, BuildError>
pub fn build(self) -> Result<GetQueryResultsOutput, BuildError>
Consumes the builder and constructs a GetQueryResultsOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetQueryResultsOutputBuilder
impl Clone for GetQueryResultsOutputBuilder
source§fn clone(&self) -> GetQueryResultsOutputBuilder
fn clone(&self) -> GetQueryResultsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetQueryResultsOutputBuilder
impl Debug for GetQueryResultsOutputBuilder
source§impl Default for GetQueryResultsOutputBuilder
impl Default for GetQueryResultsOutputBuilder
source§fn default() -> GetQueryResultsOutputBuilder
fn default() -> GetQueryResultsOutputBuilder
source§impl PartialEq for GetQueryResultsOutputBuilder
impl PartialEq for GetQueryResultsOutputBuilder
source§fn eq(&self, other: &GetQueryResultsOutputBuilder) -> bool
fn eq(&self, other: &GetQueryResultsOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.