/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details about the metric that the analysis used when it detected the
* anomaly. The metric what is analyzed to create recommendations. It includes the
* name of the frame that was analyzed and the type and thread states used to
* derive the metric value for that frame. See Also:
AWS
* API Reference
The name of the method that appears as a frame in any stack in a profile. *
*/ inline const Aws::String& GetFrameName() const{ return m_frameName; } /** *The name of the method that appears as a frame in any stack in a profile. *
*/ inline bool FrameNameHasBeenSet() const { return m_frameNameHasBeenSet; } /** *The name of the method that appears as a frame in any stack in a profile. *
*/ inline void SetFrameName(const Aws::String& value) { m_frameNameHasBeenSet = true; m_frameName = value; } /** *The name of the method that appears as a frame in any stack in a profile. *
*/ inline void SetFrameName(Aws::String&& value) { m_frameNameHasBeenSet = true; m_frameName = std::move(value); } /** *The name of the method that appears as a frame in any stack in a profile. *
*/ inline void SetFrameName(const char* value) { m_frameNameHasBeenSet = true; m_frameName.assign(value); } /** *The name of the method that appears as a frame in any stack in a profile. *
*/ inline Metric& WithFrameName(const Aws::String& value) { SetFrameName(value); return *this;} /** *The name of the method that appears as a frame in any stack in a profile. *
*/ inline Metric& WithFrameName(Aws::String&& value) { SetFrameName(std::move(value)); return *this;} /** *The name of the method that appears as a frame in any stack in a profile. *
*/ inline Metric& WithFrameName(const char* value) { SetFrameName(value); return *this;} /** *The list of application runtime thread states that is used to calculate the * metric value for the frame.
*/ inline const Aws::VectorThe list of application runtime thread states that is used to calculate the * metric value for the frame.
*/ inline bool ThreadStatesHasBeenSet() const { return m_threadStatesHasBeenSet; } /** *The list of application runtime thread states that is used to calculate the * metric value for the frame.
*/ inline void SetThreadStates(const Aws::VectorThe list of application runtime thread states that is used to calculate the * metric value for the frame.
*/ inline void SetThreadStates(Aws::VectorThe list of application runtime thread states that is used to calculate the * metric value for the frame.
*/ inline Metric& WithThreadStates(const Aws::VectorThe list of application runtime thread states that is used to calculate the * metric value for the frame.
*/ inline Metric& WithThreadStates(Aws::VectorThe list of application runtime thread states that is used to calculate the * metric value for the frame.
*/ inline Metric& AddThreadStates(const Aws::String& value) { m_threadStatesHasBeenSet = true; m_threadStates.push_back(value); return *this; } /** *The list of application runtime thread states that is used to calculate the * metric value for the frame.
*/ inline Metric& AddThreadStates(Aws::String&& value) { m_threadStatesHasBeenSet = true; m_threadStates.push_back(std::move(value)); return *this; } /** *The list of application runtime thread states that is used to calculate the * metric value for the frame.
*/ inline Metric& AddThreadStates(const char* value) { m_threadStatesHasBeenSet = true; m_threadStates.push_back(value); return *this; } /** * A type that specifies how a metric for a frame is analyzed. The supported
* value AggregatedRelativeTotalTime
is an aggregation of the metric
* value for one frame that is calculated across the occurences of all frames in a
* profile.
A type that specifies how a metric for a frame is analyzed. The supported
* value AggregatedRelativeTotalTime
is an aggregation of the metric
* value for one frame that is calculated across the occurences of all frames in a
* profile.
A type that specifies how a metric for a frame is analyzed. The supported
* value AggregatedRelativeTotalTime
is an aggregation of the metric
* value for one frame that is calculated across the occurences of all frames in a
* profile.
A type that specifies how a metric for a frame is analyzed. The supported
* value AggregatedRelativeTotalTime
is an aggregation of the metric
* value for one frame that is calculated across the occurences of all frames in a
* profile.
A type that specifies how a metric for a frame is analyzed. The supported
* value AggregatedRelativeTotalTime
is an aggregation of the metric
* value for one frame that is calculated across the occurences of all frames in a
* profile.
A type that specifies how a metric for a frame is analyzed. The supported
* value AggregatedRelativeTotalTime
is an aggregation of the metric
* value for one frame that is calculated across the occurences of all frames in a
* profile.