AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DecisionTaskCompletedEventAttributes.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/TaskList.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& GetExecutionContext() const{ return m_executionContext; }
47 inline bool ExecutionContextHasBeenSet() const { return m_executionContextHasBeenSet; }
48 inline void SetExecutionContext(const Aws::String& value) { m_executionContextHasBeenSet = true; m_executionContext = value; }
49 inline void SetExecutionContext(Aws::String&& value) { m_executionContextHasBeenSet = true; m_executionContext = std::move(value); }
50 inline void SetExecutionContext(const char* value) { m_executionContextHasBeenSet = true; m_executionContext.assign(value); }
53 inline DecisionTaskCompletedEventAttributes& WithExecutionContext(const char* value) { SetExecutionContext(value); return *this;}
55
57
62 inline long long GetScheduledEventId() const{ return m_scheduledEventId; }
63 inline bool ScheduledEventIdHasBeenSet() const { return m_scheduledEventIdHasBeenSet; }
64 inline void SetScheduledEventId(long long value) { m_scheduledEventIdHasBeenSet = true; m_scheduledEventId = value; }
65 inline DecisionTaskCompletedEventAttributes& WithScheduledEventId(long long value) { SetScheduledEventId(value); return *this;}
67
69
74 inline long long GetStartedEventId() const{ return m_startedEventId; }
75 inline bool StartedEventIdHasBeenSet() const { return m_startedEventIdHasBeenSet; }
76 inline void SetStartedEventId(long long value) { m_startedEventIdHasBeenSet = true; m_startedEventId = value; }
77 inline DecisionTaskCompletedEventAttributes& WithStartedEventId(long long value) { SetStartedEventId(value); return *this;}
79
81
82 inline const TaskList& GetTaskList() const{ return m_taskList; }
83 inline bool TaskListHasBeenSet() const { return m_taskListHasBeenSet; }
84 inline void SetTaskList(const TaskList& value) { m_taskListHasBeenSet = true; m_taskList = value; }
85 inline void SetTaskList(TaskList&& value) { m_taskListHasBeenSet = true; m_taskList = std::move(value); }
86 inline DecisionTaskCompletedEventAttributes& WithTaskList(const TaskList& value) { SetTaskList(value); return *this;}
87 inline DecisionTaskCompletedEventAttributes& WithTaskList(TaskList&& value) { SetTaskList(std::move(value)); return *this;}
89
91
95 inline const Aws::String& GetTaskListScheduleToStartTimeout() const{ return m_taskListScheduleToStartTimeout; }
96 inline bool TaskListScheduleToStartTimeoutHasBeenSet() const { return m_taskListScheduleToStartTimeoutHasBeenSet; }
97 inline void SetTaskListScheduleToStartTimeout(const Aws::String& value) { m_taskListScheduleToStartTimeoutHasBeenSet = true; m_taskListScheduleToStartTimeout = value; }
98 inline void SetTaskListScheduleToStartTimeout(Aws::String&& value) { m_taskListScheduleToStartTimeoutHasBeenSet = true; m_taskListScheduleToStartTimeout = std::move(value); }
99 inline void SetTaskListScheduleToStartTimeout(const char* value) { m_taskListScheduleToStartTimeoutHasBeenSet = true; m_taskListScheduleToStartTimeout.assign(value); }
104 private:
105
106 Aws::String m_executionContext;
107 bool m_executionContextHasBeenSet = false;
108
109 long long m_scheduledEventId;
110 bool m_scheduledEventIdHasBeenSet = false;
111
112 long long m_startedEventId;
113 bool m_startedEventIdHasBeenSet = false;
114
115 TaskList m_taskList;
116 bool m_taskListHasBeenSet = false;
117
118 Aws::String m_taskListScheduleToStartTimeout;
119 bool m_taskListScheduleToStartTimeoutHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace SWF
124} // namespace Aws
DecisionTaskCompletedEventAttributes & WithTaskListScheduleToStartTimeout(const char *value)
DecisionTaskCompletedEventAttributes & WithExecutionContext(const char *value)
DecisionTaskCompletedEventAttributes & WithExecutionContext(Aws::String &&value)
DecisionTaskCompletedEventAttributes & WithTaskList(const TaskList &value)
DecisionTaskCompletedEventAttributes & WithScheduledEventId(long long value)
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
DecisionTaskCompletedEventAttributes & WithExecutionContext(const Aws::String &value)
DecisionTaskCompletedEventAttributes & WithTaskListScheduleToStartTimeout(Aws::String &&value)
DecisionTaskCompletedEventAttributes & WithStartedEventId(long long value)
AWS_SWF_API DecisionTaskCompletedEventAttributes(Aws::Utils::Json::JsonView jsonValue)
DecisionTaskCompletedEventAttributes & WithTaskList(TaskList &&value)
AWS_SWF_API DecisionTaskCompletedEventAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
DecisionTaskCompletedEventAttributes & WithTaskListScheduleToStartTimeout(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue