AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AlarmRule.h
1
6#pragma once
7#include <aws/iotevents/IoTEvents_EXPORTS.h>
8#include <aws/iotevents/model/SimpleRule.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 IoTEvents
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_IOTEVENTS_API AlarmRule();
35 AWS_IOTEVENTS_API AlarmRule(Aws::Utils::Json::JsonView jsonValue);
36 AWS_IOTEVENTS_API AlarmRule& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline const SimpleRule& GetSimpleRule() const{ return m_simpleRule; }
46 inline bool SimpleRuleHasBeenSet() const { return m_simpleRuleHasBeenSet; }
47 inline void SetSimpleRule(const SimpleRule& value) { m_simpleRuleHasBeenSet = true; m_simpleRule = value; }
48 inline void SetSimpleRule(SimpleRule&& value) { m_simpleRuleHasBeenSet = true; m_simpleRule = std::move(value); }
49 inline AlarmRule& WithSimpleRule(const SimpleRule& value) { SetSimpleRule(value); return *this;}
50 inline AlarmRule& WithSimpleRule(SimpleRule&& value) { SetSimpleRule(std::move(value)); return *this;}
52 private:
53
54 SimpleRule m_simpleRule;
55 bool m_simpleRuleHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace IoTEvents
60} // namespace Aws
AWS_IOTEVENTS_API AlarmRule(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTEVENTS_API AlarmRule()
AlarmRule & WithSimpleRule(SimpleRule &&value)
Definition AlarmRule.h:50
AWS_IOTEVENTS_API AlarmRule & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSimpleRule(SimpleRule &&value)
Definition AlarmRule.h:48
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSimpleRule(const SimpleRule &value)
Definition AlarmRule.h:47
const SimpleRule & GetSimpleRule() const
Definition AlarmRule.h:45
AlarmRule & WithSimpleRule(const SimpleRule &value)
Definition AlarmRule.h:49
Aws::Utils::Json::JsonValue JsonValue