AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListExecutionsRequest.h
1
6#pragma once
7#include <aws/states/SFN_EXPORTS.h>
8#include <aws/states/SFNRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/states/model/ExecutionStatus.h>
11#include <aws/states/model/ExecutionRedriveFilter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace SFN
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_SFN_API ListExecutionsRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "ListExecutions"; }
33
34 AWS_SFN_API Aws::String SerializePayload() const override;
35
37
38
40
51 inline const Aws::String& GetStateMachineArn() const{ return m_stateMachineArn; }
52 inline bool StateMachineArnHasBeenSet() const { return m_stateMachineArnHasBeenSet; }
53 inline void SetStateMachineArn(const Aws::String& value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn = value; }
54 inline void SetStateMachineArn(Aws::String&& value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn = std::move(value); }
55 inline void SetStateMachineArn(const char* value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn.assign(value); }
56 inline ListExecutionsRequest& WithStateMachineArn(const Aws::String& value) { SetStateMachineArn(value); return *this;}
57 inline ListExecutionsRequest& WithStateMachineArn(Aws::String&& value) { SetStateMachineArn(std::move(value)); return *this;}
58 inline ListExecutionsRequest& WithStateMachineArn(const char* value) { SetStateMachineArn(value); return *this;}
60
62
66 inline const ExecutionStatus& GetStatusFilter() const{ return m_statusFilter; }
67 inline bool StatusFilterHasBeenSet() const { return m_statusFilterHasBeenSet; }
68 inline void SetStatusFilter(const ExecutionStatus& value) { m_statusFilterHasBeenSet = true; m_statusFilter = value; }
69 inline void SetStatusFilter(ExecutionStatus&& value) { m_statusFilterHasBeenSet = true; m_statusFilter = std::move(value); }
70 inline ListExecutionsRequest& WithStatusFilter(const ExecutionStatus& value) { SetStatusFilter(value); return *this;}
71 inline ListExecutionsRequest& WithStatusFilter(ExecutionStatus&& value) { SetStatusFilter(std::move(value)); return *this;}
73
75
82 inline int GetMaxResults() const{ return m_maxResults; }
83 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
84 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
85 inline ListExecutionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
87
89
97 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
98 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
99 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
100 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
101 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
102 inline ListExecutionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
103 inline ListExecutionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
104 inline ListExecutionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
106
108
118 inline const Aws::String& GetMapRunArn() const{ return m_mapRunArn; }
119 inline bool MapRunArnHasBeenSet() const { return m_mapRunArnHasBeenSet; }
120 inline void SetMapRunArn(const Aws::String& value) { m_mapRunArnHasBeenSet = true; m_mapRunArn = value; }
121 inline void SetMapRunArn(Aws::String&& value) { m_mapRunArnHasBeenSet = true; m_mapRunArn = std::move(value); }
122 inline void SetMapRunArn(const char* value) { m_mapRunArnHasBeenSet = true; m_mapRunArn.assign(value); }
123 inline ListExecutionsRequest& WithMapRunArn(const Aws::String& value) { SetMapRunArn(value); return *this;}
124 inline ListExecutionsRequest& WithMapRunArn(Aws::String&& value) { SetMapRunArn(std::move(value)); return *this;}
125 inline ListExecutionsRequest& WithMapRunArn(const char* value) { SetMapRunArn(value); return *this;}
127
129
138 inline const ExecutionRedriveFilter& GetRedriveFilter() const{ return m_redriveFilter; }
139 inline bool RedriveFilterHasBeenSet() const { return m_redriveFilterHasBeenSet; }
140 inline void SetRedriveFilter(const ExecutionRedriveFilter& value) { m_redriveFilterHasBeenSet = true; m_redriveFilter = value; }
141 inline void SetRedriveFilter(ExecutionRedriveFilter&& value) { m_redriveFilterHasBeenSet = true; m_redriveFilter = std::move(value); }
143 inline ListExecutionsRequest& WithRedriveFilter(ExecutionRedriveFilter&& value) { SetRedriveFilter(std::move(value)); return *this;}
145 private:
146
147 Aws::String m_stateMachineArn;
148 bool m_stateMachineArnHasBeenSet = false;
149
150 ExecutionStatus m_statusFilter;
151 bool m_statusFilterHasBeenSet = false;
152
153 int m_maxResults;
154 bool m_maxResultsHasBeenSet = false;
155
156 Aws::String m_nextToken;
157 bool m_nextTokenHasBeenSet = false;
158
159 Aws::String m_mapRunArn;
160 bool m_mapRunArnHasBeenSet = false;
161
162 ExecutionRedriveFilter m_redriveFilter;
163 bool m_redriveFilterHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace SFN
168} // namespace Aws
ListExecutionsRequest & WithStatusFilter(const ExecutionStatus &value)
AWS_SFN_API Aws::String SerializePayload() const override
ListExecutionsRequest & WithMaxResults(int value)
ListExecutionsRequest & WithStatusFilter(ExecutionStatus &&value)
const ExecutionStatus & GetStatusFilter() const
ListExecutionsRequest & WithRedriveFilter(ExecutionRedriveFilter &&value)
virtual const char * GetServiceRequestName() const override
ListExecutionsRequest & WithMapRunArn(const char *value)
void SetRedriveFilter(const ExecutionRedriveFilter &value)
ListExecutionsRequest & WithNextToken(const Aws::String &value)
ListExecutionsRequest & WithStateMachineArn(const char *value)
const ExecutionRedriveFilter & GetRedriveFilter() const
void SetNextToken(const Aws::String &value)
void SetMapRunArn(const Aws::String &value)
void SetStatusFilter(const ExecutionStatus &value)
ListExecutionsRequest & WithMapRunArn(Aws::String &&value)
void SetRedriveFilter(ExecutionRedriveFilter &&value)
ListExecutionsRequest & WithNextToken(const char *value)
AWS_SFN_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListExecutionsRequest & WithRedriveFilter(const ExecutionRedriveFilter &value)
ListExecutionsRequest & WithStateMachineArn(Aws::String &&value)
const Aws::String & GetStateMachineArn() const
void SetStateMachineArn(const Aws::String &value)
ListExecutionsRequest & WithNextToken(Aws::String &&value)
ListExecutionsRequest & WithStateMachineArn(const Aws::String &value)
void SetStatusFilter(ExecutionStatus &&value)
ListExecutionsRequest & WithMapRunArn(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String