AWS SDK for C++  1.9.123
AWS SDK for C++
Public Member Functions | List of all members
Aws::SWF::Model::PollForDecisionTaskResult Class Reference

#include <PollForDecisionTaskResult.h>

Public Member Functions

 PollForDecisionTaskResult ()
 
 PollForDecisionTaskResult (const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
 
PollForDecisionTaskResultoperator= (const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
 
const Aws::StringGetTaskToken () const
 
void SetTaskToken (const Aws::String &value)
 
void SetTaskToken (Aws::String &&value)
 
void SetTaskToken (const char *value)
 
PollForDecisionTaskResultWithTaskToken (const Aws::String &value)
 
PollForDecisionTaskResultWithTaskToken (Aws::String &&value)
 
PollForDecisionTaskResultWithTaskToken (const char *value)
 
long long GetStartedEventId () const
 
void SetStartedEventId (long long value)
 
PollForDecisionTaskResultWithStartedEventId (long long value)
 
const WorkflowExecutionGetWorkflowExecution () const
 
void SetWorkflowExecution (const WorkflowExecution &value)
 
void SetWorkflowExecution (WorkflowExecution &&value)
 
PollForDecisionTaskResultWithWorkflowExecution (const WorkflowExecution &value)
 
PollForDecisionTaskResultWithWorkflowExecution (WorkflowExecution &&value)
 
const WorkflowTypeGetWorkflowType () const
 
void SetWorkflowType (const WorkflowType &value)
 
void SetWorkflowType (WorkflowType &&value)
 
PollForDecisionTaskResultWithWorkflowType (const WorkflowType &value)
 
PollForDecisionTaskResultWithWorkflowType (WorkflowType &&value)
 
const Aws::Vector< HistoryEvent > & GetEvents () const
 
void SetEvents (const Aws::Vector< HistoryEvent > &value)
 
void SetEvents (Aws::Vector< HistoryEvent > &&value)
 
PollForDecisionTaskResultWithEvents (const Aws::Vector< HistoryEvent > &value)
 
PollForDecisionTaskResultWithEvents (Aws::Vector< HistoryEvent > &&value)
 
PollForDecisionTaskResultAddEvents (const HistoryEvent &value)
 
PollForDecisionTaskResultAddEvents (HistoryEvent &&value)
 
const Aws::StringGetNextPageToken () const
 
void SetNextPageToken (const Aws::String &value)
 
void SetNextPageToken (Aws::String &&value)
 
void SetNextPageToken (const char *value)
 
PollForDecisionTaskResultWithNextPageToken (const Aws::String &value)
 
PollForDecisionTaskResultWithNextPageToken (Aws::String &&value)
 
PollForDecisionTaskResultWithNextPageToken (const char *value)
 
long long GetPreviousStartedEventId () const
 
void SetPreviousStartedEventId (long long value)
 
PollForDecisionTaskResultWithPreviousStartedEventId (long long value)
 

Detailed Description

A structure that represents a decision task. Decision tasks are sent to deciders in order for them to make decisions.

See Also:

AWS API Reference

Definition at line 37 of file PollForDecisionTaskResult.h.

Constructor & Destructor Documentation

◆ PollForDecisionTaskResult() [1/2]

Aws::SWF::Model::PollForDecisionTaskResult::PollForDecisionTaskResult ( )

◆ PollForDecisionTaskResult() [2/2]

Aws::SWF::Model::PollForDecisionTaskResult::PollForDecisionTaskResult ( const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &  result)

Member Function Documentation

◆ AddEvents() [1/2]

PollForDecisionTaskResult& Aws::SWF::Model::PollForDecisionTaskResult::AddEvents ( const HistoryEvent value)
inline

A paginated list of history events of the workflow execution. The decider uses this during the processing of the decision task.

Definition at line 205 of file PollForDecisionTaskResult.h.

◆ AddEvents() [2/2]

PollForDecisionTaskResult& Aws::SWF::Model::PollForDecisionTaskResult::AddEvents ( HistoryEvent &&  value)
inline

A paginated list of history events of the workflow execution. The decider uses this during the processing of the decision task.

Definition at line 211 of file PollForDecisionTaskResult.h.

◆ GetEvents()

const Aws::Vector<HistoryEvent>& Aws::SWF::Model::PollForDecisionTaskResult::GetEvents ( ) const
inline

A paginated list of history events of the workflow execution. The decider uses this during the processing of the decision task.

Definition at line 175 of file PollForDecisionTaskResult.h.

◆ GetNextPageToken()

const Aws::String& Aws::SWF::Model::PollForDecisionTaskResult::GetNextPageToken ( ) const
inline

If a NextPageToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextPageToken. Keep all other arguments unchanged.

The configured maximumPageSize determines how many results can be returned in a single call.

Definition at line 221 of file PollForDecisionTaskResult.h.

◆ GetPreviousStartedEventId()

long long Aws::SWF::Model::PollForDecisionTaskResult::GetPreviousStartedEventId ( ) const
inline

The ID of the DecisionTaskStarted event of the previous decision task of this workflow execution that was processed by the decider. This can be used to determine the events in the history new since the last decision task received by the decider.

Definition at line 284 of file PollForDecisionTaskResult.h.

◆ GetStartedEventId()

long long Aws::SWF::Model::PollForDecisionTaskResult::GetStartedEventId ( ) const
inline

The ID of the DecisionTaskStarted event recorded in the history.

Definition at line 99 of file PollForDecisionTaskResult.h.

◆ GetTaskToken()

const Aws::String& Aws::SWF::Model::PollForDecisionTaskResult::GetTaskToken ( ) const
inline

The opaque string used as a handle on the task. This token is used by workers to communicate progress and response information back to the system about the task.

Definition at line 50 of file PollForDecisionTaskResult.h.

◆ GetWorkflowExecution()

const WorkflowExecution& Aws::SWF::Model::PollForDecisionTaskResult::GetWorkflowExecution ( ) const
inline

The workflow execution for which this decision task was created.

Definition at line 117 of file PollForDecisionTaskResult.h.

◆ GetWorkflowType()

const WorkflowType& Aws::SWF::Model::PollForDecisionTaskResult::GetWorkflowType ( ) const
inline

The type of the workflow execution for which this decision task was created.

Definition at line 144 of file PollForDecisionTaskResult.h.

◆ operator=()

PollForDecisionTaskResult& Aws::SWF::Model::PollForDecisionTaskResult::operator= ( const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &  result)

◆ SetEvents() [1/2]

void Aws::SWF::Model::PollForDecisionTaskResult::SetEvents ( Aws::Vector< HistoryEvent > &&  value)
inline

A paginated list of history events of the workflow execution. The decider uses this during the processing of the decision task.

Definition at line 187 of file PollForDecisionTaskResult.h.

◆ SetEvents() [2/2]

void Aws::SWF::Model::PollForDecisionTaskResult::SetEvents ( const Aws::Vector< HistoryEvent > &  value)
inline

A paginated list of history events of the workflow execution. The decider uses this during the processing of the decision task.

Definition at line 181 of file PollForDecisionTaskResult.h.

◆ SetNextPageToken() [1/3]

void Aws::SWF::Model::PollForDecisionTaskResult::SetNextPageToken ( Aws::String &&  value)
inline

If a NextPageToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextPageToken. Keep all other arguments unchanged.

The configured maximumPageSize determines how many results can be returned in a single call.

Definition at line 239 of file PollForDecisionTaskResult.h.

◆ SetNextPageToken() [2/3]

void Aws::SWF::Model::PollForDecisionTaskResult::SetNextPageToken ( const Aws::String value)
inline

If a NextPageToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextPageToken. Keep all other arguments unchanged.

The configured maximumPageSize determines how many results can be returned in a single call.

Definition at line 230 of file PollForDecisionTaskResult.h.

◆ SetNextPageToken() [3/3]

void Aws::SWF::Model::PollForDecisionTaskResult::SetNextPageToken ( const char *  value)
inline

If a NextPageToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextPageToken. Keep all other arguments unchanged.

The configured maximumPageSize determines how many results can be returned in a single call.

Definition at line 248 of file PollForDecisionTaskResult.h.

◆ SetPreviousStartedEventId()

void Aws::SWF::Model::PollForDecisionTaskResult::SetPreviousStartedEventId ( long long  value)
inline

The ID of the DecisionTaskStarted event of the previous decision task of this workflow execution that was processed by the decider. This can be used to determine the events in the history new since the last decision task received by the decider.

Definition at line 292 of file PollForDecisionTaskResult.h.

◆ SetStartedEventId()

void Aws::SWF::Model::PollForDecisionTaskResult::SetStartedEventId ( long long  value)
inline

The ID of the DecisionTaskStarted event recorded in the history.

Definition at line 105 of file PollForDecisionTaskResult.h.

◆ SetTaskToken() [1/3]

void Aws::SWF::Model::PollForDecisionTaskResult::SetTaskToken ( Aws::String &&  value)
inline

The opaque string used as a handle on the task. This token is used by workers to communicate progress and response information back to the system about the task.

Definition at line 64 of file PollForDecisionTaskResult.h.

◆ SetTaskToken() [2/3]

void Aws::SWF::Model::PollForDecisionTaskResult::SetTaskToken ( const Aws::String value)
inline

The opaque string used as a handle on the task. This token is used by workers to communicate progress and response information back to the system about the task.

Definition at line 57 of file PollForDecisionTaskResult.h.

◆ SetTaskToken() [3/3]

void Aws::SWF::Model::PollForDecisionTaskResult::SetTaskToken ( const char *  value)
inline

The opaque string used as a handle on the task. This token is used by workers to communicate progress and response information back to the system about the task.

Definition at line 71 of file PollForDecisionTaskResult.h.

◆ SetWorkflowExecution() [1/2]

void Aws::SWF::Model::PollForDecisionTaskResult::SetWorkflowExecution ( const WorkflowExecution value)
inline

The workflow execution for which this decision task was created.

Definition at line 122 of file PollForDecisionTaskResult.h.

◆ SetWorkflowExecution() [2/2]

void Aws::SWF::Model::PollForDecisionTaskResult::SetWorkflowExecution ( WorkflowExecution &&  value)
inline

The workflow execution for which this decision task was created.

Definition at line 127 of file PollForDecisionTaskResult.h.

◆ SetWorkflowType() [1/2]

void Aws::SWF::Model::PollForDecisionTaskResult::SetWorkflowType ( const WorkflowType value)
inline

The type of the workflow execution for which this decision task was created.

Definition at line 150 of file PollForDecisionTaskResult.h.

◆ SetWorkflowType() [2/2]

void Aws::SWF::Model::PollForDecisionTaskResult::SetWorkflowType ( WorkflowType &&  value)
inline

The type of the workflow execution for which this decision task was created.

Definition at line 156 of file PollForDecisionTaskResult.h.

◆ WithEvents() [1/2]

PollForDecisionTaskResult& Aws::SWF::Model::PollForDecisionTaskResult::WithEvents ( Aws::Vector< HistoryEvent > &&  value)
inline

A paginated list of history events of the workflow execution. The decider uses this during the processing of the decision task.

Definition at line 199 of file PollForDecisionTaskResult.h.

◆ WithEvents() [2/2]

PollForDecisionTaskResult& Aws::SWF::Model::PollForDecisionTaskResult::WithEvents ( const Aws::Vector< HistoryEvent > &  value)
inline

A paginated list of history events of the workflow execution. The decider uses this during the processing of the decision task.

Definition at line 193 of file PollForDecisionTaskResult.h.

◆ WithNextPageToken() [1/3]

PollForDecisionTaskResult& Aws::SWF::Model::PollForDecisionTaskResult::WithNextPageToken ( Aws::String &&  value)
inline

If a NextPageToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextPageToken. Keep all other arguments unchanged.

The configured maximumPageSize determines how many results can be returned in a single call.

Definition at line 266 of file PollForDecisionTaskResult.h.

◆ WithNextPageToken() [2/3]

PollForDecisionTaskResult& Aws::SWF::Model::PollForDecisionTaskResult::WithNextPageToken ( const Aws::String value)
inline

If a NextPageToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextPageToken. Keep all other arguments unchanged.

The configured maximumPageSize determines how many results can be returned in a single call.

Definition at line 257 of file PollForDecisionTaskResult.h.

◆ WithNextPageToken() [3/3]

PollForDecisionTaskResult& Aws::SWF::Model::PollForDecisionTaskResult::WithNextPageToken ( const char *  value)
inline

If a NextPageToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextPageToken. Keep all other arguments unchanged.

The configured maximumPageSize determines how many results can be returned in a single call.

Definition at line 275 of file PollForDecisionTaskResult.h.

◆ WithPreviousStartedEventId()

PollForDecisionTaskResult& Aws::SWF::Model::PollForDecisionTaskResult::WithPreviousStartedEventId ( long long  value)
inline

The ID of the DecisionTaskStarted event of the previous decision task of this workflow execution that was processed by the decider. This can be used to determine the events in the history new since the last decision task received by the decider.

Definition at line 300 of file PollForDecisionTaskResult.h.

◆ WithStartedEventId()

PollForDecisionTaskResult& Aws::SWF::Model::PollForDecisionTaskResult::WithStartedEventId ( long long  value)
inline

The ID of the DecisionTaskStarted event recorded in the history.

Definition at line 111 of file PollForDecisionTaskResult.h.

◆ WithTaskToken() [1/3]

PollForDecisionTaskResult& Aws::SWF::Model::PollForDecisionTaskResult::WithTaskToken ( Aws::String &&  value)
inline

The opaque string used as a handle on the task. This token is used by workers to communicate progress and response information back to the system about the task.

Definition at line 85 of file PollForDecisionTaskResult.h.

◆ WithTaskToken() [2/3]

PollForDecisionTaskResult& Aws::SWF::Model::PollForDecisionTaskResult::WithTaskToken ( const Aws::String value)
inline

The opaque string used as a handle on the task. This token is used by workers to communicate progress and response information back to the system about the task.

Definition at line 78 of file PollForDecisionTaskResult.h.

◆ WithTaskToken() [3/3]

PollForDecisionTaskResult& Aws::SWF::Model::PollForDecisionTaskResult::WithTaskToken ( const char *  value)
inline

The opaque string used as a handle on the task. This token is used by workers to communicate progress and response information back to the system about the task.

Definition at line 92 of file PollForDecisionTaskResult.h.

◆ WithWorkflowExecution() [1/2]

PollForDecisionTaskResult& Aws::SWF::Model::PollForDecisionTaskResult::WithWorkflowExecution ( const WorkflowExecution value)
inline

The workflow execution for which this decision task was created.

Definition at line 132 of file PollForDecisionTaskResult.h.

◆ WithWorkflowExecution() [2/2]

PollForDecisionTaskResult& Aws::SWF::Model::PollForDecisionTaskResult::WithWorkflowExecution ( WorkflowExecution &&  value)
inline

The workflow execution for which this decision task was created.

Definition at line 137 of file PollForDecisionTaskResult.h.

◆ WithWorkflowType() [1/2]

PollForDecisionTaskResult& Aws::SWF::Model::PollForDecisionTaskResult::WithWorkflowType ( const WorkflowType value)
inline

The type of the workflow execution for which this decision task was created.

Definition at line 162 of file PollForDecisionTaskResult.h.

◆ WithWorkflowType() [2/2]

PollForDecisionTaskResult& Aws::SWF::Model::PollForDecisionTaskResult::WithWorkflowType ( WorkflowType &&  value)
inline

The type of the workflow execution for which this decision task was created.

Definition at line 168 of file PollForDecisionTaskResult.h.


The documentation for this class was generated from the following file: