AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename LambdaActionT = LambdaAction>
48 void SetLambdaAction(LambdaActionT&& value) { m_lambdaActionHasBeenSet = true; m_lambdaAction = std::forward<LambdaActionT>(value); }
49 template<typename LambdaActionT = LambdaAction>
50 NotificationTargetActions& WithLambdaAction(LambdaActionT&& value) { SetLambdaAction(std::forward<LambdaActionT>(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()=default
AWS_IOTEVENTS_API NotificationTargetActions(Aws::Utils::Json::JsonView jsonValue)
NotificationTargetActions & WithLambdaAction(LambdaActionT &&value)
AWS_IOTEVENTS_API NotificationTargetActions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue