AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
40
41
43
46 inline const ActivityTaskTimeoutType& GetTimeoutType() const{ return m_timeoutType; }
47 inline bool TimeoutTypeHasBeenSet() const { return m_timeoutTypeHasBeenSet; }
48 inline void SetTimeoutType(const ActivityTaskTimeoutType& value) { m_timeoutTypeHasBeenSet = true; m_timeoutType = value; }
49 inline void SetTimeoutType(ActivityTaskTimeoutType&& 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 ActivityTaskTimedOutEventAttributes& 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 ActivityTaskTimedOutEventAttributes& WithStartedEventId(long long value) { SetStartedEventId(value); return *this;}
77
79
83 inline const Aws::String& GetDetails() const{ return m_details; }
84 inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
85 inline void SetDetails(const Aws::String& value) { m_detailsHasBeenSet = true; m_details = value; }
86 inline void SetDetails(Aws::String&& value) { m_detailsHasBeenSet = true; m_details = std::move(value); }
87 inline void SetDetails(const char* value) { m_detailsHasBeenSet = true; m_details.assign(value); }
88 inline ActivityTaskTimedOutEventAttributes& WithDetails(const Aws::String& value) { SetDetails(value); return *this;}
89 inline ActivityTaskTimedOutEventAttributes& WithDetails(Aws::String&& value) { SetDetails(std::move(value)); return *this;}
90 inline ActivityTaskTimedOutEventAttributes& WithDetails(const char* value) { SetDetails(value); return *this;}
92 private:
93
94 ActivityTaskTimeoutType m_timeoutType;
95 bool m_timeoutTypeHasBeenSet = false;
96
97 long long m_scheduledEventId;
98 bool m_scheduledEventIdHasBeenSet = false;
99
100 long long m_startedEventId;
101 bool m_startedEventIdHasBeenSet = false;
102
103 Aws::String m_details;
104 bool m_detailsHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace SWF
109} // namespace Aws
ActivityTaskTimedOutEventAttributes & WithStartedEventId(long long value)
AWS_SWF_API ActivityTaskTimedOutEventAttributes(Aws::Utils::Json::JsonView jsonValue)
ActivityTaskTimedOutEventAttributes & WithTimeoutType(ActivityTaskTimeoutType &&value)
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
ActivityTaskTimedOutEventAttributes & WithDetails(const Aws::String &value)
ActivityTaskTimedOutEventAttributes & WithDetails(Aws::String &&value)
AWS_SWF_API ActivityTaskTimedOutEventAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
ActivityTaskTimedOutEventAttributes & WithTimeoutType(const ActivityTaskTimeoutType &value)
ActivityTaskTimedOutEventAttributes & WithDetails(const char *value)
ActivityTaskTimedOutEventAttributes & WithScheduledEventId(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue