/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the projected metrics of an Amazon ECS service recommendation
* option. To determine the performance difference between your current
* Amazon ECS service and the recommended option, compare the metric data of your
* service against its projected metric data.See Also:
AWS
* API Reference
The name of the projected metric.
The following metrics are * available:
Cpu
— The percentage of allocated
* compute units that are currently in use on the service tasks.
* Memory
— The percentage of memory that's currently in use on the
* service tasks.
The name of the projected metric.
The following metrics are * available:
Cpu
— The percentage of allocated
* compute units that are currently in use on the service tasks.
* Memory
— The percentage of memory that's currently in use on the
* service tasks.
The name of the projected metric.
The following metrics are * available:
Cpu
— The percentage of allocated
* compute units that are currently in use on the service tasks.
* Memory
— The percentage of memory that's currently in use on the
* service tasks.
The name of the projected metric.
The following metrics are * available:
Cpu
— The percentage of allocated
* compute units that are currently in use on the service tasks.
* Memory
— The percentage of memory that's currently in use on the
* service tasks.
The name of the projected metric.
The following metrics are * available:
Cpu
— The percentage of allocated
* compute units that are currently in use on the service tasks.
* Memory
— The percentage of memory that's currently in use on the
* service tasks.
The name of the projected metric.
The following metrics are * available:
Cpu
— The percentage of allocated
* compute units that are currently in use on the service tasks.
* Memory
— The percentage of memory that's currently in use on the
* service tasks.
The timestamps of the projected metric.
*/ inline const Aws::VectorThe timestamps of the projected metric.
*/ inline bool TimestampsHasBeenSet() const { return m_timestampsHasBeenSet; } /** *The timestamps of the projected metric.
*/ inline void SetTimestamps(const Aws::VectorThe timestamps of the projected metric.
*/ inline void SetTimestamps(Aws::VectorThe timestamps of the projected metric.
*/ inline ECSServiceProjectedMetric& WithTimestamps(const Aws::VectorThe timestamps of the projected metric.
*/ inline ECSServiceProjectedMetric& WithTimestamps(Aws::VectorThe timestamps of the projected metric.
*/ inline ECSServiceProjectedMetric& AddTimestamps(const Aws::Utils::DateTime& value) { m_timestampsHasBeenSet = true; m_timestamps.push_back(value); return *this; } /** *The timestamps of the projected metric.
*/ inline ECSServiceProjectedMetric& AddTimestamps(Aws::Utils::DateTime&& value) { m_timestampsHasBeenSet = true; m_timestamps.push_back(std::move(value)); return *this; } /** *The upper bound values for the projected metric.
*/ inline const Aws::VectorThe upper bound values for the projected metric.
*/ inline bool UpperBoundValuesHasBeenSet() const { return m_upperBoundValuesHasBeenSet; } /** *The upper bound values for the projected metric.
*/ inline void SetUpperBoundValues(const Aws::VectorThe upper bound values for the projected metric.
*/ inline void SetUpperBoundValues(Aws::VectorThe upper bound values for the projected metric.
*/ inline ECSServiceProjectedMetric& WithUpperBoundValues(const Aws::VectorThe upper bound values for the projected metric.
*/ inline ECSServiceProjectedMetric& WithUpperBoundValues(Aws::VectorThe upper bound values for the projected metric.
*/ inline ECSServiceProjectedMetric& AddUpperBoundValues(double value) { m_upperBoundValuesHasBeenSet = true; m_upperBoundValues.push_back(value); return *this; } /** *The lower bound values for the projected metric.
*/ inline const Aws::VectorThe lower bound values for the projected metric.
*/ inline bool LowerBoundValuesHasBeenSet() const { return m_lowerBoundValuesHasBeenSet; } /** *The lower bound values for the projected metric.
*/ inline void SetLowerBoundValues(const Aws::VectorThe lower bound values for the projected metric.
*/ inline void SetLowerBoundValues(Aws::VectorThe lower bound values for the projected metric.
*/ inline ECSServiceProjectedMetric& WithLowerBoundValues(const Aws::VectorThe lower bound values for the projected metric.
*/ inline ECSServiceProjectedMetric& WithLowerBoundValues(Aws::VectorThe lower bound values for the projected metric.
*/ inline ECSServiceProjectedMetric& AddLowerBoundValues(double value) { m_lowerBoundValuesHasBeenSet = true; m_lowerBoundValues.push_back(value); return *this; } private: ECSServiceMetricName m_name; bool m_nameHasBeenSet = false; Aws::Vector