AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DecisionTaskScheduledEventAttributes.h
1
6#pragma once
7#include <aws/swf/SWF_EXPORTS.h>
8#include <aws/swf/model/TaskList.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 TaskList& GetTaskList() const{ return m_taskList; }
47 inline bool TaskListHasBeenSet() const { return m_taskListHasBeenSet; }
48 inline void SetTaskList(const TaskList& value) { m_taskListHasBeenSet = true; m_taskList = value; }
49 inline void SetTaskList(TaskList&& value) { m_taskListHasBeenSet = true; m_taskList = std::move(value); }
50 inline DecisionTaskScheduledEventAttributes& WithTaskList(const TaskList& value) { SetTaskList(value); return *this;}
51 inline DecisionTaskScheduledEventAttributes& WithTaskList(TaskList&& value) { SetTaskList(std::move(value)); return *this;}
53
55
64 inline const Aws::String& GetTaskPriority() const{ return m_taskPriority; }
65 inline bool TaskPriorityHasBeenSet() const { return m_taskPriorityHasBeenSet; }
66 inline void SetTaskPriority(const Aws::String& value) { m_taskPriorityHasBeenSet = true; m_taskPriority = value; }
67 inline void SetTaskPriority(Aws::String&& value) { m_taskPriorityHasBeenSet = true; m_taskPriority = std::move(value); }
68 inline void SetTaskPriority(const char* value) { m_taskPriorityHasBeenSet = true; m_taskPriority.assign(value); }
70 inline DecisionTaskScheduledEventAttributes& WithTaskPriority(Aws::String&& value) { SetTaskPriority(std::move(value)); return *this;}
71 inline DecisionTaskScheduledEventAttributes& WithTaskPriority(const char* value) { SetTaskPriority(value); return *this;}
73
75
81 inline const Aws::String& GetStartToCloseTimeout() const{ return m_startToCloseTimeout; }
82 inline bool StartToCloseTimeoutHasBeenSet() const { return m_startToCloseTimeoutHasBeenSet; }
83 inline void SetStartToCloseTimeout(const Aws::String& value) { m_startToCloseTimeoutHasBeenSet = true; m_startToCloseTimeout = value; }
84 inline void SetStartToCloseTimeout(Aws::String&& value) { m_startToCloseTimeoutHasBeenSet = true; m_startToCloseTimeout = std::move(value); }
85 inline void SetStartToCloseTimeout(const char* value) { m_startToCloseTimeoutHasBeenSet = true; m_startToCloseTimeout.assign(value); }
90
92
96 inline const Aws::String& GetScheduleToStartTimeout() const{ return m_scheduleToStartTimeout; }
97 inline bool ScheduleToStartTimeoutHasBeenSet() const { return m_scheduleToStartTimeoutHasBeenSet; }
98 inline void SetScheduleToStartTimeout(const Aws::String& value) { m_scheduleToStartTimeoutHasBeenSet = true; m_scheduleToStartTimeout = value; }
99 inline void SetScheduleToStartTimeout(Aws::String&& value) { m_scheduleToStartTimeoutHasBeenSet = true; m_scheduleToStartTimeout = std::move(value); }
100 inline void SetScheduleToStartTimeout(const char* value) { m_scheduleToStartTimeoutHasBeenSet = true; m_scheduleToStartTimeout.assign(value); }
105 private:
106
107 TaskList m_taskList;
108 bool m_taskListHasBeenSet = false;
109
110 Aws::String m_taskPriority;
111 bool m_taskPriorityHasBeenSet = false;
112
113 Aws::String m_startToCloseTimeout;
114 bool m_startToCloseTimeoutHasBeenSet = false;
115
116 Aws::String m_scheduleToStartTimeout;
117 bool m_scheduleToStartTimeoutHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace SWF
122} // namespace Aws
DecisionTaskScheduledEventAttributes & WithScheduleToStartTimeout(Aws::String &&value)
DecisionTaskScheduledEventAttributes & WithStartToCloseTimeout(const char *value)
DecisionTaskScheduledEventAttributes & WithTaskList(const TaskList &value)
DecisionTaskScheduledEventAttributes & WithStartToCloseTimeout(const Aws::String &value)
DecisionTaskScheduledEventAttributes & WithTaskList(TaskList &&value)
AWS_SWF_API DecisionTaskScheduledEventAttributes(Aws::Utils::Json::JsonView jsonValue)
AWS_SWF_API DecisionTaskScheduledEventAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
DecisionTaskScheduledEventAttributes & WithScheduleToStartTimeout(const char *value)
DecisionTaskScheduledEventAttributes & WithTaskPriority(Aws::String &&value)
DecisionTaskScheduledEventAttributes & WithTaskPriority(const Aws::String &value)
DecisionTaskScheduledEventAttributes & WithTaskPriority(const char *value)
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
DecisionTaskScheduledEventAttributes & WithStartToCloseTimeout(Aws::String &&value)
DecisionTaskScheduledEventAttributes & WithScheduleToStartTimeout(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue