aws-crt-cpp
C++ wrapper around the aws-c-* libraries. Provides Cross-Platform Transport Protocols and SSL/TLS implementations for C++.
Public Member Functions | List of all members
Aws::Iot::RequestResponse::SubscriptionStatusEvent Class Reference

#include <MqttRequestResponseClient.h>

Public Member Functions

SubscriptionStatusEventWithType (SubscriptionStatusEventType type)
 
SubscriptionStatusEventWithErrorCode (int errorCode)
 
SubscriptionStatusEventType GetType () const
 
int GetErrorCode () const
 

Detailed Description

An event that describes a change in subscription status for a streaming operation.

Member Function Documentation

int Aws::Iot::RequestResponse::SubscriptionStatusEvent::GetErrorCode ( ) const
inline

Get the error code associated with this event

Returns
the error code associated with this event
SubscriptionStatusEventType Aws::Iot::RequestResponse::SubscriptionStatusEvent::GetType ( ) const
inline

Gets the type of event

Returns
the type of the event
SubscriptionStatusEvent& Aws::Iot::RequestResponse::SubscriptionStatusEvent::WithErrorCode ( int  errorCode)
inline

Sets an optional error code associated with the event

Parameters
errorCodeCRT error code corresponding to the event
Returns
reference to this
SubscriptionStatusEvent& Aws::Iot::RequestResponse::SubscriptionStatusEvent::WithType ( SubscriptionStatusEventType  type)
inline

Sets the type of the event

Parameters
typekind of subscription status event this is
Returns
reference to this

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