AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StatisticalThreshold.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoT
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_IOT_API StatisticalThreshold() = default;
40
41
43
53 inline const Aws::String& GetStatistic() const { return m_statistic; }
54 inline bool StatisticHasBeenSet() const { return m_statisticHasBeenSet; }
55 template<typename StatisticT = Aws::String>
56 void SetStatistic(StatisticT&& value) { m_statisticHasBeenSet = true; m_statistic = std::forward<StatisticT>(value); }
57 template<typename StatisticT = Aws::String>
58 StatisticalThreshold& WithStatistic(StatisticT&& value) { SetStatistic(std::forward<StatisticT>(value)); return *this;}
60 private:
61
62 Aws::String m_statistic;
63 bool m_statisticHasBeenSet = false;
64 };
65
66} // namespace Model
67} // namespace IoT
68} // namespace Aws
AWS_IOT_API StatisticalThreshold(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetStatistic() const
AWS_IOT_API StatisticalThreshold & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API StatisticalThreshold()=default
StatisticalThreshold & WithStatistic(StatisticT &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue