7#include <aws/swf/SWF_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/swf/model/WorkflowExecution.h>
10#include <aws/swf/model/WorkflowType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/swf/model/HistoryEvent.h>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
52 template<
typename TaskTokenT = Aws::String>
53 void SetTaskToken(TaskTokenT&& value) { m_taskTokenHasBeenSet =
true; m_taskToken = std::forward<TaskTokenT>(value); }
54 template<
typename TaskTokenT = Aws::String>
64 inline void SetStartedEventId(
long long value) { m_startedEventIdHasBeenSet =
true; m_startedEventId = value; }
73 template<
typename WorkflowExecutionT = WorkflowExecution>
74 void SetWorkflowExecution(WorkflowExecutionT&& value) { m_workflowExecutionHasBeenSet =
true; m_workflowExecution = std::forward<WorkflowExecutionT>(value); }
75 template<
typename WorkflowExecutionT = WorkflowExecution>
85 template<
typename WorkflowTypeT = WorkflowType>
86 void SetWorkflowType(WorkflowTypeT&& value) { m_workflowTypeHasBeenSet =
true; m_workflowType = std::forward<WorkflowTypeT>(value); }
87 template<
typename WorkflowTypeT = WorkflowType>
97 template<
typename EventsT = Aws::Vector<HistoryEvent>>
98 void SetEvents(EventsT&& value) { m_eventsHasBeenSet =
true; m_events = std::forward<EventsT>(value); }
99 template<
typename EventsT = Aws::Vector<HistoryEvent>>
101 template<
typename EventsT = HistoryEvent>
114 template<
typename NextPageTokenT = Aws::String>
115 void SetNextPageToken(NextPageTokenT&& value) { m_nextPageTokenHasBeenSet =
true; m_nextPageToken = std::forward<NextPageTokenT>(value); }
116 template<
typename NextPageTokenT = Aws::String>
135 template<
typename RequestIdT = Aws::String>
136 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
137 template<
typename RequestIdT = Aws::String>
143 bool m_taskTokenHasBeenSet =
false;
145 long long m_startedEventId{0};
146 bool m_startedEventIdHasBeenSet =
false;
148 WorkflowExecution m_workflowExecution;
149 bool m_workflowExecutionHasBeenSet =
false;
151 WorkflowType m_workflowType;
152 bool m_workflowTypeHasBeenSet =
false;
155 bool m_eventsHasBeenSet =
false;
158 bool m_nextPageTokenHasBeenSet =
false;
160 long long m_previousStartedEventId{0};
161 bool m_previousStartedEventIdHasBeenSet =
false;
164 bool m_requestIdHasBeenSet =
false;
PollForDecisionTaskResult & WithWorkflowType(WorkflowTypeT &&value)
long long GetPreviousStartedEventId() const
PollForDecisionTaskResult & AddEvents(EventsT &&value)
PollForDecisionTaskResult & WithNextPageToken(NextPageTokenT &&value)
PollForDecisionTaskResult & WithEvents(EventsT &&value)
PollForDecisionTaskResult & WithStartedEventId(long long value)
void SetEvents(EventsT &&value)
PollForDecisionTaskResult & WithWorkflowExecution(WorkflowExecutionT &&value)
PollForDecisionTaskResult & WithPreviousStartedEventId(long long value)
const Aws::String & GetNextPageToken() const
void SetTaskToken(TaskTokenT &&value)
void SetPreviousStartedEventId(long long value)
long long GetStartedEventId() const
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
void SetWorkflowType(WorkflowTypeT &&value)
void SetStartedEventId(long long value)
const Aws::Vector< HistoryEvent > & GetEvents() const
PollForDecisionTaskResult & WithTaskToken(TaskTokenT &&value)
AWS_SWF_API PollForDecisionTaskResult()=default
AWS_SWF_API PollForDecisionTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PollForDecisionTaskResult & WithRequestId(RequestIdT &&value)
const WorkflowType & GetWorkflowType() const
AWS_SWF_API PollForDecisionTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const WorkflowExecution & GetWorkflowExecution() const
void SetWorkflowExecution(WorkflowExecutionT &&value)
void SetNextPageToken(NextPageTokenT &&value)
const Aws::String & GetTaskToken() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue