AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StartTimerFailedEventAttributes.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/StartTimerFailedCause.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 StartTimerFailedEventAttributes() = default;
40
41
43
46 inline const Aws::String& GetTimerId() const { return m_timerId; }
47 inline bool TimerIdHasBeenSet() const { return m_timerIdHasBeenSet; }
48 template<typename TimerIdT = Aws::String>
49 void SetTimerId(TimerIdT&& value) { m_timerIdHasBeenSet = true; m_timerId = std::forward<TimerIdT>(value); }
50 template<typename TimerIdT = Aws::String>
51 StartTimerFailedEventAttributes& WithTimerId(TimerIdT&& value) { SetTimerId(std::forward<TimerIdT>(value)); return *this;}
53
55
64 inline StartTimerFailedCause GetCause() const { return m_cause; }
65 inline bool CauseHasBeenSet() const { return m_causeHasBeenSet; }
66 inline void SetCause(StartTimerFailedCause value) { m_causeHasBeenSet = true; m_cause = value; }
69
71
77 inline long long GetDecisionTaskCompletedEventId() const { return m_decisionTaskCompletedEventId; }
78 inline bool DecisionTaskCompletedEventIdHasBeenSet() const { return m_decisionTaskCompletedEventIdHasBeenSet; }
79 inline void SetDecisionTaskCompletedEventId(long long value) { m_decisionTaskCompletedEventIdHasBeenSet = true; m_decisionTaskCompletedEventId = value; }
82 private:
83
84 Aws::String m_timerId;
85 bool m_timerIdHasBeenSet = false;
86
88 bool m_causeHasBeenSet = false;
89
90 long long m_decisionTaskCompletedEventId{0};
91 bool m_decisionTaskCompletedEventIdHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace SWF
96} // namespace Aws
StartTimerFailedEventAttributes & WithDecisionTaskCompletedEventId(long long value)
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
StartTimerFailedEventAttributes & WithCause(StartTimerFailedCause value)
StartTimerFailedEventAttributes & WithTimerId(TimerIdT &&value)
AWS_SWF_API StartTimerFailedEventAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SWF_API StartTimerFailedEventAttributes(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue