AWS SDK for C++  1.9.154
AWS SDK for C++
PollForActivityTaskResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/swf/SWF_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace SWF
26 {
27 namespace Model
28 {
35  {
36  public:
40 
41 
47  inline const Aws::String& GetTaskToken() const{ return m_taskToken; }
48 
54  inline void SetTaskToken(const Aws::String& value) { m_taskToken = value; }
55 
61  inline void SetTaskToken(Aws::String&& value) { m_taskToken = std::move(value); }
62 
68  inline void SetTaskToken(const char* value) { m_taskToken.assign(value); }
69 
75  inline PollForActivityTaskResult& WithTaskToken(const Aws::String& value) { SetTaskToken(value); return *this;}
76 
82  inline PollForActivityTaskResult& WithTaskToken(Aws::String&& value) { SetTaskToken(std::move(value)); return *this;}
83 
89  inline PollForActivityTaskResult& WithTaskToken(const char* value) { SetTaskToken(value); return *this;}
90 
91 
95  inline const Aws::String& GetActivityId() const{ return m_activityId; }
96 
100  inline void SetActivityId(const Aws::String& value) { m_activityId = value; }
101 
105  inline void SetActivityId(Aws::String&& value) { m_activityId = std::move(value); }
106 
110  inline void SetActivityId(const char* value) { m_activityId.assign(value); }
111 
115  inline PollForActivityTaskResult& WithActivityId(const Aws::String& value) { SetActivityId(value); return *this;}
116 
120  inline PollForActivityTaskResult& WithActivityId(Aws::String&& value) { SetActivityId(std::move(value)); return *this;}
121 
125  inline PollForActivityTaskResult& WithActivityId(const char* value) { SetActivityId(value); return *this;}
126 
127 
132  inline long long GetStartedEventId() const{ return m_startedEventId; }
133 
138  inline void SetStartedEventId(long long value) { m_startedEventId = value; }
139 
144  inline PollForActivityTaskResult& WithStartedEventId(long long value) { SetStartedEventId(value); return *this;}
145 
146 
150  inline const WorkflowExecution& GetWorkflowExecution() const{ return m_workflowExecution; }
151 
155  inline void SetWorkflowExecution(const WorkflowExecution& value) { m_workflowExecution = value; }
156 
160  inline void SetWorkflowExecution(WorkflowExecution&& value) { m_workflowExecution = std::move(value); }
161 
165  inline PollForActivityTaskResult& WithWorkflowExecution(const WorkflowExecution& value) { SetWorkflowExecution(value); return *this;}
166 
170  inline PollForActivityTaskResult& WithWorkflowExecution(WorkflowExecution&& value) { SetWorkflowExecution(std::move(value)); return *this;}
171 
172 
176  inline const ActivityType& GetActivityType() const{ return m_activityType; }
177 
181  inline void SetActivityType(const ActivityType& value) { m_activityType = value; }
182 
186  inline void SetActivityType(ActivityType&& value) { m_activityType = std::move(value); }
187 
191  inline PollForActivityTaskResult& WithActivityType(const ActivityType& value) { SetActivityType(value); return *this;}
192 
196  inline PollForActivityTaskResult& WithActivityType(ActivityType&& value) { SetActivityType(std::move(value)); return *this;}
197 
198 
204  inline const Aws::String& GetInput() const{ return m_input; }
205 
211  inline void SetInput(const Aws::String& value) { m_input = value; }
212 
218  inline void SetInput(Aws::String&& value) { m_input = std::move(value); }
219 
225  inline void SetInput(const char* value) { m_input.assign(value); }
226 
232  inline PollForActivityTaskResult& WithInput(const Aws::String& value) { SetInput(value); return *this;}
233 
239  inline PollForActivityTaskResult& WithInput(Aws::String&& value) { SetInput(std::move(value)); return *this;}
240 
246  inline PollForActivityTaskResult& WithInput(const char* value) { SetInput(value); return *this;}
247 
248  private:
249 
250  Aws::String m_taskToken;
251 
252  Aws::String m_activityId;
253 
254  long long m_startedEventId;
255 
256  WorkflowExecution m_workflowExecution;
257 
258  ActivityType m_activityType;
259 
260  Aws::String m_input;
261  };
262 
263 } // namespace Model
264 } // namespace SWF
265 } // namespace Aws
Aws::SWF::Model::PollForActivityTaskResult::SetWorkflowExecution
void SetWorkflowExecution(WorkflowExecution &&value)
Definition: PollForActivityTaskResult.h:160
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SWF::Model::PollForActivityTaskResult::WithWorkflowExecution
PollForActivityTaskResult & WithWorkflowExecution(const WorkflowExecution &value)
Definition: PollForActivityTaskResult.h:165
Aws::SWF::Model::PollForActivityTaskResult::WithActivityId
PollForActivityTaskResult & WithActivityId(const char *value)
Definition: PollForActivityTaskResult.h:125
Aws::SWF::Model::PollForActivityTaskResult::WithStartedEventId
PollForActivityTaskResult & WithStartedEventId(long long value)
Definition: PollForActivityTaskResult.h:144
Aws::SWF::Model::PollForActivityTaskResult::SetTaskToken
void SetTaskToken(Aws::String &&value)
Definition: PollForActivityTaskResult.h:61
Aws::SWF::Model::PollForActivityTaskResult::SetActivityId
void SetActivityId(const char *value)
Definition: PollForActivityTaskResult.h:110
Aws::SWF::Model::PollForActivityTaskResult::SetInput
void SetInput(Aws::String &&value)
Definition: PollForActivityTaskResult.h:218
Aws::SWF::Model::PollForActivityTaskResult::GetActivityType
const ActivityType & GetActivityType() const
Definition: PollForActivityTaskResult.h:176
Aws::SWF::Model::PollForActivityTaskResult::WithWorkflowExecution
PollForActivityTaskResult & WithWorkflowExecution(WorkflowExecution &&value)
Definition: PollForActivityTaskResult.h:170
Aws::SWF::Model::PollForActivityTaskResult::WithTaskToken
PollForActivityTaskResult & WithTaskToken(Aws::String &&value)
Definition: PollForActivityTaskResult.h:82
Aws::SWF::Model::PollForActivityTaskResult::GetInput
const Aws::String & GetInput() const
Definition: PollForActivityTaskResult.h:204
Aws::SWF::Model::PollForActivityTaskResult::GetWorkflowExecution
const WorkflowExecution & GetWorkflowExecution() const
Definition: PollForActivityTaskResult.h:150
Aws::SWF::Model::PollForActivityTaskResult::WithActivityId
PollForActivityTaskResult & WithActivityId(const Aws::String &value)
Definition: PollForActivityTaskResult.h:115
Aws::SWF::Model::PollForActivityTaskResult::WithInput
PollForActivityTaskResult & WithInput(const char *value)
Definition: PollForActivityTaskResult.h:246
Aws::SWF::Model::PollForActivityTaskResult::WithActivityType
PollForActivityTaskResult & WithActivityType(const ActivityType &value)
Definition: PollForActivityTaskResult.h:191
WorkflowExecution.h
Aws::SWF::Model::PollForActivityTaskResult::SetInput
void SetInput(const Aws::String &value)
Definition: PollForActivityTaskResult.h:211
Aws::SWF::Model::PollForActivityTaskResult::WithTaskToken
PollForActivityTaskResult & WithTaskToken(const char *value)
Definition: PollForActivityTaskResult.h:89
SWF_EXPORTS.h
Aws::SWF::Model::PollForActivityTaskResult::GetActivityId
const Aws::String & GetActivityId() const
Definition: PollForActivityTaskResult.h:95
Aws::DevOpsGuru::Model::ServiceName::NOT_SET
@ NOT_SET
Aws::SWF::Model::PollForActivityTaskResult::PollForActivityTaskResult
PollForActivityTaskResult()
Aws::SWF::Model::PollForActivityTaskResult::SetActivityType
void SetActivityType(ActivityType &&value)
Definition: PollForActivityTaskResult.h:186
AWSString.h
Aws::SWF::Model::PollForActivityTaskResult::operator=
PollForActivityTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SWF::Model::PollForActivityTaskResult::SetInput
void SetInput(const char *value)
Definition: PollForActivityTaskResult.h:225
Aws::SWF::Model::PollForActivityTaskResult::WithTaskToken
PollForActivityTaskResult & WithTaskToken(const Aws::String &value)
Definition: PollForActivityTaskResult.h:75
Aws::SWF::Model::PollForActivityTaskResult::WithInput
PollForActivityTaskResult & WithInput(const Aws::String &value)
Definition: PollForActivityTaskResult.h:232
Aws::SWF::Model::ActivityType
Definition: ActivityType.h:32
Aws::SWF::Model::PollForActivityTaskResult::SetTaskToken
void SetTaskToken(const char *value)
Definition: PollForActivityTaskResult.h:68
Aws::SWF::Model::PollForActivityTaskResult::GetTaskToken
const Aws::String & GetTaskToken() const
Definition: PollForActivityTaskResult.h:47
Aws::SWF::Model::PollForActivityTaskResult::SetActivityId
void SetActivityId(Aws::String &&value)
Definition: PollForActivityTaskResult.h:105
Aws::SWF::Model::PollForActivityTaskResult::GetStartedEventId
long long GetStartedEventId() const
Definition: PollForActivityTaskResult.h:132
Aws::SWF::Model::PollForActivityTaskResult::SetStartedEventId
void SetStartedEventId(long long value)
Definition: PollForActivityTaskResult.h:138
Aws::SWF::Model::PollForActivityTaskResult::WithInput
PollForActivityTaskResult & WithInput(Aws::String &&value)
Definition: PollForActivityTaskResult.h:239
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
ActivityType.h
AWS_SWF_API
#define AWS_SWF_API
Definition: SWF_EXPORTS.h:28
Aws::SWF::Model::PollForActivityTaskResult::SetActivityId
void SetActivityId(const Aws::String &value)
Definition: PollForActivityTaskResult.h:100
Aws::SWF::Model::WorkflowExecution
Definition: WorkflowExecution.h:32
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SWF::Model::PollForActivityTaskResult::PollForActivityTaskResult
PollForActivityTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SWF::Model::PollForActivityTaskResult::SetActivityType
void SetActivityType(const ActivityType &value)
Definition: PollForActivityTaskResult.h:181
Aws::SWF::Model::PollForActivityTaskResult::WithActivityType
PollForActivityTaskResult & WithActivityType(ActivityType &&value)
Definition: PollForActivityTaskResult.h:196
Aws::SWF::Model::PollForActivityTaskResult::WithActivityId
PollForActivityTaskResult & WithActivityId(Aws::String &&value)
Definition: PollForActivityTaskResult.h:120
Aws::SWF::Model::PollForActivityTaskResult
Definition: PollForActivityTaskResult.h:35
Aws::SWF::Model::PollForActivityTaskResult::SetTaskToken
void SetTaskToken(const Aws::String &value)
Definition: PollForActivityTaskResult.h:54
Aws::SWF::Model::PollForActivityTaskResult::SetWorkflowExecution
void SetWorkflowExecution(const WorkflowExecution &value)
Definition: PollForActivityTaskResult.h:155