7#include <aws/iotevents/IoTEvents_EXPORTS.h>
8#include <aws/iotevents/model/SNSTopicPublishAction.h>
9#include <aws/iotevents/model/IotTopicPublishAction.h>
10#include <aws/iotevents/model/LambdaAction.h>
11#include <aws/iotevents/model/IotEventsAction.h>
12#include <aws/iotevents/model/SqsAction.h>
13#include <aws/iotevents/model/FirehoseAction.h>
14#include <aws/iotevents/model/DynamoDBAction.h>
15#include <aws/iotevents/model/DynamoDBv2Action.h>
16#include <aws/iotevents/model/IotSiteWiseAction.h>
53 template<
typename SnsT = SNSTopicPublishAction>
54 void SetSns(SnsT&& value) { m_snsHasBeenSet =
true; m_sns = std::forward<SnsT>(value); }
55 template<
typename SnsT = SNSTopicPublishAction>
63 template<
typename IotTopicPublishT = IotTopicPublishAction>
64 void SetIotTopicPublish(IotTopicPublishT&& value) { m_iotTopicPublishHasBeenSet =
true; m_iotTopicPublish = std::forward<IotTopicPublishT>(value); }
65 template<
typename IotTopicPublishT = IotTopicPublishAction>
73 template<
typename LambdaT = LambdaAction>
74 void SetLambda(LambdaT&& value) { m_lambdaHasBeenSet =
true; m_lambda = std::forward<LambdaT>(value); }
75 template<
typename LambdaT = LambdaAction>
83 template<
typename IotEventsT = IotEventsAction>
84 void SetIotEvents(IotEventsT&& value) { m_iotEventsHasBeenSet =
true; m_iotEvents = std::forward<IotEventsT>(value); }
85 template<
typename IotEventsT = IotEventsAction>
93 template<
typename SqsT = SqsAction>
94 void SetSqs(SqsT&& value) { m_sqsHasBeenSet =
true; m_sqs = std::forward<SqsT>(value); }
95 template<
typename SqsT = SqsAction>
103 template<
typename FirehoseT = FirehoseAction>
104 void SetFirehose(FirehoseT&& value) { m_firehoseHasBeenSet =
true; m_firehose = std::forward<FirehoseT>(value); }
105 template<
typename FirehoseT = FirehoseAction>
113 template<
typename DynamoDBT = DynamoDBAction>
114 void SetDynamoDB(DynamoDBT&& value) { m_dynamoDBHasBeenSet =
true; m_dynamoDB = std::forward<DynamoDBT>(value); }
115 template<
typename DynamoDBT = DynamoDBAction>
123 template<
typename DynamoDBv2T = DynamoDBv2Action>
124 void SetDynamoDBv2(DynamoDBv2T&& value) { m_dynamoDBv2HasBeenSet =
true; m_dynamoDBv2 = std::forward<DynamoDBv2T>(value); }
125 template<
typename DynamoDBv2T = DynamoDBv2Action>
133 template<
typename IotSiteWiseT = IotSiteWiseAction>
134 void SetIotSiteWise(IotSiteWiseT&& value) { m_iotSiteWiseHasBeenSet =
true; m_iotSiteWise = std::forward<IotSiteWiseT>(value); }
135 template<
typename IotSiteWiseT = IotSiteWiseAction>
141 bool m_snsHasBeenSet =
false;
144 bool m_iotTopicPublishHasBeenSet =
false;
147 bool m_lambdaHasBeenSet =
false;
150 bool m_iotEventsHasBeenSet =
false;
153 bool m_sqsHasBeenSet =
false;
156 bool m_firehoseHasBeenSet =
false;
159 bool m_dynamoDBHasBeenSet =
false;
162 bool m_dynamoDBv2HasBeenSet =
false;
165 bool m_iotSiteWiseHasBeenSet =
false;
AlarmAction & WithDynamoDBv2(DynamoDBv2T &&value)
AlarmAction & WithSns(SnsT &&value)
AlarmAction & WithIotTopicPublish(IotTopicPublishT &&value)
const DynamoDBAction & GetDynamoDB() const
void SetSqs(SqsT &&value)
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
const DynamoDBv2Action & GetDynamoDBv2() const
void SetSns(SnsT &&value)
void SetDynamoDB(DynamoDBT &&value)
bool FirehoseHasBeenSet() const
void SetIotTopicPublish(IotTopicPublishT &&value)
const FirehoseAction & GetFirehose() const
bool IotEventsHasBeenSet() const
const SqsAction & GetSqs() const
void SetLambda(LambdaT &&value)
AWS_IOTEVENTS_API AlarmAction()=default
void SetIotSiteWise(IotSiteWiseT &&value)
AlarmAction & WithIotEvents(IotEventsT &&value)
bool IotSiteWiseHasBeenSet() const
AlarmAction & WithFirehose(FirehoseT &&value)
bool SnsHasBeenSet() const
bool DynamoDBv2HasBeenSet() const
const SNSTopicPublishAction & GetSns() const
AlarmAction & WithLambda(LambdaT &&value)
AlarmAction & WithSqs(SqsT &&value)
AlarmAction & WithIotSiteWise(IotSiteWiseT &&value)
bool SqsHasBeenSet() const
const IotEventsAction & GetIotEvents() const
AWS_IOTEVENTS_API AlarmAction & operator=(Aws::Utils::Json::JsonView jsonValue)
const IotSiteWiseAction & GetIotSiteWise() const
bool DynamoDBHasBeenSet() const
const LambdaAction & GetLambda() const
void SetFirehose(FirehoseT &&value)
void SetDynamoDBv2(DynamoDBv2T &&value)
bool LambdaHasBeenSet() const
void SetIotEvents(IotEventsT &&value)
AWS_IOTEVENTS_API AlarmAction(Aws::Utils::Json::JsonView jsonValue)
bool IotTopicPublishHasBeenSet() const
const IotTopicPublishAction & GetIotTopicPublish() const
AlarmAction & WithDynamoDB(DynamoDBT &&value)
Aws::Utils::Json::JsonValue JsonValue