AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
45 inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
46 inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
47 inline PollForDecisionTaskRequest& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
48 inline PollForDecisionTaskRequest& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
49 inline PollForDecisionTaskRequest& WithDomain(const char* value) { SetDomain(value); return *this;}
51
53
60 inline const TaskList& GetTaskList() const{ return m_taskList; }
61 inline bool TaskListHasBeenSet() const { return m_taskListHasBeenSet; }
62 inline void SetTaskList(const TaskList& value) { m_taskListHasBeenSet = true; m_taskList = value; }
63 inline void SetTaskList(TaskList&& value) { m_taskListHasBeenSet = true; m_taskList = std::move(value); }
64 inline PollForDecisionTaskRequest& WithTaskList(const TaskList& value) { SetTaskList(value); return *this;}
65 inline PollForDecisionTaskRequest& WithTaskList(TaskList&& value) { SetTaskList(std::move(value)); return *this;}
67
69
74 inline const Aws::String& GetIdentity() const{ return m_identity; }
75 inline bool IdentityHasBeenSet() const { return m_identityHasBeenSet; }
76 inline void SetIdentity(const Aws::String& value) { m_identityHasBeenSet = true; m_identity = value; }
77 inline void SetIdentity(Aws::String&& value) { m_identityHasBeenSet = true; m_identity = std::move(value); }
78 inline void SetIdentity(const char* value) { m_identityHasBeenSet = true; m_identity.assign(value); }
79 inline PollForDecisionTaskRequest& WithIdentity(const Aws::String& value) { SetIdentity(value); return *this;}
80 inline PollForDecisionTaskRequest& WithIdentity(Aws::String&& value) { SetIdentity(std::move(value)); return *this;}
81 inline PollForDecisionTaskRequest& WithIdentity(const char* value) { SetIdentity(value); return *this;}
83
85
100 inline const Aws::String& GetNextPageToken() const{ return m_nextPageToken; }
101 inline bool NextPageTokenHasBeenSet() const { return m_nextPageTokenHasBeenSet; }
102 inline void SetNextPageToken(const Aws::String& value) { m_nextPageTokenHasBeenSet = true; m_nextPageToken = value; }
103 inline void SetNextPageToken(Aws::String&& value) { m_nextPageTokenHasBeenSet = true; m_nextPageToken = std::move(value); }
104 inline void SetNextPageToken(const char* value) { m_nextPageTokenHasBeenSet = true; m_nextPageToken.assign(value); }
105 inline PollForDecisionTaskRequest& WithNextPageToken(const Aws::String& value) { SetNextPageToken(value); return *this;}
106 inline PollForDecisionTaskRequest& WithNextPageToken(Aws::String&& value) { SetNextPageToken(std::move(value)); return *this;}
107 inline PollForDecisionTaskRequest& WithNextPageToken(const char* value) { SetNextPageToken(value); return *this;}
109
111
117 inline int GetMaximumPageSize() const{ return m_maximumPageSize; }
118 inline bool MaximumPageSizeHasBeenSet() const { return m_maximumPageSizeHasBeenSet; }
119 inline void SetMaximumPageSize(int value) { m_maximumPageSizeHasBeenSet = true; m_maximumPageSize = value; }
120 inline PollForDecisionTaskRequest& WithMaximumPageSize(int value) { SetMaximumPageSize(value); return *this;}
122
124
129 inline bool GetReverseOrder() const{ return m_reverseOrder; }
130 inline bool ReverseOrderHasBeenSet() const { return m_reverseOrderHasBeenSet; }
131 inline void SetReverseOrder(bool value) { m_reverseOrderHasBeenSet = true; m_reverseOrder = value; }
132 inline PollForDecisionTaskRequest& WithReverseOrder(bool value) { SetReverseOrder(value); return *this;}
134
136
142 inline bool GetStartAtPreviousStartedEvent() const{ return m_startAtPreviousStartedEvent; }
143 inline bool StartAtPreviousStartedEventHasBeenSet() const { return m_startAtPreviousStartedEventHasBeenSet; }
144 inline void SetStartAtPreviousStartedEvent(bool value) { m_startAtPreviousStartedEventHasBeenSet = true; m_startAtPreviousStartedEvent = value; }
147 private:
148
149 Aws::String m_domain;
150 bool m_domainHasBeenSet = false;
151
152 TaskList m_taskList;
153 bool m_taskListHasBeenSet = false;
154
155 Aws::String m_identity;
156 bool m_identityHasBeenSet = false;
157
158 Aws::String m_nextPageToken;
159 bool m_nextPageTokenHasBeenSet = false;
160
161 int m_maximumPageSize;
162 bool m_maximumPageSizeHasBeenSet = false;
163
164 bool m_reverseOrder;
165 bool m_reverseOrderHasBeenSet = false;
166
167 bool m_startAtPreviousStartedEvent;
168 bool m_startAtPreviousStartedEventHasBeenSet = false;
169 };
170
171} // namespace Model
172} // namespace SWF
173} // namespace Aws
PollForDecisionTaskRequest & WithTaskList(const TaskList &value)
virtual const char * GetServiceRequestName() const override
AWS_SWF_API Aws::String SerializePayload() const override
PollForDecisionTaskRequest & WithMaximumPageSize(int value)
PollForDecisionTaskRequest & WithIdentity(const Aws::String &value)
AWS_SWF_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PollForDecisionTaskRequest & WithDomain(const char *value)
PollForDecisionTaskRequest & WithTaskList(TaskList &&value)
PollForDecisionTaskRequest & WithStartAtPreviousStartedEvent(bool value)
PollForDecisionTaskRequest & WithDomain(Aws::String &&value)
PollForDecisionTaskRequest & WithNextPageToken(Aws::String &&value)
PollForDecisionTaskRequest & WithIdentity(const char *value)
PollForDecisionTaskRequest & WithNextPageToken(const char *value)
PollForDecisionTaskRequest & WithDomain(const Aws::String &value)
PollForDecisionTaskRequest & WithIdentity(Aws::String &&value)
PollForDecisionTaskRequest & WithNextPageToken(const Aws::String &value)
PollForDecisionTaskRequest & WithReverseOrder(bool value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String