AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OnExitLifecycle.h
1
6#pragma once
7#include <aws/iotevents/IoTEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/iotevents/model/Event.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 IoTEvents
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IOTEVENTS_API OnExitLifecycle();
37 AWS_IOTEVENTS_API OnExitLifecycle(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<Event>& GetEvents() const{ return m_events; }
48 inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; }
49 inline void SetEvents(const Aws::Vector<Event>& value) { m_eventsHasBeenSet = true; m_events = value; }
50 inline void SetEvents(Aws::Vector<Event>&& value) { m_eventsHasBeenSet = true; m_events = std::move(value); }
51 inline OnExitLifecycle& WithEvents(const Aws::Vector<Event>& value) { SetEvents(value); return *this;}
52 inline OnExitLifecycle& WithEvents(Aws::Vector<Event>&& value) { SetEvents(std::move(value)); return *this;}
53 inline OnExitLifecycle& AddEvents(const Event& value) { m_eventsHasBeenSet = true; m_events.push_back(value); return *this; }
54 inline OnExitLifecycle& AddEvents(Event&& value) { m_eventsHasBeenSet = true; m_events.push_back(std::move(value)); return *this; }
56 private:
57
58 Aws::Vector<Event> m_events;
59 bool m_eventsHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace IoTEvents
64} // namespace Aws
AWS_IOTEVENTS_API OnExitLifecycle & operator=(Aws::Utils::Json::JsonView jsonValue)
OnExitLifecycle & WithEvents(Aws::Vector< Event > &&value)
AWS_IOTEVENTS_API OnExitLifecycle(Aws::Utils::Json::JsonView jsonValue)
OnExitLifecycle & AddEvents(Event &&value)
void SetEvents(Aws::Vector< Event > &&value)
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
OnExitLifecycle & AddEvents(const Event &value)
OnExitLifecycle & WithEvents(const Aws::Vector< Event > &value)
const Aws::Vector< Event > & GetEvents() const
void SetEvents(const Aws::Vector< Event > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue