7#include <aws/iotevents/IoTEvents_EXPORTS.h>
8#include <aws/iotevents/model/SetVariableAction.h>
9#include <aws/iotevents/model/SNSTopicPublishAction.h>
10#include <aws/iotevents/model/IotTopicPublishAction.h>
11#include <aws/iotevents/model/SetTimerAction.h>
12#include <aws/iotevents/model/ClearTimerAction.h>
13#include <aws/iotevents/model/ResetTimerAction.h>
14#include <aws/iotevents/model/LambdaAction.h>
15#include <aws/iotevents/model/IotEventsAction.h>
16#include <aws/iotevents/model/SqsAction.h>
17#include <aws/iotevents/model/FirehoseAction.h>
18#include <aws/iotevents/model/DynamoDBAction.h>
19#include <aws/iotevents/model/DynamoDBv2Action.h>
20#include <aws/iotevents/model/IotSiteWiseAction.h>
47 AWS_IOTEVENTS_API
Action() =
default;
59 template<
typename SetVariableT = SetVariableAction>
60 void SetSetVariable(SetVariableT&& value) { m_setVariableHasBeenSet =
true; m_setVariable = std::forward<SetVariableT>(value); }
61 template<
typename SetVariableT = SetVariableAction>
71 template<
typename SnsT = SNSTopicPublishAction>
72 void SetSns(SnsT&& value) { m_snsHasBeenSet =
true; m_sns = std::forward<SnsT>(value); }
73 template<
typename SnsT = SNSTopicPublishAction>
84 template<
typename IotTopicPublishT = IotTopicPublishAction>
85 void SetIotTopicPublish(IotTopicPublishT&& value) { m_iotTopicPublishHasBeenSet =
true; m_iotTopicPublish = std::forward<IotTopicPublishT>(value); }
86 template<
typename IotTopicPublishT = IotTopicPublishAction>
96 template<
typename SetTimerT = SetTimerAction>
97 void SetSetTimer(SetTimerT&& value) { m_setTimerHasBeenSet =
true; m_setTimer = std::forward<SetTimerT>(value); }
98 template<
typename SetTimerT = SetTimerAction>
108 template<
typename ClearTimerT = ClearTimerAction>
109 void SetClearTimer(ClearTimerT&& value) { m_clearTimerHasBeenSet =
true; m_clearTimer = std::forward<ClearTimerT>(value); }
110 template<
typename ClearTimerT = ClearTimerAction>
120 template<
typename ResetTimerT = ResetTimerAction>
121 void SetResetTimer(ResetTimerT&& value) { m_resetTimerHasBeenSet =
true; m_resetTimer = std::forward<ResetTimerT>(value); }
122 template<
typename ResetTimerT = ResetTimerAction>
133 template<
typename LambdaT = LambdaAction>
134 void SetLambda(LambdaT&& value) { m_lambdaHasBeenSet =
true; m_lambda = std::forward<LambdaT>(value); }
135 template<
typename LambdaT = LambdaAction>
146 template<
typename IotEventsT = IotEventsAction>
147 void SetIotEvents(IotEventsT&& value) { m_iotEventsHasBeenSet =
true; m_iotEvents = std::forward<IotEventsT>(value); }
148 template<
typename IotEventsT = IotEventsAction>
159 template<
typename SqsT = SqsAction>
160 void SetSqs(SqsT&& value) { m_sqsHasBeenSet =
true; m_sqs = std::forward<SqsT>(value); }
161 template<
typename SqsT = SqsAction>
172 template<
typename FirehoseT = FirehoseAction>
173 void SetFirehose(FirehoseT&& value) { m_firehoseHasBeenSet =
true; m_firehose = std::forward<FirehoseT>(value); }
174 template<
typename FirehoseT = FirehoseAction>
191 template<
typename DynamoDBT = DynamoDBAction>
192 void SetDynamoDB(DynamoDBT&& value) { m_dynamoDBHasBeenSet =
true; m_dynamoDB = std::forward<DynamoDBT>(value); }
193 template<
typename DynamoDBT = DynamoDBAction>
210 template<
typename DynamoDBv2T = DynamoDBv2Action>
211 void SetDynamoDBv2(DynamoDBv2T&& value) { m_dynamoDBv2HasBeenSet =
true; m_dynamoDBv2 = std::forward<DynamoDBv2T>(value); }
212 template<
typename DynamoDBv2T = DynamoDBv2Action>
223 template<
typename IotSiteWiseT = IotSiteWiseAction>
224 void SetIotSiteWise(IotSiteWiseT&& value) { m_iotSiteWiseHasBeenSet =
true; m_iotSiteWise = std::forward<IotSiteWiseT>(value); }
225 template<
typename IotSiteWiseT = IotSiteWiseAction>
231 bool m_setVariableHasBeenSet =
false;
234 bool m_snsHasBeenSet =
false;
237 bool m_iotTopicPublishHasBeenSet =
false;
240 bool m_setTimerHasBeenSet =
false;
243 bool m_clearTimerHasBeenSet =
false;
246 bool m_resetTimerHasBeenSet =
false;
249 bool m_lambdaHasBeenSet =
false;
252 bool m_iotEventsHasBeenSet =
false;
255 bool m_sqsHasBeenSet =
false;
258 bool m_firehoseHasBeenSet =
false;
261 bool m_dynamoDBHasBeenSet =
false;
264 bool m_dynamoDBv2HasBeenSet =
false;
267 bool m_iotSiteWiseHasBeenSet =
false;
bool SetTimerHasBeenSet() const
const DynamoDBv2Action & GetDynamoDBv2() const
void SetSetTimer(SetTimerT &&value)
Action & WithLambda(LambdaT &&value)
const SetVariableAction & GetSetVariable() const
Action & WithFirehose(FirehoseT &&value)
void SetSetVariable(SetVariableT &&value)
bool IotSiteWiseHasBeenSet() const
const LambdaAction & GetLambda() const
const FirehoseAction & GetFirehose() const
bool SqsHasBeenSet() const
Action & WithDynamoDB(DynamoDBT &&value)
bool DynamoDBHasBeenSet() const
const IotSiteWiseAction & GetIotSiteWise() const
const IotTopicPublishAction & GetIotTopicPublish() const
bool ResetTimerHasBeenSet() const
const IotEventsAction & GetIotEvents() const
Action & WithResetTimer(ResetTimerT &&value)
Action & WithSns(SnsT &&value)
void SetSns(SnsT &&value)
void SetDynamoDBv2(DynamoDBv2T &&value)
void SetIotSiteWise(IotSiteWiseT &&value)
AWS_IOTEVENTS_API Action & operator=(Aws::Utils::Json::JsonView jsonValue)
bool IotEventsHasBeenSet() const
Action & WithDynamoDBv2(DynamoDBv2T &&value)
Action & WithIotSiteWise(IotSiteWiseT &&value)
bool SetVariableHasBeenSet() const
const SetTimerAction & GetSetTimer() const
void SetDynamoDB(DynamoDBT &&value)
Action & WithIotEvents(IotEventsT &&value)
AWS_IOTEVENTS_API Action(Aws::Utils::Json::JsonView jsonValue)
bool LambdaHasBeenSet() const
void SetFirehose(FirehoseT &&value)
AWS_IOTEVENTS_API Action()=default
Action & WithIotTopicPublish(IotTopicPublishT &&value)
void SetResetTimer(ResetTimerT &&value)
void SetClearTimer(ClearTimerT &&value)
bool SnsHasBeenSet() const
Action & WithSetVariable(SetVariableT &&value)
const ResetTimerAction & GetResetTimer() const
const DynamoDBAction & GetDynamoDB() const
bool FirehoseHasBeenSet() const
const ClearTimerAction & GetClearTimer() const
bool DynamoDBv2HasBeenSet() const
Action & WithSetTimer(SetTimerT &&value)
void SetLambda(LambdaT &&value)
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
Action & WithSqs(SqsT &&value)
const SqsAction & GetSqs() const
void SetIotEvents(IotEventsT &&value)
bool ClearTimerHasBeenSet() const
Action & WithClearTimer(ClearTimerT &&value)
void SetIotTopicPublish(IotTopicPublishT &&value)
void SetSqs(SqsT &&value)
bool IotTopicPublishHasBeenSet() const
const SNSTopicPublishAction & GetSns() const
Aws::Utils::Json::JsonValue JsonValue