AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
CountPendingActivityTasksRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/swf/SWFRequest.h>
9#include <aws/swf/SWF_EXPORTS.h>
10#include <aws/swf/model/TaskList.h>
11
12#include <utility>
13
14namespace Aws {
15namespace SWF {
16namespace Model {
17
21 public:
22 AWS_SWF_API CountPendingActivityTasksRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "CountPendingActivityTasks"; }
29
30 AWS_SWF_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::String& GetDomain() const { return m_domain; }
39 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
40 template <typename DomainT = Aws::String>
41 void SetDomain(DomainT&& value) {
42 m_domainHasBeenSet = true;
43 m_domain = std::forward<DomainT>(value);
44 }
45 template <typename DomainT = Aws::String>
47 SetDomain(std::forward<DomainT>(value));
48 return *this;
49 }
51
53
56 inline const TaskList& GetTaskList() const { return m_taskList; }
57 inline bool TaskListHasBeenSet() const { return m_taskListHasBeenSet; }
58 template <typename TaskListT = TaskList>
59 void SetTaskList(TaskListT&& value) {
60 m_taskListHasBeenSet = true;
61 m_taskList = std::forward<TaskListT>(value);
62 }
63 template <typename TaskListT = TaskList>
65 SetTaskList(std::forward<TaskListT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_domain;
71
72 TaskList m_taskList;
73 bool m_domainHasBeenSet = false;
74 bool m_taskListHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace SWF
79} // namespace Aws
CountPendingActivityTasksRequest & WithDomain(DomainT &&value)
AWS_SWF_API Aws::String SerializePayload() const override
CountPendingActivityTasksRequest & WithTaskList(TaskListT &&value)
AWS_SWF_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String