#include <Mqtt5Packets.h>
Configures a single subscription within a Subscribe operation
See MQTT5 Subscription Options 
◆ Subscription() [1/4]
◆ Subscription() [2/4]
◆ ~Subscription()
  
  | 
        
          | virtual Aws::Crt::Mqtt5::Subscription::~Subscription | ( |  | ) |  |  | inlinevirtual | 
 
 
◆ Subscription() [3/4]
◆ Subscription() [4/4]
  
  | 
        
          | Aws::Crt::Mqtt5::Subscription::Subscription | ( | Subscription && | toMove | ) |  |  | noexcept | 
 
 
◆ initializeRawOptions()
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ WithNoLocal()
Sets should the server not send publishes to a client when that client was the one who sent the publish? The value will be default to false.
See MQTT5 Subscription Options
- Parameters
- 
  
  
- Returns
- The Subscription Object after setting the reason string. 
 
 
◆ WithQOS()
Sets Maximum QoS on which the subscriber will accept publish messages. Negotiated QoS may be different.
See MQTT5 Subscription Options
- Parameters
- 
  
  
- Returns
- The Subscription Object after setting the reason string. 
 
 
◆ WithRetain()
◆ WithRetainAsPublished()
  
  | 
        
          | Subscription & Aws::Crt::Mqtt5::Subscription::WithRetainAsPublished | ( | bool | retain | ) |  |  | noexcept | 
 
Sets should the server not send publishes to a client when that client was the one who sent the publish? The value will be default to false.
See MQTT5 Subscription Options
- Parameters
- 
  
  
- Returns
- The Subscription Object after setting the reason string. 
 
 
◆ WithRetainHandlingType()
Sets should messages sent due to this subscription keep the retain flag preserved on the message? The value will be default to false.
See MQTT5 Subscription Options
- Parameters
- 
  
  
- Returns
- The Subscription Object after setting the reason string. 
 
 
◆ WithTopicFilter()
The documentation for this class was generated from the following files: