AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeMapRunResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/states/SFN_EXPORTS.h>
10#include <aws/states/model/MapRunExecutionCounts.h>
11#include <aws/states/model/MapRunItemCounts.h>
12#include <aws/states/model/MapRunStatus.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace SFN {
26namespace Model {
28 public:
29 AWS_SFN_API DescribeMapRunResult() = default;
32
34
37 inline const Aws::String& GetMapRunArn() const { return m_mapRunArn; }
38 template <typename MapRunArnT = Aws::String>
39 void SetMapRunArn(MapRunArnT&& value) {
40 m_mapRunArnHasBeenSet = true;
41 m_mapRunArn = std::forward<MapRunArnT>(value);
42 }
43 template <typename MapRunArnT = Aws::String>
44 DescribeMapRunResult& WithMapRunArn(MapRunArnT&& value) {
45 SetMapRunArn(std::forward<MapRunArnT>(value));
46 return *this;
47 }
49
51
55 inline const Aws::String& GetExecutionArn() const { return m_executionArn; }
56 template <typename ExecutionArnT = Aws::String>
57 void SetExecutionArn(ExecutionArnT&& value) {
58 m_executionArnHasBeenSet = true;
59 m_executionArn = std::forward<ExecutionArnT>(value);
60 }
61 template <typename ExecutionArnT = Aws::String>
62 DescribeMapRunResult& WithExecutionArn(ExecutionArnT&& value) {
63 SetExecutionArn(std::forward<ExecutionArnT>(value));
64 return *this;
65 }
67
69
72 inline MapRunStatus GetStatus() const { return m_status; }
73 inline void SetStatus(MapRunStatus value) {
74 m_statusHasBeenSet = true;
75 m_status = value;
76 }
78 SetStatus(value);
79 return *this;
80 }
82
84
87 inline const Aws::Utils::DateTime& GetStartDate() const { return m_startDate; }
88 template <typename StartDateT = Aws::Utils::DateTime>
89 void SetStartDate(StartDateT&& value) {
90 m_startDateHasBeenSet = true;
91 m_startDate = std::forward<StartDateT>(value);
92 }
93 template <typename StartDateT = Aws::Utils::DateTime>
94 DescribeMapRunResult& WithStartDate(StartDateT&& value) {
95 SetStartDate(std::forward<StartDateT>(value));
96 return *this;
97 }
99
101
104 inline const Aws::Utils::DateTime& GetStopDate() const { return m_stopDate; }
105 template <typename StopDateT = Aws::Utils::DateTime>
106 void SetStopDate(StopDateT&& value) {
107 m_stopDateHasBeenSet = true;
108 m_stopDate = std::forward<StopDateT>(value);
109 }
110 template <typename StopDateT = Aws::Utils::DateTime>
111 DescribeMapRunResult& WithStopDate(StopDateT&& value) {
112 SetStopDate(std::forward<StopDateT>(value));
113 return *this;
114 }
116
118
122 inline int GetMaxConcurrency() const { return m_maxConcurrency; }
123 inline void SetMaxConcurrency(int value) {
124 m_maxConcurrencyHasBeenSet = true;
125 m_maxConcurrency = value;
126 }
128 SetMaxConcurrency(value);
129 return *this;
130 }
132
134
138 inline double GetToleratedFailurePercentage() const { return m_toleratedFailurePercentage; }
139 inline void SetToleratedFailurePercentage(double value) {
140 m_toleratedFailurePercentageHasBeenSet = true;
141 m_toleratedFailurePercentage = value;
142 }
145 return *this;
146 }
148
150
154 inline long long GetToleratedFailureCount() const { return m_toleratedFailureCount; }
155 inline void SetToleratedFailureCount(long long value) {
156 m_toleratedFailureCountHasBeenSet = true;
157 m_toleratedFailureCount = value;
158 }
161 return *this;
162 }
164
166
171 inline const MapRunItemCounts& GetItemCounts() const { return m_itemCounts; }
172 template <typename ItemCountsT = MapRunItemCounts>
173 void SetItemCounts(ItemCountsT&& value) {
174 m_itemCountsHasBeenSet = true;
175 m_itemCounts = std::forward<ItemCountsT>(value);
176 }
177 template <typename ItemCountsT = MapRunItemCounts>
178 DescribeMapRunResult& WithItemCounts(ItemCountsT&& value) {
179 SetItemCounts(std::forward<ItemCountsT>(value));
180 return *this;
181 }
183
185
190 inline const MapRunExecutionCounts& GetExecutionCounts() const { return m_executionCounts; }
191 template <typename ExecutionCountsT = MapRunExecutionCounts>
192 void SetExecutionCounts(ExecutionCountsT&& value) {
193 m_executionCountsHasBeenSet = true;
194 m_executionCounts = std::forward<ExecutionCountsT>(value);
195 }
196 template <typename ExecutionCountsT = MapRunExecutionCounts>
197 DescribeMapRunResult& WithExecutionCounts(ExecutionCountsT&& value) {
198 SetExecutionCounts(std::forward<ExecutionCountsT>(value));
199 return *this;
200 }
202
204
209 inline int GetRedriveCount() const { return m_redriveCount; }
210 inline void SetRedriveCount(int value) {
211 m_redriveCountHasBeenSet = true;
212 m_redriveCount = value;
213 }
215 SetRedriveCount(value);
216 return *this;
217 }
219
221
225 inline const Aws::Utils::DateTime& GetRedriveDate() const { return m_redriveDate; }
226 template <typename RedriveDateT = Aws::Utils::DateTime>
227 void SetRedriveDate(RedriveDateT&& value) {
228 m_redriveDateHasBeenSet = true;
229 m_redriveDate = std::forward<RedriveDateT>(value);
230 }
231 template <typename RedriveDateT = Aws::Utils::DateTime>
232 DescribeMapRunResult& WithRedriveDate(RedriveDateT&& value) {
233 SetRedriveDate(std::forward<RedriveDateT>(value));
234 return *this;
235 }
237
239
240 inline const Aws::String& GetRequestId() const { return m_requestId; }
241 template <typename RequestIdT = Aws::String>
242 void SetRequestId(RequestIdT&& value) {
243 m_requestIdHasBeenSet = true;
244 m_requestId = std::forward<RequestIdT>(value);
245 }
246 template <typename RequestIdT = Aws::String>
247 DescribeMapRunResult& WithRequestId(RequestIdT&& value) {
248 SetRequestId(std::forward<RequestIdT>(value));
249 return *this;
250 }
252 private:
253 Aws::String m_mapRunArn;
254
255 Aws::String m_executionArn;
256
258
259 Aws::Utils::DateTime m_startDate{};
260
261 Aws::Utils::DateTime m_stopDate{};
262
263 int m_maxConcurrency{0};
264
265 double m_toleratedFailurePercentage{0.0};
266
267 long long m_toleratedFailureCount{0};
268
269 MapRunItemCounts m_itemCounts;
270
271 MapRunExecutionCounts m_executionCounts;
272
273 int m_redriveCount{0};
274
275 Aws::Utils::DateTime m_redriveDate{};
276
277 Aws::String m_requestId;
278 bool m_mapRunArnHasBeenSet = false;
279 bool m_executionArnHasBeenSet = false;
280 bool m_statusHasBeenSet = false;
281 bool m_startDateHasBeenSet = false;
282 bool m_stopDateHasBeenSet = false;
283 bool m_maxConcurrencyHasBeenSet = false;
284 bool m_toleratedFailurePercentageHasBeenSet = false;
285 bool m_toleratedFailureCountHasBeenSet = false;
286 bool m_itemCountsHasBeenSet = false;
287 bool m_executionCountsHasBeenSet = false;
288 bool m_redriveCountHasBeenSet = false;
289 bool m_redriveDateHasBeenSet = false;
290 bool m_requestIdHasBeenSet = false;
291};
292
293} // namespace Model
294} // namespace SFN
295} // namespace Aws
const Aws::Utils::DateTime & GetStartDate() const
const Aws::Utils::DateTime & GetRedriveDate() const
DescribeMapRunResult & WithStopDate(StopDateT &&value)
DescribeMapRunResult & WithStatus(MapRunStatus value)
DescribeMapRunResult & WithStartDate(StartDateT &&value)
const Aws::String & GetMapRunArn() const
DescribeMapRunResult & WithMaxConcurrency(int value)
DescribeMapRunResult & WithRequestId(RequestIdT &&value)
AWS_SFN_API DescribeMapRunResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetExecutionCounts(ExecutionCountsT &&value)
const Aws::String & GetExecutionArn() const
DescribeMapRunResult & WithExecutionArn(ExecutionArnT &&value)
DescribeMapRunResult & WithRedriveDate(RedriveDateT &&value)
const MapRunExecutionCounts & GetExecutionCounts() const
DescribeMapRunResult & WithItemCounts(ItemCountsT &&value)
void SetExecutionArn(ExecutionArnT &&value)
DescribeMapRunResult & WithMapRunArn(MapRunArnT &&value)
const Aws::Utils::DateTime & GetStopDate() const
DescribeMapRunResult & WithExecutionCounts(ExecutionCountsT &&value)
DescribeMapRunResult & WithRedriveCount(int value)
AWS_SFN_API DescribeMapRunResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeMapRunResult & WithToleratedFailureCount(long long value)
AWS_SFN_API DescribeMapRunResult()=default
DescribeMapRunResult & WithToleratedFailurePercentage(double value)
const MapRunItemCounts & GetItemCounts() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue