AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DecisionTaskTimedOutEventAttributes.h
1
6#pragma once
7#include <aws/swf/SWF_EXPORTS.h>
8#include <aws/swf/model/DecisionTaskTimeoutType.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SWF
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SWF_API DecisionTaskTimedOutEventAttributes() = default;
39
40
42
46 inline DecisionTaskTimeoutType GetTimeoutType() const { return m_timeoutType; }
47 inline bool TimeoutTypeHasBeenSet() const { return m_timeoutTypeHasBeenSet; }
48 inline void SetTimeoutType(DecisionTaskTimeoutType value) { m_timeoutTypeHasBeenSet = true; m_timeoutType = value; }
51
53
58 inline long long GetScheduledEventId() const { return m_scheduledEventId; }
59 inline bool ScheduledEventIdHasBeenSet() const { return m_scheduledEventIdHasBeenSet; }
60 inline void SetScheduledEventId(long long value) { m_scheduledEventIdHasBeenSet = true; m_scheduledEventId = value; }
61 inline DecisionTaskTimedOutEventAttributes& WithScheduledEventId(long long value) { SetScheduledEventId(value); return *this;}
63
65
70 inline long long GetStartedEventId() const { return m_startedEventId; }
71 inline bool StartedEventIdHasBeenSet() const { return m_startedEventIdHasBeenSet; }
72 inline void SetStartedEventId(long long value) { m_startedEventIdHasBeenSet = true; m_startedEventId = value; }
73 inline DecisionTaskTimedOutEventAttributes& WithStartedEventId(long long value) { SetStartedEventId(value); return *this;}
75 private:
76
78 bool m_timeoutTypeHasBeenSet = false;
79
80 long long m_scheduledEventId{0};
81 bool m_scheduledEventIdHasBeenSet = false;
82
83 long long m_startedEventId{0};
84 bool m_startedEventIdHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace SWF
89} // namespace Aws
AWS_SWF_API DecisionTaskTimedOutEventAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
DecisionTaskTimedOutEventAttributes & WithTimeoutType(DecisionTaskTimeoutType value)
AWS_SWF_API DecisionTaskTimedOutEventAttributes(Aws::Utils::Json::JsonView jsonValue)
DecisionTaskTimedOutEventAttributes & WithScheduledEventId(long long value)
DecisionTaskTimedOutEventAttributes & WithStartedEventId(long long value)
Aws::Utils::Json::JsonValue JsonValue