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