7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/ecs/ECS_EXPORTS.h>
9#include <aws/ecs/model/CanaryConfiguration.h>
10#include <aws/ecs/model/DeploymentAlarms.h>
11#include <aws/ecs/model/DeploymentCircuitBreaker.h>
12#include <aws/ecs/model/DeploymentLifecycleHook.h>
13#include <aws/ecs/model/DeploymentStrategy.h>
14#include <aws/ecs/model/LinearConfiguration.h>
57 template <
typename DeploymentCircuitBreakerT = DeploymentCircuitBreaker>
59 m_deploymentCircuitBreakerHasBeenSet =
true;
60 m_deploymentCircuitBreaker = std::forward<DeploymentCircuitBreakerT>(value);
62 template <
typename DeploymentCircuitBreakerT = DeploymentCircuitBreaker>
106 m_maximumPercentHasBeenSet =
true;
107 m_maximumPercent = value;
178 m_minimumHealthyPercentHasBeenSet =
true;
179 m_minimumHealthyPercent = value;
193 template <
typename AlarmsT = DeploymentAlarms>
195 m_alarmsHasBeenSet =
true;
196 m_alarms = std::forward<AlarmsT>(value);
198 template <
typename AlarmsT = DeploymentAlarms>
233 m_strategyHasBeenSet =
true;
251 m_bakeTimeInMinutesHasBeenSet =
true;
252 m_bakeTimeInMinutes = value;
267 template <
typename LifecycleHooksT = Aws::Vector<DeploymentLifecycleHook>>
269 m_lifecycleHooksHasBeenSet =
true;
270 m_lifecycleHooks = std::forward<LifecycleHooksT>(value);
272 template <
typename LifecycleHooksT = Aws::Vector<DeploymentLifecycleHook>>
277 template <
typename LifecycleHooksT = DeploymentLifecycleHook>
279 m_lifecycleHooksHasBeenSet =
true;
280 m_lifecycleHooks.emplace_back(std::forward<LifecycleHooksT>(value));
294 template <
typename LinearConfigurationT = LinearConfiguration>
296 m_linearConfigurationHasBeenSet =
true;
297 m_linearConfiguration = std::forward<LinearConfigurationT>(value);
299 template <
typename LinearConfigurationT = LinearConfiguration>
315 template <
typename CanaryConfigurationT = CanaryConfiguration>
317 m_canaryConfigurationHasBeenSet =
true;
318 m_canaryConfiguration = std::forward<CanaryConfigurationT>(value);
320 template <
typename CanaryConfigurationT = CanaryConfiguration>
329 int m_maximumPercent{0};
331 int m_minimumHealthyPercent{0};
333 DeploymentAlarms m_alarms;
337 int m_bakeTimeInMinutes{0};
341 LinearConfiguration m_linearConfiguration;
343 CanaryConfiguration m_canaryConfiguration;
344 bool m_deploymentCircuitBreakerHasBeenSet =
false;
345 bool m_maximumPercentHasBeenSet =
false;
346 bool m_minimumHealthyPercentHasBeenSet =
false;
347 bool m_alarmsHasBeenSet =
false;
348 bool m_strategyHasBeenSet =
false;
349 bool m_bakeTimeInMinutesHasBeenSet =
false;
350 bool m_lifecycleHooksHasBeenSet =
false;
351 bool m_linearConfigurationHasBeenSet =
false;
352 bool m_canaryConfigurationHasBeenSet =
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)
void SetCanaryConfiguration(CanaryConfigurationT &&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
bool LinearConfigurationHasBeenSet() 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 SetLinearConfiguration(LinearConfigurationT &&value)
void SetMaximumPercent(int value)
DeploymentStrategy GetStrategy() const
bool LifecycleHooksHasBeenSet() const
bool MaximumPercentHasBeenSet() const
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
bool CanaryConfigurationHasBeenSet() const
const DeploymentCircuitBreaker & GetDeploymentCircuitBreaker() const
DeploymentConfiguration & WithCanaryConfiguration(CanaryConfigurationT &&value)
int GetMinimumHealthyPercent() const
DeploymentConfiguration & WithLinearConfiguration(LinearConfigurationT &&value)
bool MinimumHealthyPercentHasBeenSet() const
const LinearConfiguration & GetLinearConfiguration() const
const CanaryConfiguration & GetCanaryConfiguration() const
bool StrategyHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue