AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SystemEvent.h
1
6#pragma once
7#include <aws/iotevents-data/IoTEventsData_EXPORTS.h>
8#include <aws/iotevents-data/model/EventType.h>
9#include <aws/iotevents-data/model/StateChangeConfiguration.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoTEventsData
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_IOTEVENTSDATA_API SystemEvent();
36 AWS_IOTEVENTSDATA_API SystemEvent(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTEVENTSDATA_API SystemEvent& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTEVENTSDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const EventType& GetEventType() const{ return m_eventType; }
47 inline bool EventTypeHasBeenSet() const { return m_eventTypeHasBeenSet; }
48 inline void SetEventType(const EventType& value) { m_eventTypeHasBeenSet = true; m_eventType = value; }
49 inline void SetEventType(EventType&& value) { m_eventTypeHasBeenSet = true; m_eventType = std::move(value); }
50 inline SystemEvent& WithEventType(const EventType& value) { SetEventType(value); return *this;}
51 inline SystemEvent& WithEventType(EventType&& value) { SetEventType(std::move(value)); return *this;}
53
55
58 inline const StateChangeConfiguration& GetStateChangeConfiguration() const{ return m_stateChangeConfiguration; }
59 inline bool StateChangeConfigurationHasBeenSet() const { return m_stateChangeConfigurationHasBeenSet; }
60 inline void SetStateChangeConfiguration(const StateChangeConfiguration& value) { m_stateChangeConfigurationHasBeenSet = true; m_stateChangeConfiguration = value; }
61 inline void SetStateChangeConfiguration(StateChangeConfiguration&& value) { m_stateChangeConfigurationHasBeenSet = true; m_stateChangeConfiguration = std::move(value); }
65 private:
66
67 EventType m_eventType;
68 bool m_eventTypeHasBeenSet = false;
69
70 StateChangeConfiguration m_stateChangeConfiguration;
71 bool m_stateChangeConfigurationHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace IoTEventsData
76} // namespace Aws
AWS_IOTEVENTSDATA_API SystemEvent()
SystemEvent & WithEventType(const EventType &value)
Definition SystemEvent.h:50
void SetEventType(const EventType &value)
Definition SystemEvent.h:48
void SetEventType(EventType &&value)
Definition SystemEvent.h:49
SystemEvent & WithStateChangeConfiguration(const StateChangeConfiguration &value)
Definition SystemEvent.h:62
const EventType & GetEventType() const
Definition SystemEvent.h:46
AWS_IOTEVENTSDATA_API SystemEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStateChangeConfiguration(const StateChangeConfiguration &value)
Definition SystemEvent.h:60
AWS_IOTEVENTSDATA_API Aws::Utils::Json::JsonValue Jsonize() const
SystemEvent & WithStateChangeConfiguration(StateChangeConfiguration &&value)
Definition SystemEvent.h:63
void SetStateChangeConfiguration(StateChangeConfiguration &&value)
Definition SystemEvent.h:61
SystemEvent & WithEventType(EventType &&value)
Definition SystemEvent.h:51
AWS_IOTEVENTSDATA_API SystemEvent(Aws::Utils::Json::JsonView jsonValue)
const StateChangeConfiguration & GetStateChangeConfiguration() const
Definition SystemEvent.h:58
Aws::Utils::Json::JsonValue JsonValue