Skip to content

/AWS1/CL_IOTCOMMANDEXECRESULT

The result value of the command execution. The device can use the result field to share additional details about the execution such as a return value of a remote function call.

This field is not applicable if you use the AWS-IoT-FleetWise namespace.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_s TYPE /AWS1/IOTSTRINGCMDEXECRESULT /AWS1/IOTSTRINGCMDEXECRESULT

An attribute of type String. For example:

"S": "Hello"

iv_b TYPE /AWS1/IOTBOOLEANCMDEXECRESULT /AWS1/IOTBOOLEANCMDEXECRESULT

An attribute of type Boolean. For example:

"BOOL": true

iv_bin TYPE /AWS1/IOTBINARYCMDEXECRESULT /AWS1/IOTBINARYCMDEXECRESULT

An attribute of type Binary.


Queryable Attributes

S

An attribute of type String. For example:

"S": "Hello"

Accessible with the following methods

Method Description
GET_S() Getter for S, with configurable default
ASK_S() Getter for S w/ exceptions if field has no value
HAS_S() Determine if S has a value

B

An attribute of type Boolean. For example:

"BOOL": true

Accessible with the following methods

Method Description
GET_B() Getter for B, with configurable default
ASK_B() Getter for B w/ exceptions if field has no value
HAS_B() Determine if B has a value

BIN

An attribute of type Binary.

Accessible with the following methods

Method Description
GET_BIN() Getter for BIN, with configurable default
ASK_BIN() Getter for BIN w/ exceptions if field has no value
HAS_BIN() Determine if BIN has a value

Public Local Types In This Class

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

TS_COMMANDEXECRESULTMAP_MAPROW

TYPES: BEGIN OF TS_COMMANDEXECRESULTMAP_MAPROW,
  key TYPE /AWS1/IOTCOMMANDEXECRESULTNAME,
  value TYPE REF TO /AWS1/CL_IOTCOMMANDEXECRESULT,
END OF TS_COMMANDEXECRESULTMAP_MAPROW.

TT_COMMANDEXECUTIONRESULTMAP

TYPES TT_COMMANDEXECUTIONRESULTMAP TYPE HASHED TABLE OF /AWS1/CL_IOTCOMMANDEXECRESULT=>TS_COMMANDEXECRESULTMAP_MAPROW WITH UNIQUE KEY key
.