AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CancelTimerFailedEventAttributes.h
1
6#pragma once
7#include <aws/swf/SWF_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/swf/model/CancelTimerFailedCause.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SWF
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SWF_API CancelTimerFailedEventAttributes() = default;
40
41
43
47 inline const Aws::String& GetTimerId() const { return m_timerId; }
48 inline bool TimerIdHasBeenSet() const { return m_timerIdHasBeenSet; }
49 template<typename TimerIdT = Aws::String>
50 void SetTimerId(TimerIdT&& value) { m_timerIdHasBeenSet = true; m_timerId = std::forward<TimerIdT>(value); }
51 template<typename TimerIdT = Aws::String>
52 CancelTimerFailedEventAttributes& WithTimerId(TimerIdT&& value) { SetTimerId(std::forward<TimerIdT>(value)); return *this;}
54
56
65 inline CancelTimerFailedCause GetCause() const { return m_cause; }
66 inline bool CauseHasBeenSet() const { return m_causeHasBeenSet; }
67 inline void SetCause(CancelTimerFailedCause value) { m_causeHasBeenSet = true; m_cause = value; }
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) { m_decisionTaskCompletedEventIdHasBeenSet = true; m_decisionTaskCompletedEventId = value; }
83 private:
84
85 Aws::String m_timerId;
86 bool m_timerIdHasBeenSet = false;
87
89 bool m_causeHasBeenSet = false;
90
91 long long m_decisionTaskCompletedEventId{0};
92 bool m_decisionTaskCompletedEventIdHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace SWF
97} // namespace Aws
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
CancelTimerFailedEventAttributes & WithCause(CancelTimerFailedCause value)
CancelTimerFailedEventAttributes & WithTimerId(TimerIdT &&value)
CancelTimerFailedEventAttributes & WithDecisionTaskCompletedEventId(long long value)
AWS_SWF_API CancelTimerFailedEventAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SWF_API CancelTimerFailedEventAttributes(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue