7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/model/AwsJobAbortCriteriaAbortAction.h>
9#include <aws/iot/model/AwsJobAbortCriteriaFailureType.h>
43 m_failureTypeHasBeenSet =
true;
44 m_failureType = value;
59 m_actionHasBeenSet =
true;
77 m_thresholdPercentageHasBeenSet =
true;
78 m_thresholdPercentage = value;
94 m_minNumberOfExecutedThingsHasBeenSet =
true;
95 m_minNumberOfExecutedThings = value;
107 double m_thresholdPercentage{0.0};
109 int m_minNumberOfExecutedThings{0};
110 bool m_failureTypeHasBeenSet =
false;
111 bool m_actionHasBeenSet =
false;
112 bool m_thresholdPercentageHasBeenSet =
false;
113 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