AWS SDK for C++  1.9.123
AWS SDK for C++
BucketsAggregationType.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace IoT
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
45  inline const TermsAggregation& GetTermsAggregation() const{ return m_termsAggregation; }
46 
52  inline bool TermsAggregationHasBeenSet() const { return m_termsAggregationHasBeenSet; }
53 
59  inline void SetTermsAggregation(const TermsAggregation& value) { m_termsAggregationHasBeenSet = true; m_termsAggregation = value; }
60 
66  inline void SetTermsAggregation(TermsAggregation&& value) { m_termsAggregationHasBeenSet = true; m_termsAggregation = std::move(value); }
67 
73  inline BucketsAggregationType& WithTermsAggregation(const TermsAggregation& value) { SetTermsAggregation(value); return *this;}
74 
80  inline BucketsAggregationType& WithTermsAggregation(TermsAggregation&& value) { SetTermsAggregation(std::move(value)); return *this;}
81 
82  private:
83 
84  TermsAggregation m_termsAggregation;
85  bool m_termsAggregationHasBeenSet;
86  };
87 
88 } // namespace Model
89 } // namespace IoT
90 } // namespace Aws
Aws::IoT::Model::BucketsAggregationType::WithTermsAggregation
BucketsAggregationType & WithTermsAggregation(const TermsAggregation &value)
Definition: BucketsAggregationType.h:73
Aws::IoT::Model::BucketsAggregationType::GetTermsAggregation
const TermsAggregation & GetTermsAggregation() const
Definition: BucketsAggregationType.h:45
Aws::IoT::Model::TermsAggregation
Definition: TermsAggregation.h:32
Aws::IoT::Model::BucketsAggregationType::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::BucketsAggregationType::operator=
BucketsAggregationType & operator=(Aws::Utils::Json::JsonView jsonValue)
TermsAggregation.h
Aws::IoT::Model::BucketsAggregationType::WithTermsAggregation
BucketsAggregationType & WithTermsAggregation(TermsAggregation &&value)
Definition: BucketsAggregationType.h:80
Aws::IoT::Model::BucketsAggregationType::SetTermsAggregation
void SetTermsAggregation(const TermsAggregation &value)
Definition: BucketsAggregationType.h:59
Aws::IoT::Model::BucketsAggregationType::TermsAggregationHasBeenSet
bool TermsAggregationHasBeenSet() const
Definition: BucketsAggregationType.h:52
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::BucketsAggregationType::SetTermsAggregation
void SetTermsAggregation(TermsAggregation &&value)
Definition: BucketsAggregationType.h:66
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::BucketsAggregationType::BucketsAggregationType
BucketsAggregationType(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::BucketsAggregationType
Definition: BucketsAggregationType.h:32
Aws::IoT::Model::BucketsAggregationType::BucketsAggregationType
BucketsAggregationType()
IoT_EXPORTS.h