7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/ecs/model/ServiceDeploymentRollbackMonitorsStatus.h>
50 m_statusHasBeenSet =
true;
67 m_failureCountHasBeenSet =
true;
68 m_failureCount = value;
88 m_thresholdHasBeenSet =
true;
99 int m_failureCount{0};
102 bool m_statusHasBeenSet =
false;
103 bool m_failureCountHasBeenSet =
false;
104 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)
AWS_ECS_API ServiceDeploymentCircuitBreaker()=default
ServiceDeploymentRollbackMonitorsStatus GetStatus() const
bool FailureCountHasBeenSet() const
bool ThresholdHasBeenSet() const
void SetThreshold(int value)
ServiceDeploymentCircuitBreaker & WithFailureCount(int value)
void SetStatus(ServiceDeploymentRollbackMonitorsStatus value)
ServiceDeploymentCircuitBreaker & WithStatus(ServiceDeploymentRollbackMonitorsStatus value)
AWS_ECS_API ServiceDeploymentCircuitBreaker(Aws::Utils::Json::JsonView jsonValue)
void SetFailureCount(int value)
bool StatusHasBeenSet() const
ServiceDeploymentCircuitBreaker & WithThreshold(int value)
ServiceDeploymentRollbackMonitorsStatus
Aws::Utils::Json::JsonValue JsonValue