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; }
70 bool m_enabledHasBeenSet =
false;
73 bool m_eventsHasBeenSet =
false;
AutoRollbackConfiguration & AddEvents(const AutoRollbackEvent &value)
const Aws::Vector< AutoRollbackEvent > & GetEvents() const
AWS_CODEDEPLOY_API AutoRollbackConfiguration(Aws::Utils::Json::JsonView jsonValue)
AutoRollbackConfiguration & AddEvents(AutoRollbackEvent &&value)
bool EnabledHasBeenSet() const
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
AutoRollbackConfiguration & WithEvents(Aws::Vector< AutoRollbackEvent > &&value)
void SetEnabled(bool value)
void SetEvents(Aws::Vector< AutoRollbackEvent > &&value)
AWS_CODEDEPLOY_API AutoRollbackConfiguration()
AWS_CODEDEPLOY_API AutoRollbackConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
bool EventsHasBeenSet() const
AutoRollbackConfiguration & WithEvents(const Aws::Vector< AutoRollbackEvent > &value)
AutoRollbackConfiguration & WithEnabled(bool value)
void SetEvents(const Aws::Vector< AutoRollbackEvent > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue