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>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
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>
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>
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>
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>
99 inline void SetMaxConcurrency(
int value) { m_maxConcurrencyHasBeenSet =
true; m_maxConcurrency = value; }
119 inline void SetToleratedFailureCount(
long long value) { m_toleratedFailureCountHasBeenSet =
true; m_toleratedFailureCount = value; }
130 template<
typename ItemCountsT = MapRunItemCounts>
131 void SetItemCounts(ItemCountsT&& value) { m_itemCountsHasBeenSet =
true; m_itemCounts = std::forward<ItemCountsT>(value); }
132 template<
typename ItemCountsT = MapRunItemCounts>
143 template<
typename ExecutionCountsT = MapRunExecutionCounts>
144 void SetExecutionCounts(ExecutionCountsT&& value) { m_executionCountsHasBeenSet =
true; m_executionCounts = std::forward<ExecutionCountsT>(value); }
145 template<
typename ExecutionCountsT = MapRunExecutionCounts>
156 inline void SetRedriveCount(
int value) { m_redriveCountHasBeenSet =
true; m_redriveCount = value; }
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>
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>
183 bool m_mapRunArnHasBeenSet =
false;
186 bool m_executionArnHasBeenSet =
false;
189 bool m_statusHasBeenSet =
false;
192 bool m_startDateHasBeenSet =
false;
195 bool m_stopDateHasBeenSet =
false;
197 int m_maxConcurrency{0};
198 bool m_maxConcurrencyHasBeenSet =
false;
200 double m_toleratedFailurePercentage{0.0};
201 bool m_toleratedFailurePercentageHasBeenSet =
false;
203 long long m_toleratedFailureCount{0};
204 bool m_toleratedFailureCountHasBeenSet =
false;
206 MapRunItemCounts m_itemCounts;
207 bool m_itemCountsHasBeenSet =
false;
209 MapRunExecutionCounts m_executionCounts;
210 bool m_executionCountsHasBeenSet =
false;
212 int m_redriveCount{0};
213 bool m_redriveCountHasBeenSet =
false;
216 bool m_redriveDateHasBeenSet =
false;
219 bool m_requestIdHasBeenSet =
false;
const Aws::Utils::DateTime & GetStartDate() const
const Aws::Utils::DateTime & GetRedriveDate() const
DescribeMapRunResult & WithStopDate(StopDateT &&value)
DescribeMapRunResult & WithStatus(MapRunStatus value)
DescribeMapRunResult & WithStartDate(StartDateT &&value)
void SetMapRunArn(MapRunArnT &&value)
const Aws::String & GetMapRunArn() const
DescribeMapRunResult & WithMaxConcurrency(int value)
DescribeMapRunResult & WithRequestId(RequestIdT &&value)
double GetToleratedFailurePercentage() const
AWS_SFN_API DescribeMapRunResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStopDate(StopDateT &&value)
void SetExecutionCounts(ExecutionCountsT &&value)
const Aws::String & GetExecutionArn() const
DescribeMapRunResult & WithExecutionArn(ExecutionArnT &&value)
void SetToleratedFailurePercentage(double value)
int GetRedriveCount() const
void SetMaxConcurrency(int value)
long long GetToleratedFailureCount() const
DescribeMapRunResult & WithRedriveDate(RedriveDateT &&value)
void SetRedriveCount(int value)
void SetItemCounts(ItemCountsT &&value)
const MapRunExecutionCounts & GetExecutionCounts() const
DescribeMapRunResult & WithItemCounts(ItemCountsT &&value)
void SetExecutionArn(ExecutionArnT &&value)
MapRunStatus GetStatus() const
void SetStartDate(StartDateT &&value)
int GetMaxConcurrency() const
DescribeMapRunResult & WithMapRunArn(MapRunArnT &&value)
const Aws::Utils::DateTime & GetStopDate() const
DescribeMapRunResult & WithExecutionCounts(ExecutionCountsT &&value)
void SetRedriveDate(RedriveDateT &&value)
DescribeMapRunResult & WithRedriveCount(int value)
AWS_SFN_API DescribeMapRunResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeMapRunResult & WithToleratedFailureCount(long long value)
void SetToleratedFailureCount(long long value)
void SetStatus(MapRunStatus value)
AWS_SFN_API DescribeMapRunResult()=default
const Aws::String & GetRequestId() const
DescribeMapRunResult & WithToleratedFailurePercentage(double value)
const MapRunItemCounts & GetItemCounts() const
void SetRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue