AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
TimerFiredEventAttributes.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/swf/SWF_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SWF {
20namespace Model {
21
29 public:
30 AWS_SWF_API TimerFiredEventAttributes() = default;
34
36
39 inline const Aws::String& GetTimerId() const { return m_timerId; }
40 inline bool TimerIdHasBeenSet() const { return m_timerIdHasBeenSet; }
41 template <typename TimerIdT = Aws::String>
42 void SetTimerId(TimerIdT&& value) {
43 m_timerIdHasBeenSet = true;
44 m_timerId = std::forward<TimerIdT>(value);
45 }
46 template <typename TimerIdT = Aws::String>
48 SetTimerId(std::forward<TimerIdT>(value));
49 return *this;
50 }
52
54
59 inline long long GetStartedEventId() const { return m_startedEventId; }
60 inline bool StartedEventIdHasBeenSet() const { return m_startedEventIdHasBeenSet; }
61 inline void SetStartedEventId(long long value) {
62 m_startedEventIdHasBeenSet = true;
63 m_startedEventId = value;
64 }
66 SetStartedEventId(value);
67 return *this;
68 }
70 private:
71 Aws::String m_timerId;
72
73 long long m_startedEventId{0};
74 bool m_timerIdHasBeenSet = false;
75 bool m_startedEventIdHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace SWF
80} // namespace Aws
AWS_SWF_API TimerFiredEventAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
TimerFiredEventAttributes & WithStartedEventId(long long value)
AWS_SWF_API TimerFiredEventAttributes(Aws::Utils::Json::JsonView jsonValue)
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SWF_API TimerFiredEventAttributes()=default
TimerFiredEventAttributes & WithTimerId(TimerIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue