AWS SDK for C++  1.9.125
AWS SDK for C++
TermsAggregation.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace IoT
20 {
21 namespace Model
22 {
23 
32  {
33  public:
38 
39 
43  inline int GetMaxBuckets() const{ return m_maxBuckets; }
44 
48  inline bool MaxBucketsHasBeenSet() const { return m_maxBucketsHasBeenSet; }
49 
53  inline void SetMaxBuckets(int value) { m_maxBucketsHasBeenSet = true; m_maxBuckets = value; }
54 
58  inline TermsAggregation& WithMaxBuckets(int value) { SetMaxBuckets(value); return *this;}
59 
60  private:
61 
62  int m_maxBuckets;
63  bool m_maxBucketsHasBeenSet;
64  };
65 
66 } // namespace Model
67 } // namespace IoT
68 } // namespace Aws
Aws::IoT::Model::TermsAggregation::TermsAggregation
TermsAggregation(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::TermsAggregation
Definition: TermsAggregation.h:32
Aws::IoT::Model::TermsAggregation::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::TermsAggregation::TermsAggregation
TermsAggregation()
Aws::IoT::Model::TermsAggregation::MaxBucketsHasBeenSet
bool MaxBucketsHasBeenSet() const
Definition: TermsAggregation.h:48
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::TermsAggregation::operator=
TermsAggregation & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::TermsAggregation::WithMaxBuckets
TermsAggregation & WithMaxBuckets(int value)
Definition: TermsAggregation.h:58
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::TermsAggregation::SetMaxBuckets
void SetMaxBuckets(int value)
Definition: TermsAggregation.h:53
Aws::IoT::Model::TermsAggregation::GetMaxBuckets
int GetMaxBuckets() const
Definition: TermsAggregation.h:43
IoT_EXPORTS.h