AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetResourceEventConfigurationResult.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 <aws/core/utils/memory/stl/AWSString.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace IoTWireless
29{
30namespace Model
31{
33 {
34 public:
35 AWS_IOTWIRELESS_API GetResourceEventConfigurationResult() = default;
38
39
41
44 inline const DeviceRegistrationStateEventConfiguration& GetDeviceRegistrationState() const { return m_deviceRegistrationState; }
45 template<typename DeviceRegistrationStateT = DeviceRegistrationStateEventConfiguration>
46 void SetDeviceRegistrationState(DeviceRegistrationStateT&& value) { m_deviceRegistrationStateHasBeenSet = true; m_deviceRegistrationState = std::forward<DeviceRegistrationStateT>(value); }
47 template<typename DeviceRegistrationStateT = DeviceRegistrationStateEventConfiguration>
48 GetResourceEventConfigurationResult& WithDeviceRegistrationState(DeviceRegistrationStateT&& value) { SetDeviceRegistrationState(std::forward<DeviceRegistrationStateT>(value)); return *this;}
50
52
55 inline const ProximityEventConfiguration& GetProximity() const { return m_proximity; }
56 template<typename ProximityT = ProximityEventConfiguration>
57 void SetProximity(ProximityT&& value) { m_proximityHasBeenSet = true; m_proximity = std::forward<ProximityT>(value); }
58 template<typename ProximityT = ProximityEventConfiguration>
59 GetResourceEventConfigurationResult& WithProximity(ProximityT&& value) { SetProximity(std::forward<ProximityT>(value)); return *this;}
61
63
66 inline const JoinEventConfiguration& GetJoin() const { return m_join; }
67 template<typename JoinT = JoinEventConfiguration>
68 void SetJoin(JoinT&& value) { m_joinHasBeenSet = true; m_join = std::forward<JoinT>(value); }
69 template<typename JoinT = JoinEventConfiguration>
70 GetResourceEventConfigurationResult& WithJoin(JoinT&& value) { SetJoin(std::forward<JoinT>(value)); return *this;}
72
74
77 inline const ConnectionStatusEventConfiguration& GetConnectionStatus() const { return m_connectionStatus; }
78 template<typename ConnectionStatusT = ConnectionStatusEventConfiguration>
79 void SetConnectionStatus(ConnectionStatusT&& value) { m_connectionStatusHasBeenSet = true; m_connectionStatus = std::forward<ConnectionStatusT>(value); }
80 template<typename ConnectionStatusT = ConnectionStatusEventConfiguration>
81 GetResourceEventConfigurationResult& WithConnectionStatus(ConnectionStatusT&& value) { SetConnectionStatus(std::forward<ConnectionStatusT>(value)); return *this;}
83
85
88 inline const MessageDeliveryStatusEventConfiguration& GetMessageDeliveryStatus() const { return m_messageDeliveryStatus; }
89 template<typename MessageDeliveryStatusT = MessageDeliveryStatusEventConfiguration>
90 void SetMessageDeliveryStatus(MessageDeliveryStatusT&& value) { m_messageDeliveryStatusHasBeenSet = true; m_messageDeliveryStatus = std::forward<MessageDeliveryStatusT>(value); }
91 template<typename MessageDeliveryStatusT = MessageDeliveryStatusEventConfiguration>
92 GetResourceEventConfigurationResult& WithMessageDeliveryStatus(MessageDeliveryStatusT&& value) { SetMessageDeliveryStatus(std::forward<MessageDeliveryStatusT>(value)); return *this;}
94
96
97 inline const Aws::String& GetRequestId() const { return m_requestId; }
98 template<typename RequestIdT = Aws::String>
99 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
100 template<typename RequestIdT = Aws::String>
101 GetResourceEventConfigurationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
103 private:
104
105 DeviceRegistrationStateEventConfiguration m_deviceRegistrationState;
106 bool m_deviceRegistrationStateHasBeenSet = false;
107
108 ProximityEventConfiguration m_proximity;
109 bool m_proximityHasBeenSet = false;
110
112 bool m_joinHasBeenSet = false;
113
114 ConnectionStatusEventConfiguration m_connectionStatus;
115 bool m_connectionStatusHasBeenSet = false;
116
117 MessageDeliveryStatusEventConfiguration m_messageDeliveryStatus;
118 bool m_messageDeliveryStatusHasBeenSet = false;
119
120 Aws::String m_requestId;
121 bool m_requestIdHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace IoTWireless
126} // namespace Aws
AWS_IOTWIRELESS_API GetResourceEventConfigurationResult()=default
GetResourceEventConfigurationResult & WithDeviceRegistrationState(DeviceRegistrationStateT &&value)
GetResourceEventConfigurationResult & WithProximity(ProximityT &&value)
const ConnectionStatusEventConfiguration & GetConnectionStatus() const
AWS_IOTWIRELESS_API GetResourceEventConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IOTWIRELESS_API GetResourceEventConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetResourceEventConfigurationResult & WithRequestId(RequestIdT &&value)
const MessageDeliveryStatusEventConfiguration & GetMessageDeliveryStatus() const
GetResourceEventConfigurationResult & WithMessageDeliveryStatus(MessageDeliveryStatusT &&value)
const DeviceRegistrationStateEventConfiguration & GetDeviceRegistrationState() const
GetResourceEventConfigurationResult & WithConnectionStatus(ConnectionStatusT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue