AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ClearTimerAction.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iotevents/IoTEvents_EXPORTS.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
28 public:
29 AWS_IOTEVENTS_API ClearTimerAction() = default;
30 AWS_IOTEVENTS_API ClearTimerAction(Aws::Utils::Json::JsonView jsonValue);
32 AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetTimerName() const { return m_timerName; }
39 inline bool TimerNameHasBeenSet() const { return m_timerNameHasBeenSet; }
40 template <typename TimerNameT = Aws::String>
41 void SetTimerName(TimerNameT&& value) {
42 m_timerNameHasBeenSet = true;
43 m_timerName = std::forward<TimerNameT>(value);
44 }
45 template <typename TimerNameT = Aws::String>
46 ClearTimerAction& WithTimerName(TimerNameT&& value) {
47 SetTimerName(std::forward<TimerNameT>(value));
48 return *this;
49 }
51 private:
52 Aws::String m_timerName;
53 bool m_timerNameHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace IoTEvents
58} // namespace Aws
ClearTimerAction & WithTimerName(TimerNameT &&value)
AWS_IOTEVENTS_API ClearTimerAction(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTEVENTS_API ClearTimerAction & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTEVENTS_API ClearTimerAction()=default
const Aws::String & GetTimerName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue