7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/codedeploy/model/Alarm.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
43 m_enabledHasBeenSet =
true;
64 m_ignorePollAlarmFailureHasBeenSet =
true;
65 m_ignorePollAlarmFailure = value;
80 template <
typename AlarmsT = Aws::Vector<Alarm>>
82 m_alarmsHasBeenSet =
true;
83 m_alarms = std::forward<AlarmsT>(value);
85 template <
typename AlarmsT = Aws::Vector<Alarm>>
90 template <
typename AlarmsT = Alarm>
92 m_alarmsHasBeenSet =
true;
93 m_alarms.emplace_back(std::forward<AlarmsT>(value));
98 bool m_enabled{
false};
100 bool m_ignorePollAlarmFailure{
false};
103 bool m_enabledHasBeenSet =
false;
104 bool m_ignorePollAlarmFailureHasBeenSet =
false;
105 bool m_alarmsHasBeenSet =
false;
bool GetIgnorePollAlarmFailure() const
bool IgnorePollAlarmFailureHasBeenSet() const
void SetAlarms(AlarmsT &&value)
void SetIgnorePollAlarmFailure(bool value)
AlarmConfiguration & WithAlarms(AlarmsT &&value)
AWS_CODEDEPLOY_API AlarmConfiguration(Aws::Utils::Json::JsonView jsonValue)
AlarmConfiguration & WithEnabled(bool value)
bool EnabledHasBeenSet() const
const Aws::Vector< Alarm > & GetAlarms() const
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
AlarmConfiguration & WithIgnorePollAlarmFailure(bool value)
AWS_CODEDEPLOY_API AlarmConfiguration()=default
void SetEnabled(bool value)
AWS_CODEDEPLOY_API AlarmConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AlarmConfiguration & AddAlarms(AlarmsT &&value)
bool AlarmsHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue