AWS SDK for C++  0.12.9
AWS SDK for C++
ActivityTaskScheduledEventAttributes.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
16 #include <aws/swf/SWF_EXPORTS.h>
19 #include <aws/swf/model/TaskList.h>
20 
21 namespace Aws
22 {
23 namespace Utils
24 {
25 namespace Json
26 {
27  class JsonValue;
28 } // namespace Json
29 } // namespace Utils
30 namespace SWF
31 {
32 namespace Model
33 {
34 
39  {
40  public:
44  Aws::Utils::Json::JsonValue Jsonize() const;
45 
49  inline const ActivityType& GetActivityType() const{ return m_activityType; }
50 
54  inline void SetActivityType(const ActivityType& value) { m_activityTypeHasBeenSet = true; m_activityType = value; }
55 
59  inline void SetActivityType(ActivityType&& value) { m_activityTypeHasBeenSet = true; m_activityType = value; }
60 
64  inline ActivityTaskScheduledEventAttributes& WithActivityType(const ActivityType& value) { SetActivityType(value); return *this;}
65 
69  inline ActivityTaskScheduledEventAttributes& WithActivityType(ActivityType&& value) { SetActivityType(value); return *this;}
70 
74  inline const Aws::String& GetActivityId() const{ return m_activityId; }
75 
79  inline void SetActivityId(const Aws::String& value) { m_activityIdHasBeenSet = true; m_activityId = value; }
80 
84  inline void SetActivityId(Aws::String&& value) { m_activityIdHasBeenSet = true; m_activityId = value; }
85 
89  inline void SetActivityId(const char* value) { m_activityIdHasBeenSet = true; m_activityId.assign(value); }
90 
94  inline ActivityTaskScheduledEventAttributes& WithActivityId(const Aws::String& value) { SetActivityId(value); return *this;}
95 
99  inline ActivityTaskScheduledEventAttributes& WithActivityId(Aws::String&& value) { SetActivityId(value); return *this;}
100 
104  inline ActivityTaskScheduledEventAttributes& WithActivityId(const char* value) { SetActivityId(value); return *this;}
105 
109  inline const Aws::String& GetInput() const{ return m_input; }
110 
114  inline void SetInput(const Aws::String& value) { m_inputHasBeenSet = true; m_input = value; }
115 
119  inline void SetInput(Aws::String&& value) { m_inputHasBeenSet = true; m_input = value; }
120 
124  inline void SetInput(const char* value) { m_inputHasBeenSet = true; m_input.assign(value); }
125 
129  inline ActivityTaskScheduledEventAttributes& WithInput(const Aws::String& value) { SetInput(value); return *this;}
130 
134  inline ActivityTaskScheduledEventAttributes& WithInput(Aws::String&& value) { SetInput(value); return *this;}
135 
139  inline ActivityTaskScheduledEventAttributes& WithInput(const char* value) { SetInput(value); return *this;}
140 
145  inline const Aws::String& GetControl() const{ return m_control; }
146 
151  inline void SetControl(const Aws::String& value) { m_controlHasBeenSet = true; m_control = value; }
152 
157  inline void SetControl(Aws::String&& value) { m_controlHasBeenSet = true; m_control = value; }
158 
163  inline void SetControl(const char* value) { m_controlHasBeenSet = true; m_control.assign(value); }
164 
169  inline ActivityTaskScheduledEventAttributes& WithControl(const Aws::String& value) { SetControl(value); return *this;}
170 
175  inline ActivityTaskScheduledEventAttributes& WithControl(Aws::String&& value) { SetControl(value); return *this;}
176 
181  inline ActivityTaskScheduledEventAttributes& WithControl(const char* value) { SetControl(value); return *this;}
182 
187  inline const Aws::String& GetScheduleToStartTimeout() const{ return m_scheduleToStartTimeout; }
188 
193  inline void SetScheduleToStartTimeout(const Aws::String& value) { m_scheduleToStartTimeoutHasBeenSet = true; m_scheduleToStartTimeout = value; }
194 
199  inline void SetScheduleToStartTimeout(Aws::String&& value) { m_scheduleToStartTimeoutHasBeenSet = true; m_scheduleToStartTimeout = value; }
200 
205  inline void SetScheduleToStartTimeout(const char* value) { m_scheduleToStartTimeoutHasBeenSet = true; m_scheduleToStartTimeout.assign(value); }
206 
211  inline ActivityTaskScheduledEventAttributes& WithScheduleToStartTimeout(const Aws::String& value) { SetScheduleToStartTimeout(value); return *this;}
212 
217  inline ActivityTaskScheduledEventAttributes& WithScheduleToStartTimeout(Aws::String&& value) { SetScheduleToStartTimeout(value); return *this;}
218 
223  inline ActivityTaskScheduledEventAttributes& WithScheduleToStartTimeout(const char* value) { SetScheduleToStartTimeout(value); return *this;}
224 
228  inline const Aws::String& GetScheduleToCloseTimeout() const{ return m_scheduleToCloseTimeout; }
229 
233  inline void SetScheduleToCloseTimeout(const Aws::String& value) { m_scheduleToCloseTimeoutHasBeenSet = true; m_scheduleToCloseTimeout = value; }
234 
238  inline void SetScheduleToCloseTimeout(Aws::String&& value) { m_scheduleToCloseTimeoutHasBeenSet = true; m_scheduleToCloseTimeout = value; }
239 
243  inline void SetScheduleToCloseTimeout(const char* value) { m_scheduleToCloseTimeoutHasBeenSet = true; m_scheduleToCloseTimeout.assign(value); }
244 
248  inline ActivityTaskScheduledEventAttributes& WithScheduleToCloseTimeout(const Aws::String& value) { SetScheduleToCloseTimeout(value); return *this;}
249 
253  inline ActivityTaskScheduledEventAttributes& WithScheduleToCloseTimeout(Aws::String&& value) { SetScheduleToCloseTimeout(value); return *this;}
254 
258  inline ActivityTaskScheduledEventAttributes& WithScheduleToCloseTimeout(const char* value) { SetScheduleToCloseTimeout(value); return *this;}
259 
264  inline const Aws::String& GetStartToCloseTimeout() const{ return m_startToCloseTimeout; }
265 
270  inline void SetStartToCloseTimeout(const Aws::String& value) { m_startToCloseTimeoutHasBeenSet = true; m_startToCloseTimeout = value; }
271 
276  inline void SetStartToCloseTimeout(Aws::String&& value) { m_startToCloseTimeoutHasBeenSet = true; m_startToCloseTimeout = value; }
277 
282  inline void SetStartToCloseTimeout(const char* value) { m_startToCloseTimeoutHasBeenSet = true; m_startToCloseTimeout.assign(value); }
283 
288  inline ActivityTaskScheduledEventAttributes& WithStartToCloseTimeout(const Aws::String& value) { SetStartToCloseTimeout(value); return *this;}
289 
294  inline ActivityTaskScheduledEventAttributes& WithStartToCloseTimeout(Aws::String&& value) { SetStartToCloseTimeout(value); return *this;}
295 
300  inline ActivityTaskScheduledEventAttributes& WithStartToCloseTimeout(const char* value) { SetStartToCloseTimeout(value); return *this;}
301 
305  inline const TaskList& GetTaskList() const{ return m_taskList; }
306 
310  inline void SetTaskList(const TaskList& value) { m_taskListHasBeenSet = true; m_taskList = value; }
311 
315  inline void SetTaskList(TaskList&& value) { m_taskListHasBeenSet = true; m_taskList = value; }
316 
320  inline ActivityTaskScheduledEventAttributes& WithTaskList(const TaskList& value) { SetTaskList(value); return *this;}
321 
325  inline ActivityTaskScheduledEventAttributes& WithTaskList(TaskList&& value) { SetTaskList(value); return *this;}
326 
337  inline const Aws::String& GetTaskPriority() const{ return m_taskPriority; }
338 
349  inline void SetTaskPriority(const Aws::String& value) { m_taskPriorityHasBeenSet = true; m_taskPriority = value; }
350 
361  inline void SetTaskPriority(Aws::String&& value) { m_taskPriorityHasBeenSet = true; m_taskPriority = value; }
362 
373  inline void SetTaskPriority(const char* value) { m_taskPriorityHasBeenSet = true; m_taskPriority.assign(value); }
374 
385  inline ActivityTaskScheduledEventAttributes& WithTaskPriority(const Aws::String& value) { SetTaskPriority(value); return *this;}
386 
397  inline ActivityTaskScheduledEventAttributes& WithTaskPriority(Aws::String&& value) { SetTaskPriority(value); return *this;}
398 
409  inline ActivityTaskScheduledEventAttributes& WithTaskPriority(const char* value) { SetTaskPriority(value); return *this;}
410 
417  inline long long GetDecisionTaskCompletedEventId() const{ return m_decisionTaskCompletedEventId; }
418 
425  inline void SetDecisionTaskCompletedEventId(long long value) { m_decisionTaskCompletedEventIdHasBeenSet = true; m_decisionTaskCompletedEventId = value; }
426 
433  inline ActivityTaskScheduledEventAttributes& WithDecisionTaskCompletedEventId(long long value) { SetDecisionTaskCompletedEventId(value); return *this;}
434 
442  inline const Aws::String& GetHeartbeatTimeout() const{ return m_heartbeatTimeout; }
443 
451  inline void SetHeartbeatTimeout(const Aws::String& value) { m_heartbeatTimeoutHasBeenSet = true; m_heartbeatTimeout = value; }
452 
460  inline void SetHeartbeatTimeout(Aws::String&& value) { m_heartbeatTimeoutHasBeenSet = true; m_heartbeatTimeout = value; }
461 
469  inline void SetHeartbeatTimeout(const char* value) { m_heartbeatTimeoutHasBeenSet = true; m_heartbeatTimeout.assign(value); }
470 
478  inline ActivityTaskScheduledEventAttributes& WithHeartbeatTimeout(const Aws::String& value) { SetHeartbeatTimeout(value); return *this;}
479 
487  inline ActivityTaskScheduledEventAttributes& WithHeartbeatTimeout(Aws::String&& value) { SetHeartbeatTimeout(value); return *this;}
488 
496  inline ActivityTaskScheduledEventAttributes& WithHeartbeatTimeout(const char* value) { SetHeartbeatTimeout(value); return *this;}
497 
498  private:
499  ActivityType m_activityType;
500  bool m_activityTypeHasBeenSet;
501  Aws::String m_activityId;
502  bool m_activityIdHasBeenSet;
503  Aws::String m_input;
504  bool m_inputHasBeenSet;
505  Aws::String m_control;
506  bool m_controlHasBeenSet;
507  Aws::String m_scheduleToStartTimeout;
508  bool m_scheduleToStartTimeoutHasBeenSet;
509  Aws::String m_scheduleToCloseTimeout;
510  bool m_scheduleToCloseTimeoutHasBeenSet;
511  Aws::String m_startToCloseTimeout;
512  bool m_startToCloseTimeoutHasBeenSet;
513  TaskList m_taskList;
514  bool m_taskListHasBeenSet;
515  Aws::String m_taskPriority;
516  bool m_taskPriorityHasBeenSet;
517  long long m_decisionTaskCompletedEventId;
518  bool m_decisionTaskCompletedEventIdHasBeenSet;
519  Aws::String m_heartbeatTimeout;
520  bool m_heartbeatTimeoutHasBeenSet;
521  };
522 
523 } // namespace Model
524 } // namespace SWF
525 } // namespace Aws
ActivityTaskScheduledEventAttributes & WithScheduleToCloseTimeout(const char *value)
ActivityTaskScheduledEventAttributes & WithInput(const char *value)
ActivityTaskScheduledEventAttributes & WithScheduleToStartTimeout(Aws::String &&value)
#define AWS_SWF_API
Definition: SWF_EXPORTS.h:34
ActivityTaskScheduledEventAttributes & WithControl(const char *value)
ActivityTaskScheduledEventAttributes & WithScheduleToCloseTimeout(Aws::String &&value)
ActivityTaskScheduledEventAttributes & WithTaskPriority(Aws::String &&value)
ActivityTaskScheduledEventAttributes & WithActivityType(const ActivityType &value)
ActivityTaskScheduledEventAttributes & WithInput(const Aws::String &value)
ActivityTaskScheduledEventAttributes & WithHeartbeatTimeout(const char *value)
ActivityTaskScheduledEventAttributes & WithStartToCloseTimeout(const char *value)
ActivityTaskScheduledEventAttributes & WithTaskPriority(const Aws::String &value)
ActivityTaskScheduledEventAttributes & WithTaskList(TaskList &&value)
ActivityTaskScheduledEventAttributes & WithControl(const Aws::String &value)
ActivityTaskScheduledEventAttributes & WithActivityId(const Aws::String &value)
ActivityTaskScheduledEventAttributes & WithActivityId(const char *value)
ActivityTaskScheduledEventAttributes & WithStartToCloseTimeout(const Aws::String &value)
ActivityTaskScheduledEventAttributes & WithTaskList(const TaskList &value)
ActivityTaskScheduledEventAttributes & WithInput(Aws::String &&value)
ActivityTaskScheduledEventAttributes & WithScheduleToCloseTimeout(const Aws::String &value)
ActivityTaskScheduledEventAttributes & WithTaskPriority(const char *value)
ActivityTaskScheduledEventAttributes & WithControl(Aws::String &&value)
ActivityTaskScheduledEventAttributes & WithHeartbeatTimeout(const Aws::String &value)
ActivityTaskScheduledEventAttributes & WithStartToCloseTimeout(Aws::String &&value)
ActivityTaskScheduledEventAttributes & WithScheduleToStartTimeout(const char *value)
ActivityTaskScheduledEventAttributes & WithActivityId(Aws::String &&value)
ActivityTaskScheduledEventAttributes & WithScheduleToStartTimeout(const Aws::String &value)
ActivityTaskScheduledEventAttributes & WithHeartbeatTimeout(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ActivityTaskScheduledEventAttributes & WithDecisionTaskCompletedEventId(long long value)
ActivityTaskScheduledEventAttributes & WithActivityType(ActivityType &&value)
JSON (JavaScript Object Notation).