AWS SDK for C++

AWS SDK for C++ Version 1.11.754

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace IoTEvents {
20namespace Model {
21
31 public:
32 AWS_IOTEVENTS_API NotificationTargetActions() = default;
35 AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
39 inline const LambdaAction& GetLambdaAction() const { return m_lambdaAction; }
40 inline bool LambdaActionHasBeenSet() const { return m_lambdaActionHasBeenSet; }
41 template <typename LambdaActionT = LambdaAction>
42 void SetLambdaAction(LambdaActionT&& value) {
43 m_lambdaActionHasBeenSet = true;
44 m_lambdaAction = std::forward<LambdaActionT>(value);
45 }
46 template <typename LambdaActionT = LambdaAction>
48 SetLambdaAction(std::forward<LambdaActionT>(value));
49 return *this;
50 }
52 private:
53 LambdaAction m_lambdaAction;
54 bool m_lambdaActionHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace IoTEvents
59} // 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