7#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
8#include <aws/iot-managed-integrations/model/AbortCriteriaAction.h>
9#include <aws/iot-managed-integrations/model/AbortCriteriaFailureType.h>
22namespace IoTManagedIntegrations
80 inline void SetThresholdPercentage(
double value) { m_thresholdPercentageHasBeenSet =
true; m_thresholdPercentage = value; }
86 bool m_actionHasBeenSet =
false;
89 bool m_failureTypeHasBeenSet =
false;
91 int m_minNumberOfExecutedThings{0};
92 bool m_minNumberOfExecutedThingsHasBeenSet =
false;
94 double m_thresholdPercentage{0.0};
95 bool m_thresholdPercentageHasBeenSet =
false;
void SetThresholdPercentage(double value)
AWS_IOTMANAGEDINTEGRATIONS_API AbortConfigCriteria(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AbortConfigCriteria & WithMinNumberOfExecutedThings(int value)
void SetFailureType(AbortCriteriaFailureType value)
AWS_IOTMANAGEDINTEGRATIONS_API AbortConfigCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ThresholdPercentageHasBeenSet() const
bool ActionHasBeenSet() const
AbortConfigCriteria & WithFailureType(AbortCriteriaFailureType value)
AbortCriteriaAction GetAction() const
AbortConfigCriteria & WithThresholdPercentage(double value)
bool FailureTypeHasBeenSet() const
AbortConfigCriteria & WithAction(AbortCriteriaAction value)
AbortCriteriaFailureType GetFailureType() const
void SetMinNumberOfExecutedThings(int value)
bool MinNumberOfExecutedThingsHasBeenSet() const
void SetAction(AbortCriteriaAction value)
int GetMinNumberOfExecutedThings() const
double GetThresholdPercentage() const
AWS_IOTMANAGEDINTEGRATIONS_API AbortConfigCriteria()=default
Aws::Utils::Json::JsonValue JsonValue