7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
57 template<
typename AlarmNamesT = Aws::Vector<Aws::String>>
58 void SetAlarmNames(AlarmNamesT&& value) { m_alarmNamesHasBeenSet =
true; m_alarmNames = std::forward<AlarmNamesT>(value); }
59 template<
typename AlarmNamesT = Aws::Vector<Aws::String>>
61 template<
typename AlarmNamesT = Aws::String>
62 DeploymentAlarms&
AddAlarmNames(AlarmNamesT&& value) { m_alarmNamesHasBeenSet =
true; m_alarmNames.emplace_back(std::forward<AlarmNamesT>(value));
return *
this; }
74 inline void SetRollback(
bool value) { m_rollbackHasBeenSet =
true; m_rollback = value; }
85 inline void SetEnable(
bool value) { m_enableHasBeenSet =
true; m_enable = value; }
91 bool m_alarmNamesHasBeenSet =
false;
93 bool m_rollback{
false};
94 bool m_rollbackHasBeenSet =
false;
97 bool m_enableHasBeenSet =
false;
AWS_ECS_API DeploymentAlarms(Aws::Utils::Json::JsonView jsonValue)
void SetAlarmNames(AlarmNamesT &&value)
bool AlarmNamesHasBeenSet() const
DeploymentAlarms & WithEnable(bool value)
void SetEnable(bool value)
bool RollbackHasBeenSet() const
DeploymentAlarms & AddAlarmNames(AlarmNamesT &&value)
void SetRollback(bool value)
DeploymentAlarms & WithAlarmNames(AlarmNamesT &&value)
const Aws::Vector< Aws::String > & GetAlarmNames() const
AWS_ECS_API DeploymentAlarms()=default
AWS_ECS_API DeploymentAlarms & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
bool EnableHasBeenSet() const
DeploymentAlarms & WithRollback(bool value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue