/AWS1/CL_LM2CONDITIONALBRANCH¶
A set of actions that Amazon Lex should run if the condition is matched.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_name TYPE /AWS1/LM2NAME /AWS1/LM2NAME¶
The name of the branch.
io_condition TYPE REF TO /AWS1/CL_LM2CONDITION /AWS1/CL_LM2CONDITION¶
Contains the expression to evaluate. If the condition is true, the branch's actions are taken.
io_nextstep TYPE REF TO /AWS1/CL_LM2DIALOGSTATE /AWS1/CL_LM2DIALOGSTATE¶
The next step in the conversation.
Optional arguments:¶
io_response TYPE REF TO /AWS1/CL_LM2RESPONSESPEC /AWS1/CL_LM2RESPONSESPEC¶
Specifies a list of message groups that Amazon Lex uses to respond the user input.
Queryable Attributes¶
name¶
The name of the branch.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_NAME() |
Getter for NAME, with configurable default |
ASK_NAME() |
Getter for NAME w/ exceptions if field has no value |
HAS_NAME() |
Determine if NAME has a value |
condition¶
Contains the expression to evaluate. If the condition is true, the branch's actions are taken.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CONDITION() |
Getter for CONDITION |
nextStep¶
The next step in the conversation.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_NEXTSTEP() |
Getter for NEXTSTEP |
response¶
Specifies a list of message groups that Amazon Lex uses to respond the user input.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_RESPONSE() |
Getter for RESPONSE |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_CONDITIONALBRANCHES¶
TYPES TT_CONDITIONALBRANCHES TYPE STANDARD TABLE OF REF TO /AWS1/CL_LM2CONDITIONALBRANCH WITH DEFAULT KEY
.