7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/model/JobExecutionFailureType.h>
9#include <aws/iot/model/AbortAction.h>
74 inline void SetThresholdPercentage(
double value) { m_thresholdPercentageHasBeenSet =
true; m_thresholdPercentage = value; }
91 bool m_failureTypeHasBeenSet =
false;
94 bool m_actionHasBeenSet =
false;
96 double m_thresholdPercentage;
97 bool m_thresholdPercentageHasBeenSet =
false;
99 int m_minNumberOfExecutedThings;
100 bool m_minNumberOfExecutedThingsHasBeenSet =
false;
void SetFailureType(JobExecutionFailureType &&value)
const AbortAction & GetAction() const
double GetThresholdPercentage() const
bool ActionHasBeenSet() const
void SetThresholdPercentage(double value)
AWS_IOT_API AbortCriteria()
const JobExecutionFailureType & GetFailureType() const
AbortCriteria & WithMinNumberOfExecutedThings(int value)
void SetMinNumberOfExecutedThings(int value)
AWS_IOT_API AbortCriteria(Aws::Utils::Json::JsonView jsonValue)
AbortCriteria & WithAction(AbortAction &&value)
void SetFailureType(const JobExecutionFailureType &value)
void SetAction(const AbortAction &value)
AbortCriteria & WithFailureType(const JobExecutionFailureType &value)
bool MinNumberOfExecutedThingsHasBeenSet() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
bool ThresholdPercentageHasBeenSet() const
AWS_IOT_API AbortCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
AbortCriteria & WithThresholdPercentage(double value)
AbortCriteria & WithAction(const AbortAction &value)
bool FailureTypeHasBeenSet() const
int GetMinNumberOfExecutedThings() const
AbortCriteria & WithFailureType(JobExecutionFailureType &&value)
void SetAction(AbortAction &&value)
Aws::Utils::Json::JsonValue JsonValue