7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/model/AwsJobAbortCriteriaFailureType.h>
9#include <aws/iot/model/AwsJobAbortCriteriaAbortAction.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;
bool MinNumberOfExecutedThingsHasBeenSet() const
int GetMinNumberOfExecutedThings() const
AwsJobAbortCriteria & WithFailureType(AwsJobAbortCriteriaFailureType value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
bool FailureTypeHasBeenSet() const
void SetAction(AwsJobAbortCriteriaAbortAction value)
double GetThresholdPercentage() const
AWS_IOT_API AwsJobAbortCriteria()=default
AWS_IOT_API AwsJobAbortCriteria(Aws::Utils::Json::JsonView jsonValue)
void SetThresholdPercentage(double value)
bool ThresholdPercentageHasBeenSet() const
AwsJobAbortCriteria & WithThresholdPercentage(double value)
void SetMinNumberOfExecutedThings(int value)
AWS_IOT_API AwsJobAbortCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsJobAbortCriteria & WithAction(AwsJobAbortCriteriaAbortAction value)
void SetFailureType(AwsJobAbortCriteriaFailureType value)
AwsJobAbortCriteriaAbortAction GetAction() const
AwsJobAbortCriteria & WithMinNumberOfExecutedThings(int value)
AwsJobAbortCriteriaFailureType GetFailureType() const
bool ActionHasBeenSet() const
AwsJobAbortCriteriaAbortAction
AwsJobAbortCriteriaFailureType
Aws::Utils::Json::JsonValue JsonValue