AWS SDK for C++  1.9.20
AWS SDK for C++
Public Member Functions | List of all members
Aws::CodeGuruProfiler::Model::Metric Class Reference

#include <Metric.h>

Public Member Functions

 Metric ()
 
 Metric (Aws::Utils::Json::JsonView jsonValue)
 
Metricoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetFrameName () const
 
bool FrameNameHasBeenSet () const
 
void SetFrameName (const Aws::String &value)
 
void SetFrameName (Aws::String &&value)
 
void SetFrameName (const char *value)
 
MetricWithFrameName (const Aws::String &value)
 
MetricWithFrameName (Aws::String &&value)
 
MetricWithFrameName (const char *value)
 
const Aws::Vector< Aws::String > & GetThreadStates () const
 
bool ThreadStatesHasBeenSet () const
 
void SetThreadStates (const Aws::Vector< Aws::String > &value)
 
void SetThreadStates (Aws::Vector< Aws::String > &&value)
 
MetricWithThreadStates (const Aws::Vector< Aws::String > &value)
 
MetricWithThreadStates (Aws::Vector< Aws::String > &&value)
 
MetricAddThreadStates (const Aws::String &value)
 
MetricAddThreadStates (Aws::String &&value)
 
MetricAddThreadStates (const char *value)
 
const MetricTypeGetType () const
 
bool TypeHasBeenSet () const
 
void SetType (const MetricType &value)
 
void SetType (MetricType &&value)
 
MetricWithType (const MetricType &value)
 
MetricWithType (MetricType &&value)
 

Detailed Description

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

Definition at line 36 of file Metric.h.

Constructor & Destructor Documentation

◆ Metric() [1/2]

Aws::CodeGuruProfiler::Model::Metric::Metric ( )

◆ Metric() [2/2]

Aws::CodeGuruProfiler::Model::Metric::Metric ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AddThreadStates() [1/3]

Metric& Aws::CodeGuruProfiler::Model::Metric::AddThreadStates ( Aws::String &&  value)
inline

The list of application runtime thread states that is used to calculate the metric value for the frame.

Definition at line 140 of file Metric.h.

◆ AddThreadStates() [2/3]

Metric& Aws::CodeGuruProfiler::Model::Metric::AddThreadStates ( const Aws::String value)
inline

The list of application runtime thread states that is used to calculate the metric value for the frame.

Definition at line 134 of file Metric.h.

◆ AddThreadStates() [3/3]

Metric& Aws::CodeGuruProfiler::Model::Metric::AddThreadStates ( const char *  value)
inline

The list of application runtime thread states that is used to calculate the metric value for the frame.

Definition at line 146 of file Metric.h.

◆ FrameNameHasBeenSet()

bool Aws::CodeGuruProfiler::Model::Metric::FrameNameHasBeenSet ( ) const
inline

The name of the method that appears as a frame in any stack in a profile.

Definition at line 55 of file Metric.h.

◆ GetFrameName()

const Aws::String& Aws::CodeGuruProfiler::Model::Metric::GetFrameName ( ) const
inline

The name of the method that appears as a frame in any stack in a profile.

Definition at line 49 of file Metric.h.

◆ GetThreadStates()

const Aws::Vector<Aws::String>& Aws::CodeGuruProfiler::Model::Metric::GetThreadStates ( ) const
inline

The list of application runtime thread states that is used to calculate the metric value for the frame.

Definition at line 98 of file Metric.h.

◆ GetType()

const MetricType& Aws::CodeGuruProfiler::Model::Metric::GetType ( ) const
inline

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.

Definition at line 155 of file Metric.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::CodeGuruProfiler::Model::Metric::Jsonize ( ) const

◆ operator=()

Metric& Aws::CodeGuruProfiler::Model::Metric::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetFrameName() [1/3]

void Aws::CodeGuruProfiler::Model::Metric::SetFrameName ( Aws::String &&  value)
inline

The name of the method that appears as a frame in any stack in a profile.

Definition at line 67 of file Metric.h.

◆ SetFrameName() [2/3]

void Aws::CodeGuruProfiler::Model::Metric::SetFrameName ( const Aws::String value)
inline

The name of the method that appears as a frame in any stack in a profile.

Definition at line 61 of file Metric.h.

◆ SetFrameName() [3/3]

void Aws::CodeGuruProfiler::Model::Metric::SetFrameName ( const char *  value)
inline

The name of the method that appears as a frame in any stack in a profile.

Definition at line 73 of file Metric.h.

◆ SetThreadStates() [1/2]

void Aws::CodeGuruProfiler::Model::Metric::SetThreadStates ( Aws::Vector< Aws::String > &&  value)
inline

The list of application runtime thread states that is used to calculate the metric value for the frame.

Definition at line 116 of file Metric.h.

◆ SetThreadStates() [2/2]

void Aws::CodeGuruProfiler::Model::Metric::SetThreadStates ( const Aws::Vector< Aws::String > &  value)
inline

The list of application runtime thread states that is used to calculate the metric value for the frame.

Definition at line 110 of file Metric.h.

◆ SetType() [1/2]

void Aws::CodeGuruProfiler::Model::Metric::SetType ( const MetricType value)
inline

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.

Definition at line 171 of file Metric.h.

◆ SetType() [2/2]

void Aws::CodeGuruProfiler::Model::Metric::SetType ( MetricType &&  value)
inline

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.

Definition at line 179 of file Metric.h.

◆ ThreadStatesHasBeenSet()

bool Aws::CodeGuruProfiler::Model::Metric::ThreadStatesHasBeenSet ( ) const
inline

The list of application runtime thread states that is used to calculate the metric value for the frame.

Definition at line 104 of file Metric.h.

◆ TypeHasBeenSet()

bool Aws::CodeGuruProfiler::Model::Metric::TypeHasBeenSet ( ) const
inline

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.

Definition at line 163 of file Metric.h.

◆ WithFrameName() [1/3]

Metric& Aws::CodeGuruProfiler::Model::Metric::WithFrameName ( Aws::String &&  value)
inline

The name of the method that appears as a frame in any stack in a profile.

Definition at line 85 of file Metric.h.

◆ WithFrameName() [2/3]

Metric& Aws::CodeGuruProfiler::Model::Metric::WithFrameName ( const Aws::String value)
inline

The name of the method that appears as a frame in any stack in a profile.

Definition at line 79 of file Metric.h.

◆ WithFrameName() [3/3]

Metric& Aws::CodeGuruProfiler::Model::Metric::WithFrameName ( const char *  value)
inline

The name of the method that appears as a frame in any stack in a profile.

Definition at line 91 of file Metric.h.

◆ WithThreadStates() [1/2]

Metric& Aws::CodeGuruProfiler::Model::Metric::WithThreadStates ( Aws::Vector< Aws::String > &&  value)
inline

The list of application runtime thread states that is used to calculate the metric value for the frame.

Definition at line 128 of file Metric.h.

◆ WithThreadStates() [2/2]

Metric& Aws::CodeGuruProfiler::Model::Metric::WithThreadStates ( const Aws::Vector< Aws::String > &  value)
inline

The list of application runtime thread states that is used to calculate the metric value for the frame.

Definition at line 122 of file Metric.h.

◆ WithType() [1/2]

Metric& Aws::CodeGuruProfiler::Model::Metric::WithType ( const MetricType value)
inline

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.

Definition at line 187 of file Metric.h.

◆ WithType() [2/2]

Metric& Aws::CodeGuruProfiler::Model::Metric::WithType ( MetricType &&  value)
inline

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.

Definition at line 195 of file Metric.h.


The documentation for this class was generated from the following file: