AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
OpenLineageRunEventSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10#include <aws/datazone/model/NameIdentifier.h>
11#include <aws/datazone/model/OpenLineageRunState.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DataZone {
23namespace Model {
24
31 public:
32 AWS_DATAZONE_API OpenLineageRunEventSummary() = default;
35 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline OpenLineageRunState GetEventType() const { return m_eventType; }
42 inline bool EventTypeHasBeenSet() const { return m_eventTypeHasBeenSet; }
43 inline void SetEventType(OpenLineageRunState value) {
44 m_eventTypeHasBeenSet = true;
45 m_eventType = value;
46 }
48 SetEventType(value);
49 return *this;
50 }
52
54
57 inline const Aws::String& GetRunId() const { return m_runId; }
58 inline bool RunIdHasBeenSet() const { return m_runIdHasBeenSet; }
59 template <typename RunIdT = Aws::String>
60 void SetRunId(RunIdT&& value) {
61 m_runIdHasBeenSet = true;
62 m_runId = std::forward<RunIdT>(value);
63 }
64 template <typename RunIdT = Aws::String>
66 SetRunId(std::forward<RunIdT>(value));
67 return *this;
68 }
70
72
75 inline const NameIdentifier& GetJob() const { return m_job; }
76 inline bool JobHasBeenSet() const { return m_jobHasBeenSet; }
77 template <typename JobT = NameIdentifier>
78 void SetJob(JobT&& value) {
79 m_jobHasBeenSet = true;
80 m_job = std::forward<JobT>(value);
81 }
82 template <typename JobT = NameIdentifier>
84 SetJob(std::forward<JobT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::Vector<NameIdentifier>& GetInputs() const { return m_inputs; }
94 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
95 template <typename InputsT = Aws::Vector<NameIdentifier>>
96 void SetInputs(InputsT&& value) {
97 m_inputsHasBeenSet = true;
98 m_inputs = std::forward<InputsT>(value);
99 }
100 template <typename InputsT = Aws::Vector<NameIdentifier>>
102 SetInputs(std::forward<InputsT>(value));
103 return *this;
104 }
105 template <typename InputsT = NameIdentifier>
107 m_inputsHasBeenSet = true;
108 m_inputs.emplace_back(std::forward<InputsT>(value));
109 return *this;
110 }
112
114
117 inline const Aws::Vector<NameIdentifier>& GetOutputs() const { return m_outputs; }
118 inline bool OutputsHasBeenSet() const { return m_outputsHasBeenSet; }
119 template <typename OutputsT = Aws::Vector<NameIdentifier>>
120 void SetOutputs(OutputsT&& value) {
121 m_outputsHasBeenSet = true;
122 m_outputs = std::forward<OutputsT>(value);
123 }
124 template <typename OutputsT = Aws::Vector<NameIdentifier>>
126 SetOutputs(std::forward<OutputsT>(value));
127 return *this;
128 }
129 template <typename OutputsT = NameIdentifier>
131 m_outputsHasBeenSet = true;
132 m_outputs.emplace_back(std::forward<OutputsT>(value));
133 return *this;
134 }
136 private:
138
139 Aws::String m_runId;
140
141 NameIdentifier m_job;
142
144
146 bool m_eventTypeHasBeenSet = false;
147 bool m_runIdHasBeenSet = false;
148 bool m_jobHasBeenSet = false;
149 bool m_inputsHasBeenSet = false;
150 bool m_outputsHasBeenSet = false;
151};
152
153} // namespace Model
154} // namespace DataZone
155} // namespace Aws
AWS_DATAZONE_API OpenLineageRunEventSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API OpenLineageRunEventSummary(Aws::Utils::Json::JsonView jsonValue)
OpenLineageRunEventSummary & WithEventType(OpenLineageRunState value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
OpenLineageRunEventSummary & WithRunId(RunIdT &&value)
const Aws::Vector< NameIdentifier > & GetInputs() const
OpenLineageRunEventSummary & AddInputs(InputsT &&value)
const Aws::Vector< NameIdentifier > & GetOutputs() const
AWS_DATAZONE_API OpenLineageRunEventSummary()=default
OpenLineageRunEventSummary & WithJob(JobT &&value)
OpenLineageRunEventSummary & AddOutputs(OutputsT &&value)
OpenLineageRunEventSummary & WithOutputs(OutputsT &&value)
OpenLineageRunEventSummary & WithInputs(InputsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue