AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
40
41
43
47 inline const Aws::String& GetTimerId() const{ return m_timerId; }
48 inline bool TimerIdHasBeenSet() const { return m_timerIdHasBeenSet; }
49 inline void SetTimerId(const Aws::String& value) { m_timerIdHasBeenSet = true; m_timerId = value; }
50 inline void SetTimerId(Aws::String&& value) { m_timerIdHasBeenSet = true; m_timerId = std::move(value); }
51 inline void SetTimerId(const char* value) { m_timerIdHasBeenSet = true; m_timerId.assign(value); }
52 inline CancelTimerFailedEventAttributes& WithTimerId(const Aws::String& value) { SetTimerId(value); return *this;}
53 inline CancelTimerFailedEventAttributes& WithTimerId(Aws::String&& value) { SetTimerId(std::move(value)); return *this;}
54 inline CancelTimerFailedEventAttributes& WithTimerId(const char* value) { SetTimerId(value); return *this;}
56
58
67 inline const CancelTimerFailedCause& GetCause() const{ return m_cause; }
68 inline bool CauseHasBeenSet() const { return m_causeHasBeenSet; }
69 inline void SetCause(const CancelTimerFailedCause& value) { m_causeHasBeenSet = true; m_cause = value; }
70 inline void SetCause(CancelTimerFailedCause&& value) { m_causeHasBeenSet = true; m_cause = std::move(value); }
71 inline CancelTimerFailedEventAttributes& WithCause(const CancelTimerFailedCause& value) { SetCause(value); return *this;}
72 inline CancelTimerFailedEventAttributes& WithCause(CancelTimerFailedCause&& value) { SetCause(std::move(value)); return *this;}
74
76
82 inline long long GetDecisionTaskCompletedEventId() const{ return m_decisionTaskCompletedEventId; }
83 inline bool DecisionTaskCompletedEventIdHasBeenSet() const { return m_decisionTaskCompletedEventIdHasBeenSet; }
84 inline void SetDecisionTaskCompletedEventId(long long value) { m_decisionTaskCompletedEventIdHasBeenSet = true; m_decisionTaskCompletedEventId = value; }
87 private:
88
89 Aws::String m_timerId;
90 bool m_timerIdHasBeenSet = false;
91
93 bool m_causeHasBeenSet = false;
94
95 long long m_decisionTaskCompletedEventId;
96 bool m_decisionTaskCompletedEventIdHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace SWF
101} // namespace Aws
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
CancelTimerFailedEventAttributes & WithTimerId(const char *value)
CancelTimerFailedEventAttributes & WithTimerId(const Aws::String &value)
CancelTimerFailedEventAttributes & WithCause(CancelTimerFailedCause &&value)
CancelTimerFailedEventAttributes & WithDecisionTaskCompletedEventId(long long value)
CancelTimerFailedEventAttributes & WithTimerId(Aws::String &&value)
AWS_SWF_API CancelTimerFailedEventAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SWF_API CancelTimerFailedEventAttributes(Aws::Utils::Json::JsonView jsonValue)
CancelTimerFailedEventAttributes & WithCause(const CancelTimerFailedCause &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue