AWS SDK for C++  1.9.78
AWS SDK for C++
ListExecutionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace SFN
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 "ListExecutions"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
42  inline const Aws::String& GetStateMachineArn() const{ return m_stateMachineArn; }
43 
48  inline bool StateMachineArnHasBeenSet() const { return m_stateMachineArnHasBeenSet; }
49 
54  inline void SetStateMachineArn(const Aws::String& value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn = value; }
55 
60  inline void SetStateMachineArn(Aws::String&& value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn = std::move(value); }
61 
66  inline void SetStateMachineArn(const char* value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn.assign(value); }
67 
72  inline ListExecutionsRequest& WithStateMachineArn(const Aws::String& value) { SetStateMachineArn(value); return *this;}
73 
78  inline ListExecutionsRequest& WithStateMachineArn(Aws::String&& value) { SetStateMachineArn(std::move(value)); return *this;}
79 
84  inline ListExecutionsRequest& WithStateMachineArn(const char* value) { SetStateMachineArn(value); return *this;}
85 
86 
91  inline const ExecutionStatus& GetStatusFilter() const{ return m_statusFilter; }
92 
97  inline bool StatusFilterHasBeenSet() const { return m_statusFilterHasBeenSet; }
98 
103  inline void SetStatusFilter(const ExecutionStatus& value) { m_statusFilterHasBeenSet = true; m_statusFilter = value; }
104 
109  inline void SetStatusFilter(ExecutionStatus&& value) { m_statusFilterHasBeenSet = true; m_statusFilter = std::move(value); }
110 
115  inline ListExecutionsRequest& WithStatusFilter(const ExecutionStatus& value) { SetStatusFilter(value); return *this;}
116 
121  inline ListExecutionsRequest& WithStatusFilter(ExecutionStatus&& value) { SetStatusFilter(std::move(value)); return *this;}
122 
123 
131  inline int GetMaxResults() const{ return m_maxResults; }
132 
140  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
141 
149  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
150 
158  inline ListExecutionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
159 
160 
169  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
170 
179  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
180 
189  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
190 
199  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
200 
209  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
210 
219  inline ListExecutionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
220 
229  inline ListExecutionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
230 
239  inline ListExecutionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
240 
241  private:
242 
243  Aws::String m_stateMachineArn;
244  bool m_stateMachineArnHasBeenSet;
245 
246  ExecutionStatus m_statusFilter;
247  bool m_statusFilterHasBeenSet;
248 
249  int m_maxResults;
250  bool m_maxResultsHasBeenSet;
251 
252  Aws::String m_nextToken;
253  bool m_nextTokenHasBeenSet;
254  };
255 
256 } // namespace Model
257 } // namespace SFN
258 } // namespace Aws
Aws::SFN::Model::ListExecutionsRequest
Definition: ListExecutionsRequest.h:23
Aws::SFN::Model::ListExecutionsRequest::WithStateMachineArn
ListExecutionsRequest & WithStateMachineArn(const char *value)
Definition: ListExecutionsRequest.h:84
Aws::SFN::Model::ListExecutionsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListExecutionsRequest.h:179
Aws::SFN::Model::ListExecutionsRequest::WithNextToken
ListExecutionsRequest & WithNextToken(const char *value)
Definition: ListExecutionsRequest.h:239
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SFN::Model::ListExecutionsRequest::SetStateMachineArn
void SetStateMachineArn(const char *value)
Definition: ListExecutionsRequest.h:66
Aws::SFN::Model::ListExecutionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SFN::Model::ListExecutionsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SFN::SFNRequest
Definition: SFNRequest.h:17
ExecutionStatus.h
Aws::SFN::Model::ListExecutionsRequest::WithStateMachineArn
ListExecutionsRequest & WithStateMachineArn(const Aws::String &value)
Definition: ListExecutionsRequest.h:72
Aws::SFN::Model::ListExecutionsRequest::WithNextToken
ListExecutionsRequest & WithNextToken(Aws::String &&value)
Definition: ListExecutionsRequest.h:229
AWS_SFN_API
#define AWS_SFN_API
Definition: SFN_EXPORTS.h:28
Aws::SFN::Model::ListExecutionsRequest::StateMachineArnHasBeenSet
bool StateMachineArnHasBeenSet() const
Definition: ListExecutionsRequest.h:48
Aws::SFN::Model::ListExecutionsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListExecutionsRequest.h:189
SFN_EXPORTS.h
Aws::SFN::Model::ListExecutionsRequest::SetStateMachineArn
void SetStateMachineArn(const Aws::String &value)
Definition: ListExecutionsRequest.h:54
Aws::SFN::Model::ListExecutionsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListExecutionsRequest.h:131
Aws::SFN::Model::ListExecutionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListExecutionsRequest.h:31
Aws::SFN::Model::ListExecutionsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListExecutionsRequest.h:199
Aws::SFN::Model::ListExecutionsRequest::SetStatusFilter
void SetStatusFilter(ExecutionStatus &&value)
Definition: ListExecutionsRequest.h:109
Aws::SFN::Model::ListExecutionsRequest::WithStateMachineArn
ListExecutionsRequest & WithStateMachineArn(Aws::String &&value)
Definition: ListExecutionsRequest.h:78
Aws::SFN::Model::ListExecutionsRequest::WithNextToken
ListExecutionsRequest & WithNextToken(const Aws::String &value)
Definition: ListExecutionsRequest.h:219
Aws::SFN::Model::ListExecutionsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListExecutionsRequest.h:149
Aws::SFN::Model::ListExecutionsRequest::WithMaxResults
ListExecutionsRequest & WithMaxResults(int value)
Definition: ListExecutionsRequest.h:158
Aws::SFN::Model::ListExecutionsRequest::WithStatusFilter
ListExecutionsRequest & WithStatusFilter(const ExecutionStatus &value)
Definition: ListExecutionsRequest.h:115
Aws::SFN::Model::ListExecutionsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListExecutionsRequest.h:169
Aws::SFN::Model::ListExecutionsRequest::SetStatusFilter
void SetStatusFilter(const ExecutionStatus &value)
Definition: ListExecutionsRequest.h:103
SFNRequest.h
AWSString.h
Aws::SFN::Model::ListExecutionsRequest::WithStatusFilter
ListExecutionsRequest & WithStatusFilter(ExecutionStatus &&value)
Definition: ListExecutionsRequest.h:121
Aws::SFN::Model::ListExecutionsRequest::GetStatusFilter
const ExecutionStatus & GetStatusFilter() const
Definition: ListExecutionsRequest.h:91
Aws::SFN::Model::ListExecutionsRequest::GetStateMachineArn
const Aws::String & GetStateMachineArn() const
Definition: ListExecutionsRequest.h:42
Aws::SFN::Model::ListExecutionsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListExecutionsRequest.h:140
Aws::SFN::Model::ListExecutionsRequest::SetStateMachineArn
void SetStateMachineArn(Aws::String &&value)
Definition: ListExecutionsRequest.h:60
Aws::SFN::Model::ListExecutionsRequest::ListExecutionsRequest
ListExecutionsRequest()
Aws::SFN::Model::ListExecutionsRequest::StatusFilterHasBeenSet
bool StatusFilterHasBeenSet() const
Definition: ListExecutionsRequest.h:97
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SFN::Model::ListExecutionsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListExecutionsRequest.h:209
Aws::SFN::Model::ExecutionStatus
ExecutionStatus
Definition: ExecutionStatus.h:17