AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateResourceEventConfigurationRequest.h
1
6#pragma once
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>
17#include <utility>
18
19namespace Aws
20{
21namespace Http
22{
23 class URI;
24} //namespace Http
25namespace IoTWireless
26{
27namespace Model
28{
29
33 {
34 public:
36
37 // Service request name is the Operation name which will send this request out,
38 // each operation should has unique request name, so that we can get operation's name from this request.
39 // Note: this is not true for response, multiple operations may have the same response name,
40 // so we can not get operation's name from response.
41 inline virtual const char* GetServiceRequestName() const override { return "UpdateResourceEventConfiguration"; }
42
43 AWS_IOTWIRELESS_API Aws::String SerializePayload() const override;
44
45 AWS_IOTWIRELESS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
46
47
49
52 inline const Aws::String& GetIdentifier() const{ return m_identifier; }
53 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
54 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
55 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
56 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
58 inline UpdateResourceEventConfigurationRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
59 inline UpdateResourceEventConfigurationRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
61
63
67 inline const IdentifierType& GetIdentifierType() const{ return m_identifierType; }
68 inline bool IdentifierTypeHasBeenSet() const { return m_identifierTypeHasBeenSet; }
69 inline void SetIdentifierType(const IdentifierType& value) { m_identifierTypeHasBeenSet = true; m_identifierType = value; }
70 inline void SetIdentifierType(IdentifierType&& value) { m_identifierTypeHasBeenSet = true; m_identifierType = std::move(value); }
74
76
80 inline const EventNotificationPartnerType& GetPartnerType() const{ return m_partnerType; }
81 inline bool PartnerTypeHasBeenSet() const { return m_partnerTypeHasBeenSet; }
82 inline void SetPartnerType(const EventNotificationPartnerType& value) { m_partnerTypeHasBeenSet = true; m_partnerType = value; }
83 inline void SetPartnerType(EventNotificationPartnerType&& value) { m_partnerTypeHasBeenSet = true; m_partnerType = std::move(value); }
87
89
92 inline const DeviceRegistrationStateEventConfiguration& GetDeviceRegistrationState() const{ return m_deviceRegistrationState; }
93 inline bool DeviceRegistrationStateHasBeenSet() const { return m_deviceRegistrationStateHasBeenSet; }
94 inline void SetDeviceRegistrationState(const DeviceRegistrationStateEventConfiguration& value) { m_deviceRegistrationStateHasBeenSet = true; m_deviceRegistrationState = value; }
95 inline void SetDeviceRegistrationState(DeviceRegistrationStateEventConfiguration&& value) { m_deviceRegistrationStateHasBeenSet = true; m_deviceRegistrationState = std::move(value); }
99
101
104 inline const ProximityEventConfiguration& GetProximity() const{ return m_proximity; }
105 inline bool ProximityHasBeenSet() const { return m_proximityHasBeenSet; }
106 inline void SetProximity(const ProximityEventConfiguration& value) { m_proximityHasBeenSet = true; m_proximity = value; }
107 inline void SetProximity(ProximityEventConfiguration&& value) { m_proximityHasBeenSet = true; m_proximity = std::move(value); }
111
113
116 inline const JoinEventConfiguration& GetJoin() const{ return m_join; }
117 inline bool JoinHasBeenSet() const { return m_joinHasBeenSet; }
118 inline void SetJoin(const JoinEventConfiguration& value) { m_joinHasBeenSet = true; m_join = value; }
119 inline void SetJoin(JoinEventConfiguration&& value) { m_joinHasBeenSet = true; m_join = std::move(value); }
121 inline UpdateResourceEventConfigurationRequest& WithJoin(JoinEventConfiguration&& value) { SetJoin(std::move(value)); return *this;}
123
125
128 inline const ConnectionStatusEventConfiguration& GetConnectionStatus() const{ return m_connectionStatus; }
129 inline bool ConnectionStatusHasBeenSet() const { return m_connectionStatusHasBeenSet; }
130 inline void SetConnectionStatus(const ConnectionStatusEventConfiguration& value) { m_connectionStatusHasBeenSet = true; m_connectionStatus = value; }
131 inline void SetConnectionStatus(ConnectionStatusEventConfiguration&& value) { m_connectionStatusHasBeenSet = true; m_connectionStatus = std::move(value); }
135
137
140 inline const MessageDeliveryStatusEventConfiguration& GetMessageDeliveryStatus() const{ return m_messageDeliveryStatus; }
141 inline bool MessageDeliveryStatusHasBeenSet() const { return m_messageDeliveryStatusHasBeenSet; }
142 inline void SetMessageDeliveryStatus(const MessageDeliveryStatusEventConfiguration& value) { m_messageDeliveryStatusHasBeenSet = true; m_messageDeliveryStatus = value; }
143 inline void SetMessageDeliveryStatus(MessageDeliveryStatusEventConfiguration&& value) { m_messageDeliveryStatusHasBeenSet = true; m_messageDeliveryStatus = std::move(value); }
147 private:
148
149 Aws::String m_identifier;
150 bool m_identifierHasBeenSet = false;
151
152 IdentifierType m_identifierType;
153 bool m_identifierTypeHasBeenSet = false;
154
155 EventNotificationPartnerType m_partnerType;
156 bool m_partnerTypeHasBeenSet = false;
157
158 DeviceRegistrationStateEventConfiguration m_deviceRegistrationState;
159 bool m_deviceRegistrationStateHasBeenSet = false;
160
161 ProximityEventConfiguration m_proximity;
162 bool m_proximityHasBeenSet = false;
163
165 bool m_joinHasBeenSet = false;
166
167 ConnectionStatusEventConfiguration m_connectionStatus;
168 bool m_connectionStatusHasBeenSet = false;
169
170 MessageDeliveryStatusEventConfiguration m_messageDeliveryStatus;
171 bool m_messageDeliveryStatusHasBeenSet = false;
172 };
173
174} // namespace Model
175} // namespace IoTWireless
176} // namespace Aws
UpdateResourceEventConfigurationRequest & WithJoin(JoinEventConfiguration &&value)
UpdateResourceEventConfigurationRequest & WithIdentifierType(IdentifierType &&value)
UpdateResourceEventConfigurationRequest & WithPartnerType(const EventNotificationPartnerType &value)
UpdateResourceEventConfigurationRequest & WithConnectionStatus(ConnectionStatusEventConfiguration &&value)
const DeviceRegistrationStateEventConfiguration & GetDeviceRegistrationState() const
void SetDeviceRegistrationState(DeviceRegistrationStateEventConfiguration &&value)
UpdateResourceEventConfigurationRequest & WithMessageDeliveryStatus(MessageDeliveryStatusEventConfiguration &&value)
UpdateResourceEventConfigurationRequest & WithDeviceRegistrationState(DeviceRegistrationStateEventConfiguration &&value)
UpdateResourceEventConfigurationRequest & WithMessageDeliveryStatus(const MessageDeliveryStatusEventConfiguration &value)
UpdateResourceEventConfigurationRequest & WithIdentifierType(const IdentifierType &value)
const MessageDeliveryStatusEventConfiguration & GetMessageDeliveryStatus() const
UpdateResourceEventConfigurationRequest & WithIdentifier(Aws::String &&value)
void SetMessageDeliveryStatus(const MessageDeliveryStatusEventConfiguration &value)
UpdateResourceEventConfigurationRequest & WithIdentifier(const Aws::String &value)
UpdateResourceEventConfigurationRequest & WithDeviceRegistrationState(const DeviceRegistrationStateEventConfiguration &value)
UpdateResourceEventConfigurationRequest & WithProximity(ProximityEventConfiguration &&value)
void SetDeviceRegistrationState(const DeviceRegistrationStateEventConfiguration &value)
UpdateResourceEventConfigurationRequest & WithIdentifier(const char *value)
AWS_IOTWIRELESS_API Aws::String SerializePayload() const override
UpdateResourceEventConfigurationRequest & WithPartnerType(EventNotificationPartnerType &&value)
UpdateResourceEventConfigurationRequest & WithProximity(const ProximityEventConfiguration &value)
AWS_IOTWIRELESS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
UpdateResourceEventConfigurationRequest & WithConnectionStatus(const ConnectionStatusEventConfiguration &value)
UpdateResourceEventConfigurationRequest & WithJoin(const JoinEventConfiguration &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String