7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/UUID.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/supplychain/SupplyChainRequest.h>
11#include <aws/supplychain/SupplyChain_EXPORTS.h>
12#include <aws/supplychain/model/DataIntegrationEventDatasetTargetConfiguration.h>
13#include <aws/supplychain/model/DataIntegrationEventType.h>
18namespace SupplyChain {
45 template <
typename InstanceIdT = Aws::String>
47 m_instanceIdHasBeenSet =
true;
48 m_instanceId = std::forward<InstanceIdT>(value);
50 template <
typename InstanceIdT = Aws::String>
97 m_eventTypeHasBeenSet =
true;
119 template <
typename DataT = Aws::String>
121 m_dataHasBeenSet =
true;
122 m_data = std::forward<DataT>(value);
124 template <
typename DataT = Aws::String>
126 SetData(std::forward<DataT>(value));
140 template <
typename EventGroupIdT = Aws::String>
142 m_eventGroupIdHasBeenSet =
true;
143 m_eventGroupId = std::forward<EventGroupIdT>(value);
145 template <
typename EventGroupIdT = Aws::String>
159 template <
typename EventTimestampT = Aws::Utils::DateTime>
161 m_eventTimestampHasBeenSet =
true;
162 m_eventTimestamp = std::forward<EventTimestampT>(value);
164 template <
typename EventTimestampT = Aws::Utils::DateTime>
180 template <
typename ClientTokenT = Aws::String>
182 m_clientTokenHasBeenSet =
true;
183 m_clientToken = std::forward<ClientTokenT>(value);
185 template <
typename ClientTokenT = Aws::String>
198 template <
typename DatasetTargetT = DataIntegrationEventDatasetTargetConfiguration>
200 m_datasetTargetHasBeenSet =
true;
201 m_datasetTarget = std::forward<DatasetTargetT>(value);
203 template <
typename DatasetTargetT = DataIntegrationEventDatasetTargetConfiguration>
222 DataIntegrationEventDatasetTargetConfiguration m_datasetTarget;
223 bool m_instanceIdHasBeenSet =
false;
224 bool m_eventTypeHasBeenSet =
false;
225 bool m_dataHasBeenSet =
false;
226 bool m_eventGroupIdHasBeenSet =
false;
227 bool m_eventTimestampHasBeenSet =
false;
228 bool m_clientTokenHasBeenSet =
true;
229 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