7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/iotwireless/IoTWirelessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iotwireless/model/IdentifierType.h>
11#include <aws/iotwireless/model/EventNotificationPartnerType.h>
12#include <aws/iotwireless/model/DeviceRegistrationStateEventConfiguration.h>
13#include <aws/iotwireless/model/ProximityEventConfiguration.h>
14#include <aws/iotwireless/model/JoinEventConfiguration.h>
15#include <aws/iotwireless/model/ConnectionStatusEventConfiguration.h>
16#include <aws/iotwireless/model/MessageDeliveryStatusEventConfiguration.h>
41 inline virtual const char*
GetServiceRequestName()
const override {
return "UpdateResourceEventConfiguration"; }
54 template<
typename IdentifierT = Aws::String>
55 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet =
true; m_identifier = std::forward<IdentifierT>(value); }
56 template<
typename IdentifierT = Aws::String>
88 template<
typename DeviceRegistrationStateT = DeviceRegistrationStateEventConfiguration>
89 void SetDeviceRegistrationState(DeviceRegistrationStateT&& value) { m_deviceRegistrationStateHasBeenSet =
true; m_deviceRegistrationState = std::forward<DeviceRegistrationStateT>(value); }
90 template<
typename DeviceRegistrationStateT = DeviceRegistrationStateEventConfiguration>
100 template<
typename ProximityT = ProximityEventConfiguration>
101 void SetProximity(ProximityT&& value) { m_proximityHasBeenSet =
true; m_proximity = std::forward<ProximityT>(value); }
102 template<
typename ProximityT = ProximityEventConfiguration>
112 template<
typename JoinT = JoinEventConfiguration>
113 void SetJoin(JoinT&& value) { m_joinHasBeenSet =
true; m_join = std::forward<JoinT>(value); }
114 template<
typename JoinT = JoinEventConfiguration>
124 template<
typename ConnectionStatusT = ConnectionStatusEventConfiguration>
125 void SetConnectionStatus(ConnectionStatusT&& value) { m_connectionStatusHasBeenSet =
true; m_connectionStatus = std::forward<ConnectionStatusT>(value); }
126 template<
typename ConnectionStatusT = ConnectionStatusEventConfiguration>
136 template<
typename MessageDeliveryStatusT = MessageDeliveryStatusEventConfiguration>
137 void SetMessageDeliveryStatus(MessageDeliveryStatusT&& value) { m_messageDeliveryStatusHasBeenSet =
true; m_messageDeliveryStatus = std::forward<MessageDeliveryStatusT>(value); }
138 template<
typename MessageDeliveryStatusT = MessageDeliveryStatusEventConfiguration>
144 bool m_identifierHasBeenSet =
false;
147 bool m_identifierTypeHasBeenSet =
false;
150 bool m_partnerTypeHasBeenSet =
false;
152 DeviceRegistrationStateEventConfiguration m_deviceRegistrationState;
153 bool m_deviceRegistrationStateHasBeenSet =
false;
155 ProximityEventConfiguration m_proximity;
156 bool m_proximityHasBeenSet =
false;
158 JoinEventConfiguration m_join;
159 bool m_joinHasBeenSet =
false;
161 ConnectionStatusEventConfiguration m_connectionStatus;
162 bool m_connectionStatusHasBeenSet =
false;
164 MessageDeliveryStatusEventConfiguration m_messageDeliveryStatus;
165 bool m_messageDeliveryStatusHasBeenSet =
false;
bool ProximityHasBeenSet() const
const Aws::String & GetIdentifier() const
bool IdentifierHasBeenSet() const
UpdateResourceEventConfigurationRequest & WithIdentifierType(IdentifierType value)
const JoinEventConfiguration & GetJoin() const
bool PartnerTypeHasBeenSet() const
void SetMessageDeliveryStatus(MessageDeliveryStatusT &&value)
UpdateResourceEventConfigurationRequest & WithProximity(ProximityT &&value)
AWS_IOTWIRELESS_API UpdateResourceEventConfigurationRequest()=default
void SetIdentifier(IdentifierT &&value)
const DeviceRegistrationStateEventConfiguration & GetDeviceRegistrationState() const
void SetDeviceRegistrationState(DeviceRegistrationStateT &&value)
bool MessageDeliveryStatusHasBeenSet() const
bool IdentifierTypeHasBeenSet() const
UpdateResourceEventConfigurationRequest & WithPartnerType(EventNotificationPartnerType value)
void SetConnectionStatus(ConnectionStatusT &&value)
UpdateResourceEventConfigurationRequest & WithMessageDeliveryStatus(MessageDeliveryStatusT &&value)
UpdateResourceEventConfigurationRequest & WithDeviceRegistrationState(DeviceRegistrationStateT &&value)
bool DeviceRegistrationStateHasBeenSet() const
UpdateResourceEventConfigurationRequest & WithConnectionStatus(ConnectionStatusT &&value)
void SetPartnerType(EventNotificationPartnerType value)
EventNotificationPartnerType GetPartnerType() const
void SetJoin(JoinT &&value)
const ConnectionStatusEventConfiguration & GetConnectionStatus() const
const MessageDeliveryStatusEventConfiguration & GetMessageDeliveryStatus() const
void SetIdentifierType(IdentifierType value)
bool ConnectionStatusHasBeenSet() const
void SetProximity(ProximityT &&value)
IdentifierType GetIdentifierType() const
const ProximityEventConfiguration & GetProximity() const
bool JoinHasBeenSet() const
UpdateResourceEventConfigurationRequest & WithJoin(JoinT &&value)
AWS_IOTWIRELESS_API Aws::String SerializePayload() const override
AWS_IOTWIRELESS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
UpdateResourceEventConfigurationRequest & WithIdentifier(IdentifierT &&value)
EventNotificationPartnerType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String