7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/iot-managed-integrations/IoTManagedIntegrationsRequest.h>
10#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
11#include <aws/iot-managed-integrations/model/ConnectorEventOperation.h>
12#include <aws/iot-managed-integrations/model/Device.h>
13#include <aws/iot-managed-integrations/model/MatterEndpoint.h>
18namespace IoTManagedIntegrations {
42 template <
typename ConnectorIdT = Aws::String>
44 m_connectorIdHasBeenSet =
true;
45 m_connectorId = std::forward<ConnectorIdT>(value);
47 template <
typename ConnectorIdT = Aws::String>
60 template <
typename UserIdT = Aws::String>
62 m_userIdHasBeenSet =
true;
63 m_userId = std::forward<UserIdT>(value);
65 template <
typename UserIdT = Aws::String>
81 m_operationHasBeenSet =
true;
99 template <
typename OperationVersionT = Aws::String>
101 m_operationVersionHasBeenSet =
true;
102 m_operationVersion = std::forward<OperationVersionT>(value);
104 template <
typename OperationVersionT = Aws::String>
119 m_statusCodeHasBeenSet =
true;
120 m_statusCode = value;
140 template <
typename MessageT = Aws::String>
142 m_messageHasBeenSet =
true;
143 m_message = std::forward<MessageT>(value);
145 template <
typename MessageT = Aws::String>
158 template <
typename DeviceDiscoveryIdT = Aws::String>
160 m_deviceDiscoveryIdHasBeenSet =
true;
161 m_deviceDiscoveryId = std::forward<DeviceDiscoveryIdT>(value);
163 template <
typename DeviceDiscoveryIdT = Aws::String>
178 template <
typename ConnectorDeviceIdT = Aws::String>
180 m_connectorDeviceIdHasBeenSet =
true;
181 m_connectorDeviceId = std::forward<ConnectorDeviceIdT>(value);
183 template <
typename ConnectorDeviceIdT = Aws::String>
198 template <
typename TraceIdT = Aws::String>
200 m_traceIdHasBeenSet =
true;
201 m_traceId = std::forward<TraceIdT>(value);
203 template <
typename TraceIdT = Aws::String>
216 template <
typename DevicesT = Aws::Vector<Device>>
218 m_devicesHasBeenSet =
true;
219 m_devices = std::forward<DevicesT>(value);
221 template <
typename DevicesT = Aws::Vector<Device>>
226 template <
typename DevicesT = Device>
228 m_devicesHasBeenSet =
true;
229 m_devices.emplace_back(std::forward<DevicesT>(value));
240 template <
typename MatterEndpo
intT = MatterEndpo
int>
242 m_matterEndpointHasBeenSet =
true;
243 m_matterEndpoint = std::forward<MatterEndpointT>(value);
245 template <
typename MatterEndpo
intT = MatterEndpo
int>
272 MatterEndpoint m_matterEndpoint;
273 bool m_connectorIdHasBeenSet =
false;
274 bool m_userIdHasBeenSet =
false;
275 bool m_operationHasBeenSet =
false;
276 bool m_operationVersionHasBeenSet =
false;
277 bool m_statusCodeHasBeenSet =
false;
278 bool m_messageHasBeenSet =
false;
279 bool m_deviceDiscoveryIdHasBeenSet =
false;
280 bool m_connectorDeviceIdHasBeenSet =
false;
281 bool m_traceIdHasBeenSet =
false;
282 bool m_devicesHasBeenSet =
false;
283 bool m_matterEndpointHasBeenSet =
false;
const Aws::Vector< Device > & GetDevices() const
SendConnectorEventRequest & WithOperation(ConnectorEventOperation value)
const Aws::String & GetConnectorDeviceId() const
SendConnectorEventRequest & WithDevices(DevicesT &&value)
SendConnectorEventRequest & WithOperationVersion(OperationVersionT &&value)
ConnectorEventOperation GetOperation() const
SendConnectorEventRequest & WithConnectorDeviceId(ConnectorDeviceIdT &&value)
SendConnectorEventRequest & WithStatusCode(int value)
bool DevicesHasBeenSet() const
void SetConnectorId(ConnectorIdT &&value)
bool OperationVersionHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const MatterEndpoint & GetMatterEndpoint() const
bool OperationHasBeenSet() const
bool DeviceDiscoveryIdHasBeenSet() const
bool MatterEndpointHasBeenSet() const
void SetMessage(MessageT &&value)
void SetStatusCode(int value)
SendConnectorEventRequest & WithDeviceDiscoveryId(DeviceDiscoveryIdT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override
bool StatusCodeHasBeenSet() const
SendConnectorEventRequest & WithUserId(UserIdT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API SendConnectorEventRequest()=default
const Aws::String & GetDeviceDiscoveryId() const
bool MessageHasBeenSet() const
bool TraceIdHasBeenSet() const
const Aws::String & GetUserId() const
void SetOperationVersion(OperationVersionT &&value)
const Aws::String & GetConnectorId() const
void SetDeviceDiscoveryId(DeviceDiscoveryIdT &&value)
bool ConnectorIdHasBeenSet() const
SendConnectorEventRequest & WithTraceId(TraceIdT &&value)
SendConnectorEventRequest & WithMatterEndpoint(MatterEndpointT &&value)
SendConnectorEventRequest & WithConnectorId(ConnectorIdT &&value)
SendConnectorEventRequest & AddDevices(DevicesT &&value)
void SetDevices(DevicesT &&value)
const Aws::String & GetOperationVersion() const
bool ConnectorDeviceIdHasBeenSet() const
void SetUserId(UserIdT &&value)
const Aws::String & GetTraceId() const
bool UserIdHasBeenSet() const
int GetStatusCode() const
void SetConnectorDeviceId(ConnectorDeviceIdT &&value)
void SetTraceId(TraceIdT &&value)
const Aws::String & GetMessage() const
void SetMatterEndpoint(MatterEndpointT &&value)
void SetOperation(ConnectorEventOperation value)
SendConnectorEventRequest & WithMessage(MessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector