7#include <aws/supplychain/SupplyChain_EXPORTS.h>
8#include <aws/supplychain/SupplyChainRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/supplychain/model/DataIntegrationEventType.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/supplychain/model/DataIntegrationEventDatasetTargetConfiguration.h>
14#include <aws/core/utils/UUID.h>
49 template<
typename InstanceIdT = Aws::String>
50 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet =
true; m_instanceId = std::forward<InstanceIdT>(value); }
51 template<
typename InstanceIdT = Aws::String>
111 template<
typename DataT = Aws::String>
112 void SetData(DataT&& value) { m_dataHasBeenSet =
true; m_data = std::forward<DataT>(value); }
113 template<
typename DataT = Aws::String>
126 template<
typename EventGroupIdT = Aws::String>
127 void SetEventGroupId(EventGroupIdT&& value) { m_eventGroupIdHasBeenSet =
true; m_eventGroupId = std::forward<EventGroupIdT>(value); }
128 template<
typename EventGroupIdT = Aws::String>
139 template<
typename EventTimestampT = Aws::Utils::DateTime>
140 void SetEventTimestamp(EventTimestampT&& value) { m_eventTimestampHasBeenSet =
true; m_eventTimestamp = std::forward<EventTimestampT>(value); }
141 template<
typename EventTimestampT = Aws::Utils::DateTime>
154 template<
typename ClientTokenT = Aws::String>
155 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
156 template<
typename ClientTokenT = Aws::String>
166 template<
typename DatasetTargetT = DataIntegrationEventDatasetTargetConfiguration>
167 void SetDatasetTarget(DatasetTargetT&& value) { m_datasetTargetHasBeenSet =
true; m_datasetTarget = std::forward<DatasetTargetT>(value); }
168 template<
typename DatasetTargetT = DataIntegrationEventDatasetTargetConfiguration>
174 bool m_instanceIdHasBeenSet =
false;
177 bool m_eventTypeHasBeenSet =
false;
180 bool m_dataHasBeenSet =
false;
183 bool m_eventGroupIdHasBeenSet =
false;
186 bool m_eventTimestampHasBeenSet =
false;
189 bool m_clientTokenHasBeenSet =
true;
191 DataIntegrationEventDatasetTargetConfiguration m_datasetTarget;
192 bool m_datasetTargetHasBeenSet =
false;
bool DatasetTargetHasBeenSet() const
SendDataIntegrationEventRequest & WithData(DataT &&value)
SendDataIntegrationEventRequest & WithEventType(DataIntegrationEventType value)
void SetEventType(DataIntegrationEventType value)
const Aws::String & GetData() const
AWS_SUPPLYCHAIN_API SendDataIntegrationEventRequest()=default
const Aws::String & GetClientToken() const
void SetEventTimestamp(EventTimestampT &&value)
SendDataIntegrationEventRequest & WithClientToken(ClientTokenT &&value)
bool ClientTokenHasBeenSet() const
const Aws::Utils::DateTime & GetEventTimestamp() const
bool EventGroupIdHasBeenSet() const
SendDataIntegrationEventRequest & WithEventGroupId(EventGroupIdT &&value)
DataIntegrationEventType GetEventType() const
void SetEventGroupId(EventGroupIdT &&value)
void SetDatasetTarget(DatasetTargetT &&value)
bool DataHasBeenSet() const
bool EventTimestampHasBeenSet() const
SendDataIntegrationEventRequest & WithInstanceId(InstanceIdT &&value)
bool EventTypeHasBeenSet() const
SendDataIntegrationEventRequest & WithDatasetTarget(DatasetTargetT &&value)
const Aws::String & GetInstanceId() const
const Aws::String & GetEventGroupId() const
void SetInstanceId(InstanceIdT &&value)
void SetClientToken(ClientTokenT &&value)
AWS_SUPPLYCHAIN_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
bool InstanceIdHasBeenSet() const
void SetData(DataT &&value)
SendDataIntegrationEventRequest & WithEventTimestamp(EventTimestampT &&value)
const DataIntegrationEventDatasetTargetConfiguration & GetDatasetTarget() const
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String