Skip to content

/AWS1/CL_CNTCALCCOMPONENT

Represents a component metric referenced in a custom metric calculation formula.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_alias TYPE /AWS1/CNTCOMPONENTALIAS /AWS1/CNTCOMPONENTALIAS

The alias used to reference this component in the calculation expression.

Optional arguments:

iv_metricname TYPE /AWS1/CNTMETRICNAME /AWS1/CNTMETRICNAME

The name of an AWS-managed metric used in this calculation component (for example, CONTACTS_HANDLED). Mutually exclusive with MetricId.

iv_metricid TYPE /AWS1/CNTMETRICID /AWS1/CNTMETRICID

The ARN of an AWS-managed metric used in this calculation component. Mutually exclusive with MetricName.

it_metricfilters TYPE /AWS1/CL_CNTMETRICFILTER=>TT_METRICFILTERLIST TT_METRICFILTERLIST

The filters applied to the calculation component.


Queryable Attributes

Alias

The alias used to reference this component in the calculation expression.

Accessible with the following methods

Method Description
GET_ALIAS() Getter for ALIAS, with configurable default
ASK_ALIAS() Getter for ALIAS w/ exceptions if field has no value
HAS_ALIAS() Determine if ALIAS has a value

MetricName

The name of an AWS-managed metric used in this calculation component (for example, CONTACTS_HANDLED). Mutually exclusive with MetricId.

Accessible with the following methods

Method Description
GET_METRICNAME() Getter for METRICNAME, with configurable default
ASK_METRICNAME() Getter for METRICNAME w/ exceptions if field has no value
HAS_METRICNAME() Determine if METRICNAME has a value

MetricId

The ARN of an AWS-managed metric used in this calculation component. Mutually exclusive with MetricName.

Accessible with the following methods

Method Description
GET_METRICID() Getter for METRICID, with configurable default
ASK_METRICID() Getter for METRICID w/ exceptions if field has no value
HAS_METRICID() Determine if METRICID has a value

MetricFilters

The filters applied to the calculation component.

Accessible with the following methods

Method Description
GET_METRICFILTERS() Getter for METRICFILTERS, with configurable default
ASK_METRICFILTERS() Getter for METRICFILTERS w/ exceptions if field has no value
HAS_METRICFILTERS() Determine if METRICFILTERS 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_CALCULATIONCOMPONENTLIST

TYPES TT_CALCULATIONCOMPONENTLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_CNTCALCCOMPONENT WITH DEFAULT KEY
.