|
AWS IoT Device SDK C++ v2
1.43.1
AWS IoT Device SDK C++ v2
|
#include <UpdateCommandExecutionRequest.h>
Public Member Functions | |
| UpdateCommandExecutionRequest ()=default | |
| UpdateCommandExecutionRequest (const Crt::JsonView &doc) | |
| UpdateCommandExecutionRequest & | operator= (const Crt::JsonView &doc) |
| void | SerializeToObject (Crt::JsonObject &doc) const |
Data needed to make an UpdateCommandExecution request.
|
default |
| Aws::Iotcommands::UpdateCommandExecutionRequest::UpdateCommandExecutionRequest | ( | const Crt::JsonView & | doc | ) |
| UpdateCommandExecutionRequest & Aws::Iotcommands::UpdateCommandExecutionRequest::operator= | ( | const Crt::JsonView & | doc | ) |
| void Aws::Iotcommands::UpdateCommandExecutionRequest::SerializeToObject | ( | Crt::JsonObject & | doc | ) | const |
| Aws::Crt::Optional<Aws::Crt::String> Aws::Iotcommands::UpdateCommandExecutionRequest::DeviceId |
Depending on device type value, this field is either an IoT Thing name or a client ID.
| Aws::Crt::Optional<Aws::Iotcommands::DeviceType> Aws::Iotcommands::UpdateCommandExecutionRequest::DeviceType |
The type of a target device. Determine if the device should subscribe for commands addressed to an IoT Thing or MQTT client.
| Aws::Crt::Optional<Aws::Crt::String> Aws::Iotcommands::UpdateCommandExecutionRequest::ExecutionId |
ID of the command execution that needs to be updated.
| Aws::Crt::Optional<Aws::Crt::Map<Aws::Crt::String, Aws::Iotcommands::CommandExecutionResult> > Aws::Iotcommands::UpdateCommandExecutionRequest::Result |
The result value for the current state of the command execution. The status provides information about the progress 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.
| Aws::Crt::Optional<Aws::Iotcommands::CommandExecutionStatus> Aws::Iotcommands::UpdateCommandExecutionRequest::Status |
The status of the command execution.
| Aws::Crt::Optional<Aws::Iotcommands::StatusReason> Aws::Iotcommands::UpdateCommandExecutionRequest::StatusReason |
A reason for the updated status. Can provide additional information on failures. Should be used when status is one of the following: FAILED, REJECTED, TIMED_OUT.