7#include <aws/iotevents/IoTEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotevents/model/Payload.h>
50 inline void SetTargetArn(
const char* value) { m_targetArnHasBeenSet =
true; m_targetArn.assign(value); }
63 inline void SetPayload(
const Payload& value) { m_payloadHasBeenSet =
true; m_payload = value; }
64 inline void SetPayload(
Payload&& value) { m_payloadHasBeenSet =
true; m_payload = std::move(value); }
71 bool m_targetArnHasBeenSet =
false;
74 bool m_payloadHasBeenSet =
false;
const Payload & GetPayload() const
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTEVENTS_API SNSTopicPublishAction & operator=(Aws::Utils::Json::JsonView jsonValue)
SNSTopicPublishAction & WithTargetArn(const char *value)
SNSTopicPublishAction & WithPayload(const Payload &value)
AWS_IOTEVENTS_API SNSTopicPublishAction(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTargetArn() const
void SetPayload(Payload &&value)
bool TargetArnHasBeenSet() const
SNSTopicPublishAction & WithTargetArn(const Aws::String &value)
AWS_IOTEVENTS_API SNSTopicPublishAction()
SNSTopicPublishAction & WithPayload(Payload &&value)
void SetPayload(const Payload &value)
SNSTopicPublishAction & WithTargetArn(Aws::String &&value)
void SetTargetArn(const Aws::String &value)
bool PayloadHasBeenSet() const
void SetTargetArn(const char *value)
void SetTargetArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue