7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/ecs/model/DeploymentCircuitBreaker.h>
9#include <aws/ecs/model/DeploymentAlarms.h>
10#include <aws/ecs/model/DeploymentStrategy.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ecs/model/DeploymentLifecycleHook.h>
61 template<
typename DeploymentCircuitBreakerT = DeploymentCircuitBreaker>
62 void SetDeploymentCircuitBreaker(DeploymentCircuitBreakerT&& value) { m_deploymentCircuitBreakerHasBeenSet =
true; m_deploymentCircuitBreaker = std::forward<DeploymentCircuitBreakerT>(value); }
63 template<
typename DeploymentCircuitBreakerT = DeploymentCircuitBreaker>
103 inline void SetMaximumPercent(
int value) { m_maximumPercentHasBeenSet =
true; m_maximumPercent = value; }
179 template<
typename AlarmsT = DeploymentAlarms>
180 void SetAlarms(AlarmsT&& value) { m_alarmsHasBeenSet =
true; m_alarms = std::forward<AlarmsT>(value); }
181 template<
typename AlarmsT = DeploymentAlarms>
215 inline void SetBakeTimeInMinutes(
int value) { m_bakeTimeInMinutesHasBeenSet =
true; m_bakeTimeInMinutes = value; }
226 template<
typename LifecycleHooksT = Aws::Vector<DeploymentLifecycleHook>>
227 void SetLifecycleHooks(LifecycleHooksT&& value) { m_lifecycleHooksHasBeenSet =
true; m_lifecycleHooks = std::forward<LifecycleHooksT>(value); }
228 template<
typename LifecycleHooksT = Aws::Vector<DeploymentLifecycleHook>>
230 template<
typename LifecycleHooksT = DeploymentLifecycleHook>
236 bool m_deploymentCircuitBreakerHasBeenSet =
false;
238 int m_maximumPercent{0};
239 bool m_maximumPercentHasBeenSet =
false;
241 int m_minimumHealthyPercent{0};
242 bool m_minimumHealthyPercentHasBeenSet =
false;
244 DeploymentAlarms m_alarms;
245 bool m_alarmsHasBeenSet =
false;
248 bool m_strategyHasBeenSet =
false;
250 int m_bakeTimeInMinutes{0};
251 bool m_bakeTimeInMinutesHasBeenSet =
false;
254 bool m_lifecycleHooksHasBeenSet =
false;
void SetAlarms(AlarmsT &&value)
void SetStrategy(DeploymentStrategy value)
void SetMinimumHealthyPercent(int value)
DeploymentConfiguration & WithBakeTimeInMinutes(int value)
void SetBakeTimeInMinutes(int value)
DeploymentConfiguration & WithMaximumPercent(int value)
DeploymentConfiguration & WithAlarms(AlarmsT &&value)
const Aws::Vector< DeploymentLifecycleHook > & GetLifecycleHooks() const
void SetDeploymentCircuitBreaker(DeploymentCircuitBreakerT &&value)
AWS_ECS_API DeploymentConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ECS_API DeploymentConfiguration()=default
bool DeploymentCircuitBreakerHasBeenSet() const
void SetLifecycleHooks(LifecycleHooksT &&value)
DeploymentConfiguration & AddLifecycleHooks(LifecycleHooksT &&value)
DeploymentConfiguration & WithStrategy(DeploymentStrategy value)
DeploymentConfiguration & WithDeploymentCircuitBreaker(DeploymentCircuitBreakerT &&value)
bool AlarmsHasBeenSet() const
DeploymentConfiguration & WithLifecycleHooks(LifecycleHooksT &&value)
int GetBakeTimeInMinutes() const
int GetMaximumPercent() const
AWS_ECS_API DeploymentConfiguration(Aws::Utils::Json::JsonView jsonValue)
DeploymentConfiguration & WithMinimumHealthyPercent(int value)
const DeploymentAlarms & GetAlarms() const
bool BakeTimeInMinutesHasBeenSet() const
void SetMaximumPercent(int value)
DeploymentStrategy GetStrategy() const
bool LifecycleHooksHasBeenSet() const
bool MaximumPercentHasBeenSet() const
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
const DeploymentCircuitBreaker & GetDeploymentCircuitBreaker() const
int GetMinimumHealthyPercent() const
bool MinimumHealthyPercentHasBeenSet() const
bool StrategyHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue