#[non_exhaustive]pub struct GetInsightEventsInputBuilder { /* private fields */ }
Expand description
A builder for GetInsightEventsInput
.
Implementations§
source§impl GetInsightEventsInputBuilder
impl GetInsightEventsInputBuilder
sourcepub fn insight_id(self, input: impl Into<String>) -> Self
pub fn insight_id(self, input: impl Into<String>) -> Self
The insight's unique identifier. Use the GetInsightSummaries action to retrieve an InsightId.
sourcepub fn set_insight_id(self, input: Option<String>) -> Self
pub fn set_insight_id(self, input: Option<String>) -> Self
The insight's unique identifier. Use the GetInsightSummaries action to retrieve an InsightId.
sourcepub fn get_insight_id(&self) -> &Option<String>
pub fn get_insight_id(&self) -> &Option<String>
The insight's unique identifier. Use the GetInsightSummaries action to retrieve an InsightId.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
Used to retrieve at most the specified value of events.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
Used to retrieve at most the specified value of events.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
Used to retrieve at most the specified value of events.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Specify the pagination token returned by a previous request to retrieve the next page of events.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Specify the pagination token returned by a previous request to retrieve the next page of events.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
Specify the pagination token returned by a previous request to retrieve the next page of events.
sourcepub fn build(self) -> Result<GetInsightEventsInput, BuildError>
pub fn build(self) -> Result<GetInsightEventsInput, BuildError>
Consumes the builder and constructs a GetInsightEventsInput
.
source§impl GetInsightEventsInputBuilder
impl GetInsightEventsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetInsightEventsOutput, SdkError<GetInsightEventsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetInsightEventsOutput, SdkError<GetInsightEventsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetInsightEventsInputBuilder
impl Clone for GetInsightEventsInputBuilder
source§fn clone(&self) -> GetInsightEventsInputBuilder
fn clone(&self) -> GetInsightEventsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetInsightEventsInputBuilder
impl Debug for GetInsightEventsInputBuilder
source§impl Default for GetInsightEventsInputBuilder
impl Default for GetInsightEventsInputBuilder
source§fn default() -> GetInsightEventsInputBuilder
fn default() -> GetInsightEventsInputBuilder
source§impl PartialEq<GetInsightEventsInputBuilder> for GetInsightEventsInputBuilder
impl PartialEq<GetInsightEventsInputBuilder> for GetInsightEventsInputBuilder
source§fn eq(&self, other: &GetInsightEventsInputBuilder) -> bool
fn eq(&self, other: &GetInsightEventsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.