AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetResourceEventConfigurationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotwireless/IoTWireless_EXPORTS.h>
10#include <aws/iotwireless/model/ConnectionStatusEventConfiguration.h>
11#include <aws/iotwireless/model/DeviceRegistrationStateEventConfiguration.h>
12#include <aws/iotwireless/model/JoinEventConfiguration.h>
13#include <aws/iotwireless/model/MessageDeliveryStatusEventConfiguration.h>
14#include <aws/iotwireless/model/ProximityEventConfiguration.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace IoTWireless {
28namespace Model {
30 public:
31 AWS_IOTWIRELESS_API GetResourceEventConfigurationResult() = default;
35
37
40 inline const DeviceRegistrationStateEventConfiguration& GetDeviceRegistrationState() const { return m_deviceRegistrationState; }
41 template <typename DeviceRegistrationStateT = DeviceRegistrationStateEventConfiguration>
42 void SetDeviceRegistrationState(DeviceRegistrationStateT&& value) {
43 m_deviceRegistrationStateHasBeenSet = true;
44 m_deviceRegistrationState = std::forward<DeviceRegistrationStateT>(value);
45 }
46 template <typename DeviceRegistrationStateT = DeviceRegistrationStateEventConfiguration>
48 SetDeviceRegistrationState(std::forward<DeviceRegistrationStateT>(value));
49 return *this;
50 }
52
54
57 inline const ProximityEventConfiguration& GetProximity() const { return m_proximity; }
58 template <typename ProximityT = ProximityEventConfiguration>
59 void SetProximity(ProximityT&& value) {
60 m_proximityHasBeenSet = true;
61 m_proximity = std::forward<ProximityT>(value);
62 }
63 template <typename ProximityT = ProximityEventConfiguration>
65 SetProximity(std::forward<ProximityT>(value));
66 return *this;
67 }
69
71
74 inline const JoinEventConfiguration& GetJoin() const { return m_join; }
75 template <typename JoinT = JoinEventConfiguration>
76 void SetJoin(JoinT&& value) {
77 m_joinHasBeenSet = true;
78 m_join = std::forward<JoinT>(value);
79 }
80 template <typename JoinT = JoinEventConfiguration>
82 SetJoin(std::forward<JoinT>(value));
83 return *this;
84 }
86
88
91 inline const ConnectionStatusEventConfiguration& GetConnectionStatus() const { return m_connectionStatus; }
92 template <typename ConnectionStatusT = ConnectionStatusEventConfiguration>
93 void SetConnectionStatus(ConnectionStatusT&& value) {
94 m_connectionStatusHasBeenSet = true;
95 m_connectionStatus = std::forward<ConnectionStatusT>(value);
96 }
97 template <typename ConnectionStatusT = ConnectionStatusEventConfiguration>
99 SetConnectionStatus(std::forward<ConnectionStatusT>(value));
100 return *this;
101 }
103
105
108 inline const MessageDeliveryStatusEventConfiguration& GetMessageDeliveryStatus() const { return m_messageDeliveryStatus; }
109 template <typename MessageDeliveryStatusT = MessageDeliveryStatusEventConfiguration>
110 void SetMessageDeliveryStatus(MessageDeliveryStatusT&& value) {
111 m_messageDeliveryStatusHasBeenSet = true;
112 m_messageDeliveryStatus = std::forward<MessageDeliveryStatusT>(value);
113 }
114 template <typename MessageDeliveryStatusT = MessageDeliveryStatusEventConfiguration>
116 SetMessageDeliveryStatus(std::forward<MessageDeliveryStatusT>(value));
117 return *this;
118 }
120
122
123 inline const Aws::String& GetRequestId() const { return m_requestId; }
124 template <typename RequestIdT = Aws::String>
125 void SetRequestId(RequestIdT&& value) {
126 m_requestIdHasBeenSet = true;
127 m_requestId = std::forward<RequestIdT>(value);
128 }
129 template <typename RequestIdT = Aws::String>
131 SetRequestId(std::forward<RequestIdT>(value));
132 return *this;
133 }
135 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
136
137 private:
138 DeviceRegistrationStateEventConfiguration m_deviceRegistrationState;
139
140 ProximityEventConfiguration m_proximity;
141
143
144 ConnectionStatusEventConfiguration m_connectionStatus;
145
146 MessageDeliveryStatusEventConfiguration m_messageDeliveryStatus;
147
148 Aws::String m_requestId;
149 Aws::Http::HttpResponseCode m_HttpResponseCode;
150 bool m_deviceRegistrationStateHasBeenSet = false;
151 bool m_proximityHasBeenSet = false;
152 bool m_joinHasBeenSet = false;
153 bool m_connectionStatusHasBeenSet = false;
154 bool m_messageDeliveryStatusHasBeenSet = false;
155 bool m_requestIdHasBeenSet = false;
156};
157
158} // namespace Model
159} // namespace IoTWireless
160} // 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