AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetDeviceRegistrationState(const DeviceRegistrationStateEventConfiguration& value) { m_deviceRegistrationStateHasBeenSet = true; m_deviceRegistrationState = value; }
53 inline void SetDeviceRegistrationState(DeviceRegistrationStateEventConfiguration&& value) { m_deviceRegistrationStateHasBeenSet = true; m_deviceRegistrationState = std::move(value); }
57
59
62 inline const ProximityEventConfiguration& GetProximity() const{ return m_proximity; }
63 inline bool ProximityHasBeenSet() const { return m_proximityHasBeenSet; }
64 inline void SetProximity(const ProximityEventConfiguration& value) { m_proximityHasBeenSet = true; m_proximity = value; }
65 inline void SetProximity(ProximityEventConfiguration&& value) { m_proximityHasBeenSet = true; m_proximity = std::move(value); }
69
71
74 inline const JoinEventConfiguration& GetJoin() const{ return m_join; }
75 inline bool JoinHasBeenSet() const { return m_joinHasBeenSet; }
76 inline void SetJoin(const JoinEventConfiguration& value) { m_joinHasBeenSet = true; m_join = value; }
77 inline void SetJoin(JoinEventConfiguration&& value) { m_joinHasBeenSet = true; m_join = std::move(value); }
78 inline EventNotificationItemConfigurations& WithJoin(const JoinEventConfiguration& value) { SetJoin(value); return *this;}
79 inline EventNotificationItemConfigurations& WithJoin(JoinEventConfiguration&& value) { SetJoin(std::move(value)); return *this;}
81
83
86 inline const ConnectionStatusEventConfiguration& GetConnectionStatus() const{ return m_connectionStatus; }
87 inline bool ConnectionStatusHasBeenSet() const { return m_connectionStatusHasBeenSet; }
88 inline void SetConnectionStatus(const ConnectionStatusEventConfiguration& value) { m_connectionStatusHasBeenSet = true; m_connectionStatus = value; }
89 inline void SetConnectionStatus(ConnectionStatusEventConfiguration&& value) { m_connectionStatusHasBeenSet = true; m_connectionStatus = std::move(value); }
93
95
99 inline const MessageDeliveryStatusEventConfiguration& GetMessageDeliveryStatus() const{ return m_messageDeliveryStatus; }
100 inline bool MessageDeliveryStatusHasBeenSet() const { return m_messageDeliveryStatusHasBeenSet; }
101 inline void SetMessageDeliveryStatus(const MessageDeliveryStatusEventConfiguration& value) { m_messageDeliveryStatusHasBeenSet = true; m_messageDeliveryStatus = value; }
102 inline void SetMessageDeliveryStatus(MessageDeliveryStatusEventConfiguration&& value) { m_messageDeliveryStatusHasBeenSet = true; m_messageDeliveryStatus = std::move(value); }
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
void SetMessageDeliveryStatus(MessageDeliveryStatusEventConfiguration &&value)
EventNotificationItemConfigurations & WithProximity(ProximityEventConfiguration &&value)
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
EventNotificationItemConfigurations & WithMessageDeliveryStatus(MessageDeliveryStatusEventConfiguration &&value)
void SetMessageDeliveryStatus(const MessageDeliveryStatusEventConfiguration &value)
AWS_IOTWIRELESS_API EventNotificationItemConfigurations(Aws::Utils::Json::JsonView jsonValue)
EventNotificationItemConfigurations & WithMessageDeliveryStatus(const MessageDeliveryStatusEventConfiguration &value)
EventNotificationItemConfigurations & WithConnectionStatus(ConnectionStatusEventConfiguration &&value)
EventNotificationItemConfigurations & WithDeviceRegistrationState(const DeviceRegistrationStateEventConfiguration &value)
const DeviceRegistrationStateEventConfiguration & GetDeviceRegistrationState() const
const ConnectionStatusEventConfiguration & GetConnectionStatus() const
AWS_IOTWIRELESS_API EventNotificationItemConfigurations & operator=(Aws::Utils::Json::JsonView jsonValue)
EventNotificationItemConfigurations & WithJoin(JoinEventConfiguration &&value)
EventNotificationItemConfigurations & WithJoin(const JoinEventConfiguration &value)
EventNotificationItemConfigurations & WithDeviceRegistrationState(DeviceRegistrationStateEventConfiguration &&value)
const MessageDeliveryStatusEventConfiguration & GetMessageDeliveryStatus() const
void SetDeviceRegistrationState(const DeviceRegistrationStateEventConfiguration &value)
void SetConnectionStatus(const ConnectionStatusEventConfiguration &value)
EventNotificationItemConfigurations & WithConnectionStatus(const ConnectionStatusEventConfiguration &value)
void SetDeviceRegistrationState(DeviceRegistrationStateEventConfiguration &&value)
EventNotificationItemConfigurations & WithProximity(const ProximityEventConfiguration &value)
Aws::Utils::Json::JsonValue JsonValue