|
aws-crt-cpp
C++ wrapper around the aws-c-* libraries. Provides Cross-Platform Transport Protocols and SSL/TLS implementations for C++.
|
#include <IoTSDKMetrics.h>
Public Member Functions | |
| AWSIoTMetrics () | |
| ~AWSIoTMetrics ()=default | |
| AWSIoTMetrics (const AWSIoTMetrics &other) | |
| AWSIoTMetrics & | operator= (const AWSIoTMetrics &other) |
| AWSIoTMetrics (AWSIoTMetrics &&other) noexcept | |
| AWSIoTMetrics & | operator= (AWSIoTMetrics &&other) noexcept |
| void | SetLibraryName (Aws::Crt::String name) |
| const Aws::Crt::String & | GetLibraryName () const |
| void | SetMetadataEntry (const Crt::String &key, const Crt::String &value) |
| void | RemoveMetadataEntry (const Crt::String &key) |
| const Crt::Map< Crt::String, Crt::String > & | GetMetadata () const |
Friends | |
| class | Mqtt5::Mqtt5ClientOptions |
| class | MqttConnectionCore |
| class | IoTSDKMetricsEncoder |
IoT Device SDK Metrics Structure.
Holds the library name and a list of metadata key-value pairs to be appended to the MQTT CONNECT packet's username field.
| Aws::Crt::Mqtt::AWSIoTMetrics::AWSIoTMetrics | ( | ) |
|
default |
| Aws::Crt::Mqtt::AWSIoTMetrics::AWSIoTMetrics | ( | const AWSIoTMetrics & | other | ) |
|
noexcept |
| const Aws::Crt::String & Aws::Crt::Mqtt::AWSIoTMetrics::GetLibraryName | ( | ) | const |
Returns a const reference to the library name.
| const Crt::Map< Crt::String, Crt::String > & Aws::Crt::Mqtt::AWSIoTMetrics::GetMetadata | ( | ) | const |
Returns a const reference to the metadata map.
| AWSIoTMetrics & Aws::Crt::Mqtt::AWSIoTMetrics::operator= | ( | const AWSIoTMetrics & | other | ) |
|
noexcept |
| void Aws::Crt::Mqtt::AWSIoTMetrics::RemoveMetadataEntry | ( | const Crt::String & | key | ) |
Removes a single metadata entry by key. No-op if the key does not exist.
| key | The metadata key to remove. |
| void Aws::Crt::Mqtt::AWSIoTMetrics::SetLibraryName | ( | Aws::Crt::String | name | ) |
Sets the library name identifier.
| name | The library name |
| void Aws::Crt::Mqtt::AWSIoTMetrics::SetMetadataEntry | ( | const Crt::String & | key, |
| const Crt::String & | value | ||
| ) |
Sets or updates a single metadata entry.
| key | The metadata key. |
| value | The metadata value. |
|
friend |
|
friend |
|
friend |
1.8.10