#[non_exhaustive]pub struct GetStatisticsInputBuilder { /* private fields */ }
Expand description
A builder for GetStatisticsInput
.
Implementations§
source§impl GetStatisticsInputBuilder
impl GetStatisticsInputBuilder
sourcepub fn index_name(self, input: impl Into<String>) -> Self
pub fn index_name(self, input: impl Into<String>) -> Self
The name of the index to search. The default value is AWS_Things
.
sourcepub fn set_index_name(self, input: Option<String>) -> Self
pub fn set_index_name(self, input: Option<String>) -> Self
The name of the index to search. The default value is AWS_Things
.
sourcepub fn get_index_name(&self) -> &Option<String>
pub fn get_index_name(&self) -> &Option<String>
The name of the index to search. The default value is AWS_Things
.
sourcepub fn query_string(self, input: impl Into<String>) -> Self
pub fn query_string(self, input: impl Into<String>) -> Self
The query used to search. You can specify "*" for the query string to get the count of all indexed things in your Amazon Web Services account.
This field is required.sourcepub fn set_query_string(self, input: Option<String>) -> Self
pub fn set_query_string(self, input: Option<String>) -> Self
The query used to search. You can specify "*" for the query string to get the count of all indexed things in your Amazon Web Services account.
sourcepub fn get_query_string(&self) -> &Option<String>
pub fn get_query_string(&self) -> &Option<String>
The query used to search. You can specify "*" for the query string to get the count of all indexed things in your Amazon Web Services account.
sourcepub fn aggregation_field(self, input: impl Into<String>) -> Self
pub fn aggregation_field(self, input: impl Into<String>) -> Self
The aggregation field name.
sourcepub fn set_aggregation_field(self, input: Option<String>) -> Self
pub fn set_aggregation_field(self, input: Option<String>) -> Self
The aggregation field name.
sourcepub fn get_aggregation_field(&self) -> &Option<String>
pub fn get_aggregation_field(&self) -> &Option<String>
The aggregation field name.
sourcepub fn query_version(self, input: impl Into<String>) -> Self
pub fn query_version(self, input: impl Into<String>) -> Self
The version of the query used to search.
sourcepub fn set_query_version(self, input: Option<String>) -> Self
pub fn set_query_version(self, input: Option<String>) -> Self
The version of the query used to search.
sourcepub fn get_query_version(&self) -> &Option<String>
pub fn get_query_version(&self) -> &Option<String>
The version of the query used to search.
sourcepub fn build(self) -> Result<GetStatisticsInput, BuildError>
pub fn build(self) -> Result<GetStatisticsInput, BuildError>
Consumes the builder and constructs a GetStatisticsInput
.
source§impl GetStatisticsInputBuilder
impl GetStatisticsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetStatisticsOutput, SdkError<GetStatisticsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetStatisticsOutput, SdkError<GetStatisticsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetStatisticsInputBuilder
impl Clone for GetStatisticsInputBuilder
source§fn clone(&self) -> GetStatisticsInputBuilder
fn clone(&self) -> GetStatisticsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetStatisticsInputBuilder
impl Debug for GetStatisticsInputBuilder
source§impl Default for GetStatisticsInputBuilder
impl Default for GetStatisticsInputBuilder
source§fn default() -> GetStatisticsInputBuilder
fn default() -> GetStatisticsInputBuilder
source§impl PartialEq for GetStatisticsInputBuilder
impl PartialEq for GetStatisticsInputBuilder
source§fn eq(&self, other: &GetStatisticsInputBuilder) -> bool
fn eq(&self, other: &GetStatisticsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetStatisticsInputBuilder
Auto Trait Implementations§
impl Freeze for GetStatisticsInputBuilder
impl RefUnwindSafe for GetStatisticsInputBuilder
impl Send for GetStatisticsInputBuilder
impl Sync for GetStatisticsInputBuilder
impl Unpin for GetStatisticsInputBuilder
impl UnwindSafe for GetStatisticsInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more