AWS IoT Device SDK C++ v2 1.44.2
AWS IoT Device SDK C++ v2
Loading...
Searching...
No Matches
Aws::Crt::Mqtt5::UserProperty Class Reference

#include <Mqtt5Packets.h>

Public Member Functions

 UserProperty (const Crt::String &name, const Crt::String &value) noexcept
 UserProperty (Crt::String &&name, Crt::String &&value) noexcept
const Crt::StringgetName () const noexcept
const Crt::StringgetValue () const noexcept
bool operator== (const UserProperty &other) const

Detailed Description

Data model for MQTT5 user properties.

A user property is a name-value pair of utf-8 strings that can be added to mqtt5 packets.

Constructor & Destructor Documentation

◆ UserProperty() [1/2]

Aws::Crt::Mqtt5::UserProperty::UserProperty ( const Crt::String & name,
const Crt::String & value )
noexcept

◆ UserProperty() [2/2]

Aws::Crt::Mqtt5::UserProperty::UserProperty ( Crt::String && name,
Crt::String && value )
noexcept

Member Function Documentation

◆ getName()

const Crt::String & Aws::Crt::Mqtt5::UserProperty::getName ( ) const
inlinenoexcept

◆ getValue()

const Crt::String & Aws::Crt::Mqtt5::UserProperty::getValue ( ) const
inlinenoexcept

◆ operator==()

bool Aws::Crt::Mqtt5::UserProperty::operator== ( const UserProperty & other) const
inline

The documentation for this class was generated from the following files: