7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/model/JobExecutionFailureType.h>
9#include <aws/iot/model/AbortAction.h>
70 inline void SetThresholdPercentage(
double value) { m_thresholdPercentageHasBeenSet =
true; m_thresholdPercentage = value; }
87 bool m_failureTypeHasBeenSet =
false;
90 bool m_actionHasBeenSet =
false;
92 double m_thresholdPercentage{0.0};
93 bool m_thresholdPercentageHasBeenSet =
false;
95 int m_minNumberOfExecutedThings{0};
96 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