AWS IoT Device SDK C++ v2  1.34.0
AWS IoT Device SDK C++ v2
Public Member Functions | List of all members
Aws::Crt::Mqtt5::UserProperty Class Reference

#include <Mqtt5Packets.h>

Public Member Functions

 UserProperty (Crt::String key, Crt::String value) noexcept
 
const Crt::StringgetName () const noexcept
 
const Crt::StringgetValue () const noexcept
 
 ~UserProperty () noexcept
 
 UserProperty (const UserProperty &toCopy) noexcept
 
 UserProperty (UserProperty &&toMove) noexcept
 
UserPropertyoperator= (const UserProperty &toCopy) noexcept
 
UserPropertyoperator= (UserProperty &&toMove) noexcept
 

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/3]

Aws::Crt::Mqtt5::UserProperty::UserProperty ( Crt::String  key,
Crt::String  value 
)
noexcept

◆ ~UserProperty()

Aws::Crt::Mqtt5::UserProperty::~UserProperty ( )
noexcept

◆ UserProperty() [2/3]

Aws::Crt::Mqtt5::UserProperty::UserProperty ( const UserProperty toCopy)
noexcept

◆ UserProperty() [3/3]

Aws::Crt::Mqtt5::UserProperty::UserProperty ( UserProperty &&  toMove)
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=() [1/2]

UserProperty & Aws::Crt::Mqtt5::UserProperty::operator= ( const UserProperty toCopy)
noexcept

◆ operator=() [2/2]

UserProperty & Aws::Crt::Mqtt5::UserProperty::operator= ( UserProperty &&  toMove)
noexcept

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