/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Performs an aggregation that will return a list of buckets. The list of
* buckets is a ranked list of the number of occurrences of an aggregation field
* value.See Also:
AWS
* API Reference
The number of buckets to return in the response. Default to 10.
*/ inline int GetMaxBuckets() const{ return m_maxBuckets; } /** *The number of buckets to return in the response. Default to 10.
*/ inline bool MaxBucketsHasBeenSet() const { return m_maxBucketsHasBeenSet; } /** *The number of buckets to return in the response. Default to 10.
*/ inline void SetMaxBuckets(int value) { m_maxBucketsHasBeenSet = true; m_maxBuckets = value; } /** *The number of buckets to return in the response. Default to 10.
*/ inline TermsAggregation& WithMaxBuckets(int value) { SetMaxBuckets(value); return *this;} private: int m_maxBuckets; bool m_maxBucketsHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws