AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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