|
AWS IoT Device SDK C++ v2 1.44.1
AWS IoT Device SDK C++ v2
|
#include <DeviceDefender.h>
Public Member Functions | |
| ReportTaskBuilder (Crt::Allocator *allocator, std::shared_ptr< Crt::Mqtt::MqttConnection > mqttConnection, Crt::Io::EventLoopGroup &eventLoopGroup, const Crt::String &thingName) | |
| ReportTaskBuilder (Crt::Allocator *allocator, std::shared_ptr< Crt::Mqtt5::Mqtt5Client > mqtt5Client, Crt::Io::EventLoopGroup &eventLoopGroup, const Crt::String &thingName) | |
| ReportTaskBuilder & | WithReportFormat (ReportFormat reportFormat) noexcept |
| ReportTaskBuilder & | WithTaskPeriodSeconds (uint32_t taskPeriodSeconds) noexcept |
| ReportTaskBuilder & | WithNetworkConnectionSamplePeriodSeconds (uint32_t networkConnectionSamplePeriodSeconds) noexcept |
| ReportTaskBuilder & | WithTaskCancelledHandler (OnTaskCancelledHandler &&onCancelled) noexcept |
| ReportTaskBuilder & | WithTaskCancellationUserData (void *cancellationUserdata) noexcept |
| std::shared_ptr< ReportTask > | Build () noexcept |
Represents a builder for creating a ReportTask object.
| Aws::Iotdevicedefenderv1::ReportTaskBuilder::ReportTaskBuilder | ( | Crt::Allocator * | allocator, |
| std::shared_ptr< Crt::Mqtt::MqttConnection > | mqttConnection, | ||
| Crt::Io::EventLoopGroup & | eventLoopGroup, | ||
| const Crt::String & | thingName ) |
| Aws::Iotdevicedefenderv1::ReportTaskBuilder::ReportTaskBuilder | ( | Crt::Allocator * | allocator, |
| std::shared_ptr< Crt::Mqtt5::Mqtt5Client > | mqtt5Client, | ||
| Crt::Io::EventLoopGroup & | eventLoopGroup, | ||
| const Crt::String & | thingName ) |
|
noexcept |
Builds a device defender v1 task object from the set options.
|
noexcept |
Sets the network connection sample period seconds. Defaults to 5 minutes.
|
noexcept |
Sets the device defender report format, or defaults to AWS_IDDRF_JSON.
|
noexcept |
Sets the user data for the task cancelled handler function.
|
noexcept |
Sets the task cancelled handler function.
|
noexcept |
Sets the task period seconds. Defaults to 5 minutes.