#[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 ==
.