7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ecs/ECS_EXPORTS.h>
51 template <
typename AlarmNamesT = Aws::Vector<Aws::String>>
53 m_alarmNamesHasBeenSet =
true;
54 m_alarmNames = std::forward<AlarmNamesT>(value);
56 template <
typename AlarmNamesT = Aws::Vector<Aws::String>>
61 template <
typename AlarmNamesT = Aws::String>
63 m_alarmNamesHasBeenSet =
true;
64 m_alarmNames.emplace_back(std::forward<AlarmNamesT>(value));
79 m_rollbackHasBeenSet =
true;
96 m_enableHasBeenSet =
true;
107 bool m_rollback{
false};
109 bool m_enable{
false};
110 bool m_alarmNamesHasBeenSet =
false;
111 bool m_rollbackHasBeenSet =
false;
112 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