AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeMapRunResult.h
1
6#pragma once
7#include <aws/states/SFN_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/states/model/MapRunStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/states/model/MapRunItemCounts.h>
12#include <aws/states/model/MapRunExecutionCounts.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace SFN
28{
29namespace Model
30{
32 {
33 public:
34 AWS_SFN_API DescribeMapRunResult() = default;
37
38
40
43 inline const Aws::String& GetMapRunArn() const { return m_mapRunArn; }
44 template<typename MapRunArnT = Aws::String>
45 void SetMapRunArn(MapRunArnT&& value) { m_mapRunArnHasBeenSet = true; m_mapRunArn = std::forward<MapRunArnT>(value); }
46 template<typename MapRunArnT = Aws::String>
47 DescribeMapRunResult& WithMapRunArn(MapRunArnT&& value) { SetMapRunArn(std::forward<MapRunArnT>(value)); return *this;}
49
51
55 inline const Aws::String& GetExecutionArn() const { return m_executionArn; }
56 template<typename ExecutionArnT = Aws::String>
57 void SetExecutionArn(ExecutionArnT&& value) { m_executionArnHasBeenSet = true; m_executionArn = std::forward<ExecutionArnT>(value); }
58 template<typename ExecutionArnT = Aws::String>
59 DescribeMapRunResult& WithExecutionArn(ExecutionArnT&& value) { SetExecutionArn(std::forward<ExecutionArnT>(value)); return *this;}
61
63
66 inline MapRunStatus GetStatus() const { return m_status; }
67 inline void SetStatus(MapRunStatus value) { m_statusHasBeenSet = true; m_status = value; }
68 inline DescribeMapRunResult& WithStatus(MapRunStatus value) { SetStatus(value); return *this;}
70
72
75 inline const Aws::Utils::DateTime& GetStartDate() const { return m_startDate; }
76 template<typename StartDateT = Aws::Utils::DateTime>
77 void SetStartDate(StartDateT&& value) { m_startDateHasBeenSet = true; m_startDate = std::forward<StartDateT>(value); }
78 template<typename StartDateT = Aws::Utils::DateTime>
79 DescribeMapRunResult& WithStartDate(StartDateT&& value) { SetStartDate(std::forward<StartDateT>(value)); return *this;}
81
83
86 inline const Aws::Utils::DateTime& GetStopDate() const { return m_stopDate; }
87 template<typename StopDateT = Aws::Utils::DateTime>
88 void SetStopDate(StopDateT&& value) { m_stopDateHasBeenSet = true; m_stopDate = std::forward<StopDateT>(value); }
89 template<typename StopDateT = Aws::Utils::DateTime>
90 DescribeMapRunResult& WithStopDate(StopDateT&& value) { SetStopDate(std::forward<StopDateT>(value)); return *this;}
92
94
98 inline int GetMaxConcurrency() const { return m_maxConcurrency; }
99 inline void SetMaxConcurrency(int value) { m_maxConcurrencyHasBeenSet = true; m_maxConcurrency = value; }
100 inline DescribeMapRunResult& WithMaxConcurrency(int value) { SetMaxConcurrency(value); return *this;}
102
104
108 inline double GetToleratedFailurePercentage() const { return m_toleratedFailurePercentage; }
109 inline void SetToleratedFailurePercentage(double value) { m_toleratedFailurePercentageHasBeenSet = true; m_toleratedFailurePercentage = value; }
112
114
118 inline long long GetToleratedFailureCount() const { return m_toleratedFailureCount; }
119 inline void SetToleratedFailureCount(long long value) { m_toleratedFailureCountHasBeenSet = true; m_toleratedFailureCount = value; }
120 inline DescribeMapRunResult& WithToleratedFailureCount(long long value) { SetToleratedFailureCount(value); return *this;}
122
124
129 inline const MapRunItemCounts& GetItemCounts() const { return m_itemCounts; }
130 template<typename ItemCountsT = MapRunItemCounts>
131 void SetItemCounts(ItemCountsT&& value) { m_itemCountsHasBeenSet = true; m_itemCounts = std::forward<ItemCountsT>(value); }
132 template<typename ItemCountsT = MapRunItemCounts>
133 DescribeMapRunResult& WithItemCounts(ItemCountsT&& value) { SetItemCounts(std::forward<ItemCountsT>(value)); return *this;}
135
137
142 inline const MapRunExecutionCounts& GetExecutionCounts() const { return m_executionCounts; }
143 template<typename ExecutionCountsT = MapRunExecutionCounts>
144 void SetExecutionCounts(ExecutionCountsT&& value) { m_executionCountsHasBeenSet = true; m_executionCounts = std::forward<ExecutionCountsT>(value); }
145 template<typename ExecutionCountsT = MapRunExecutionCounts>
146 DescribeMapRunResult& WithExecutionCounts(ExecutionCountsT&& value) { SetExecutionCounts(std::forward<ExecutionCountsT>(value)); return *this;}
148
150
155 inline int GetRedriveCount() const { return m_redriveCount; }
156 inline void SetRedriveCount(int value) { m_redriveCountHasBeenSet = true; m_redriveCount = value; }
157 inline DescribeMapRunResult& WithRedriveCount(int value) { SetRedriveCount(value); return *this;}
159
161
165 inline const Aws::Utils::DateTime& GetRedriveDate() const { return m_redriveDate; }
166 template<typename RedriveDateT = Aws::Utils::DateTime>
167 void SetRedriveDate(RedriveDateT&& value) { m_redriveDateHasBeenSet = true; m_redriveDate = std::forward<RedriveDateT>(value); }
168 template<typename RedriveDateT = Aws::Utils::DateTime>
169 DescribeMapRunResult& WithRedriveDate(RedriveDateT&& value) { SetRedriveDate(std::forward<RedriveDateT>(value)); return *this;}
171
173
174 inline const Aws::String& GetRequestId() const { return m_requestId; }
175 template<typename RequestIdT = Aws::String>
176 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
177 template<typename RequestIdT = Aws::String>
178 DescribeMapRunResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
180 private:
181
182 Aws::String m_mapRunArn;
183 bool m_mapRunArnHasBeenSet = false;
184
185 Aws::String m_executionArn;
186 bool m_executionArnHasBeenSet = false;
187
189 bool m_statusHasBeenSet = false;
190
191 Aws::Utils::DateTime m_startDate{};
192 bool m_startDateHasBeenSet = false;
193
194 Aws::Utils::DateTime m_stopDate{};
195 bool m_stopDateHasBeenSet = false;
196
197 int m_maxConcurrency{0};
198 bool m_maxConcurrencyHasBeenSet = false;
199
200 double m_toleratedFailurePercentage{0.0};
201 bool m_toleratedFailurePercentageHasBeenSet = false;
202
203 long long m_toleratedFailureCount{0};
204 bool m_toleratedFailureCountHasBeenSet = false;
205
206 MapRunItemCounts m_itemCounts;
207 bool m_itemCountsHasBeenSet = false;
208
209 MapRunExecutionCounts m_executionCounts;
210 bool m_executionCountsHasBeenSet = false;
211
212 int m_redriveCount{0};
213 bool m_redriveCountHasBeenSet = false;
214
215 Aws::Utils::DateTime m_redriveDate{};
216 bool m_redriveDateHasBeenSet = false;
217
218 Aws::String m_requestId;
219 bool m_requestIdHasBeenSet = false;
220 };
221
222} // namespace Model
223} // namespace SFN
224} // 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