AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SetTimerAction.h
1
6#pragma once
7#include <aws/iotevents/IoTEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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
32 {
33 public:
34 AWS_IOTEVENTS_API SetTimerAction() = default;
35 AWS_IOTEVENTS_API SetTimerAction(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetTimerName() const { return m_timerName; }
45 inline bool TimerNameHasBeenSet() const { return m_timerNameHasBeenSet; }
46 template<typename TimerNameT = Aws::String>
47 void SetTimerName(TimerNameT&& value) { m_timerNameHasBeenSet = true; m_timerName = std::forward<TimerNameT>(value); }
48 template<typename TimerNameT = Aws::String>
49 SetTimerAction& WithTimerName(TimerNameT&& value) { SetTimerName(std::forward<TimerNameT>(value)); return *this;}
51
53
61 inline const Aws::String& GetDurationExpression() const { return m_durationExpression; }
62 inline bool DurationExpressionHasBeenSet() const { return m_durationExpressionHasBeenSet; }
63 template<typename DurationExpressionT = Aws::String>
64 void SetDurationExpression(DurationExpressionT&& value) { m_durationExpressionHasBeenSet = true; m_durationExpression = std::forward<DurationExpressionT>(value); }
65 template<typename DurationExpressionT = Aws::String>
66 SetTimerAction& WithDurationExpression(DurationExpressionT&& value) { SetDurationExpression(std::forward<DurationExpressionT>(value)); return *this;}
68 private:
69
70 Aws::String m_timerName;
71 bool m_timerNameHasBeenSet = false;
72
73 Aws::String m_durationExpression;
74 bool m_durationExpressionHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace IoTEvents
79} // namespace Aws
const Aws::String & GetDurationExpression() const
SetTimerAction & WithDurationExpression(DurationExpressionT &&value)
const Aws::String & GetTimerName() const
AWS_IOTEVENTS_API SetTimerAction & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTEVENTS_API SetTimerAction(Aws::Utils::Json::JsonView jsonValue)
SetTimerAction & WithTimerName(TimerNameT &&value)
void SetDurationExpression(DurationExpressionT &&value)
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTimerName(TimerNameT &&value)
AWS_IOTEVENTS_API SetTimerAction()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue