AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
StatisticalThreshold.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot/IoT_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace IoT {
20namespace Model {
21
30 public:
31 AWS_IOT_API StatisticalThreshold() = default;
35
37
47 inline const Aws::String& GetStatistic() const { return m_statistic; }
48 inline bool StatisticHasBeenSet() const { return m_statisticHasBeenSet; }
49 template <typename StatisticT = Aws::String>
50 void SetStatistic(StatisticT&& value) {
51 m_statisticHasBeenSet = true;
52 m_statistic = std::forward<StatisticT>(value);
53 }
54 template <typename StatisticT = Aws::String>
55 StatisticalThreshold& WithStatistic(StatisticT&& value) {
56 SetStatistic(std::forward<StatisticT>(value));
57 return *this;
58 }
60 private:
61 Aws::String m_statistic;
62 bool m_statisticHasBeenSet = false;
63};
64
65} // namespace Model
66} // namespace IoT
67} // 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