7#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
8#include <aws/iot-managed-integrations/IoTManagedIntegrationsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot-managed-integrations/model/ConnectorEventOperation.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/iot-managed-integrations/model/MatterEndpoint.h>
13#include <aws/iot-managed-integrations/model/Device.h>
18namespace IoTManagedIntegrations
46 template<
typename ConnectorIdT = Aws::String>
47 void SetConnectorId(ConnectorIdT&& value) { m_connectorIdHasBeenSet =
true; m_connectorId = std::forward<ConnectorIdT>(value); }
48 template<
typename ConnectorIdT = Aws::String>
58 template<
typename UserIdT = Aws::String>
59 void SetUserId(UserIdT&& value) { m_userIdHasBeenSet =
true; m_userId = std::forward<UserIdT>(value); }
60 template<
typename UserIdT = Aws::String>
85 template<
typename OperationVersionT = Aws::String>
86 void SetOperationVersion(OperationVersionT&& value) { m_operationVersionHasBeenSet =
true; m_operationVersion = std::forward<OperationVersionT>(value); }
87 template<
typename OperationVersionT = Aws::String>
98 inline void SetStatusCode(
int value) { m_statusCodeHasBeenSet =
true; m_statusCode = value; }
114 template<
typename MessageT = Aws::String>
115 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
116 template<
typename MessageT = Aws::String>
126 template<
typename DeviceDiscoveryIdT = Aws::String>
127 void SetDeviceDiscoveryId(DeviceDiscoveryIdT&& value) { m_deviceDiscoveryIdHasBeenSet =
true; m_deviceDiscoveryId = std::forward<DeviceDiscoveryIdT>(value); }
128 template<
typename DeviceDiscoveryIdT = Aws::String>
140 template<
typename ConnectorDeviceIdT = Aws::String>
141 void SetConnectorDeviceId(ConnectorDeviceIdT&& value) { m_connectorDeviceIdHasBeenSet =
true; m_connectorDeviceId = std::forward<ConnectorDeviceIdT>(value); }
142 template<
typename ConnectorDeviceIdT = Aws::String>
154 template<
typename TraceIdT = Aws::String>
155 void SetTraceId(TraceIdT&& value) { m_traceIdHasBeenSet =
true; m_traceId = std::forward<TraceIdT>(value); }
156 template<
typename TraceIdT = Aws::String>
166 template<
typename DevicesT = Aws::Vector<Device>>
167 void SetDevices(DevicesT&& value) { m_devicesHasBeenSet =
true; m_devices = std::forward<DevicesT>(value); }
168 template<
typename DevicesT = Aws::Vector<Device>>
170 template<
typename DevicesT = Device>
180 template<
typename MatterEndpo
intT = MatterEndpo
int>
181 void SetMatterEndpoint(MatterEndpointT&& value) { m_matterEndpointHasBeenSet =
true; m_matterEndpoint = std::forward<MatterEndpointT>(value); }
182 template<
typename MatterEndpo
intT = MatterEndpo
int>
188 bool m_connectorIdHasBeenSet =
false;
191 bool m_userIdHasBeenSet =
false;
194 bool m_operationHasBeenSet =
false;
197 bool m_operationVersionHasBeenSet =
false;
200 bool m_statusCodeHasBeenSet =
false;
203 bool m_messageHasBeenSet =
false;
206 bool m_deviceDiscoveryIdHasBeenSet =
false;
209 bool m_connectorDeviceIdHasBeenSet =
false;
212 bool m_traceIdHasBeenSet =
false;
215 bool m_devicesHasBeenSet =
false;
217 MatterEndpoint m_matterEndpoint;
218 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