AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CountOpenWorkflowExecutionsRequest.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/WorkflowTypeFilter.h>
12#include <aws/swf/model/TagFilter.h>
13#include <aws/swf/model/WorkflowExecutionFilter.h>
14#include <utility>
15
16namespace Aws
17{
18namespace SWF
19{
20namespace Model
21{
22
26 {
27 public:
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "CountOpenWorkflowExecutions"; }
35
36 AWS_SWF_API Aws::String SerializePayload() const override;
37
39
40
42
45 inline const Aws::String& GetDomain() const{ return m_domain; }
46 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
47 inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
48 inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
49 inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
50 inline CountOpenWorkflowExecutionsRequest& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
51 inline CountOpenWorkflowExecutionsRequest& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
52 inline CountOpenWorkflowExecutionsRequest& WithDomain(const char* value) { SetDomain(value); return *this;}
54
56
60 inline const ExecutionTimeFilter& GetStartTimeFilter() const{ return m_startTimeFilter; }
61 inline bool StartTimeFilterHasBeenSet() const { return m_startTimeFilterHasBeenSet; }
62 inline void SetStartTimeFilter(const ExecutionTimeFilter& value) { m_startTimeFilterHasBeenSet = true; m_startTimeFilter = value; }
63 inline void SetStartTimeFilter(ExecutionTimeFilter&& value) { m_startTimeFilterHasBeenSet = true; m_startTimeFilter = std::move(value); }
67
69
75 inline const WorkflowTypeFilter& GetTypeFilter() const{ return m_typeFilter; }
76 inline bool TypeFilterHasBeenSet() const { return m_typeFilterHasBeenSet; }
77 inline void SetTypeFilter(const WorkflowTypeFilter& value) { m_typeFilterHasBeenSet = true; m_typeFilter = value; }
78 inline void SetTypeFilter(WorkflowTypeFilter&& value) { m_typeFilterHasBeenSet = true; m_typeFilter = std::move(value); }
80 inline CountOpenWorkflowExecutionsRequest& WithTypeFilter(WorkflowTypeFilter&& value) { SetTypeFilter(std::move(value)); return *this;}
82
84
90 inline const TagFilter& GetTagFilter() const{ return m_tagFilter; }
91 inline bool TagFilterHasBeenSet() const { return m_tagFilterHasBeenSet; }
92 inline void SetTagFilter(const TagFilter& value) { m_tagFilterHasBeenSet = true; m_tagFilter = value; }
93 inline void SetTagFilter(TagFilter&& value) { m_tagFilterHasBeenSet = true; m_tagFilter = std::move(value); }
94 inline CountOpenWorkflowExecutionsRequest& WithTagFilter(const TagFilter& value) { SetTagFilter(value); return *this;}
95 inline CountOpenWorkflowExecutionsRequest& WithTagFilter(TagFilter&& value) { SetTagFilter(std::move(value)); return *this;}
97
99
105 inline const WorkflowExecutionFilter& GetExecutionFilter() const{ return m_executionFilter; }
106 inline bool ExecutionFilterHasBeenSet() const { return m_executionFilterHasBeenSet; }
107 inline void SetExecutionFilter(const WorkflowExecutionFilter& value) { m_executionFilterHasBeenSet = true; m_executionFilter = value; }
108 inline void SetExecutionFilter(WorkflowExecutionFilter&& value) { m_executionFilterHasBeenSet = true; m_executionFilter = std::move(value); }
112 private:
113
114 Aws::String m_domain;
115 bool m_domainHasBeenSet = false;
116
117 ExecutionTimeFilter m_startTimeFilter;
118 bool m_startTimeFilterHasBeenSet = false;
119
120 WorkflowTypeFilter m_typeFilter;
121 bool m_typeFilterHasBeenSet = false;
122
123 TagFilter m_tagFilter;
124 bool m_tagFilterHasBeenSet = false;
125
126 WorkflowExecutionFilter m_executionFilter;
127 bool m_executionFilterHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace SWF
132} // namespace Aws
CountOpenWorkflowExecutionsRequest & WithStartTimeFilter(const ExecutionTimeFilter &value)
CountOpenWorkflowExecutionsRequest & WithStartTimeFilter(ExecutionTimeFilter &&value)
CountOpenWorkflowExecutionsRequest & WithExecutionFilter(const WorkflowExecutionFilter &value)
CountOpenWorkflowExecutionsRequest & WithTagFilter(const TagFilter &value)
CountOpenWorkflowExecutionsRequest & WithTypeFilter(WorkflowTypeFilter &&value)
CountOpenWorkflowExecutionsRequest & WithDomain(Aws::String &&value)
AWS_SWF_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SWF_API Aws::String SerializePayload() const override
CountOpenWorkflowExecutionsRequest & WithExecutionFilter(WorkflowExecutionFilter &&value)
CountOpenWorkflowExecutionsRequest & WithTagFilter(TagFilter &&value)
CountOpenWorkflowExecutionsRequest & WithDomain(const char *value)
CountOpenWorkflowExecutionsRequest & WithTypeFilter(const WorkflowTypeFilter &value)
CountOpenWorkflowExecutionsRequest & WithDomain(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String