AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NotificationTargetActions.h
1
6#pragma once
7#include <aws/iotevents/IoTEvents_EXPORTS.h>
8#include <aws/iotevents/model/LambdaAction.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
35 {
36 public:
37 AWS_IOTEVENTS_API NotificationTargetActions();
40 AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
45 inline const LambdaAction& GetLambdaAction() const{ return m_lambdaAction; }
46 inline bool LambdaActionHasBeenSet() const { return m_lambdaActionHasBeenSet; }
47 inline void SetLambdaAction(const LambdaAction& value) { m_lambdaActionHasBeenSet = true; m_lambdaAction = value; }
48 inline void SetLambdaAction(LambdaAction&& value) { m_lambdaActionHasBeenSet = true; m_lambdaAction = std::move(value); }
49 inline NotificationTargetActions& WithLambdaAction(const LambdaAction& value) { SetLambdaAction(value); return *this;}
50 inline NotificationTargetActions& WithLambdaAction(LambdaAction&& value) { SetLambdaAction(std::move(value)); return *this;}
52 private:
53
54 LambdaAction m_lambdaAction;
55 bool m_lambdaActionHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace IoTEvents
60} // namespace Aws
AWS_IOTEVENTS_API NotificationTargetActions(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTEVENTS_API NotificationTargetActions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
NotificationTargetActions & WithLambdaAction(const LambdaAction &value)
NotificationTargetActions & WithLambdaAction(LambdaAction &&value)
Aws::Utils::Json::JsonValue JsonValue