AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
40
41
43
46 inline const Aws::String& GetTimerId() const{ return m_timerId; }
47 inline bool TimerIdHasBeenSet() const { return m_timerIdHasBeenSet; }
48 inline void SetTimerId(const Aws::String& value) { m_timerIdHasBeenSet = true; m_timerId = value; }
49 inline void SetTimerId(Aws::String&& value) { m_timerIdHasBeenSet = true; m_timerId = std::move(value); }
50 inline void SetTimerId(const char* value) { m_timerIdHasBeenSet = true; m_timerId.assign(value); }
51 inline StartTimerFailedEventAttributes& WithTimerId(const Aws::String& value) { SetTimerId(value); return *this;}
52 inline StartTimerFailedEventAttributes& WithTimerId(Aws::String&& value) { SetTimerId(std::move(value)); return *this;}
53 inline StartTimerFailedEventAttributes& WithTimerId(const char* value) { SetTimerId(value); return *this;}
55
57
66 inline const StartTimerFailedCause& GetCause() const{ return m_cause; }
67 inline bool CauseHasBeenSet() const { return m_causeHasBeenSet; }
68 inline void SetCause(const StartTimerFailedCause& value) { m_causeHasBeenSet = true; m_cause = value; }
69 inline void SetCause(StartTimerFailedCause&& value) { m_causeHasBeenSet = true; m_cause = std::move(value); }
70 inline StartTimerFailedEventAttributes& WithCause(const StartTimerFailedCause& value) { SetCause(value); return *this;}
71 inline StartTimerFailedEventAttributes& WithCause(StartTimerFailedCause&& value) { SetCause(std::move(value)); return *this;}
73
75
81 inline long long GetDecisionTaskCompletedEventId() const{ return m_decisionTaskCompletedEventId; }
82 inline bool DecisionTaskCompletedEventIdHasBeenSet() const { return m_decisionTaskCompletedEventIdHasBeenSet; }
83 inline void SetDecisionTaskCompletedEventId(long long value) { m_decisionTaskCompletedEventIdHasBeenSet = true; m_decisionTaskCompletedEventId = value; }
86 private:
87
88 Aws::String m_timerId;
89 bool m_timerIdHasBeenSet = false;
90
92 bool m_causeHasBeenSet = false;
93
94 long long m_decisionTaskCompletedEventId;
95 bool m_decisionTaskCompletedEventIdHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace SWF
100} // namespace Aws
StartTimerFailedEventAttributes & WithDecisionTaskCompletedEventId(long long value)
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
StartTimerFailedEventAttributes & WithTimerId(const char *value)
StartTimerFailedEventAttributes & WithCause(StartTimerFailedCause &&value)
StartTimerFailedEventAttributes & WithCause(const StartTimerFailedCause &value)
AWS_SWF_API StartTimerFailedEventAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
StartTimerFailedEventAttributes & WithTimerId(const Aws::String &value)
StartTimerFailedEventAttributes & WithTimerId(Aws::String &&value)
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