/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
#include
#include
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace SageMaker
{
namespace Model
{
/**
* A list of alert actions taken in response to an alert going into
* InAlert
status.
See Also:
AWS
* API Reference
*/
class MonitoringAlertActions
{
public:
AWS_SAGEMAKER_API MonitoringAlertActions();
AWS_SAGEMAKER_API MonitoringAlertActions(Aws::Utils::Json::JsonView jsonValue);
AWS_SAGEMAKER_API MonitoringAlertActions& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
/**
* An alert action taken to light up an icon on the Model Dashboard when an
* alert goes into InAlert
status.
*/
inline const ModelDashboardIndicatorAction& GetModelDashboardIndicator() const{ return m_modelDashboardIndicator; }
/**
* An alert action taken to light up an icon on the Model Dashboard when an
* alert goes into InAlert
status.
*/
inline bool ModelDashboardIndicatorHasBeenSet() const { return m_modelDashboardIndicatorHasBeenSet; }
/**
* An alert action taken to light up an icon on the Model Dashboard when an
* alert goes into InAlert
status.
*/
inline void SetModelDashboardIndicator(const ModelDashboardIndicatorAction& value) { m_modelDashboardIndicatorHasBeenSet = true; m_modelDashboardIndicator = value; }
/**
* An alert action taken to light up an icon on the Model Dashboard when an
* alert goes into InAlert
status.
*/
inline void SetModelDashboardIndicator(ModelDashboardIndicatorAction&& value) { m_modelDashboardIndicatorHasBeenSet = true; m_modelDashboardIndicator = std::move(value); }
/**
* An alert action taken to light up an icon on the Model Dashboard when an
* alert goes into InAlert
status.
*/
inline MonitoringAlertActions& WithModelDashboardIndicator(const ModelDashboardIndicatorAction& value) { SetModelDashboardIndicator(value); return *this;}
/**
* An alert action taken to light up an icon on the Model Dashboard when an
* alert goes into InAlert
status.
*/
inline MonitoringAlertActions& WithModelDashboardIndicator(ModelDashboardIndicatorAction&& value) { SetModelDashboardIndicator(std::move(value)); return *this;}
private:
ModelDashboardIndicatorAction m_modelDashboardIndicator;
bool m_modelDashboardIndicatorHasBeenSet = false;
};
} // namespace Model
} // namespace SageMaker
} // namespace Aws