|
AWS IoT Device SDK C++ v2
1.43.1
AWS IoT Device SDK C++ v2
|
#include <CommandExecutionEvent.h>
Public Member Functions | |
| CommandExecutionEvent ()=default | |
| CommandExecutionEvent (const Crt::JsonView &doc) | |
| CommandExecutionEvent & | operator= (const Crt::JsonView &doc) |
| void | SerializeToObject (Crt::JsonObject &doc) const |
| void | SetExecutionId (Aws::Crt::ByteCursor value) |
| void | SetPayload (Aws::Crt::ByteCursor payload) |
| void | SetContentType (Aws::Crt::ByteCursor contentType) |
| void | SetTimeout (int32_t messageExpiryInterval) |
Public Attributes | |
| Aws::Crt::Optional< Aws::Crt::Vector< uint8_t > > | Payload |
| Aws::Crt::Optional< Aws::Crt::String > | ExecutionId |
| Aws::Crt::Optional< Aws::Crt::String > | ContentType |
| Aws::Crt::Optional< int32_t > | Timeout |
Sent whenever a command execution is added for a thing or a client.
|
default |
| Aws::Iotcommands::CommandExecutionEvent::CommandExecutionEvent | ( | const Crt::JsonView & | doc | ) |
| CommandExecutionEvent & Aws::Iotcommands::CommandExecutionEvent::operator= | ( | const Crt::JsonView & | doc | ) |
| void Aws::Iotcommands::CommandExecutionEvent::SerializeToObject | ( | Crt::JsonObject & | doc | ) | const |
| void Aws::Iotcommands::CommandExecutionEvent::SetContentType | ( | Aws::Crt::ByteCursor | contentType | ) |
| void Aws::Iotcommands::CommandExecutionEvent::SetExecutionId | ( | Aws::Crt::ByteCursor | value | ) |
| void Aws::Iotcommands::CommandExecutionEvent::SetPayload | ( | Aws::Crt::ByteCursor | payload | ) |
| void Aws::Iotcommands::CommandExecutionEvent::SetTimeout | ( | int32_t | messageExpiryInterval | ) |
| Aws::Crt::Optional<Aws::Crt::String> Aws::Iotcommands::CommandExecutionEvent::ContentType |
Data format of the payload. It is supposed to be a MIME type (IANA media type), but can be an arbitrary string.
| Aws::Crt::Optional<Aws::Crt::String> Aws::Iotcommands::CommandExecutionEvent::ExecutionId |
Unique ID for the specific execution of a command. A command can have multiple executions, each with a unique ID.
| Aws::Crt::Optional<Aws::Crt::Vector<uint8_t> > Aws::Iotcommands::CommandExecutionEvent::Payload |
Opaque data containing instructions sent from the IoT commands service.
| Aws::Crt::Optional<int32_t> Aws::Iotcommands::CommandExecutionEvent::Timeout |
Number of seconds before the IoT commands service decides that this command execution is timed out.