Skip to content

/AWS1/CL_LM2BUTTON

Describes a button to use on a response card used to gather slot values from a user.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_text TYPE /AWS1/LM2BUTTONTEXT /AWS1/LM2BUTTONTEXT

The text that appears on the button. Use this to tell the user what value is returned when they choose this button.

iv_value TYPE /AWS1/LM2BUTTONVALUE /AWS1/LM2BUTTONVALUE

The value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.


Queryable Attributes

text

The text that appears on the button. Use this to tell the user what value is returned when they choose this button.

Accessible with the following methods

Method Description
GET_TEXT() Getter for TEXT, with configurable default
ASK_TEXT() Getter for TEXT w/ exceptions if field has no value
HAS_TEXT() Determine if TEXT has a value

value

The value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.

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
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_BUTTONSLIST

TYPES TT_BUTTONSLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_LM2BUTTON WITH DEFAULT KEY
.