AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
DataIntegrationEvent.h
1
6#pragma once
7#include <aws/supplychain/SupplyChain_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/supplychain/model/DataIntegrationEventType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/supplychain/model/DataIntegrationEventDatasetTargetDetails.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SupplyChain
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_SUPPLYCHAIN_API DataIntegrationEvent() = default;
38 AWS_SUPPLYCHAIN_API DataIntegrationEvent(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SUPPLYCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const;
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 DataIntegrationEvent& WithInstanceId(InstanceIdT&& value) { SetInstanceId(std::forward<InstanceIdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetEventId() const { return m_eventId; }
60 inline bool EventIdHasBeenSet() const { return m_eventIdHasBeenSet; }
61 template<typename EventIdT = Aws::String>
62 void SetEventId(EventIdT&& value) { m_eventIdHasBeenSet = true; m_eventId = std::forward<EventIdT>(value); }
63 template<typename EventIdT = Aws::String>
64 DataIntegrationEvent& WithEventId(EventIdT&& value) { SetEventId(std::forward<EventIdT>(value)); return *this;}
66
68
71 inline DataIntegrationEventType GetEventType() const { return m_eventType; }
72 inline bool EventTypeHasBeenSet() const { return m_eventTypeHasBeenSet; }
73 inline void SetEventType(DataIntegrationEventType value) { m_eventTypeHasBeenSet = true; m_eventType = value; }
76
78
82 inline const Aws::String& GetEventGroupId() const { return m_eventGroupId; }
83 inline bool EventGroupIdHasBeenSet() const { return m_eventGroupIdHasBeenSet; }
84 template<typename EventGroupIdT = Aws::String>
85 void SetEventGroupId(EventGroupIdT&& value) { m_eventGroupIdHasBeenSet = true; m_eventGroupId = std::forward<EventGroupIdT>(value); }
86 template<typename EventGroupIdT = Aws::String>
87 DataIntegrationEvent& WithEventGroupId(EventGroupIdT&& value) { SetEventGroupId(std::forward<EventGroupIdT>(value)); return *this;}
89
91
94 inline const Aws::Utils::DateTime& GetEventTimestamp() const { return m_eventTimestamp; }
95 inline bool EventTimestampHasBeenSet() const { return m_eventTimestampHasBeenSet; }
96 template<typename EventTimestampT = Aws::Utils::DateTime>
97 void SetEventTimestamp(EventTimestampT&& value) { m_eventTimestampHasBeenSet = true; m_eventTimestamp = std::forward<EventTimestampT>(value); }
98 template<typename EventTimestampT = Aws::Utils::DateTime>
99 DataIntegrationEvent& WithEventTimestamp(EventTimestampT&& value) { SetEventTimestamp(std::forward<EventTimestampT>(value)); return *this;}
101
103
106 inline const DataIntegrationEventDatasetTargetDetails& GetDatasetTargetDetails() const { return m_datasetTargetDetails; }
107 inline bool DatasetTargetDetailsHasBeenSet() const { return m_datasetTargetDetailsHasBeenSet; }
108 template<typename DatasetTargetDetailsT = DataIntegrationEventDatasetTargetDetails>
109 void SetDatasetTargetDetails(DatasetTargetDetailsT&& value) { m_datasetTargetDetailsHasBeenSet = true; m_datasetTargetDetails = std::forward<DatasetTargetDetailsT>(value); }
110 template<typename DatasetTargetDetailsT = DataIntegrationEventDatasetTargetDetails>
111 DataIntegrationEvent& WithDatasetTargetDetails(DatasetTargetDetailsT&& value) { SetDatasetTargetDetails(std::forward<DatasetTargetDetailsT>(value)); return *this;}
113 private:
114
115 Aws::String m_instanceId;
116 bool m_instanceIdHasBeenSet = false;
117
118 Aws::String m_eventId;
119 bool m_eventIdHasBeenSet = false;
120
122 bool m_eventTypeHasBeenSet = false;
123
124 Aws::String m_eventGroupId;
125 bool m_eventGroupIdHasBeenSet = false;
126
127 Aws::Utils::DateTime m_eventTimestamp{};
128 bool m_eventTimestampHasBeenSet = false;
129
130 DataIntegrationEventDatasetTargetDetails m_datasetTargetDetails;
131 bool m_datasetTargetDetailsHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace SupplyChain
136} // namespace Aws
DataIntegrationEventType GetEventType() const
DataIntegrationEvent & WithInstanceId(InstanceIdT &&value)
DataIntegrationEvent & WithDatasetTargetDetails(DatasetTargetDetailsT &&value)
AWS_SUPPLYCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDatasetTargetDetails(DatasetTargetDetailsT &&value)
const DataIntegrationEventDatasetTargetDetails & GetDatasetTargetDetails() const
AWS_SUPPLYCHAIN_API DataIntegrationEvent()=default
DataIntegrationEvent & WithEventGroupId(EventGroupIdT &&value)
const Aws::Utils::DateTime & GetEventTimestamp() const
DataIntegrationEvent & WithEventTimestamp(EventTimestampT &&value)
AWS_SUPPLYCHAIN_API DataIntegrationEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEventType(DataIntegrationEventType value)
DataIntegrationEvent & WithEventId(EventIdT &&value)
DataIntegrationEvent & WithEventType(DataIntegrationEventType value)
AWS_SUPPLYCHAIN_API DataIntegrationEvent(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue