/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { /** *

An alert action taken to light up an icon on the Amazon SageMaker Model * Dashboard when an alert goes into InAlert status.

See * Also:

AWS * API Reference

*/ class ModelDashboardIndicatorAction { public: AWS_SAGEMAKER_API ModelDashboardIndicatorAction(); AWS_SAGEMAKER_API ModelDashboardIndicatorAction(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API ModelDashboardIndicatorAction& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Indicates whether the alert action is turned on.

*/ inline bool GetEnabled() const{ return m_enabled; } /** *

Indicates whether the alert action is turned on.

*/ inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } /** *

Indicates whether the alert action is turned on.

*/ inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } /** *

Indicates whether the alert action is turned on.

*/ inline ModelDashboardIndicatorAction& WithEnabled(bool value) { SetEnabled(value); return *this;} private: bool m_enabled; bool m_enabledHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws