AWS SDK for C++  0.14.3
AWS SDK for C++
WorkflowExecutionOpenCounts.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>
17 
18 namespace Aws
19 {
20 namespace Utils
21 {
22 namespace Json
23 {
24  class JsonValue;
25 } // namespace Json
26 } // namespace Utils
27 namespace SWF
28 {
29 namespace Model
30 {
31 
37  {
38  public:
41  WorkflowExecutionOpenCounts& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
42  Aws::Utils::Json::JsonValue Jsonize() const;
43 
47  inline int GetOpenActivityTasks() const{ return m_openActivityTasks; }
48 
52  inline void SetOpenActivityTasks(int value) { m_openActivityTasksHasBeenSet = true; m_openActivityTasks = value; }
53 
57  inline WorkflowExecutionOpenCounts& WithOpenActivityTasks(int value) { SetOpenActivityTasks(value); return *this;}
58 
63  inline int GetOpenDecisionTasks() const{ return m_openDecisionTasks; }
64 
69  inline void SetOpenDecisionTasks(int value) { m_openDecisionTasksHasBeenSet = true; m_openDecisionTasks = value; }
70 
75  inline WorkflowExecutionOpenCounts& WithOpenDecisionTasks(int value) { SetOpenDecisionTasks(value); return *this;}
76 
81  inline int GetOpenTimers() const{ return m_openTimers; }
82 
87  inline void SetOpenTimers(int value) { m_openTimersHasBeenSet = true; m_openTimers = value; }
88 
93  inline WorkflowExecutionOpenCounts& WithOpenTimers(int value) { SetOpenTimers(value); return *this;}
94 
98  inline int GetOpenChildWorkflowExecutions() const{ return m_openChildWorkflowExecutions; }
99 
103  inline void SetOpenChildWorkflowExecutions(int value) { m_openChildWorkflowExecutionsHasBeenSet = true; m_openChildWorkflowExecutions = value; }
104 
108  inline WorkflowExecutionOpenCounts& WithOpenChildWorkflowExecutions(int value) { SetOpenChildWorkflowExecutions(value); return *this;}
109 
113  inline int GetOpenLambdaFunctions() const{ return m_openLambdaFunctions; }
114 
118  inline void SetOpenLambdaFunctions(int value) { m_openLambdaFunctionsHasBeenSet = true; m_openLambdaFunctions = value; }
119 
123  inline WorkflowExecutionOpenCounts& WithOpenLambdaFunctions(int value) { SetOpenLambdaFunctions(value); return *this;}
124 
125  private:
126  int m_openActivityTasks;
127  bool m_openActivityTasksHasBeenSet;
128  int m_openDecisionTasks;
129  bool m_openDecisionTasksHasBeenSet;
130  int m_openTimers;
131  bool m_openTimersHasBeenSet;
132  int m_openChildWorkflowExecutions;
133  bool m_openChildWorkflowExecutionsHasBeenSet;
134  int m_openLambdaFunctions;
135  bool m_openLambdaFunctionsHasBeenSet;
136  };
137 
138 } // namespace Model
139 } // namespace SWF
140 } // namespace Aws
WorkflowExecutionOpenCounts & WithOpenLambdaFunctions(int value)
#define AWS_SWF_API
Definition: SWF_EXPORTS.h:37
WorkflowExecutionOpenCounts & WithOpenActivityTasks(int value)
WorkflowExecutionOpenCounts & WithOpenChildWorkflowExecutions(int value)
WorkflowExecutionOpenCounts & WithOpenTimers(int value)
WorkflowExecutionOpenCounts & WithOpenDecisionTasks(int value)
JSON (JavaScript Object Notation).