AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DescribeMapRunResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/states/SFN_EXPORTS.h>
11#include <aws/states/model/MapRunExecutionCounts.h>
12#include <aws/states/model/MapRunItemCounts.h>
13#include <aws/states/model/MapRunStatus.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace SFN {
27namespace Model {
29 public:
30 AWS_SFN_API DescribeMapRunResult() = default;
33
35
38 inline const Aws::String& GetMapRunArn() const { return m_mapRunArn; }
39 template <typename MapRunArnT = Aws::String>
40 void SetMapRunArn(MapRunArnT&& value) {
41 m_mapRunArnHasBeenSet = true;
42 m_mapRunArn = std::forward<MapRunArnT>(value);
43 }
44 template <typename MapRunArnT = Aws::String>
45 DescribeMapRunResult& WithMapRunArn(MapRunArnT&& value) {
46 SetMapRunArn(std::forward<MapRunArnT>(value));
47 return *this;
48 }
50
52
56 inline const Aws::String& GetExecutionArn() const { return m_executionArn; }
57 template <typename ExecutionArnT = Aws::String>
58 void SetExecutionArn(ExecutionArnT&& value) {
59 m_executionArnHasBeenSet = true;
60 m_executionArn = std::forward<ExecutionArnT>(value);
61 }
62 template <typename ExecutionArnT = Aws::String>
63 DescribeMapRunResult& WithExecutionArn(ExecutionArnT&& value) {
64 SetExecutionArn(std::forward<ExecutionArnT>(value));
65 return *this;
66 }
68
70
73 inline MapRunStatus GetStatus() const { return m_status; }
74 inline void SetStatus(MapRunStatus value) {
75 m_statusHasBeenSet = true;
76 m_status = value;
77 }
79 SetStatus(value);
80 return *this;
81 }
83
85
88 inline const Aws::Utils::DateTime& GetStartDate() const { return m_startDate; }
89 template <typename StartDateT = Aws::Utils::DateTime>
90 void SetStartDate(StartDateT&& value) {
91 m_startDateHasBeenSet = true;
92 m_startDate = std::forward<StartDateT>(value);
93 }
94 template <typename StartDateT = Aws::Utils::DateTime>
95 DescribeMapRunResult& WithStartDate(StartDateT&& value) {
96 SetStartDate(std::forward<StartDateT>(value));
97 return *this;
98 }
100
102
105 inline const Aws::Utils::DateTime& GetStopDate() const { return m_stopDate; }
106 template <typename StopDateT = Aws::Utils::DateTime>
107 void SetStopDate(StopDateT&& value) {
108 m_stopDateHasBeenSet = true;
109 m_stopDate = std::forward<StopDateT>(value);
110 }
111 template <typename StopDateT = Aws::Utils::DateTime>
112 DescribeMapRunResult& WithStopDate(StopDateT&& value) {
113 SetStopDate(std::forward<StopDateT>(value));
114 return *this;
115 }
117
119
123 inline int GetMaxConcurrency() const { return m_maxConcurrency; }
124 inline void SetMaxConcurrency(int value) {
125 m_maxConcurrencyHasBeenSet = true;
126 m_maxConcurrency = value;
127 }
129 SetMaxConcurrency(value);
130 return *this;
131 }
133
135
139 inline double GetToleratedFailurePercentage() const { return m_toleratedFailurePercentage; }
140 inline void SetToleratedFailurePercentage(double value) {
141 m_toleratedFailurePercentageHasBeenSet = true;
142 m_toleratedFailurePercentage = value;
143 }
146 return *this;
147 }
149
151
155 inline long long GetToleratedFailureCount() const { return m_toleratedFailureCount; }
156 inline void SetToleratedFailureCount(long long value) {
157 m_toleratedFailureCountHasBeenSet = true;
158 m_toleratedFailureCount = value;
159 }
162 return *this;
163 }
165
167
172 inline const MapRunItemCounts& GetItemCounts() const { return m_itemCounts; }
173 template <typename ItemCountsT = MapRunItemCounts>
174 void SetItemCounts(ItemCountsT&& value) {
175 m_itemCountsHasBeenSet = true;
176 m_itemCounts = std::forward<ItemCountsT>(value);
177 }
178 template <typename ItemCountsT = MapRunItemCounts>
179 DescribeMapRunResult& WithItemCounts(ItemCountsT&& value) {
180 SetItemCounts(std::forward<ItemCountsT>(value));
181 return *this;
182 }
184
186
191 inline const MapRunExecutionCounts& GetExecutionCounts() const { return m_executionCounts; }
192 template <typename ExecutionCountsT = MapRunExecutionCounts>
193 void SetExecutionCounts(ExecutionCountsT&& value) {
194 m_executionCountsHasBeenSet = true;
195 m_executionCounts = std::forward<ExecutionCountsT>(value);
196 }
197 template <typename ExecutionCountsT = MapRunExecutionCounts>
198 DescribeMapRunResult& WithExecutionCounts(ExecutionCountsT&& value) {
199 SetExecutionCounts(std::forward<ExecutionCountsT>(value));
200 return *this;
201 }
203
205
210 inline int GetRedriveCount() const { return m_redriveCount; }
211 inline void SetRedriveCount(int value) {
212 m_redriveCountHasBeenSet = true;
213 m_redriveCount = value;
214 }
216 SetRedriveCount(value);
217 return *this;
218 }
220
222
226 inline const Aws::Utils::DateTime& GetRedriveDate() const { return m_redriveDate; }
227 template <typename RedriveDateT = Aws::Utils::DateTime>
228 void SetRedriveDate(RedriveDateT&& value) {
229 m_redriveDateHasBeenSet = true;
230 m_redriveDate = std::forward<RedriveDateT>(value);
231 }
232 template <typename RedriveDateT = Aws::Utils::DateTime>
233 DescribeMapRunResult& WithRedriveDate(RedriveDateT&& value) {
234 SetRedriveDate(std::forward<RedriveDateT>(value));
235 return *this;
236 }
238
240
241 inline const Aws::String& GetRequestId() const { return m_requestId; }
242 template <typename RequestIdT = Aws::String>
243 void SetRequestId(RequestIdT&& value) {
244 m_requestIdHasBeenSet = true;
245 m_requestId = std::forward<RequestIdT>(value);
246 }
247 template <typename RequestIdT = Aws::String>
248 DescribeMapRunResult& WithRequestId(RequestIdT&& value) {
249 SetRequestId(std::forward<RequestIdT>(value));
250 return *this;
251 }
253 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
254
255 private:
256 Aws::String m_mapRunArn;
257
258 Aws::String m_executionArn;
259
261
262 Aws::Utils::DateTime m_startDate{};
263
264 Aws::Utils::DateTime m_stopDate{};
265
266 int m_maxConcurrency{0};
267
268 double m_toleratedFailurePercentage{0.0};
269
270 long long m_toleratedFailureCount{0};
271
272 MapRunItemCounts m_itemCounts;
273
274 MapRunExecutionCounts m_executionCounts;
275
276 int m_redriveCount{0};
277
278 Aws::Utils::DateTime m_redriveDate{};
279
280 Aws::String m_requestId;
281 Aws::Http::HttpResponseCode m_HttpResponseCode;
282 bool m_mapRunArnHasBeenSet = false;
283 bool m_executionArnHasBeenSet = false;
284 bool m_statusHasBeenSet = false;
285 bool m_startDateHasBeenSet = false;
286 bool m_stopDateHasBeenSet = false;
287 bool m_maxConcurrencyHasBeenSet = false;
288 bool m_toleratedFailurePercentageHasBeenSet = false;
289 bool m_toleratedFailureCountHasBeenSet = false;
290 bool m_itemCountsHasBeenSet = false;
291 bool m_executionCountsHasBeenSet = false;
292 bool m_redriveCountHasBeenSet = false;
293 bool m_redriveDateHasBeenSet = false;
294 bool m_requestIdHasBeenSet = false;
295};
296
297} // namespace Model
298} // namespace SFN
299} // 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::Http::HttpResponseCode GetHttpResponseCode() const
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