Struct aws_sdk_internetmonitor::operation::get_query_results::builders::GetQueryResultsInputBuilder
source · #[non_exhaustive]pub struct GetQueryResultsInputBuilder { /* private fields */ }Expand description
A builder for GetQueryResultsInput.
Implementations§
source§impl GetQueryResultsInputBuilder
impl GetQueryResultsInputBuilder
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.
This field is required.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.
sourcepub fn build(self) -> Result<GetQueryResultsInput, BuildError>
pub fn build(self) -> Result<GetQueryResultsInput, BuildError>
Consumes the builder and constructs a GetQueryResultsInput.
source§impl GetQueryResultsInputBuilder
impl GetQueryResultsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetQueryResultsOutput, SdkError<GetQueryResultsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetQueryResultsOutput, SdkError<GetQueryResultsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetQueryResultsInputBuilder
impl Clone for GetQueryResultsInputBuilder
source§fn clone(&self) -> GetQueryResultsInputBuilder
fn clone(&self) -> GetQueryResultsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetQueryResultsInputBuilder
impl Debug for GetQueryResultsInputBuilder
source§impl Default for GetQueryResultsInputBuilder
impl Default for GetQueryResultsInputBuilder
source§fn default() -> GetQueryResultsInputBuilder
fn default() -> GetQueryResultsInputBuilder
source§impl PartialEq for GetQueryResultsInputBuilder
impl PartialEq for GetQueryResultsInputBuilder
source§fn eq(&self, other: &GetQueryResultsInputBuilder) -> bool
fn eq(&self, other: &GetQueryResultsInputBuilder) -> bool
self and other values to be equal, and is used
by ==.