Struct aws_sdk_iot::operation::get_buckets_aggregation::builders::GetBucketsAggregationOutputBuilder
source · #[non_exhaustive]pub struct GetBucketsAggregationOutputBuilder { /* private fields */ }Expand description
A builder for GetBucketsAggregationOutput.
Implementations§
source§impl GetBucketsAggregationOutputBuilder
impl GetBucketsAggregationOutputBuilder
sourcepub fn total_count(self, input: i32) -> Self
pub fn total_count(self, input: i32) -> Self
The total number of things that fit the query string criteria.
sourcepub fn set_total_count(self, input: Option<i32>) -> Self
pub fn set_total_count(self, input: Option<i32>) -> Self
The total number of things that fit the query string criteria.
sourcepub fn get_total_count(&self) -> &Option<i32>
pub fn get_total_count(&self) -> &Option<i32>
The total number of things that fit the query string criteria.
sourcepub fn buckets(self, input: Bucket) -> Self
pub fn buckets(self, input: Bucket) -> Self
Appends an item to buckets.
To override the contents of this collection use set_buckets.
The main part of the response with a list of buckets. Each bucket contains a keyValue and a count.
keyValue: The aggregation field value counted for the particular bucket.
count: The number of documents that have that value.
sourcepub fn set_buckets(self, input: Option<Vec<Bucket>>) -> Self
pub fn set_buckets(self, input: Option<Vec<Bucket>>) -> Self
The main part of the response with a list of buckets. Each bucket contains a keyValue and a count.
keyValue: The aggregation field value counted for the particular bucket.
count: The number of documents that have that value.
sourcepub fn get_buckets(&self) -> &Option<Vec<Bucket>>
pub fn get_buckets(&self) -> &Option<Vec<Bucket>>
The main part of the response with a list of buckets. Each bucket contains a keyValue and a count.
keyValue: The aggregation field value counted for the particular bucket.
count: The number of documents that have that value.
sourcepub fn build(self) -> GetBucketsAggregationOutput
pub fn build(self) -> GetBucketsAggregationOutput
Consumes the builder and constructs a GetBucketsAggregationOutput.
Trait Implementations§
source§impl Clone for GetBucketsAggregationOutputBuilder
impl Clone for GetBucketsAggregationOutputBuilder
source§fn clone(&self) -> GetBucketsAggregationOutputBuilder
fn clone(&self) -> GetBucketsAggregationOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetBucketsAggregationOutputBuilder
impl Default for GetBucketsAggregationOutputBuilder
source§fn default() -> GetBucketsAggregationOutputBuilder
fn default() -> GetBucketsAggregationOutputBuilder
source§impl PartialEq for GetBucketsAggregationOutputBuilder
impl PartialEq for GetBucketsAggregationOutputBuilder
source§fn eq(&self, other: &GetBucketsAggregationOutputBuilder) -> bool
fn eq(&self, other: &GetBucketsAggregationOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.