AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
TermsAggregation.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace IoT {
17namespace Model {
18
27 public:
28 AWS_IOT_API TermsAggregation() = default;
32
34
37 inline int GetMaxBuckets() const { return m_maxBuckets; }
38 inline bool MaxBucketsHasBeenSet() const { return m_maxBucketsHasBeenSet; }
39 inline void SetMaxBuckets(int value) {
40 m_maxBucketsHasBeenSet = true;
41 m_maxBuckets = value;
42 }
43 inline TermsAggregation& WithMaxBuckets(int value) {
44 SetMaxBuckets(value);
45 return *this;
46 }
48 private:
49 int m_maxBuckets{0};
50 bool m_maxBucketsHasBeenSet = false;
51};
52
53} // namespace Model
54} // namespace IoT
55} // namespace Aws
AWS_IOT_API TermsAggregation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API TermsAggregation(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API TermsAggregation()=default
TermsAggregation & WithMaxBuckets(int value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue