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