/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides details about the DecisionTaskScheduled
* event.See Also:
AWS
* API Reference
The name of the task list in which the decision task was scheduled.
*/ inline const TaskList& GetTaskList() const{ return m_taskList; } /** *The name of the task list in which the decision task was scheduled.
*/ inline bool TaskListHasBeenSet() const { return m_taskListHasBeenSet; } /** *The name of the task list in which the decision task was scheduled.
*/ inline void SetTaskList(const TaskList& value) { m_taskListHasBeenSet = true; m_taskList = value; } /** *The name of the task list in which the decision task was scheduled.
*/ inline void SetTaskList(TaskList&& value) { m_taskListHasBeenSet = true; m_taskList = std::move(value); } /** *The name of the task list in which the decision task was scheduled.
*/ inline DecisionTaskScheduledEventAttributes& WithTaskList(const TaskList& value) { SetTaskList(value); return *this;} /** *The name of the task list in which the decision task was scheduled.
*/ inline DecisionTaskScheduledEventAttributes& WithTaskList(TaskList&& value) { SetTaskList(std::move(value)); return *this;} /** * A task priority that, if set, specifies the priority for this decision task.
* Valid values are integers that range from Java's Integer.MIN_VALUE
* (-2147483648) to Integer.MAX_VALUE
(2147483647). Higher numbers
* indicate higher priority.
For more information about setting task * priority, see Setting * Task Priority in the Amazon SWF Developer Guide.
*/ inline const Aws::String& GetTaskPriority() const{ return m_taskPriority; } /** * A task priority that, if set, specifies the priority for this decision task.
* Valid values are integers that range from Java's Integer.MIN_VALUE
* (-2147483648) to Integer.MAX_VALUE
(2147483647). Higher numbers
* indicate higher priority.
For more information about setting task * priority, see Setting * Task Priority in the Amazon SWF Developer Guide.
*/ inline bool TaskPriorityHasBeenSet() const { return m_taskPriorityHasBeenSet; } /** * A task priority that, if set, specifies the priority for this decision task.
* Valid values are integers that range from Java's Integer.MIN_VALUE
* (-2147483648) to Integer.MAX_VALUE
(2147483647). Higher numbers
* indicate higher priority.
For more information about setting task * priority, see Setting * Task Priority in the Amazon SWF Developer Guide.
*/ inline void SetTaskPriority(const Aws::String& value) { m_taskPriorityHasBeenSet = true; m_taskPriority = value; } /** * A task priority that, if set, specifies the priority for this decision task.
* Valid values are integers that range from Java's Integer.MIN_VALUE
* (-2147483648) to Integer.MAX_VALUE
(2147483647). Higher numbers
* indicate higher priority.
For more information about setting task * priority, see Setting * Task Priority in the Amazon SWF Developer Guide.
*/ inline void SetTaskPriority(Aws::String&& value) { m_taskPriorityHasBeenSet = true; m_taskPriority = std::move(value); } /** * A task priority that, if set, specifies the priority for this decision task.
* Valid values are integers that range from Java's Integer.MIN_VALUE
* (-2147483648) to Integer.MAX_VALUE
(2147483647). Higher numbers
* indicate higher priority.
For more information about setting task * priority, see Setting * Task Priority in the Amazon SWF Developer Guide.
*/ inline void SetTaskPriority(const char* value) { m_taskPriorityHasBeenSet = true; m_taskPriority.assign(value); } /** * A task priority that, if set, specifies the priority for this decision task.
* Valid values are integers that range from Java's Integer.MIN_VALUE
* (-2147483648) to Integer.MAX_VALUE
(2147483647). Higher numbers
* indicate higher priority.
For more information about setting task * priority, see Setting * Task Priority in the Amazon SWF Developer Guide.
*/ inline DecisionTaskScheduledEventAttributes& WithTaskPriority(const Aws::String& value) { SetTaskPriority(value); return *this;} /** * A task priority that, if set, specifies the priority for this decision task.
* Valid values are integers that range from Java's Integer.MIN_VALUE
* (-2147483648) to Integer.MAX_VALUE
(2147483647). Higher numbers
* indicate higher priority.
For more information about setting task * priority, see Setting * Task Priority in the Amazon SWF Developer Guide.
*/ inline DecisionTaskScheduledEventAttributes& WithTaskPriority(Aws::String&& value) { SetTaskPriority(std::move(value)); return *this;} /** * A task priority that, if set, specifies the priority for this decision task.
* Valid values are integers that range from Java's Integer.MIN_VALUE
* (-2147483648) to Integer.MAX_VALUE
(2147483647). Higher numbers
* indicate higher priority.
For more information about setting task * priority, see Setting * Task Priority in the Amazon SWF Developer Guide.
*/ inline DecisionTaskScheduledEventAttributes& WithTaskPriority(const char* value) { SetTaskPriority(value); return *this;} /** *The maximum duration for this decision task. The task is considered timed out * if it doesn't completed within this duration.
The duration is specified
* in seconds, an integer greater than or equal to 0
. You can use
* NONE
to specify unlimited duration.
The maximum duration for this decision task. The task is considered timed out * if it doesn't completed within this duration.
The duration is specified
* in seconds, an integer greater than or equal to 0
. You can use
* NONE
to specify unlimited duration.
The maximum duration for this decision task. The task is considered timed out * if it doesn't completed within this duration.
The duration is specified
* in seconds, an integer greater than or equal to 0
. You can use
* NONE
to specify unlimited duration.
The maximum duration for this decision task. The task is considered timed out * if it doesn't completed within this duration.
The duration is specified
* in seconds, an integer greater than or equal to 0
. You can use
* NONE
to specify unlimited duration.
The maximum duration for this decision task. The task is considered timed out * if it doesn't completed within this duration.
The duration is specified
* in seconds, an integer greater than or equal to 0
. You can use
* NONE
to specify unlimited duration.
The maximum duration for this decision task. The task is considered timed out * if it doesn't completed within this duration.
The duration is specified
* in seconds, an integer greater than or equal to 0
. You can use
* NONE
to specify unlimited duration.
The maximum duration for this decision task. The task is considered timed out * if it doesn't completed within this duration.
The duration is specified
* in seconds, an integer greater than or equal to 0
. You can use
* NONE
to specify unlimited duration.
The maximum duration for this decision task. The task is considered timed out * if it doesn't completed within this duration.
The duration is specified
* in seconds, an integer greater than or equal to 0
. You can use
* NONE
to specify unlimited duration.