Struct aws_sdk_internetmonitor::operation::get_query_results::builders::GetQueryResultsFluentBuilder
source · pub struct GetQueryResultsFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to GetQueryResults.
Return the data for a query with the Amazon CloudWatch Internet Monitor query interface. Specify the query that you want to return results for by providing a QueryId and a monitor name.
For more information about using the query interface, including examples, see Using the Amazon CloudWatch Internet Monitor query interface in the Amazon CloudWatch Internet Monitor User Guide.
Implementations§
source§impl GetQueryResultsFluentBuilder
impl GetQueryResultsFluentBuilder
sourcepub fn as_input(&self) -> &GetQueryResultsInputBuilder
pub fn as_input(&self) -> &GetQueryResultsInputBuilder
Access the GetQueryResults as a reference.
sourcepub async fn send(
self
) -> Result<GetQueryResultsOutput, SdkError<GetQueryResultsError, HttpResponse>>
pub async fn send( self ) -> Result<GetQueryResultsOutput, SdkError<GetQueryResultsError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<GetQueryResultsOutput, GetQueryResultsError, Self>
pub fn customize( self ) -> CustomizableOperation<GetQueryResultsOutput, GetQueryResultsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> GetQueryResultsPaginator
pub fn into_paginator(self) -> GetQueryResultsPaginator
Create a paginator for this request
Paginators are used by calling send().await which returns a PaginationStream.
sourcepub fn monitor_name(self, input: impl Into<String>) -> Self
pub fn monitor_name(self, input: impl Into<String>) -> Self
The name of the monitor to return data for.
sourcepub fn set_monitor_name(self, input: Option<String>) -> Self
pub fn set_monitor_name(self, input: Option<String>) -> Self
The name of the monitor to return data for.
sourcepub fn get_monitor_name(&self) -> &Option<String>
pub fn get_monitor_name(&self) -> &Option<String>
The name of the monitor to return data for.
sourcepub fn query_id(self, input: impl Into<String>) -> Self
pub fn query_id(self, input: impl Into<String>) -> Self
The ID of the query that you want to return data results for. A QueryId is an internally-generated identifier for a specific query.
sourcepub fn set_query_id(self, input: Option<String>) -> Self
pub fn set_query_id(self, input: Option<String>) -> Self
The ID of the query that you want to return data results for. A QueryId is an internally-generated identifier for a specific query.
sourcepub fn get_query_id(&self) -> &Option<String>
pub fn get_query_id(&self) -> &Option<String>
The ID of the query that you want to return data results for. A QueryId is an internally-generated identifier for a specific query.
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 max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The number of query results that you want to return with this call.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The number of query results that you want to return with this call.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The number of query results that you want to return with this call.
Trait Implementations§
source§impl Clone for GetQueryResultsFluentBuilder
impl Clone for GetQueryResultsFluentBuilder
source§fn clone(&self) -> GetQueryResultsFluentBuilder
fn clone(&self) -> GetQueryResultsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more