AWS IoT Device SDK C++ v2  1.32.6
AWS IoT Device SDK C++ v2
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
Aws::Greengrass::MQTTCredential Class Reference

#include <GreengrassCoreIpcModel.h>

Inheritance diagram for Aws::Greengrass::MQTTCredential:
Aws::Eventstreamrpc::AbstractShapeBase

Public Member Functions

 MQTTCredential () noexcept
 
 MQTTCredential (const MQTTCredential &)=default
 
void SetClientId (const Aws::Crt::String &clientId) noexcept
 
Aws::Crt::Optional< Aws::Crt::StringGetClientId () noexcept
 
void SetCertificatePem (const Aws::Crt::String &certificatePem) noexcept
 
Aws::Crt::Optional< Aws::Crt::StringGetCertificatePem () noexcept
 
void SetUsername (const Aws::Crt::String &username) noexcept
 
Aws::Crt::Optional< Aws::Crt::StringGetUsername () noexcept
 
void SetPassword (const Aws::Crt::String &password) noexcept
 
Aws::Crt::Optional< Aws::Crt::StringGetPassword () noexcept
 
void SerializeToJsonObject (Aws::Crt::JsonObject &payloadObject) const noexcept override
 
bool operator< (const MQTTCredential &) const noexcept
 
- Public Member Functions inherited from Aws::Eventstreamrpc::AbstractShapeBase
 AbstractShapeBase () noexcept
 
virtual ~AbstractShapeBase () noexcept=default
 

Static Public Member Functions

static void s_loadFromJsonView (MQTTCredential &, const Aws::Crt::JsonView &) noexcept
 
static Aws::Crt::ScopedResource< AbstractShapeBases_allocateFromPayload (Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept
 
static void s_customDeleter (MQTTCredential *) noexcept
 
- Static Public Member Functions inherited from Aws::Eventstreamrpc::AbstractShapeBase
static void s_customDeleter (AbstractShapeBase *shape) noexcept
 

Static Public Attributes

static const char * MODEL_NAME = "aws.greengrass#MQTTCredential"
 

Protected Member Functions

Aws::Crt::String GetModelName () const noexcept override
 

Additional Inherited Members

- Protected Attributes inherited from Aws::Eventstreamrpc::AbstractShapeBase
Crt::Allocatorm_allocator
 

Constructor & Destructor Documentation

◆ MQTTCredential() [1/2]

Aws::Greengrass::MQTTCredential::MQTTCredential ( )
inlinenoexcept

◆ MQTTCredential() [2/2]

Aws::Greengrass::MQTTCredential::MQTTCredential ( const MQTTCredential )
default

Member Function Documentation

◆ GetCertificatePem()

Aws::Crt::Optional<Aws::Crt::String> Aws::Greengrass::MQTTCredential::GetCertificatePem ( )
inlinenoexcept

The client certificate in pem format.

◆ GetClientId()

Aws::Crt::Optional<Aws::Crt::String> Aws::Greengrass::MQTTCredential::GetClientId ( )
inlinenoexcept

The client ID to used to connect.

◆ GetModelName()

Aws::Crt::String Aws::Greengrass::MQTTCredential::GetModelName ( ) const
overrideprotectedvirtualnoexcept

◆ GetPassword()

Aws::Crt::Optional<Aws::Crt::String> Aws::Greengrass::MQTTCredential::GetPassword ( )
inlinenoexcept

The password. (unused).

◆ GetUsername()

Aws::Crt::Optional<Aws::Crt::String> Aws::Greengrass::MQTTCredential::GetUsername ( )
inlinenoexcept

The username. (unused).

◆ operator<()

bool Aws::Greengrass::MQTTCredential::operator< ( const MQTTCredential ) const
noexcept

◆ s_allocateFromPayload()

Aws::Crt::ScopedResource< AbstractShapeBase > Aws::Greengrass::MQTTCredential::s_allocateFromPayload ( Aws::Crt::StringView  stringView,
Aws::Crt::Allocator allocator 
)
staticnoexcept

◆ s_customDeleter()

void Aws::Greengrass::MQTTCredential::s_customDeleter ( MQTTCredential shape)
staticnoexcept

◆ s_loadFromJsonView()

void Aws::Greengrass::MQTTCredential::s_loadFromJsonView ( MQTTCredential mQTTCredential,
const Aws::Crt::JsonView jsonView 
)
staticnoexcept

◆ SerializeToJsonObject()

void Aws::Greengrass::MQTTCredential::SerializeToJsonObject ( Aws::Crt::JsonObject payloadObject) const
overridevirtualnoexcept

◆ SetCertificatePem()

void Aws::Greengrass::MQTTCredential::SetCertificatePem ( const Aws::Crt::String certificatePem)
inlinenoexcept

The client certificate in pem format.

◆ SetClientId()

void Aws::Greengrass::MQTTCredential::SetClientId ( const Aws::Crt::String clientId)
inlinenoexcept

The client ID to used to connect.

◆ SetPassword()

void Aws::Greengrass::MQTTCredential::SetPassword ( const Aws::Crt::String password)
inlinenoexcept

The password. (unused).

◆ SetUsername()

void Aws::Greengrass::MQTTCredential::SetUsername ( const Aws::Crt::String username)
inlinenoexcept

The username. (unused).

Member Data Documentation

◆ MODEL_NAME

const char * Aws::Greengrass::MQTTCredential::MODEL_NAME = "aws.greengrass#MQTTCredential"
static

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