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/lightsail/Lightsail_EXPORTS.h> 8 #include <aws/core/utils/memory/stl/AWSString.h> 9 10 namespace Aws 11 { 12 namespace Lightsail 13 { 14 namespace Model 15 { 16 enum class MetricStatistic 17 { 18 NOT_SET, 19 Minimum, 20 Maximum, 21 Sum, 22 Average, 23 SampleCount 24 }; 25 26 namespace MetricStatisticMapper 27 { 28 AWS_LIGHTSAIL_API MetricStatistic GetMetricStatisticForName(const Aws::String& name); 29 30 AWS_LIGHTSAIL_API Aws::String GetNameForMetricStatistic(MetricStatistic value); 31 } // namespace MetricStatisticMapper 32 } // namespace Model 33 } // namespace Lightsail 34 } // namespace Aws 35