AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CustomerAction.h
1
6#pragma once
7#include <aws/iotevents-data/IoTEventsData_EXPORTS.h>
8#include <aws/iotevents-data/model/CustomerActionName.h>
9#include <aws/iotevents-data/model/SnoozeActionConfiguration.h>
10#include <aws/iotevents-data/model/EnableActionConfiguration.h>
11#include <aws/iotevents-data/model/DisableActionConfiguration.h>
12#include <aws/iotevents-data/model/AcknowledgeActionConfiguration.h>
13#include <aws/iotevents-data/model/ResetActionConfiguration.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace IoTEventsData
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_IOTEVENTSDATA_API CustomerAction();
41 AWS_IOTEVENTSDATA_API CustomerAction(Aws::Utils::Json::JsonView jsonValue);
42 AWS_IOTEVENTSDATA_API CustomerAction& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_IOTEVENTSDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
61 inline const CustomerActionName& GetActionName() const{ return m_actionName; }
62 inline bool ActionNameHasBeenSet() const { return m_actionNameHasBeenSet; }
63 inline void SetActionName(const CustomerActionName& value) { m_actionNameHasBeenSet = true; m_actionName = value; }
64 inline void SetActionName(CustomerActionName&& value) { m_actionNameHasBeenSet = true; m_actionName = std::move(value); }
65 inline CustomerAction& WithActionName(const CustomerActionName& value) { SetActionName(value); return *this;}
66 inline CustomerAction& WithActionName(CustomerActionName&& value) { SetActionName(std::move(value)); return *this;}
68
70
73 inline const SnoozeActionConfiguration& GetSnoozeActionConfiguration() const{ return m_snoozeActionConfiguration; }
74 inline bool SnoozeActionConfigurationHasBeenSet() const { return m_snoozeActionConfigurationHasBeenSet; }
75 inline void SetSnoozeActionConfiguration(const SnoozeActionConfiguration& value) { m_snoozeActionConfigurationHasBeenSet = true; m_snoozeActionConfiguration = value; }
76 inline void SetSnoozeActionConfiguration(SnoozeActionConfiguration&& value) { m_snoozeActionConfigurationHasBeenSet = true; m_snoozeActionConfiguration = std::move(value); }
80
82
85 inline const EnableActionConfiguration& GetEnableActionConfiguration() const{ return m_enableActionConfiguration; }
86 inline bool EnableActionConfigurationHasBeenSet() const { return m_enableActionConfigurationHasBeenSet; }
87 inline void SetEnableActionConfiguration(const EnableActionConfiguration& value) { m_enableActionConfigurationHasBeenSet = true; m_enableActionConfiguration = value; }
88 inline void SetEnableActionConfiguration(EnableActionConfiguration&& value) { m_enableActionConfigurationHasBeenSet = true; m_enableActionConfiguration = std::move(value); }
92
94
97 inline const DisableActionConfiguration& GetDisableActionConfiguration() const{ return m_disableActionConfiguration; }
98 inline bool DisableActionConfigurationHasBeenSet() const { return m_disableActionConfigurationHasBeenSet; }
99 inline void SetDisableActionConfiguration(const DisableActionConfiguration& value) { m_disableActionConfigurationHasBeenSet = true; m_disableActionConfiguration = value; }
100 inline void SetDisableActionConfiguration(DisableActionConfiguration&& value) { m_disableActionConfigurationHasBeenSet = true; m_disableActionConfiguration = std::move(value); }
104
106
109 inline const AcknowledgeActionConfiguration& GetAcknowledgeActionConfiguration() const{ return m_acknowledgeActionConfiguration; }
110 inline bool AcknowledgeActionConfigurationHasBeenSet() const { return m_acknowledgeActionConfigurationHasBeenSet; }
111 inline void SetAcknowledgeActionConfiguration(const AcknowledgeActionConfiguration& value) { m_acknowledgeActionConfigurationHasBeenSet = true; m_acknowledgeActionConfiguration = value; }
112 inline void SetAcknowledgeActionConfiguration(AcknowledgeActionConfiguration&& value) { m_acknowledgeActionConfigurationHasBeenSet = true; m_acknowledgeActionConfiguration = std::move(value); }
116
118
121 inline const ResetActionConfiguration& GetResetActionConfiguration() const{ return m_resetActionConfiguration; }
122 inline bool ResetActionConfigurationHasBeenSet() const { return m_resetActionConfigurationHasBeenSet; }
123 inline void SetResetActionConfiguration(const ResetActionConfiguration& value) { m_resetActionConfigurationHasBeenSet = true; m_resetActionConfiguration = value; }
124 inline void SetResetActionConfiguration(ResetActionConfiguration&& value) { m_resetActionConfigurationHasBeenSet = true; m_resetActionConfiguration = std::move(value); }
128 private:
129
130 CustomerActionName m_actionName;
131 bool m_actionNameHasBeenSet = false;
132
133 SnoozeActionConfiguration m_snoozeActionConfiguration;
134 bool m_snoozeActionConfigurationHasBeenSet = false;
135
136 EnableActionConfiguration m_enableActionConfiguration;
137 bool m_enableActionConfigurationHasBeenSet = false;
138
139 DisableActionConfiguration m_disableActionConfiguration;
140 bool m_disableActionConfigurationHasBeenSet = false;
141
142 AcknowledgeActionConfiguration m_acknowledgeActionConfiguration;
143 bool m_acknowledgeActionConfigurationHasBeenSet = false;
144
145 ResetActionConfiguration m_resetActionConfiguration;
146 bool m_resetActionConfigurationHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace IoTEventsData
151} // namespace Aws
const DisableActionConfiguration & GetDisableActionConfiguration() const
void SetResetActionConfiguration(const ResetActionConfiguration &value)
void SetSnoozeActionConfiguration(SnoozeActionConfiguration &&value)
void SetDisableActionConfiguration(DisableActionConfiguration &&value)
void SetActionName(const CustomerActionName &value)
AWS_IOTEVENTSDATA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetResetActionConfiguration(ResetActionConfiguration &&value)
CustomerAction & WithSnoozeActionConfiguration(SnoozeActionConfiguration &&value)
CustomerAction & WithEnableActionConfiguration(EnableActionConfiguration &&value)
CustomerAction & WithAcknowledgeActionConfiguration(AcknowledgeActionConfiguration &&value)
const AcknowledgeActionConfiguration & GetAcknowledgeActionConfiguration() const
const ResetActionConfiguration & GetResetActionConfiguration() const
AWS_IOTEVENTSDATA_API CustomerAction(Aws::Utils::Json::JsonView jsonValue)
void SetAcknowledgeActionConfiguration(AcknowledgeActionConfiguration &&value)
void SetDisableActionConfiguration(const DisableActionConfiguration &value)
const SnoozeActionConfiguration & GetSnoozeActionConfiguration() const
const EnableActionConfiguration & GetEnableActionConfiguration() const
CustomerAction & WithSnoozeActionConfiguration(const SnoozeActionConfiguration &value)
const CustomerActionName & GetActionName() const
AWS_IOTEVENTSDATA_API CustomerAction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSnoozeActionConfiguration(const SnoozeActionConfiguration &value)
CustomerAction & WithAcknowledgeActionConfiguration(const AcknowledgeActionConfiguration &value)
CustomerAction & WithDisableActionConfiguration(const DisableActionConfiguration &value)
CustomerAction & WithActionName(CustomerActionName &&value)
CustomerAction & WithResetActionConfiguration(const ResetActionConfiguration &value)
CustomerAction & WithResetActionConfiguration(ResetActionConfiguration &&value)
CustomerAction & WithActionName(const CustomerActionName &value)
void SetEnableActionConfiguration(EnableActionConfiguration &&value)
void SetActionName(CustomerActionName &&value)
CustomerAction & WithEnableActionConfiguration(const EnableActionConfiguration &value)
void SetEnableActionConfiguration(const EnableActionConfiguration &value)
CustomerAction & WithDisableActionConfiguration(DisableActionConfiguration &&value)
AWS_IOTEVENTSDATA_API CustomerAction()
void SetAcknowledgeActionConfiguration(const AcknowledgeActionConfiguration &value)
Aws::Utils::Json::JsonValue JsonValue