AWS SDK for C++  1.9.158
AWS SDK for C++
CountPendingDecisionTasksRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/swf/SWF_EXPORTS.h>
8 #include <aws/swf/SWFRequest.h>
10 #include <aws/swf/model/TaskList.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace SWF
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "CountPendingDecisionTasks"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::String& GetDomain() const{ return m_domain; }
42 
46  inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
47 
51  inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
52 
56  inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
57 
61  inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
62 
66  inline CountPendingDecisionTasksRequest& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
67 
71  inline CountPendingDecisionTasksRequest& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
72 
76  inline CountPendingDecisionTasksRequest& WithDomain(const char* value) { SetDomain(value); return *this;}
77 
78 
82  inline const TaskList& GetTaskList() const{ return m_taskList; }
83 
87  inline bool TaskListHasBeenSet() const { return m_taskListHasBeenSet; }
88 
92  inline void SetTaskList(const TaskList& value) { m_taskListHasBeenSet = true; m_taskList = value; }
93 
97  inline void SetTaskList(TaskList&& value) { m_taskListHasBeenSet = true; m_taskList = std::move(value); }
98 
102  inline CountPendingDecisionTasksRequest& WithTaskList(const TaskList& value) { SetTaskList(value); return *this;}
103 
107  inline CountPendingDecisionTasksRequest& WithTaskList(TaskList&& value) { SetTaskList(std::move(value)); return *this;}
108 
109  private:
110 
111  Aws::String m_domain;
112  bool m_domainHasBeenSet;
113 
114  TaskList m_taskList;
115  bool m_taskListHasBeenSet;
116  };
117 
118 } // namespace Model
119 } // namespace SWF
120 } // namespace Aws
Aws::SWF::Model::CountPendingDecisionTasksRequest::SetDomain
void SetDomain(const Aws::String &value)
Definition: CountPendingDecisionTasksRequest.h:51
Aws::SWF::Model::CountPendingDecisionTasksRequest::CountPendingDecisionTasksRequest
CountPendingDecisionTasksRequest()
SWFRequest.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SWF::Model::CountPendingDecisionTasksRequest::GetDomain
const Aws::String & GetDomain() const
Definition: CountPendingDecisionTasksRequest.h:41
TaskList.h
Aws::SWF::Model::TaskList
Definition: TaskList.h:32
Aws::SWF::SWFRequest
Definition: SWFRequest.h:17
Aws::SWF::Model::CountPendingDecisionTasksRequest::SetDomain
void SetDomain(Aws::String &&value)
Definition: CountPendingDecisionTasksRequest.h:56
Aws::SWF::Model::CountPendingDecisionTasksRequest::TaskListHasBeenSet
bool TaskListHasBeenSet() const
Definition: CountPendingDecisionTasksRequest.h:87
Aws::SWF::Model::CountPendingDecisionTasksRequest::WithDomain
CountPendingDecisionTasksRequest & WithDomain(const Aws::String &value)
Definition: CountPendingDecisionTasksRequest.h:66
Aws::SWF::Model::CountPendingDecisionTasksRequest::GetTaskList
const TaskList & GetTaskList() const
Definition: CountPendingDecisionTasksRequest.h:82
Aws::SWF::Model::CountPendingDecisionTasksRequest::WithDomain
CountPendingDecisionTasksRequest & WithDomain(const char *value)
Definition: CountPendingDecisionTasksRequest.h:76
Aws::SWF::Model::CountPendingDecisionTasksRequest::SetDomain
void SetDomain(const char *value)
Definition: CountPendingDecisionTasksRequest.h:61
Aws::SWF::Model::CountPendingDecisionTasksRequest::DomainHasBeenSet
bool DomainHasBeenSet() const
Definition: CountPendingDecisionTasksRequest.h:46
Aws::SWF::Model::CountPendingDecisionTasksRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SWF::Model::CountPendingDecisionTasksRequest::SetTaskList
void SetTaskList(const TaskList &value)
Definition: CountPendingDecisionTasksRequest.h:92
SWF_EXPORTS.h
Aws::DevOpsGuru::Model::ServiceName::NOT_SET
@ NOT_SET
Aws::SWF::Model::CountPendingDecisionTasksRequest::WithTaskList
CountPendingDecisionTasksRequest & WithTaskList(const TaskList &value)
Definition: CountPendingDecisionTasksRequest.h:102
AWSString.h
Aws::SWF::Model::CountPendingDecisionTasksRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CountPendingDecisionTasksRequest.h:31
Aws::SWF::Model::CountPendingDecisionTasksRequest::SetTaskList
void SetTaskList(TaskList &&value)
Definition: CountPendingDecisionTasksRequest.h:97
Aws::SWF::Model::CountPendingDecisionTasksRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::SWF::Model::CountPendingDecisionTasksRequest
Definition: CountPendingDecisionTasksRequest.h:23
AWS_SWF_API
#define AWS_SWF_API
Definition: SWF_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SWF::Model::CountPendingDecisionTasksRequest::WithDomain
CountPendingDecisionTasksRequest & WithDomain(Aws::String &&value)
Definition: CountPendingDecisionTasksRequest.h:71
Aws::SWF::Model::CountPendingDecisionTasksRequest::WithTaskList
CountPendingDecisionTasksRequest & WithTaskList(TaskList &&value)
Definition: CountPendingDecisionTasksRequest.h:107