/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Automatic rollback configuration for handling endpoint deployment failures
* and recovery.See Also:
AWS
* API Reference
List of CloudWatch alarms in your account that are configured to monitor * metrics on an endpoint. If any alarms are tripped during a deployment, SageMaker * rolls back the deployment.
*/ inline const Aws::VectorList of CloudWatch alarms in your account that are configured to monitor * metrics on an endpoint. If any alarms are tripped during a deployment, SageMaker * rolls back the deployment.
*/ inline bool AlarmsHasBeenSet() const { return m_alarmsHasBeenSet; } /** *List of CloudWatch alarms in your account that are configured to monitor * metrics on an endpoint. If any alarms are tripped during a deployment, SageMaker * rolls back the deployment.
*/ inline void SetAlarms(const Aws::VectorList of CloudWatch alarms in your account that are configured to monitor * metrics on an endpoint. If any alarms are tripped during a deployment, SageMaker * rolls back the deployment.
*/ inline void SetAlarms(Aws::VectorList of CloudWatch alarms in your account that are configured to monitor * metrics on an endpoint. If any alarms are tripped during a deployment, SageMaker * rolls back the deployment.
*/ inline AutoRollbackConfig& WithAlarms(const Aws::VectorList of CloudWatch alarms in your account that are configured to monitor * metrics on an endpoint. If any alarms are tripped during a deployment, SageMaker * rolls back the deployment.
*/ inline AutoRollbackConfig& WithAlarms(Aws::VectorList of CloudWatch alarms in your account that are configured to monitor * metrics on an endpoint. If any alarms are tripped during a deployment, SageMaker * rolls back the deployment.
*/ inline AutoRollbackConfig& AddAlarms(const Alarm& value) { m_alarmsHasBeenSet = true; m_alarms.push_back(value); return *this; } /** *List of CloudWatch alarms in your account that are configured to monitor * metrics on an endpoint. If any alarms are tripped during a deployment, SageMaker * rolls back the deployment.
*/ inline AutoRollbackConfig& AddAlarms(Alarm&& value) { m_alarmsHasBeenSet = true; m_alarms.push_back(std::move(value)); return *this; } private: Aws::Vector