AWS SDK for C++  1.8.95
AWS SDK for C++
Public Member Functions | List of all members
Aws::Greengrass::Model::Subscription Class Reference

#include <Subscription.h>

Public Member Functions

 Subscription ()
 
 Subscription (Aws::Utils::Json::JsonView jsonValue)
 
Subscriptionoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetId () const
 
bool IdHasBeenSet () const
 
void SetId (const Aws::String &value)
 
void SetId (Aws::String &&value)
 
void SetId (const char *value)
 
SubscriptionWithId (const Aws::String &value)
 
SubscriptionWithId (Aws::String &&value)
 
SubscriptionWithId (const char *value)
 
const Aws::StringGetSource () const
 
bool SourceHasBeenSet () const
 
void SetSource (const Aws::String &value)
 
void SetSource (Aws::String &&value)
 
void SetSource (const char *value)
 
SubscriptionWithSource (const Aws::String &value)
 
SubscriptionWithSource (Aws::String &&value)
 
SubscriptionWithSource (const char *value)
 
const Aws::StringGetSubject () const
 
bool SubjectHasBeenSet () const
 
void SetSubject (const Aws::String &value)
 
void SetSubject (Aws::String &&value)
 
void SetSubject (const char *value)
 
SubscriptionWithSubject (const Aws::String &value)
 
SubscriptionWithSubject (Aws::String &&value)
 
SubscriptionWithSubject (const char *value)
 
const Aws::StringGetTarget () const
 
bool TargetHasBeenSet () const
 
void SetTarget (const Aws::String &value)
 
void SetTarget (Aws::String &&value)
 
void SetTarget (const char *value)
 
SubscriptionWithTarget (const Aws::String &value)
 
SubscriptionWithTarget (Aws::String &&value)
 
SubscriptionWithTarget (const char *value)
 

Detailed Description

Information about a subscription.

See Also:

AWS API Reference

Definition at line 31 of file Subscription.h.

Constructor & Destructor Documentation

◆ Subscription() [1/2]

Aws::Greengrass::Model::Subscription::Subscription ( )

◆ Subscription() [2/2]

Aws::Greengrass::Model::Subscription::Subscription ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ GetId()

const Aws::String& Aws::Greengrass::Model::Subscription::GetId ( ) const
inline

A descriptive or arbitrary ID for the subscription. This value must be unique within the subscription definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.

Definition at line 45 of file Subscription.h.

◆ GetSource()

const Aws::String& Aws::Greengrass::Model::Subscription::GetSource ( ) const
inline

The source of the subscription. Can be a thing ARN, a Lambda function ARN, a connector ARN, 'cloud' (which represents the AWS IoT cloud), or 'GGShadowService'.

Definition at line 102 of file Subscription.h.

◆ GetSubject()

const Aws::String& Aws::Greengrass::Model::Subscription::GetSubject ( ) const
inline

The MQTT topic used to route the message.

Definition at line 157 of file Subscription.h.

◆ GetTarget()

const Aws::String& Aws::Greengrass::Model::Subscription::GetTarget ( ) const
inline

Where the message is sent to. Can be a thing ARN, a Lambda function ARN, a connector ARN, 'cloud' (which represents the AWS IoT cloud), or 'GGShadowService'.

Definition at line 200 of file Subscription.h.

◆ IdHasBeenSet()

bool Aws::Greengrass::Model::Subscription::IdHasBeenSet ( ) const
inline

A descriptive or arbitrary ID for the subscription. This value must be unique within the subscription definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.

Definition at line 52 of file Subscription.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::Greengrass::Model::Subscription::Jsonize ( ) const

◆ operator=()

Subscription& Aws::Greengrass::Model::Subscription::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetId() [1/3]

void Aws::Greengrass::Model::Subscription::SetId ( const Aws::String value)
inline

A descriptive or arbitrary ID for the subscription. This value must be unique within the subscription definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.

Definition at line 59 of file Subscription.h.

◆ SetId() [2/3]

void Aws::Greengrass::Model::Subscription::SetId ( Aws::String &&  value)
inline

A descriptive or arbitrary ID for the subscription. This value must be unique within the subscription definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.

Definition at line 66 of file Subscription.h.

◆ SetId() [3/3]

void Aws::Greengrass::Model::Subscription::SetId ( const char *  value)
inline

A descriptive or arbitrary ID for the subscription. This value must be unique within the subscription definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.

Definition at line 73 of file Subscription.h.

◆ SetSource() [1/3]

void Aws::Greengrass::Model::Subscription::SetSource ( const Aws::String value)
inline

The source of the subscription. Can be a thing ARN, a Lambda function ARN, a connector ARN, 'cloud' (which represents the AWS IoT cloud), or 'GGShadowService'.

Definition at line 116 of file Subscription.h.

◆ SetSource() [2/3]

void Aws::Greengrass::Model::Subscription::SetSource ( Aws::String &&  value)
inline

The source of the subscription. Can be a thing ARN, a Lambda function ARN, a connector ARN, 'cloud' (which represents the AWS IoT cloud), or 'GGShadowService'.

Definition at line 123 of file Subscription.h.

◆ SetSource() [3/3]

void Aws::Greengrass::Model::Subscription::SetSource ( const char *  value)
inline

The source of the subscription. Can be a thing ARN, a Lambda function ARN, a connector ARN, 'cloud' (which represents the AWS IoT cloud), or 'GGShadowService'.

Definition at line 130 of file Subscription.h.

◆ SetSubject() [1/3]

void Aws::Greengrass::Model::Subscription::SetSubject ( const Aws::String value)
inline

The MQTT topic used to route the message.

Definition at line 167 of file Subscription.h.

◆ SetSubject() [2/3]

void Aws::Greengrass::Model::Subscription::SetSubject ( Aws::String &&  value)
inline

The MQTT topic used to route the message.

Definition at line 172 of file Subscription.h.

◆ SetSubject() [3/3]

void Aws::Greengrass::Model::Subscription::SetSubject ( const char *  value)
inline

The MQTT topic used to route the message.

Definition at line 177 of file Subscription.h.

◆ SetTarget() [1/3]

void Aws::Greengrass::Model::Subscription::SetTarget ( const Aws::String value)
inline

Where the message is sent to. Can be a thing ARN, a Lambda function ARN, a connector ARN, 'cloud' (which represents the AWS IoT cloud), or 'GGShadowService'.

Definition at line 214 of file Subscription.h.

◆ SetTarget() [2/3]

void Aws::Greengrass::Model::Subscription::SetTarget ( Aws::String &&  value)
inline

Where the message is sent to. Can be a thing ARN, a Lambda function ARN, a connector ARN, 'cloud' (which represents the AWS IoT cloud), or 'GGShadowService'.

Definition at line 221 of file Subscription.h.

◆ SetTarget() [3/3]

void Aws::Greengrass::Model::Subscription::SetTarget ( const char *  value)
inline

Where the message is sent to. Can be a thing ARN, a Lambda function ARN, a connector ARN, 'cloud' (which represents the AWS IoT cloud), or 'GGShadowService'.

Definition at line 228 of file Subscription.h.

◆ SourceHasBeenSet()

bool Aws::Greengrass::Model::Subscription::SourceHasBeenSet ( ) const
inline

The source of the subscription. Can be a thing ARN, a Lambda function ARN, a connector ARN, 'cloud' (which represents the AWS IoT cloud), or 'GGShadowService'.

Definition at line 109 of file Subscription.h.

◆ SubjectHasBeenSet()

bool Aws::Greengrass::Model::Subscription::SubjectHasBeenSet ( ) const
inline

The MQTT topic used to route the message.

Definition at line 162 of file Subscription.h.

◆ TargetHasBeenSet()

bool Aws::Greengrass::Model::Subscription::TargetHasBeenSet ( ) const
inline

Where the message is sent to. Can be a thing ARN, a Lambda function ARN, a connector ARN, 'cloud' (which represents the AWS IoT cloud), or 'GGShadowService'.

Definition at line 207 of file Subscription.h.

◆ WithId() [1/3]

Subscription& Aws::Greengrass::Model::Subscription::WithId ( const Aws::String value)
inline

A descriptive or arbitrary ID for the subscription. This value must be unique within the subscription definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.

Definition at line 80 of file Subscription.h.

◆ WithId() [2/3]

Subscription& Aws::Greengrass::Model::Subscription::WithId ( Aws::String &&  value)
inline

A descriptive or arbitrary ID for the subscription. This value must be unique within the subscription definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.

Definition at line 87 of file Subscription.h.

◆ WithId() [3/3]

Subscription& Aws::Greengrass::Model::Subscription::WithId ( const char *  value)
inline

A descriptive or arbitrary ID for the subscription. This value must be unique within the subscription definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.

Definition at line 94 of file Subscription.h.

◆ WithSource() [1/3]

Subscription& Aws::Greengrass::Model::Subscription::WithSource ( const Aws::String value)
inline

The source of the subscription. Can be a thing ARN, a Lambda function ARN, a connector ARN, 'cloud' (which represents the AWS IoT cloud), or 'GGShadowService'.

Definition at line 137 of file Subscription.h.

◆ WithSource() [2/3]

Subscription& Aws::Greengrass::Model::Subscription::WithSource ( Aws::String &&  value)
inline

The source of the subscription. Can be a thing ARN, a Lambda function ARN, a connector ARN, 'cloud' (which represents the AWS IoT cloud), or 'GGShadowService'.

Definition at line 144 of file Subscription.h.

◆ WithSource() [3/3]

Subscription& Aws::Greengrass::Model::Subscription::WithSource ( const char *  value)
inline

The source of the subscription. Can be a thing ARN, a Lambda function ARN, a connector ARN, 'cloud' (which represents the AWS IoT cloud), or 'GGShadowService'.

Definition at line 151 of file Subscription.h.

◆ WithSubject() [1/3]

Subscription& Aws::Greengrass::Model::Subscription::WithSubject ( const Aws::String value)
inline

The MQTT topic used to route the message.

Definition at line 182 of file Subscription.h.

◆ WithSubject() [2/3]

Subscription& Aws::Greengrass::Model::Subscription::WithSubject ( Aws::String &&  value)
inline

The MQTT topic used to route the message.

Definition at line 187 of file Subscription.h.

◆ WithSubject() [3/3]

Subscription& Aws::Greengrass::Model::Subscription::WithSubject ( const char *  value)
inline

The MQTT topic used to route the message.

Definition at line 192 of file Subscription.h.

◆ WithTarget() [1/3]

Subscription& Aws::Greengrass::Model::Subscription::WithTarget ( const Aws::String value)
inline

Where the message is sent to. Can be a thing ARN, a Lambda function ARN, a connector ARN, 'cloud' (which represents the AWS IoT cloud), or 'GGShadowService'.

Definition at line 235 of file Subscription.h.

◆ WithTarget() [2/3]

Subscription& Aws::Greengrass::Model::Subscription::WithTarget ( Aws::String &&  value)
inline

Where the message is sent to. Can be a thing ARN, a Lambda function ARN, a connector ARN, 'cloud' (which represents the AWS IoT cloud), or 'GGShadowService'.

Definition at line 242 of file Subscription.h.

◆ WithTarget() [3/3]

Subscription& Aws::Greengrass::Model::Subscription::WithTarget ( const char *  value)
inline

Where the message is sent to. Can be a thing ARN, a Lambda function ARN, a connector ARN, 'cloud' (which represents the AWS IoT cloud), or 'GGShadowService'.

Definition at line 249 of file Subscription.h.


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