AWS SDK for C++  1.9.153
AWS SDK for C++
Public Member Functions | List of all members
Aws::ComputeOptimizer::Model::LambdaFunctionUtilizationMetric Class Reference

#include <LambdaFunctionUtilizationMetric.h>

Public Member Functions

 LambdaFunctionUtilizationMetric ()
 
 LambdaFunctionUtilizationMetric (Aws::Utils::Json::JsonView jsonValue)
 
LambdaFunctionUtilizationMetricoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const LambdaFunctionMetricNameGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const LambdaFunctionMetricName &value)
 
void SetName (LambdaFunctionMetricName &&value)
 
LambdaFunctionUtilizationMetricWithName (const LambdaFunctionMetricName &value)
 
LambdaFunctionUtilizationMetricWithName (LambdaFunctionMetricName &&value)
 
const LambdaFunctionMetricStatisticGetStatistic () const
 
bool StatisticHasBeenSet () const
 
void SetStatistic (const LambdaFunctionMetricStatistic &value)
 
void SetStatistic (LambdaFunctionMetricStatistic &&value)
 
LambdaFunctionUtilizationMetricWithStatistic (const LambdaFunctionMetricStatistic &value)
 
LambdaFunctionUtilizationMetricWithStatistic (LambdaFunctionMetricStatistic &&value)
 
double GetValue () const
 
bool ValueHasBeenSet () const
 
void SetValue (double value)
 
LambdaFunctionUtilizationMetricWithValue (double value)
 

Detailed Description

Describes a utilization metric of an Lambda function.

See Also:

AWS API Reference

Definition at line 33 of file LambdaFunctionUtilizationMetric.h.

Constructor & Destructor Documentation

◆ LambdaFunctionUtilizationMetric() [1/2]

Aws::ComputeOptimizer::Model::LambdaFunctionUtilizationMetric::LambdaFunctionUtilizationMetric ( )

◆ LambdaFunctionUtilizationMetric() [2/2]

Aws::ComputeOptimizer::Model::LambdaFunctionUtilizationMetric::LambdaFunctionUtilizationMetric ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ GetName()

const LambdaFunctionMetricName& Aws::ComputeOptimizer::Model::LambdaFunctionUtilizationMetric::GetName ( ) const
inline

The name of the utilization metric.

The following utilization metrics are available:

  • Duration - The amount of time that your function code spends processing an event.

  • Memory - The amount of memory used per invocation.

Definition at line 48 of file LambdaFunctionUtilizationMetric.h.

◆ GetStatistic()

const LambdaFunctionMetricStatistic& Aws::ComputeOptimizer::Model::LambdaFunctionUtilizationMetric::GetStatistic ( ) const
inline

The statistic of the utilization metric.

The Compute Optimizer API, Command Line Interface (CLI), and SDKs return utilization metrics using only the Maximum statistic, which is the highest value observed during the specified period.

The Compute Optimizer console displays graphs for some utilization metrics using the Average statistic, which is the value of Sum / SampleCount during the specified period. For more information, see Viewing resource recommendations in the Compute Optimizer User Guide. You can also get averaged utilization metric data for your resources using Amazon CloudWatch. For more information, see the Amazon CloudWatch User Guide.

Definition at line 106 of file LambdaFunctionUtilizationMetric.h.

◆ GetValue()

double Aws::ComputeOptimizer::Model::LambdaFunctionUtilizationMetric::GetValue ( ) const
inline

The value of the utilization metric.

Definition at line 197 of file LambdaFunctionUtilizationMetric.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::ComputeOptimizer::Model::LambdaFunctionUtilizationMetric::Jsonize ( ) const

◆ NameHasBeenSet()

bool Aws::ComputeOptimizer::Model::LambdaFunctionUtilizationMetric::NameHasBeenSet ( ) const
inline

The name of the utilization metric.

The following utilization metrics are available:

  • Duration - The amount of time that your function code spends processing an event.

  • Memory - The amount of memory used per invocation.

Definition at line 56 of file LambdaFunctionUtilizationMetric.h.

◆ operator=()

LambdaFunctionUtilizationMetric& Aws::ComputeOptimizer::Model::LambdaFunctionUtilizationMetric::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetName() [1/2]

void Aws::ComputeOptimizer::Model::LambdaFunctionUtilizationMetric::SetName ( const LambdaFunctionMetricName value)
inline

The name of the utilization metric.

The following utilization metrics are available:

  • Duration - The amount of time that your function code spends processing an event.

  • Memory - The amount of memory used per invocation.

Definition at line 64 of file LambdaFunctionUtilizationMetric.h.

◆ SetName() [2/2]

void Aws::ComputeOptimizer::Model::LambdaFunctionUtilizationMetric::SetName ( LambdaFunctionMetricName &&  value)
inline

The name of the utilization metric.

The following utilization metrics are available:

  • Duration - The amount of time that your function code spends processing an event.

  • Memory - The amount of memory used per invocation.

Definition at line 72 of file LambdaFunctionUtilizationMetric.h.

◆ SetStatistic() [1/2]

void Aws::ComputeOptimizer::Model::LambdaFunctionUtilizationMetric::SetStatistic ( const LambdaFunctionMetricStatistic value)
inline

The statistic of the utilization metric.

The Compute Optimizer API, Command Line Interface (CLI), and SDKs return utilization metrics using only the Maximum statistic, which is the highest value observed during the specified period.

The Compute Optimizer console displays graphs for some utilization metrics using the Average statistic, which is the value of Sum / SampleCount during the specified period. For more information, see Viewing resource recommendations in the Compute Optimizer User Guide. You can also get averaged utilization metric data for your resources using Amazon CloudWatch. For more information, see the Amazon CloudWatch User Guide.

Definition at line 140 of file LambdaFunctionUtilizationMetric.h.

◆ SetStatistic() [2/2]

void Aws::ComputeOptimizer::Model::LambdaFunctionUtilizationMetric::SetStatistic ( LambdaFunctionMetricStatistic &&  value)
inline

The statistic of the utilization metric.

The Compute Optimizer API, Command Line Interface (CLI), and SDKs return utilization metrics using only the Maximum statistic, which is the highest value observed during the specified period.

The Compute Optimizer console displays graphs for some utilization metrics using the Average statistic, which is the value of Sum / SampleCount during the specified period. For more information, see Viewing resource recommendations in the Compute Optimizer User Guide. You can also get averaged utilization metric data for your resources using Amazon CloudWatch. For more information, see the Amazon CloudWatch User Guide.

Definition at line 157 of file LambdaFunctionUtilizationMetric.h.

◆ SetValue()

void Aws::ComputeOptimizer::Model::LambdaFunctionUtilizationMetric::SetValue ( double  value)
inline

The value of the utilization metric.

Definition at line 207 of file LambdaFunctionUtilizationMetric.h.

◆ StatisticHasBeenSet()

bool Aws::ComputeOptimizer::Model::LambdaFunctionUtilizationMetric::StatisticHasBeenSet ( ) const
inline

The statistic of the utilization metric.

The Compute Optimizer API, Command Line Interface (CLI), and SDKs return utilization metrics using only the Maximum statistic, which is the highest value observed during the specified period.

The Compute Optimizer console displays graphs for some utilization metrics using the Average statistic, which is the value of Sum / SampleCount during the specified period. For more information, see Viewing resource recommendations in the Compute Optimizer User Guide. You can also get averaged utilization metric data for your resources using Amazon CloudWatch. For more information, see the Amazon CloudWatch User Guide.

Definition at line 123 of file LambdaFunctionUtilizationMetric.h.

◆ ValueHasBeenSet()

bool Aws::ComputeOptimizer::Model::LambdaFunctionUtilizationMetric::ValueHasBeenSet ( ) const
inline

The value of the utilization metric.

Definition at line 202 of file LambdaFunctionUtilizationMetric.h.

◆ WithName() [1/2]

LambdaFunctionUtilizationMetric& Aws::ComputeOptimizer::Model::LambdaFunctionUtilizationMetric::WithName ( const LambdaFunctionMetricName value)
inline

The name of the utilization metric.

The following utilization metrics are available:

  • Duration - The amount of time that your function code spends processing an event.

  • Memory - The amount of memory used per invocation.

Definition at line 80 of file LambdaFunctionUtilizationMetric.h.

◆ WithName() [2/2]

LambdaFunctionUtilizationMetric& Aws::ComputeOptimizer::Model::LambdaFunctionUtilizationMetric::WithName ( LambdaFunctionMetricName &&  value)
inline

The name of the utilization metric.

The following utilization metrics are available:

  • Duration - The amount of time that your function code spends processing an event.

  • Memory - The amount of memory used per invocation.

Definition at line 88 of file LambdaFunctionUtilizationMetric.h.

◆ WithStatistic() [1/2]

LambdaFunctionUtilizationMetric& Aws::ComputeOptimizer::Model::LambdaFunctionUtilizationMetric::WithStatistic ( const LambdaFunctionMetricStatistic value)
inline

The statistic of the utilization metric.

The Compute Optimizer API, Command Line Interface (CLI), and SDKs return utilization metrics using only the Maximum statistic, which is the highest value observed during the specified period.

The Compute Optimizer console displays graphs for some utilization metrics using the Average statistic, which is the value of Sum / SampleCount during the specified period. For more information, see Viewing resource recommendations in the Compute Optimizer User Guide. You can also get averaged utilization metric data for your resources using Amazon CloudWatch. For more information, see the Amazon CloudWatch User Guide.

Definition at line 174 of file LambdaFunctionUtilizationMetric.h.

◆ WithStatistic() [2/2]

LambdaFunctionUtilizationMetric& Aws::ComputeOptimizer::Model::LambdaFunctionUtilizationMetric::WithStatistic ( LambdaFunctionMetricStatistic &&  value)
inline

The statistic of the utilization metric.

The Compute Optimizer API, Command Line Interface (CLI), and SDKs return utilization metrics using only the Maximum statistic, which is the highest value observed during the specified period.

The Compute Optimizer console displays graphs for some utilization metrics using the Average statistic, which is the value of Sum / SampleCount during the specified period. For more information, see Viewing resource recommendations in the Compute Optimizer User Guide. You can also get averaged utilization metric data for your resources using Amazon CloudWatch. For more information, see the Amazon CloudWatch User Guide.

Definition at line 191 of file LambdaFunctionUtilizationMetric.h.

◆ WithValue()

LambdaFunctionUtilizationMetric& Aws::ComputeOptimizer::Model::LambdaFunctionUtilizationMetric::WithValue ( double  value)
inline

The value of the utilization metric.

Definition at line 212 of file LambdaFunctionUtilizationMetric.h.


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