AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CountClosedWorkflowExecutionsRequest.h
1
6#pragma once
7#include <aws/swf/SWF_EXPORTS.h>
8#include <aws/swf/SWFRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/swf/model/ExecutionTimeFilter.h>
11#include <aws/swf/model/WorkflowExecutionFilter.h>
12#include <aws/swf/model/WorkflowTypeFilter.h>
13#include <aws/swf/model/TagFilter.h>
14#include <aws/swf/model/CloseStatusFilter.h>
15#include <utility>
16
17namespace Aws
18{
19namespace SWF
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_SWF_API CountClosedWorkflowExecutionsRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "CountClosedWorkflowExecutions"; }
36
37 AWS_SWF_API Aws::String SerializePayload() const override;
38
40
41
43
46 inline const Aws::String& GetDomain() const { return m_domain; }
47 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
48 template<typename DomainT = Aws::String>
49 void SetDomain(DomainT&& value) { m_domainHasBeenSet = true; m_domain = std::forward<DomainT>(value); }
50 template<typename DomainT = Aws::String>
51 CountClosedWorkflowExecutionsRequest& WithDomain(DomainT&& value) { SetDomain(std::forward<DomainT>(value)); return *this;}
53
55
61 inline const ExecutionTimeFilter& GetStartTimeFilter() const { return m_startTimeFilter; }
62 inline bool StartTimeFilterHasBeenSet() const { return m_startTimeFilterHasBeenSet; }
63 template<typename StartTimeFilterT = ExecutionTimeFilter>
64 void SetStartTimeFilter(StartTimeFilterT&& value) { m_startTimeFilterHasBeenSet = true; m_startTimeFilter = std::forward<StartTimeFilterT>(value); }
65 template<typename StartTimeFilterT = ExecutionTimeFilter>
66 CountClosedWorkflowExecutionsRequest& WithStartTimeFilter(StartTimeFilterT&& value) { SetStartTimeFilter(std::forward<StartTimeFilterT>(value)); return *this;}
68
70
76 inline const ExecutionTimeFilter& GetCloseTimeFilter() const { return m_closeTimeFilter; }
77 inline bool CloseTimeFilterHasBeenSet() const { return m_closeTimeFilterHasBeenSet; }
78 template<typename CloseTimeFilterT = ExecutionTimeFilter>
79 void SetCloseTimeFilter(CloseTimeFilterT&& value) { m_closeTimeFilterHasBeenSet = true; m_closeTimeFilter = std::forward<CloseTimeFilterT>(value); }
80 template<typename CloseTimeFilterT = ExecutionTimeFilter>
81 CountClosedWorkflowExecutionsRequest& WithCloseTimeFilter(CloseTimeFilterT&& value) { SetCloseTimeFilter(std::forward<CloseTimeFilterT>(value)); return *this;}
83
85
92 inline const WorkflowExecutionFilter& GetExecutionFilter() const { return m_executionFilter; }
93 inline bool ExecutionFilterHasBeenSet() const { return m_executionFilterHasBeenSet; }
94 template<typename ExecutionFilterT = WorkflowExecutionFilter>
95 void SetExecutionFilter(ExecutionFilterT&& value) { m_executionFilterHasBeenSet = true; m_executionFilter = std::forward<ExecutionFilterT>(value); }
96 template<typename ExecutionFilterT = WorkflowExecutionFilter>
97 CountClosedWorkflowExecutionsRequest& WithExecutionFilter(ExecutionFilterT&& value) { SetExecutionFilter(std::forward<ExecutionFilterT>(value)); return *this;}
99
101
108 inline const WorkflowTypeFilter& GetTypeFilter() const { return m_typeFilter; }
109 inline bool TypeFilterHasBeenSet() const { return m_typeFilterHasBeenSet; }
110 template<typename TypeFilterT = WorkflowTypeFilter>
111 void SetTypeFilter(TypeFilterT&& value) { m_typeFilterHasBeenSet = true; m_typeFilter = std::forward<TypeFilterT>(value); }
112 template<typename TypeFilterT = WorkflowTypeFilter>
113 CountClosedWorkflowExecutionsRequest& WithTypeFilter(TypeFilterT&& value) { SetTypeFilter(std::forward<TypeFilterT>(value)); return *this;}
115
117
124 inline const TagFilter& GetTagFilter() const { return m_tagFilter; }
125 inline bool TagFilterHasBeenSet() const { return m_tagFilterHasBeenSet; }
126 template<typename TagFilterT = TagFilter>
127 void SetTagFilter(TagFilterT&& value) { m_tagFilterHasBeenSet = true; m_tagFilter = std::forward<TagFilterT>(value); }
128 template<typename TagFilterT = TagFilter>
129 CountClosedWorkflowExecutionsRequest& WithTagFilter(TagFilterT&& value) { SetTagFilter(std::forward<TagFilterT>(value)); return *this;}
131
133
141 inline const CloseStatusFilter& GetCloseStatusFilter() const { return m_closeStatusFilter; }
142 inline bool CloseStatusFilterHasBeenSet() const { return m_closeStatusFilterHasBeenSet; }
143 template<typename CloseStatusFilterT = CloseStatusFilter>
144 void SetCloseStatusFilter(CloseStatusFilterT&& value) { m_closeStatusFilterHasBeenSet = true; m_closeStatusFilter = std::forward<CloseStatusFilterT>(value); }
145 template<typename CloseStatusFilterT = CloseStatusFilter>
146 CountClosedWorkflowExecutionsRequest& WithCloseStatusFilter(CloseStatusFilterT&& value) { SetCloseStatusFilter(std::forward<CloseStatusFilterT>(value)); return *this;}
148 private:
149
150 Aws::String m_domain;
151 bool m_domainHasBeenSet = false;
152
153 ExecutionTimeFilter m_startTimeFilter;
154 bool m_startTimeFilterHasBeenSet = false;
155
156 ExecutionTimeFilter m_closeTimeFilter;
157 bool m_closeTimeFilterHasBeenSet = false;
158
159 WorkflowExecutionFilter m_executionFilter;
160 bool m_executionFilterHasBeenSet = false;
161
162 WorkflowTypeFilter m_typeFilter;
163 bool m_typeFilterHasBeenSet = false;
164
165 TagFilter m_tagFilter;
166 bool m_tagFilterHasBeenSet = false;
167
168 CloseStatusFilter m_closeStatusFilter;
169 bool m_closeStatusFilterHasBeenSet = false;
170 };
171
172} // namespace Model
173} // namespace SWF
174} // namespace Aws
AWS_SWF_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CountClosedWorkflowExecutionsRequest & WithCloseStatusFilter(CloseStatusFilterT &&value)
CountClosedWorkflowExecutionsRequest & WithStartTimeFilter(StartTimeFilterT &&value)
CountClosedWorkflowExecutionsRequest & WithDomain(DomainT &&value)
CountClosedWorkflowExecutionsRequest & WithTagFilter(TagFilterT &&value)
CountClosedWorkflowExecutionsRequest & WithCloseTimeFilter(CloseTimeFilterT &&value)
AWS_SWF_API Aws::String SerializePayload() const override
CountClosedWorkflowExecutionsRequest & WithTypeFilter(TypeFilterT &&value)
CountClosedWorkflowExecutionsRequest & WithExecutionFilter(ExecutionFilterT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String