AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PollForDecisionTaskRequest.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/TaskList.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SWF
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SWF_API PollForDecisionTaskRequest() = default;
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 "PollForDecisionTask"; }
32
33 AWS_SWF_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetDomain() const { return m_domain; }
43 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
44 template<typename DomainT = Aws::String>
45 void SetDomain(DomainT&& value) { m_domainHasBeenSet = true; m_domain = std::forward<DomainT>(value); }
46 template<typename DomainT = Aws::String>
47 PollForDecisionTaskRequest& WithDomain(DomainT&& value) { SetDomain(std::forward<DomainT>(value)); return *this;}
49
51
58 inline const TaskList& GetTaskList() const { return m_taskList; }
59 inline bool TaskListHasBeenSet() const { return m_taskListHasBeenSet; }
60 template<typename TaskListT = TaskList>
61 void SetTaskList(TaskListT&& value) { m_taskListHasBeenSet = true; m_taskList = std::forward<TaskListT>(value); }
62 template<typename TaskListT = TaskList>
63 PollForDecisionTaskRequest& WithTaskList(TaskListT&& value) { SetTaskList(std::forward<TaskListT>(value)); return *this;}
65
67
72 inline const Aws::String& GetIdentity() const { return m_identity; }
73 inline bool IdentityHasBeenSet() const { return m_identityHasBeenSet; }
74 template<typename IdentityT = Aws::String>
75 void SetIdentity(IdentityT&& value) { m_identityHasBeenSet = true; m_identity = std::forward<IdentityT>(value); }
76 template<typename IdentityT = Aws::String>
77 PollForDecisionTaskRequest& WithIdentity(IdentityT&& value) { SetIdentity(std::forward<IdentityT>(value)); return *this;}
79
81
96 inline const Aws::String& GetNextPageToken() const { return m_nextPageToken; }
97 inline bool NextPageTokenHasBeenSet() const { return m_nextPageTokenHasBeenSet; }
98 template<typename NextPageTokenT = Aws::String>
99 void SetNextPageToken(NextPageTokenT&& value) { m_nextPageTokenHasBeenSet = true; m_nextPageToken = std::forward<NextPageTokenT>(value); }
100 template<typename NextPageTokenT = Aws::String>
101 PollForDecisionTaskRequest& WithNextPageToken(NextPageTokenT&& value) { SetNextPageToken(std::forward<NextPageTokenT>(value)); return *this;}
103
105
111 inline int GetMaximumPageSize() const { return m_maximumPageSize; }
112 inline bool MaximumPageSizeHasBeenSet() const { return m_maximumPageSizeHasBeenSet; }
113 inline void SetMaximumPageSize(int value) { m_maximumPageSizeHasBeenSet = true; m_maximumPageSize = value; }
114 inline PollForDecisionTaskRequest& WithMaximumPageSize(int value) { SetMaximumPageSize(value); return *this;}
116
118
123 inline bool GetReverseOrder() const { return m_reverseOrder; }
124 inline bool ReverseOrderHasBeenSet() const { return m_reverseOrderHasBeenSet; }
125 inline void SetReverseOrder(bool value) { m_reverseOrderHasBeenSet = true; m_reverseOrder = value; }
126 inline PollForDecisionTaskRequest& WithReverseOrder(bool value) { SetReverseOrder(value); return *this;}
128
130
136 inline bool GetStartAtPreviousStartedEvent() const { return m_startAtPreviousStartedEvent; }
137 inline bool StartAtPreviousStartedEventHasBeenSet() const { return m_startAtPreviousStartedEventHasBeenSet; }
138 inline void SetStartAtPreviousStartedEvent(bool value) { m_startAtPreviousStartedEventHasBeenSet = true; m_startAtPreviousStartedEvent = value; }
141 private:
142
143 Aws::String m_domain;
144 bool m_domainHasBeenSet = false;
145
146 TaskList m_taskList;
147 bool m_taskListHasBeenSet = false;
148
149 Aws::String m_identity;
150 bool m_identityHasBeenSet = false;
151
152 Aws::String m_nextPageToken;
153 bool m_nextPageTokenHasBeenSet = false;
154
155 int m_maximumPageSize{0};
156 bool m_maximumPageSizeHasBeenSet = false;
157
158 bool m_reverseOrder{false};
159 bool m_reverseOrderHasBeenSet = false;
160
161 bool m_startAtPreviousStartedEvent{false};
162 bool m_startAtPreviousStartedEventHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace SWF
167} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_SWF_API Aws::String SerializePayload() const override
AWS_SWF_API PollForDecisionTaskRequest()=default
PollForDecisionTaskRequest & WithIdentity(IdentityT &&value)
PollForDecisionTaskRequest & WithNextPageToken(NextPageTokenT &&value)
PollForDecisionTaskRequest & WithDomain(DomainT &&value)
PollForDecisionTaskRequest & WithMaximumPageSize(int value)
AWS_SWF_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PollForDecisionTaskRequest & WithStartAtPreviousStartedEvent(bool value)
PollForDecisionTaskRequest & WithTaskList(TaskListT &&value)
PollForDecisionTaskRequest & WithReverseOrder(bool value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String