7#include <aws/iotevents/IoTEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotevents/model/Payload.h>
53 inline void SetMqttTopic(
const char* value) { m_mqttTopicHasBeenSet =
true; m_mqttTopic.assign(value); }
66 inline void SetPayload(
const Payload& value) { m_payloadHasBeenSet =
true; m_payload = value; }
67 inline void SetPayload(
Payload&& value) { m_payloadHasBeenSet =
true; m_payload = std::move(value); }
74 bool m_mqttTopicHasBeenSet =
false;
77 bool m_payloadHasBeenSet =
false;
IotTopicPublishAction & WithMqttTopic(const char *value)
IotTopicPublishAction & WithPayload(const Payload &value)
IotTopicPublishAction & WithMqttTopic(Aws::String &&value)
AWS_IOTEVENTS_API IotTopicPublishAction(Aws::Utils::Json::JsonView jsonValue)
const Payload & GetPayload() const
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
IotTopicPublishAction & WithPayload(Payload &&value)
AWS_IOTEVENTS_API IotTopicPublishAction()
void SetPayload(Payload &&value)
void SetPayload(const Payload &value)
void SetMqttTopic(const Aws::String &value)
const Aws::String & GetMqttTopic() const
void SetMqttTopic(const char *value)
bool MqttTopicHasBeenSet() const
AWS_IOTEVENTS_API IotTopicPublishAction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMqttTopic(Aws::String &&value)
IotTopicPublishAction & WithMqttTopic(const Aws::String &value)
bool PayloadHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue