7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/ecs/model/ThresholdConfiguration.h>
54 m_enableHasBeenSet =
true;
73 m_rollbackHasBeenSet =
true;
93 m_resetOnHealthyTaskHasBeenSet =
true;
94 m_resetOnHealthyTask = value;
110 template <
typename ThresholdConfigurationT = ThresholdConfiguration>
112 m_thresholdConfigurationHasBeenSet =
true;
113 m_thresholdConfiguration = std::forward<ThresholdConfigurationT>(value);
115 template <
typename ThresholdConfigurationT = ThresholdConfiguration>
122 bool m_enable{
false};
124 bool m_rollback{
false};
126 bool m_resetOnHealthyTask{
false};
128 ThresholdConfiguration m_thresholdConfiguration;
129 bool m_enableHasBeenSet =
false;
130 bool m_rollbackHasBeenSet =
false;
131 bool m_resetOnHealthyTaskHasBeenSet =
false;
132 bool m_thresholdConfigurationHasBeenSet =
false;
bool ThresholdConfigurationHasBeenSet() const
DeploymentCircuitBreaker & WithResetOnHealthyTask(bool value)
AWS_ECS_API DeploymentCircuitBreaker & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ResetOnHealthyTaskHasBeenSet() const
const ThresholdConfiguration & GetThresholdConfiguration() const
bool EnableHasBeenSet() const
DeploymentCircuitBreaker & WithThresholdConfiguration(ThresholdConfigurationT &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetThresholdConfiguration(ThresholdConfigurationT &&value)
AWS_ECS_API DeploymentCircuitBreaker(Aws::Utils::Json::JsonView jsonValue)
DeploymentCircuitBreaker & WithEnable(bool value)
DeploymentCircuitBreaker & WithRollback(bool value)
bool RollbackHasBeenSet() const
void SetEnable(bool value)
bool GetResetOnHealthyTask() const
void SetRollback(bool value)
void SetResetOnHealthyTask(bool value)
AWS_ECS_API DeploymentCircuitBreaker()=default
Aws::Utils::Json::JsonValue JsonValue