AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTimerName(const Aws::String& value) { m_timerNameHasBeenSet = true; m_timerName = value; }
47 inline void SetTimerName(Aws::String&& value) { m_timerNameHasBeenSet = true; m_timerName = std::move(value); }
48 inline void SetTimerName(const char* value) { m_timerNameHasBeenSet = true; m_timerName.assign(value); }
49 inline SetTimerAction& WithTimerName(const Aws::String& value) { SetTimerName(value); return *this;}
50 inline SetTimerAction& WithTimerName(Aws::String&& value) { SetTimerName(std::move(value)); return *this;}
51 inline SetTimerAction& WithTimerName(const char* value) { SetTimerName(value); return *this;}
53
55
63 inline const Aws::String& GetDurationExpression() const{ return m_durationExpression; }
64 inline bool DurationExpressionHasBeenSet() const { return m_durationExpressionHasBeenSet; }
65 inline void SetDurationExpression(const Aws::String& value) { m_durationExpressionHasBeenSet = true; m_durationExpression = value; }
66 inline void SetDurationExpression(Aws::String&& value) { m_durationExpressionHasBeenSet = true; m_durationExpression = std::move(value); }
67 inline void SetDurationExpression(const char* value) { m_durationExpressionHasBeenSet = true; m_durationExpression.assign(value); }
68 inline SetTimerAction& WithDurationExpression(const Aws::String& value) { SetDurationExpression(value); return *this;}
69 inline SetTimerAction& WithDurationExpression(Aws::String&& value) { SetDurationExpression(std::move(value)); return *this;}
70 inline SetTimerAction& WithDurationExpression(const char* value) { SetDurationExpression(value); return *this;}
72 private:
73
74 Aws::String m_timerName;
75 bool m_timerNameHasBeenSet = false;
76
77 Aws::String m_durationExpression;
78 bool m_durationExpressionHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace IoTEvents
83} // namespace Aws
const Aws::String & GetDurationExpression() const
void SetTimerName(const Aws::String &value)
void SetDurationExpression(const char *value)
SetTimerAction & WithDurationExpression(const Aws::String &value)
SetTimerAction & WithTimerName(const Aws::String &value)
SetTimerAction & WithDurationExpression(const char *value)
SetTimerAction & WithTimerName(Aws::String &&value)
SetTimerAction & WithDurationExpression(Aws::String &&value)
const Aws::String & GetTimerName() const
void SetTimerName(Aws::String &&value)
SetTimerAction & WithTimerName(const char *value)
AWS_IOTEVENTS_API SetTimerAction & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTEVENTS_API SetTimerAction(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDurationExpression(const Aws::String &value)
void SetDurationExpression(Aws::String &&value)
void SetTimerName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue