1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/monitoring/CloudWatch_EXPORTS.h> 8 #include <aws/core/utils/memory/stl/AWSString.h> 9 10 namespace Aws 11 { 12 namespace CloudWatch 13 { 14 namespace Model 15 { 16 enum class AnomalyDetectorStateValue 17 { 18 NOT_SET, 19 PENDING_TRAINING, 20 TRAINED_INSUFFICIENT_DATA, 21 TRAINED 22 }; 23 24 namespace AnomalyDetectorStateValueMapper 25 { 26 AWS_CLOUDWATCH_API AnomalyDetectorStateValue GetAnomalyDetectorStateValueForName(const Aws::String& name); 27 28 AWS_CLOUDWATCH_API Aws::String GetNameForAnomalyDetectorStateValue(AnomalyDetectorStateValue value); 29 } // namespace AnomalyDetectorStateValueMapper 30 } // namespace Model 31 } // namespace CloudWatch 32 } // namespace Aws 33