Skip to content

/AWS1/CL_EC2METRICVALUE

Represents a single metric value with its associated statistic, such as the sum or average of unused capacity hours.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_metric TYPE /AWS1/EC2METRIC /AWS1/EC2METRIC

The name of the metric.

iv_value TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING

The numerical value of the metric for the specified statistic and time period.


Queryable Attributes

Metric

The name of the metric.

Accessible with the following methods

Method Description
GET_METRIC() Getter for METRIC, with configurable default
ASK_METRIC() Getter for METRIC w/ exceptions if field has no value
HAS_METRIC() Determine if METRIC has a value

Value

The numerical value of the metric for the specified statistic and time period.

Accessible with the following methods

Method Description
GET_VALUE() Getter for VALUE, with configurable default
ASK_VALUE() Getter for VALUE w/ exceptions if field has no value
STR_VALUE() String format for VALUE, with configurable default
HAS_VALUE() Determine if VALUE has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_METRICVALUESET

TYPES TT_METRICVALUESET TYPE STANDARD TABLE OF REF TO /AWS1/CL_EC2METRICVALUE WITH DEFAULT KEY
.