AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
39
40
42
46 inline const DecisionTaskTimeoutType& GetTimeoutType() const{ return m_timeoutType; }
47 inline bool TimeoutTypeHasBeenSet() const { return m_timeoutTypeHasBeenSet; }
48 inline void SetTimeoutType(const DecisionTaskTimeoutType& value) { m_timeoutTypeHasBeenSet = true; m_timeoutType = value; }
49 inline void SetTimeoutType(DecisionTaskTimeoutType&& value) { m_timeoutTypeHasBeenSet = true; m_timeoutType = std::move(value); }
53
55
60 inline long long GetScheduledEventId() const{ return m_scheduledEventId; }
61 inline bool ScheduledEventIdHasBeenSet() const { return m_scheduledEventIdHasBeenSet; }
62 inline void SetScheduledEventId(long long value) { m_scheduledEventIdHasBeenSet = true; m_scheduledEventId = value; }
63 inline DecisionTaskTimedOutEventAttributes& WithScheduledEventId(long long value) { SetScheduledEventId(value); return *this;}
65
67
72 inline long long GetStartedEventId() const{ return m_startedEventId; }
73 inline bool StartedEventIdHasBeenSet() const { return m_startedEventIdHasBeenSet; }
74 inline void SetStartedEventId(long long value) { m_startedEventIdHasBeenSet = true; m_startedEventId = value; }
75 inline DecisionTaskTimedOutEventAttributes& WithStartedEventId(long long value) { SetStartedEventId(value); return *this;}
77 private:
78
79 DecisionTaskTimeoutType m_timeoutType;
80 bool m_timeoutTypeHasBeenSet = false;
81
82 long long m_scheduledEventId;
83 bool m_scheduledEventIdHasBeenSet = false;
84
85 long long m_startedEventId;
86 bool m_startedEventIdHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace SWF
91} // 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)
DecisionTaskTimedOutEventAttributes & WithTimeoutType(const DecisionTaskTimeoutType &value)
Aws::Utils::Json::JsonValue JsonValue