AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EventNotificationItemConfigurations.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/iotwireless/model/DeviceRegistrationStateEventConfiguration.h>
9#include <aws/iotwireless/model/ProximityEventConfiguration.h>
10#include <aws/iotwireless/model/JoinEventConfiguration.h>
11#include <aws/iotwireless/model/ConnectionStatusEventConfiguration.h>
12#include <aws/iotwireless/model/MessageDeliveryStatusEventConfiguration.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace IoTWireless
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_IOTWIRELESS_API EventNotificationItemConfigurations() = default;
42 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const DeviceRegistrationStateEventConfiguration& GetDeviceRegistrationState() const { return m_deviceRegistrationState; }
51 inline bool DeviceRegistrationStateHasBeenSet() const { return m_deviceRegistrationStateHasBeenSet; }
52 template<typename DeviceRegistrationStateT = DeviceRegistrationStateEventConfiguration>
53 void SetDeviceRegistrationState(DeviceRegistrationStateT&& value) { m_deviceRegistrationStateHasBeenSet = true; m_deviceRegistrationState = std::forward<DeviceRegistrationStateT>(value); }
54 template<typename DeviceRegistrationStateT = DeviceRegistrationStateEventConfiguration>
55 EventNotificationItemConfigurations& WithDeviceRegistrationState(DeviceRegistrationStateT&& value) { SetDeviceRegistrationState(std::forward<DeviceRegistrationStateT>(value)); return *this;}
57
59
62 inline const ProximityEventConfiguration& GetProximity() const { return m_proximity; }
63 inline bool ProximityHasBeenSet() const { return m_proximityHasBeenSet; }
64 template<typename ProximityT = ProximityEventConfiguration>
65 void SetProximity(ProximityT&& value) { m_proximityHasBeenSet = true; m_proximity = std::forward<ProximityT>(value); }
66 template<typename ProximityT = ProximityEventConfiguration>
67 EventNotificationItemConfigurations& WithProximity(ProximityT&& value) { SetProximity(std::forward<ProximityT>(value)); return *this;}
69
71
74 inline const JoinEventConfiguration& GetJoin() const { return m_join; }
75 inline bool JoinHasBeenSet() const { return m_joinHasBeenSet; }
76 template<typename JoinT = JoinEventConfiguration>
77 void SetJoin(JoinT&& value) { m_joinHasBeenSet = true; m_join = std::forward<JoinT>(value); }
78 template<typename JoinT = JoinEventConfiguration>
79 EventNotificationItemConfigurations& WithJoin(JoinT&& value) { SetJoin(std::forward<JoinT>(value)); return *this;}
81
83
86 inline const ConnectionStatusEventConfiguration& GetConnectionStatus() const { return m_connectionStatus; }
87 inline bool ConnectionStatusHasBeenSet() const { return m_connectionStatusHasBeenSet; }
88 template<typename ConnectionStatusT = ConnectionStatusEventConfiguration>
89 void SetConnectionStatus(ConnectionStatusT&& value) { m_connectionStatusHasBeenSet = true; m_connectionStatus = std::forward<ConnectionStatusT>(value); }
90 template<typename ConnectionStatusT = ConnectionStatusEventConfiguration>
91 EventNotificationItemConfigurations& WithConnectionStatus(ConnectionStatusT&& value) { SetConnectionStatus(std::forward<ConnectionStatusT>(value)); return *this;}
93
95
99 inline const MessageDeliveryStatusEventConfiguration& GetMessageDeliveryStatus() const { return m_messageDeliveryStatus; }
100 inline bool MessageDeliveryStatusHasBeenSet() const { return m_messageDeliveryStatusHasBeenSet; }
101 template<typename MessageDeliveryStatusT = MessageDeliveryStatusEventConfiguration>
102 void SetMessageDeliveryStatus(MessageDeliveryStatusT&& value) { m_messageDeliveryStatusHasBeenSet = true; m_messageDeliveryStatus = std::forward<MessageDeliveryStatusT>(value); }
103 template<typename MessageDeliveryStatusT = MessageDeliveryStatusEventConfiguration>
104 EventNotificationItemConfigurations& WithMessageDeliveryStatus(MessageDeliveryStatusT&& value) { SetMessageDeliveryStatus(std::forward<MessageDeliveryStatusT>(value)); return *this;}
106 private:
107
108 DeviceRegistrationStateEventConfiguration m_deviceRegistrationState;
109 bool m_deviceRegistrationStateHasBeenSet = false;
110
111 ProximityEventConfiguration m_proximity;
112 bool m_proximityHasBeenSet = false;
113
115 bool m_joinHasBeenSet = false;
116
117 ConnectionStatusEventConfiguration m_connectionStatus;
118 bool m_connectionStatusHasBeenSet = false;
119
120 MessageDeliveryStatusEventConfiguration m_messageDeliveryStatus;
121 bool m_messageDeliveryStatusHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace IoTWireless
126} // namespace Aws
EventNotificationItemConfigurations & WithMessageDeliveryStatus(MessageDeliveryStatusT &&value)
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
EventNotificationItemConfigurations & WithDeviceRegistrationState(DeviceRegistrationStateT &&value)
AWS_IOTWIRELESS_API EventNotificationItemConfigurations(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTWIRELESS_API EventNotificationItemConfigurations()=default
const DeviceRegistrationStateEventConfiguration & GetDeviceRegistrationState() const
EventNotificationItemConfigurations & WithConnectionStatus(ConnectionStatusT &&value)
const ConnectionStatusEventConfiguration & GetConnectionStatus() const
EventNotificationItemConfigurations & WithProximity(ProximityT &&value)
AWS_IOTWIRELESS_API EventNotificationItemConfigurations & operator=(Aws::Utils::Json::JsonView jsonValue)
const MessageDeliveryStatusEventConfiguration & GetMessageDeliveryStatus() const
Aws::Utils::Json::JsonValue JsonValue