AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ActivityTaskTimedOutEventAttributes.h
1
6#pragma once
7#include <aws/swf/SWF_EXPORTS.h>
8#include <aws/swf/model/ActivityTaskTimeoutType.h>
9#include <aws/core/utils/memory/stl/AWSString.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:
36 AWS_SWF_API ActivityTaskTimedOutEventAttributes() = default;
40
41
43
46 inline ActivityTaskTimeoutType GetTimeoutType() const { return m_timeoutType; }
47 inline bool TimeoutTypeHasBeenSet() const { return m_timeoutTypeHasBeenSet; }
48 inline void SetTimeoutType(ActivityTaskTimeoutType 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 ActivityTaskTimedOutEventAttributes& 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 ActivityTaskTimedOutEventAttributes& WithStartedEventId(long long value) { SetStartedEventId(value); return *this;}
75
77
81 inline const Aws::String& GetDetails() const { return m_details; }
82 inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
83 template<typename DetailsT = Aws::String>
84 void SetDetails(DetailsT&& value) { m_detailsHasBeenSet = true; m_details = std::forward<DetailsT>(value); }
85 template<typename DetailsT = Aws::String>
86 ActivityTaskTimedOutEventAttributes& WithDetails(DetailsT&& value) { SetDetails(std::forward<DetailsT>(value)); return *this;}
88 private:
89
91 bool m_timeoutTypeHasBeenSet = false;
92
93 long long m_scheduledEventId{0};
94 bool m_scheduledEventIdHasBeenSet = false;
95
96 long long m_startedEventId{0};
97 bool m_startedEventIdHasBeenSet = false;
98
99 Aws::String m_details;
100 bool m_detailsHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace SWF
105} // namespace Aws
ActivityTaskTimedOutEventAttributes & WithStartedEventId(long long value)
AWS_SWF_API ActivityTaskTimedOutEventAttributes(Aws::Utils::Json::JsonView jsonValue)
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
ActivityTaskTimedOutEventAttributes & WithTimeoutType(ActivityTaskTimeoutType value)
ActivityTaskTimedOutEventAttributes & WithDetails(DetailsT &&value)
AWS_SWF_API ActivityTaskTimedOutEventAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
ActivityTaskTimedOutEventAttributes & WithScheduledEventId(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue