7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/codedeploy/model/AutoRollbackEvent.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
45 m_enabledHasBeenSet =
true;
60 template <
typename EventsT = Aws::Vector<AutoRollbackEvent>>
62 m_eventsHasBeenSet =
true;
63 m_events = std::forward<EventsT>(value);
65 template <
typename EventsT = Aws::Vector<AutoRollbackEvent>>
71 m_eventsHasBeenSet =
true;
72 m_events.push_back(value);
77 bool m_enabled{
false};
80 bool m_enabledHasBeenSet =
false;
81 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