/AWS1/CL_LR2BUTTON¶
A button that appears on a response card show to the user.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_text TYPE /AWS1/LR2BUTTONTEXT /AWS1/LR2BUTTONTEXT¶
The text that is displayed on the button.
iv_value TYPE /AWS1/LR2BUTTONVALUE /AWS1/LR2BUTTONVALUE¶
The value returned to Amazon Lex V2 when a user chooses the button.
Queryable Attributes¶
text¶
The text that is displayed on the 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 V2 when a user chooses the button.
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_LR2BUTTON WITH DEFAULT KEY
.