AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PollForActivityTaskResult.h
1
6#pragma once
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/ActivityType.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace SWF
26{
27namespace Model
28{
35 {
36 public:
40
41
43
48 inline const Aws::String& GetTaskToken() const{ return m_taskToken; }
49 inline void SetTaskToken(const Aws::String& value) { m_taskToken = value; }
50 inline void SetTaskToken(Aws::String&& value) { m_taskToken = std::move(value); }
51 inline void SetTaskToken(const char* value) { m_taskToken.assign(value); }
52 inline PollForActivityTaskResult& WithTaskToken(const Aws::String& value) { SetTaskToken(value); return *this;}
53 inline PollForActivityTaskResult& WithTaskToken(Aws::String&& value) { SetTaskToken(std::move(value)); return *this;}
54 inline PollForActivityTaskResult& WithTaskToken(const char* value) { SetTaskToken(value); return *this;}
56
58
61 inline const Aws::String& GetActivityId() const{ return m_activityId; }
62 inline void SetActivityId(const Aws::String& value) { m_activityId = value; }
63 inline void SetActivityId(Aws::String&& value) { m_activityId = std::move(value); }
64 inline void SetActivityId(const char* value) { m_activityId.assign(value); }
65 inline PollForActivityTaskResult& WithActivityId(const Aws::String& value) { SetActivityId(value); return *this;}
66 inline PollForActivityTaskResult& WithActivityId(Aws::String&& value) { SetActivityId(std::move(value)); return *this;}
67 inline PollForActivityTaskResult& WithActivityId(const char* value) { SetActivityId(value); return *this;}
69
71
75 inline long long GetStartedEventId() const{ return m_startedEventId; }
76 inline void SetStartedEventId(long long value) { m_startedEventId = value; }
77 inline PollForActivityTaskResult& WithStartedEventId(long long value) { SetStartedEventId(value); return *this;}
79
81
84 inline const WorkflowExecution& GetWorkflowExecution() const{ return m_workflowExecution; }
85 inline void SetWorkflowExecution(const WorkflowExecution& value) { m_workflowExecution = value; }
86 inline void SetWorkflowExecution(WorkflowExecution&& value) { m_workflowExecution = std::move(value); }
90
92
95 inline const ActivityType& GetActivityType() const{ return m_activityType; }
96 inline void SetActivityType(const ActivityType& value) { m_activityType = value; }
97 inline void SetActivityType(ActivityType&& value) { m_activityType = std::move(value); }
98 inline PollForActivityTaskResult& WithActivityType(const ActivityType& value) { SetActivityType(value); return *this;}
99 inline PollForActivityTaskResult& WithActivityType(ActivityType&& value) { SetActivityType(std::move(value)); return *this;}
101
103
108 inline const Aws::String& GetInput() const{ return m_input; }
109 inline void SetInput(const Aws::String& value) { m_input = value; }
110 inline void SetInput(Aws::String&& value) { m_input = std::move(value); }
111 inline void SetInput(const char* value) { m_input.assign(value); }
112 inline PollForActivityTaskResult& WithInput(const Aws::String& value) { SetInput(value); return *this;}
113 inline PollForActivityTaskResult& WithInput(Aws::String&& value) { SetInput(std::move(value)); return *this;}
114 inline PollForActivityTaskResult& WithInput(const char* value) { SetInput(value); return *this;}
116
118
119 inline const Aws::String& GetRequestId() const{ return m_requestId; }
120 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
121 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
122 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
123 inline PollForActivityTaskResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
124 inline PollForActivityTaskResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
125 inline PollForActivityTaskResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
127 private:
128
129 Aws::String m_taskToken;
130
131 Aws::String m_activityId;
132
133 long long m_startedEventId;
134
135 WorkflowExecution m_workflowExecution;
136
137 ActivityType m_activityType;
138
139 Aws::String m_input;
140
141 Aws::String m_requestId;
142 };
143
144} // namespace Model
145} // namespace SWF
146} // namespace Aws
PollForActivityTaskResult & WithTaskToken(const char *value)
AWS_SWF_API PollForActivityTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PollForActivityTaskResult & WithActivityId(const char *value)
PollForActivityTaskResult & WithInput(Aws::String &&value)
PollForActivityTaskResult & WithWorkflowExecution(const WorkflowExecution &value)
const WorkflowExecution & GetWorkflowExecution() const
PollForActivityTaskResult & WithRequestId(const Aws::String &value)
PollForActivityTaskResult & WithActivityType(const ActivityType &value)
void SetWorkflowExecution(const WorkflowExecution &value)
PollForActivityTaskResult & WithInput(const char *value)
AWS_SWF_API PollForActivityTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PollForActivityTaskResult & WithRequestId(const char *value)
PollForActivityTaskResult & WithActivityType(ActivityType &&value)
PollForActivityTaskResult & WithStartedEventId(long long value)
PollForActivityTaskResult & WithTaskToken(const Aws::String &value)
PollForActivityTaskResult & WithTaskToken(Aws::String &&value)
PollForActivityTaskResult & WithRequestId(Aws::String &&value)
void SetWorkflowExecution(WorkflowExecution &&value)
PollForActivityTaskResult & WithActivityId(const Aws::String &value)
PollForActivityTaskResult & WithInput(const Aws::String &value)
PollForActivityTaskResult & WithWorkflowExecution(WorkflowExecution &&value)
PollForActivityTaskResult & WithActivityId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue