AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SendDataIntegrationEventRequest.h
1
6#pragma once
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>
13#include <utility>
14#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace SupplyChain
19{
20namespace Model
21{
22
30 {
31 public:
32 AWS_SUPPLYCHAIN_API SendDataIntegrationEventRequest() = default;
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "SendDataIntegrationEvent"; }
39
40 AWS_SUPPLYCHAIN_API Aws::String SerializePayload() const override;
41
42
44
47 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
48 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
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>
52 SendDataIntegrationEventRequest& WithInstanceId(InstanceIdT&& value) { SetInstanceId(std::forward<InstanceIdT>(value)); return *this;}
54
56
92 inline DataIntegrationEventType GetEventType() const { return m_eventType; }
93 inline bool EventTypeHasBeenSet() const { return m_eventTypeHasBeenSet; }
94 inline void SetEventType(DataIntegrationEventType value) { m_eventTypeHasBeenSet = true; m_eventType = value; }
97
99
109 inline const Aws::String& GetData() const { return m_data; }
110 inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
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>
114 SendDataIntegrationEventRequest& WithData(DataT&& value) { SetData(std::forward<DataT>(value)); return *this;}
116
118
124 inline const Aws::String& GetEventGroupId() const { return m_eventGroupId; }
125 inline bool EventGroupIdHasBeenSet() const { return m_eventGroupIdHasBeenSet; }
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>
129 SendDataIntegrationEventRequest& WithEventGroupId(EventGroupIdT&& value) { SetEventGroupId(std::forward<EventGroupIdT>(value)); return *this;}
131
133
137 inline const Aws::Utils::DateTime& GetEventTimestamp() const { return m_eventTimestamp; }
138 inline bool EventTimestampHasBeenSet() const { return m_eventTimestampHasBeenSet; }
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>
142 SendDataIntegrationEventRequest& WithEventTimestamp(EventTimestampT&& value) { SetEventTimestamp(std::forward<EventTimestampT>(value)); return *this;}
144
146
152 inline const Aws::String& GetClientToken() const { return m_clientToken; }
153 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
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>
157 SendDataIntegrationEventRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
159
161
164 inline const DataIntegrationEventDatasetTargetConfiguration& GetDatasetTarget() const { return m_datasetTarget; }
165 inline bool DatasetTargetHasBeenSet() const { return m_datasetTargetHasBeenSet; }
166 template<typename DatasetTargetT = DataIntegrationEventDatasetTargetConfiguration>
167 void SetDatasetTarget(DatasetTargetT&& value) { m_datasetTargetHasBeenSet = true; m_datasetTarget = std::forward<DatasetTargetT>(value); }
168 template<typename DatasetTargetT = DataIntegrationEventDatasetTargetConfiguration>
169 SendDataIntegrationEventRequest& WithDatasetTarget(DatasetTargetT&& value) { SetDatasetTarget(std::forward<DatasetTargetT>(value)); return *this;}
171 private:
172
173 Aws::String m_instanceId;
174 bool m_instanceIdHasBeenSet = false;
175
177 bool m_eventTypeHasBeenSet = false;
178
179 Aws::String m_data;
180 bool m_dataHasBeenSet = false;
181
182 Aws::String m_eventGroupId;
183 bool m_eventGroupIdHasBeenSet = false;
184
185 Aws::Utils::DateTime m_eventTimestamp{};
186 bool m_eventTimestampHasBeenSet = false;
187
189 bool m_clientTokenHasBeenSet = true;
190
191 DataIntegrationEventDatasetTargetConfiguration m_datasetTarget;
192 bool m_datasetTargetHasBeenSet = false;
193 };
194
195} // namespace Model
196} // namespace SupplyChain
197} // namespace Aws
SendDataIntegrationEventRequest & WithEventType(DataIntegrationEventType value)
AWS_SUPPLYCHAIN_API SendDataIntegrationEventRequest()=default
SendDataIntegrationEventRequest & WithClientToken(ClientTokenT &&value)
SendDataIntegrationEventRequest & WithEventGroupId(EventGroupIdT &&value)
SendDataIntegrationEventRequest & WithInstanceId(InstanceIdT &&value)
SendDataIntegrationEventRequest & WithDatasetTarget(DatasetTargetT &&value)
AWS_SUPPLYCHAIN_API Aws::String SerializePayload() const override
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