AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
WorkflowExecutionOpenCounts.h
1
6#pragma once
7#include <aws/swf/SWF_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace SWF {
17namespace Model {
18
26 public:
27 AWS_SWF_API WorkflowExecutionOpenCounts() = default;
31
33
36 inline int GetOpenActivityTasks() const { return m_openActivityTasks; }
37 inline bool OpenActivityTasksHasBeenSet() const { return m_openActivityTasksHasBeenSet; }
38 inline void SetOpenActivityTasks(int value) {
39 m_openActivityTasksHasBeenSet = true;
40 m_openActivityTasks = value;
41 }
44 return *this;
45 }
47
49
53 inline int GetOpenDecisionTasks() const { return m_openDecisionTasks; }
54 inline bool OpenDecisionTasksHasBeenSet() const { return m_openDecisionTasksHasBeenSet; }
55 inline void SetOpenDecisionTasks(int value) {
56 m_openDecisionTasksHasBeenSet = true;
57 m_openDecisionTasks = value;
58 }
61 return *this;
62 }
64
66
70 inline int GetOpenTimers() const { return m_openTimers; }
71 inline bool OpenTimersHasBeenSet() const { return m_openTimersHasBeenSet; }
72 inline void SetOpenTimers(int value) {
73 m_openTimersHasBeenSet = true;
74 m_openTimers = value;
75 }
77 SetOpenTimers(value);
78 return *this;
79 }
81
83
86 inline int GetOpenChildWorkflowExecutions() const { return m_openChildWorkflowExecutions; }
87 inline bool OpenChildWorkflowExecutionsHasBeenSet() const { return m_openChildWorkflowExecutionsHasBeenSet; }
88 inline void SetOpenChildWorkflowExecutions(int value) {
89 m_openChildWorkflowExecutionsHasBeenSet = true;
90 m_openChildWorkflowExecutions = value;
91 }
94 return *this;
95 }
97
99
102 inline int GetOpenLambdaFunctions() const { return m_openLambdaFunctions; }
103 inline bool OpenLambdaFunctionsHasBeenSet() const { return m_openLambdaFunctionsHasBeenSet; }
104 inline void SetOpenLambdaFunctions(int value) {
105 m_openLambdaFunctionsHasBeenSet = true;
106 m_openLambdaFunctions = value;
107 }
110 return *this;
111 }
113 private:
114 int m_openActivityTasks{0};
115
116 int m_openDecisionTasks{0};
117
118 int m_openTimers{0};
119
120 int m_openChildWorkflowExecutions{0};
121
122 int m_openLambdaFunctions{0};
123 bool m_openActivityTasksHasBeenSet = false;
124 bool m_openDecisionTasksHasBeenSet = false;
125 bool m_openTimersHasBeenSet = false;
126 bool m_openChildWorkflowExecutionsHasBeenSet = false;
127 bool m_openLambdaFunctionsHasBeenSet = false;
128};
129
130} // namespace Model
131} // namespace SWF
132} // namespace Aws
WorkflowExecutionOpenCounts & WithOpenChildWorkflowExecutions(int value)
WorkflowExecutionOpenCounts & WithOpenTimers(int value)
AWS_SWF_API WorkflowExecutionOpenCounts()=default
WorkflowExecutionOpenCounts & WithOpenDecisionTasks(int value)
AWS_SWF_API WorkflowExecutionOpenCounts(Aws::Utils::Json::JsonView jsonValue)
AWS_SWF_API WorkflowExecutionOpenCounts & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkflowExecutionOpenCounts & WithOpenLambdaFunctions(int value)
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
WorkflowExecutionOpenCounts & WithOpenActivityTasks(int value)
Aws::Utils::Json::JsonValue JsonValue