7#include <aws/swf/SWF_EXPORTS.h>
8#include <aws/swf/model/WorkflowExecution.h>
9#include <aws/swf/model/WorkflowType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/swf/model/ExecutionStatus.h>
12#include <aws/swf/model/CloseStatus.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
53 template<
typename ExecutionT = WorkflowExecution>
54 void SetExecution(ExecutionT&& value) { m_executionHasBeenSet =
true; m_execution = std::forward<ExecutionT>(value); }
55 template<
typename ExecutionT = WorkflowExecution>
65 template<
typename WorkflowTypeT = WorkflowType>
66 void SetWorkflowType(WorkflowTypeT&& value) { m_workflowTypeHasBeenSet =
true; m_workflowType = std::forward<WorkflowTypeT>(value); }
67 template<
typename WorkflowTypeT = WorkflowType>
77 template<
typename StartTimestampT = Aws::Utils::DateTime>
78 void SetStartTimestamp(StartTimestampT&& value) { m_startTimestampHasBeenSet =
true; m_startTimestamp = std::forward<StartTimestampT>(value); }
79 template<
typename StartTimestampT = Aws::Utils::DateTime>
90 template<
typename CloseTimestampT = Aws::Utils::DateTime>
91 void SetCloseTimestamp(CloseTimestampT&& value) { m_closeTimestampHasBeenSet =
true; m_closeTimestamp = std::forward<CloseTimestampT>(value); }
92 template<
typename CloseTimestampT = Aws::Utils::DateTime>
133 template<
typename ParentT = WorkflowExecution>
134 void SetParent(ParentT&& value) { m_parentHasBeenSet =
true; m_parent = std::forward<ParentT>(value); }
135 template<
typename ParentT = WorkflowExecution>
147 template<
typename TagListT = Aws::Vector<Aws::String>>
148 void SetTagList(TagListT&& value) { m_tagListHasBeenSet =
true; m_tagList = std::forward<TagListT>(value); }
149 template<
typename TagListT = Aws::Vector<Aws::String>>
151 template<
typename TagListT = Aws::String>
161 inline void SetCancelRequested(
bool value) { m_cancelRequestedHasBeenSet =
true; m_cancelRequested = value; }
167 bool m_executionHasBeenSet =
false;
170 bool m_workflowTypeHasBeenSet =
false;
173 bool m_startTimestampHasBeenSet =
false;
176 bool m_closeTimestampHasBeenSet =
false;
179 bool m_executionStatusHasBeenSet =
false;
182 bool m_closeStatusHasBeenSet =
false;
184 WorkflowExecution m_parent;
185 bool m_parentHasBeenSet =
false;
188 bool m_tagListHasBeenSet =
false;
190 bool m_cancelRequested{
false};
191 bool m_cancelRequestedHasBeenSet =
false;
void SetCloseTimestamp(CloseTimestampT &&value)
WorkflowExecutionInfo & WithStartTimestamp(StartTimestampT &&value)
const WorkflowType & GetWorkflowType() const
bool CloseTimestampHasBeenSet() const
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
WorkflowExecutionInfo & WithCancelRequested(bool value)
void SetStartTimestamp(StartTimestampT &&value)
WorkflowExecutionInfo & WithExecutionStatus(ExecutionStatus value)
void SetExecution(ExecutionT &&value)
bool ParentHasBeenSet() const
void SetTagList(TagListT &&value)
bool TagListHasBeenSet() const
WorkflowExecutionInfo & WithCloseStatus(CloseStatus value)
AWS_SWF_API WorkflowExecutionInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
const WorkflowExecution & GetExecution() const
WorkflowExecutionInfo & WithCloseTimestamp(CloseTimestampT &&value)
WorkflowExecutionInfo & WithExecution(ExecutionT &&value)
AWS_SWF_API WorkflowExecutionInfo()=default
WorkflowExecutionInfo & WithWorkflowType(WorkflowTypeT &&value)
AWS_SWF_API WorkflowExecutionInfo(Aws::Utils::Json::JsonView jsonValue)
void SetCloseStatus(CloseStatus value)
CloseStatus GetCloseStatus() const
bool StartTimestampHasBeenSet() const
WorkflowExecutionInfo & AddTagList(TagListT &&value)
bool CancelRequestedHasBeenSet() const
WorkflowExecutionInfo & WithParent(ParentT &&value)
bool WorkflowTypeHasBeenSet() const
void SetParent(ParentT &&value)
WorkflowExecutionInfo & WithTagList(TagListT &&value)
bool ExecutionHasBeenSet() const
bool CloseStatusHasBeenSet() const
bool ExecutionStatusHasBeenSet() const
const WorkflowExecution & GetParent() const
bool GetCancelRequested() const
void SetExecutionStatus(ExecutionStatus value)
void SetCancelRequested(bool value)
ExecutionStatus GetExecutionStatus() const
const Aws::Utils::DateTime & GetStartTimestamp() const
const Aws::Vector< Aws::String > & GetTagList() const
void SetWorkflowType(WorkflowTypeT &&value)
const Aws::Utils::DateTime & GetCloseTimestamp() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue