7#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
8#include <aws/greengrassv2/model/IoTJobExecutionFailureType.h>
9#include <aws/greengrassv2/model/IoTJobAbortAction.h>
79 inline void SetThresholdPercentage(
double value) { m_thresholdPercentageHasBeenSet =
true; m_thresholdPercentage = value; }
96 bool m_failureTypeHasBeenSet =
false;
99 bool m_actionHasBeenSet =
false;
101 double m_thresholdPercentage;
102 bool m_thresholdPercentageHasBeenSet =
false;
104 int m_minNumberOfExecutedThings;
105 bool m_minNumberOfExecutedThingsHasBeenSet =
false;
const IoTJobAbortAction & GetAction() const
AWS_GREENGRASSV2_API IoTJobAbortCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
IoTJobAbortCriteria & WithAction(const IoTJobAbortAction &value)
void SetAction(const IoTJobAbortAction &value)
int GetMinNumberOfExecutedThings() const
bool MinNumberOfExecutedThingsHasBeenSet() const
void SetThresholdPercentage(double value)
IoTJobAbortCriteria & WithMinNumberOfExecutedThings(int value)
IoTJobAbortCriteria & WithFailureType(const IoTJobExecutionFailureType &value)
double GetThresholdPercentage() const
IoTJobAbortCriteria & WithAction(IoTJobAbortAction &&value)
IoTJobAbortCriteria & WithThresholdPercentage(double value)
void SetAction(IoTJobAbortAction &&value)
AWS_GREENGRASSV2_API IoTJobAbortCriteria()
bool ThresholdPercentageHasBeenSet() const
void SetFailureType(const IoTJobExecutionFailureType &value)
bool ActionHasBeenSet() const
void SetFailureType(IoTJobExecutionFailureType &&value)
IoTJobAbortCriteria & WithFailureType(IoTJobExecutionFailureType &&value)
void SetMinNumberOfExecutedThings(int value)
bool FailureTypeHasBeenSet() const
const IoTJobExecutionFailureType & GetFailureType() const
AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GREENGRASSV2_API IoTJobAbortCriteria(Aws::Utils::Json::JsonView jsonValue)
IoTJobExecutionFailureType
Aws::Utils::Json::JsonValue JsonValue