7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/ecs/model/ServiceDeploymentRollbackMonitorsStatus.h>
68 inline void SetFailureCount(
int value) { m_failureCountHasBeenSet =
true; m_failureCount = value; }
83 inline void SetThreshold(
int value) { m_thresholdHasBeenSet =
true; m_threshold = value; }
89 bool m_statusHasBeenSet =
false;
92 bool m_failureCountHasBeenSet =
false;
95 bool m_thresholdHasBeenSet =
false;
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
int GetFailureCount() const
AWS_ECS_API ServiceDeploymentCircuitBreaker & operator=(Aws::Utils::Json::JsonView jsonValue)
const ServiceDeploymentRollbackMonitorsStatus & GetStatus() const
AWS_ECS_API ServiceDeploymentCircuitBreaker()
bool FailureCountHasBeenSet() const
bool ThresholdHasBeenSet() const
void SetStatus(const ServiceDeploymentRollbackMonitorsStatus &value)
void SetThreshold(int value)
ServiceDeploymentCircuitBreaker & WithStatus(const ServiceDeploymentRollbackMonitorsStatus &value)
ServiceDeploymentCircuitBreaker & WithFailureCount(int value)
AWS_ECS_API ServiceDeploymentCircuitBreaker(Aws::Utils::Json::JsonView jsonValue)
ServiceDeploymentCircuitBreaker & WithStatus(ServiceDeploymentRollbackMonitorsStatus &&value)
void SetFailureCount(int value)
void SetStatus(ServiceDeploymentRollbackMonitorsStatus &&value)
bool StatusHasBeenSet() const
ServiceDeploymentCircuitBreaker & WithThreshold(int value)
ServiceDeploymentRollbackMonitorsStatus
Aws::Utils::Json::JsonValue JsonValue