AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
StartTimerFailedEventAttributes.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/swf/SWF_EXPORTS.h>
9#include <aws/swf/model/StartTimerFailedCause.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SWF {
21namespace Model {
22
30 public:
31 AWS_SWF_API StartTimerFailedEventAttributes() = default;
35
37
40 inline const Aws::String& GetTimerId() const { return m_timerId; }
41 inline bool TimerIdHasBeenSet() const { return m_timerIdHasBeenSet; }
42 template <typename TimerIdT = Aws::String>
43 void SetTimerId(TimerIdT&& value) {
44 m_timerIdHasBeenSet = true;
45 m_timerId = std::forward<TimerIdT>(value);
46 }
47 template <typename TimerIdT = Aws::String>
49 SetTimerId(std::forward<TimerIdT>(value));
50 return *this;
51 }
53
55
64 inline StartTimerFailedCause GetCause() const { return m_cause; }
65 inline bool CauseHasBeenSet() const { return m_causeHasBeenSet; }
66 inline void SetCause(StartTimerFailedCause value) {
67 m_causeHasBeenSet = true;
68 m_cause = value;
69 }
71 SetCause(value);
72 return *this;
73 }
75
77
83 inline long long GetDecisionTaskCompletedEventId() const { return m_decisionTaskCompletedEventId; }
84 inline bool DecisionTaskCompletedEventIdHasBeenSet() const { return m_decisionTaskCompletedEventIdHasBeenSet; }
85 inline void SetDecisionTaskCompletedEventId(long long value) {
86 m_decisionTaskCompletedEventIdHasBeenSet = true;
87 m_decisionTaskCompletedEventId = value;
88 }
91 return *this;
92 }
94 private:
95 Aws::String m_timerId;
96
98
99 long long m_decisionTaskCompletedEventId{0};
100 bool m_timerIdHasBeenSet = false;
101 bool m_causeHasBeenSet = false;
102 bool m_decisionTaskCompletedEventIdHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace SWF
107} // 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