7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/model/AbortAction.h>
9#include <aws/iot/model/JobExecutionFailureType.h>
43 m_failureTypeHasBeenSet =
true;
44 m_failureType = value;
59 m_actionHasBeenSet =
true;
77 m_thresholdPercentageHasBeenSet =
true;
78 m_thresholdPercentage = value;
94 m_minNumberOfExecutedThingsHasBeenSet =
true;
95 m_minNumberOfExecutedThings = value;
107 double m_thresholdPercentage{0.0};
109 int m_minNumberOfExecutedThings{0};
110 bool m_failureTypeHasBeenSet =
false;
111 bool m_actionHasBeenSet =
false;
112 bool m_thresholdPercentageHasBeenSet =
false;
113 bool m_minNumberOfExecutedThingsHasBeenSet =
false;
AbortCriteria & WithFailureType(JobExecutionFailureType value)
double GetThresholdPercentage() const
bool ActionHasBeenSet() const
void SetAction(AbortAction value)
AbortCriteria & WithAction(AbortAction value)
void SetThresholdPercentage(double value)
AWS_IOT_API AbortCriteria()=default
AbortCriteria & WithMinNumberOfExecutedThings(int value)
void SetMinNumberOfExecutedThings(int value)
AWS_IOT_API AbortCriteria(Aws::Utils::Json::JsonView jsonValue)
void SetFailureType(JobExecutionFailureType value)
JobExecutionFailureType GetFailureType() const
bool MinNumberOfExecutedThingsHasBeenSet() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
bool ThresholdPercentageHasBeenSet() const
AbortAction GetAction() const
AWS_IOT_API AbortCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
AbortCriteria & WithThresholdPercentage(double value)
bool FailureTypeHasBeenSet() const
int GetMinNumberOfExecutedThings() const
Aws::Utils::Json::JsonValue JsonValue