7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/codedeploy/model/AutoRollbackEvent.h>
50 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
60 template<
typename EventsT = Aws::Vector<AutoRollbackEvent>>
61 void SetEvents(EventsT&& value) { m_eventsHasBeenSet =
true; m_events = std::forward<EventsT>(value); }
62 template<
typename EventsT = Aws::Vector<AutoRollbackEvent>>
68 bool m_enabled{
false};
69 bool m_enabledHasBeenSet =
false;
72 bool m_eventsHasBeenSet =
false;
const Aws::Vector< AutoRollbackEvent > & GetEvents() const
AWS_CODEDEPLOY_API AutoRollbackConfiguration()=default
AWS_CODEDEPLOY_API AutoRollbackConfiguration(Aws::Utils::Json::JsonView jsonValue)
bool EnabledHasBeenSet() const
void SetEvents(EventsT &&value)
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEnabled(bool value)
AWS_CODEDEPLOY_API AutoRollbackConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AutoRollbackConfiguration & AddEvents(AutoRollbackEvent value)
bool EventsHasBeenSet() const
AutoRollbackConfiguration & WithEvents(EventsT &&value)
AutoRollbackConfiguration & WithEnabled(bool value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue