AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
TimerCanceledEventAttributes.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 TimerCanceledEventAttributes() = 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
72
78 inline long long GetDecisionTaskCompletedEventId() const { return m_decisionTaskCompletedEventId; }
79 inline bool DecisionTaskCompletedEventIdHasBeenSet() const { return m_decisionTaskCompletedEventIdHasBeenSet; }
80 inline void SetDecisionTaskCompletedEventId(long long value) {
81 m_decisionTaskCompletedEventIdHasBeenSet = true;
82 m_decisionTaskCompletedEventId = value;
83 }
86 return *this;
87 }
89 private:
90 Aws::String m_timerId;
91
92 long long m_startedEventId{0};
93
94 long long m_decisionTaskCompletedEventId{0};
95 bool m_timerIdHasBeenSet = false;
96 bool m_startedEventIdHasBeenSet = false;
97 bool m_decisionTaskCompletedEventIdHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace SWF
102} // namespace Aws
AWS_SWF_API TimerCanceledEventAttributes(Aws::Utils::Json::JsonView jsonValue)
TimerCanceledEventAttributes & WithStartedEventId(long long value)
TimerCanceledEventAttributes & WithDecisionTaskCompletedEventId(long long value)
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SWF_API TimerCanceledEventAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
TimerCanceledEventAttributes & WithTimerId(TimerIdT &&value)
AWS_SWF_API TimerCanceledEventAttributes()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue