Struct aws_sdk_iot::operation::get_buckets_aggregation::builders::GetBucketsAggregationInputBuilder
source · #[non_exhaustive]pub struct GetBucketsAggregationInputBuilder { /* private fields */ }
Expand description
A builder for GetBucketsAggregationInput
.
Implementations§
source§impl GetBucketsAggregationInputBuilder
impl GetBucketsAggregationInputBuilder
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.
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.
sourcepub fn get_index_name(&self) -> &Option<String>
pub fn get_index_name(&self) -> &Option<String>
The name of the index to search.
sourcepub fn query_string(self, input: impl Into<String>) -> Self
pub fn query_string(self, input: impl Into<String>) -> Self
The search query string.
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 search query string.
sourcepub fn get_query_string(&self) -> &Option<String>
pub fn get_query_string(&self) -> &Option<String>
The search query string.
sourcepub fn aggregation_field(self, input: impl Into<String>) -> Self
pub fn aggregation_field(self, input: impl Into<String>) -> Self
The aggregation field.
This field is required.sourcepub fn set_aggregation_field(self, input: Option<String>) -> Self
pub fn set_aggregation_field(self, input: Option<String>) -> Self
The aggregation field.
sourcepub fn get_aggregation_field(&self) -> &Option<String>
pub fn get_aggregation_field(&self) -> &Option<String>
The aggregation field.
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.
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.
sourcepub fn get_query_version(&self) -> &Option<String>
pub fn get_query_version(&self) -> &Option<String>
The version of the query.
sourcepub fn buckets_aggregation_type(self, input: BucketsAggregationType) -> Self
pub fn buckets_aggregation_type(self, input: BucketsAggregationType) -> Self
The basic control of the response shape and the bucket aggregation type to perform.
This field is required.sourcepub fn set_buckets_aggregation_type(
self,
input: Option<BucketsAggregationType>
) -> Self
pub fn set_buckets_aggregation_type( self, input: Option<BucketsAggregationType> ) -> Self
The basic control of the response shape and the bucket aggregation type to perform.
sourcepub fn get_buckets_aggregation_type(&self) -> &Option<BucketsAggregationType>
pub fn get_buckets_aggregation_type(&self) -> &Option<BucketsAggregationType>
The basic control of the response shape and the bucket aggregation type to perform.
sourcepub fn build(self) -> Result<GetBucketsAggregationInput, BuildError>
pub fn build(self) -> Result<GetBucketsAggregationInput, BuildError>
Consumes the builder and constructs a GetBucketsAggregationInput
.
source§impl GetBucketsAggregationInputBuilder
impl GetBucketsAggregationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetBucketsAggregationOutput, SdkError<GetBucketsAggregationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetBucketsAggregationOutput, SdkError<GetBucketsAggregationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetBucketsAggregationInputBuilder
impl Clone for GetBucketsAggregationInputBuilder
source§fn clone(&self) -> GetBucketsAggregationInputBuilder
fn clone(&self) -> GetBucketsAggregationInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for GetBucketsAggregationInputBuilder
impl Default for GetBucketsAggregationInputBuilder
source§fn default() -> GetBucketsAggregationInputBuilder
fn default() -> GetBucketsAggregationInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetBucketsAggregationInputBuilder
impl PartialEq for GetBucketsAggregationInputBuilder
source§fn eq(&self, other: &GetBucketsAggregationInputBuilder) -> bool
fn eq(&self, other: &GetBucketsAggregationInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetBucketsAggregationInputBuilder
Auto Trait Implementations§
impl Freeze for GetBucketsAggregationInputBuilder
impl RefUnwindSafe for GetBucketsAggregationInputBuilder
impl Send for GetBucketsAggregationInputBuilder
impl Sync for GetBucketsAggregationInputBuilder
impl Unpin for GetBucketsAggregationInputBuilder
impl UnwindSafe for GetBucketsAggregationInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.