AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40
41
43
53 inline const Aws::String& GetStatistic() const{ return m_statistic; }
54 inline bool StatisticHasBeenSet() const { return m_statisticHasBeenSet; }
55 inline void SetStatistic(const Aws::String& value) { m_statisticHasBeenSet = true; m_statistic = value; }
56 inline void SetStatistic(Aws::String&& value) { m_statisticHasBeenSet = true; m_statistic = std::move(value); }
57 inline void SetStatistic(const char* value) { m_statisticHasBeenSet = true; m_statistic.assign(value); }
58 inline StatisticalThreshold& WithStatistic(const Aws::String& value) { SetStatistic(value); return *this;}
59 inline StatisticalThreshold& WithStatistic(Aws::String&& value) { SetStatistic(std::move(value)); return *this;}
60 inline StatisticalThreshold& WithStatistic(const char* value) { SetStatistic(value); return *this;}
62 private:
63
64 Aws::String m_statistic;
65 bool m_statisticHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace IoT
70} // namespace Aws
StatisticalThreshold & WithStatistic(const Aws::String &value)
void SetStatistic(const Aws::String &value)
AWS_IOT_API StatisticalThreshold(Aws::Utils::Json::JsonView jsonValue)
StatisticalThreshold & WithStatistic(Aws::String &&value)
const Aws::String & GetStatistic() const
StatisticalThreshold & WithStatistic(const char *value)
AWS_IOT_API StatisticalThreshold & operator=(Aws::Utils::Json::JsonView jsonValue)
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