AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
CancelTimerFailedEventAttributes.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/CancelTimerFailedCause.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 CancelTimerFailedEventAttributes() = default;
35
37
41 inline const Aws::String& GetTimerId() const { return m_timerId; }
42 inline bool TimerIdHasBeenSet() const { return m_timerIdHasBeenSet; }
43 template <typename TimerIdT = Aws::String>
44 void SetTimerId(TimerIdT&& value) {
45 m_timerIdHasBeenSet = true;
46 m_timerId = std::forward<TimerIdT>(value);
47 }
48 template <typename TimerIdT = Aws::String>
50 SetTimerId(std::forward<TimerIdT>(value));
51 return *this;
52 }
54
56
65 inline CancelTimerFailedCause GetCause() const { return m_cause; }
66 inline bool CauseHasBeenSet() const { return m_causeHasBeenSet; }
67 inline void SetCause(CancelTimerFailedCause value) {
68 m_causeHasBeenSet = true;
69 m_cause = value;
70 }
72 SetCause(value);
73 return *this;
74 }
76
78
84 inline long long GetDecisionTaskCompletedEventId() const { return m_decisionTaskCompletedEventId; }
85 inline bool DecisionTaskCompletedEventIdHasBeenSet() const { return m_decisionTaskCompletedEventIdHasBeenSet; }
86 inline void SetDecisionTaskCompletedEventId(long long value) {
87 m_decisionTaskCompletedEventIdHasBeenSet = true;
88 m_decisionTaskCompletedEventId = value;
89 }
92 return *this;
93 }
95 private:
96 Aws::String m_timerId;
97
99
100 long long m_decisionTaskCompletedEventId{0};
101 bool m_timerIdHasBeenSet = false;
102 bool m_causeHasBeenSet = false;
103 bool m_decisionTaskCompletedEventIdHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace SWF
108} // 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