/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The frame name, metric type, and thread states. These are used to derive the
* value of the metric for the frame.See Also:
AWS
* API Reference
Name of the method common across the multiple occurrences of a frame in an * application profile.
*/ inline const Aws::String& GetFrameName() const{ return m_frameName; } /** *Name of the method common across the multiple occurrences of a frame in an * application profile.
*/ inline bool FrameNameHasBeenSet() const { return m_frameNameHasBeenSet; } /** *Name of the method common across the multiple occurrences of a frame in an * application profile.
*/ inline void SetFrameName(const Aws::String& value) { m_frameNameHasBeenSet = true; m_frameName = value; } /** *Name of the method common across the multiple occurrences of a frame in an * application profile.
*/ inline void SetFrameName(Aws::String&& value) { m_frameNameHasBeenSet = true; m_frameName = std::move(value); } /** *Name of the method common across the multiple occurrences of a frame in an * application profile.
*/ inline void SetFrameName(const char* value) { m_frameNameHasBeenSet = true; m_frameName.assign(value); } /** *Name of the method common across the multiple occurrences of a frame in an * application profile.
*/ inline FrameMetric& WithFrameName(const Aws::String& value) { SetFrameName(value); return *this;} /** *Name of the method common across the multiple occurrences of a frame in an * application profile.
*/ inline FrameMetric& WithFrameName(Aws::String&& value) { SetFrameName(std::move(value)); return *this;} /** *Name of the method common across the multiple occurrences of a frame in an * application profile.
*/ inline FrameMetric& WithFrameName(const char* value) { SetFrameName(value); return *this;} /** *List of application runtime thread states used to get the counts for a frame * a derive a metric value.
*/ inline const Aws::VectorList of application runtime thread states used to get the counts for a frame * a derive a metric value.
*/ inline bool ThreadStatesHasBeenSet() const { return m_threadStatesHasBeenSet; } /** *List of application runtime thread states used to get the counts for a frame * a derive a metric value.
*/ inline void SetThreadStates(const Aws::VectorList of application runtime thread states used to get the counts for a frame * a derive a metric value.
*/ inline void SetThreadStates(Aws::VectorList of application runtime thread states used to get the counts for a frame * a derive a metric value.
*/ inline FrameMetric& WithThreadStates(const Aws::VectorList of application runtime thread states used to get the counts for a frame * a derive a metric value.
*/ inline FrameMetric& WithThreadStates(Aws::VectorList of application runtime thread states used to get the counts for a frame * a derive a metric value.
*/ inline FrameMetric& AddThreadStates(const Aws::String& value) { m_threadStatesHasBeenSet = true; m_threadStates.push_back(value); return *this; } /** *List of application runtime thread states used to get the counts for a frame * a derive a metric value.
*/ inline FrameMetric& AddThreadStates(Aws::String&& value) { m_threadStatesHasBeenSet = true; m_threadStates.push_back(std::move(value)); return *this; } /** *List of application runtime thread states used to get the counts for a frame * a derive a metric value.
*/ inline FrameMetric& AddThreadStates(const char* value) { m_threadStatesHasBeenSet = true; m_threadStates.push_back(value); return *this; } /** * A type of aggregation 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 occurrences of
* all frames in a profile.
A type of aggregation 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 occurrences of
* all frames in a profile.
A type of aggregation 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 occurrences of
* all frames in a profile.
A type of aggregation 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 occurrences of
* all frames in a profile.
A type of aggregation 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 occurrences of
* all frames in a profile.
A type of aggregation 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 occurrences of
* all frames in a profile.