AWS SDK for C++  1.9.131
AWS SDK for C++
Public Member Functions | List of all members
Aws::GreengrassV2::Model::LambdaEventSource Class Reference

#include <LambdaEventSource.h>

Public Member Functions

 LambdaEventSource ()
 
 LambdaEventSource (Aws::Utils::Json::JsonView jsonValue)
 
LambdaEventSourceoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetTopic () const
 
bool TopicHasBeenSet () const
 
void SetTopic (const Aws::String &value)
 
void SetTopic (Aws::String &&value)
 
void SetTopic (const char *value)
 
LambdaEventSourceWithTopic (const Aws::String &value)
 
LambdaEventSourceWithTopic (Aws::String &&value)
 
LambdaEventSourceWithTopic (const char *value)
 
const LambdaEventSourceTypeGetType () const
 
bool TypeHasBeenSet () const
 
void SetType (const LambdaEventSourceType &value)
 
void SetType (LambdaEventSourceType &&value)
 
LambdaEventSourceWithType (const LambdaEventSourceType &value)
 
LambdaEventSourceWithType (LambdaEventSourceType &&value)
 

Detailed Description

Contains information about an event source for an Lambda function. The event source defines the topics on which this Lambda function subscribes to receive messages that run the function.

See Also:

AWS API Reference

Definition at line 34 of file LambdaEventSource.h.

Constructor & Destructor Documentation

◆ LambdaEventSource() [1/2]

Aws::GreengrassV2::Model::LambdaEventSource::LambdaEventSource ( )

◆ LambdaEventSource() [2/2]

Aws::GreengrassV2::Model::LambdaEventSource::LambdaEventSource ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ GetTopic()

const Aws::String& Aws::GreengrassV2::Model::LambdaEventSource::GetTopic ( ) const
inline

The topic to which to subscribe to receive event messages.

Definition at line 46 of file LambdaEventSource.h.

◆ GetType()

const LambdaEventSourceType& Aws::GreengrassV2::Model::LambdaEventSource::GetType ( ) const
inline

The type of event source. Choose from the following options:

  • PUB_SUB – Subscribe to local publish/subscribe messages. This event source type doesn't support MQTT wildcards (+ and #) in the event source topic.

  • IOT_CORE – Subscribe to Amazon Web Services IoT Core MQTT messages. This event source type supports MQTT wildcards (+ and #) in the event source topic.

Definition at line 93 of file LambdaEventSource.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::GreengrassV2::Model::LambdaEventSource::Jsonize ( ) const

◆ operator=()

LambdaEventSource& Aws::GreengrassV2::Model::LambdaEventSource::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetTopic() [1/3]

void Aws::GreengrassV2::Model::LambdaEventSource::SetTopic ( Aws::String &&  value)
inline

The topic to which to subscribe to receive event messages.

Definition at line 61 of file LambdaEventSource.h.

◆ SetTopic() [2/3]

void Aws::GreengrassV2::Model::LambdaEventSource::SetTopic ( const Aws::String value)
inline

The topic to which to subscribe to receive event messages.

Definition at line 56 of file LambdaEventSource.h.

◆ SetTopic() [3/3]

void Aws::GreengrassV2::Model::LambdaEventSource::SetTopic ( const char *  value)
inline

The topic to which to subscribe to receive event messages.

Definition at line 66 of file LambdaEventSource.h.

◆ SetType() [1/2]

void Aws::GreengrassV2::Model::LambdaEventSource::SetType ( const LambdaEventSourceType value)
inline

The type of event source. Choose from the following options:

  • PUB_SUB – Subscribe to local publish/subscribe messages. This event source type doesn't support MQTT wildcards (+ and #) in the event source topic.

  • IOT_CORE – Subscribe to Amazon Web Services IoT Core MQTT messages. This event source type supports MQTT wildcards (+ and #) in the event source topic.

Definition at line 115 of file LambdaEventSource.h.

◆ SetType() [2/2]

void Aws::GreengrassV2::Model::LambdaEventSource::SetType ( LambdaEventSourceType &&  value)
inline

The type of event source. Choose from the following options:

  • PUB_SUB – Subscribe to local publish/subscribe messages. This event source type doesn't support MQTT wildcards (+ and #) in the event source topic.

  • IOT_CORE – Subscribe to Amazon Web Services IoT Core MQTT messages. This event source type supports MQTT wildcards (+ and #) in the event source topic.

Definition at line 126 of file LambdaEventSource.h.

◆ TopicHasBeenSet()

bool Aws::GreengrassV2::Model::LambdaEventSource::TopicHasBeenSet ( ) const
inline

The topic to which to subscribe to receive event messages.

Definition at line 51 of file LambdaEventSource.h.

◆ TypeHasBeenSet()

bool Aws::GreengrassV2::Model::LambdaEventSource::TypeHasBeenSet ( ) const
inline

The type of event source. Choose from the following options:

  • PUB_SUB – Subscribe to local publish/subscribe messages. This event source type doesn't support MQTT wildcards (+ and #) in the event source topic.

  • IOT_CORE – Subscribe to Amazon Web Services IoT Core MQTT messages. This event source type supports MQTT wildcards (+ and #) in the event source topic.

Definition at line 104 of file LambdaEventSource.h.

◆ WithTopic() [1/3]

LambdaEventSource& Aws::GreengrassV2::Model::LambdaEventSource::WithTopic ( Aws::String &&  value)
inline

The topic to which to subscribe to receive event messages.

Definition at line 76 of file LambdaEventSource.h.

◆ WithTopic() [2/3]

LambdaEventSource& Aws::GreengrassV2::Model::LambdaEventSource::WithTopic ( const Aws::String value)
inline

The topic to which to subscribe to receive event messages.

Definition at line 71 of file LambdaEventSource.h.

◆ WithTopic() [3/3]

LambdaEventSource& Aws::GreengrassV2::Model::LambdaEventSource::WithTopic ( const char *  value)
inline

The topic to which to subscribe to receive event messages.

Definition at line 81 of file LambdaEventSource.h.

◆ WithType() [1/2]

LambdaEventSource& Aws::GreengrassV2::Model::LambdaEventSource::WithType ( const LambdaEventSourceType value)
inline

The type of event source. Choose from the following options:

  • PUB_SUB – Subscribe to local publish/subscribe messages. This event source type doesn't support MQTT wildcards (+ and #) in the event source topic.

  • IOT_CORE – Subscribe to Amazon Web Services IoT Core MQTT messages. This event source type supports MQTT wildcards (+ and #) in the event source topic.

Definition at line 137 of file LambdaEventSource.h.

◆ WithType() [2/2]

LambdaEventSource& Aws::GreengrassV2::Model::LambdaEventSource::WithType ( LambdaEventSourceType &&  value)
inline

The type of event source. Choose from the following options:

  • PUB_SUB – Subscribe to local publish/subscribe messages. This event source type doesn't support MQTT wildcards (+ and #) in the event source topic.

  • IOT_CORE – Subscribe to Amazon Web Services IoT Core MQTT messages. This event source type supports MQTT wildcards (+ and #) in the event source topic.

Definition at line 148 of file LambdaEventSource.h.


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