AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
GetLineageNodeResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/glue/Glue_EXPORTS.h>
12#include <aws/glue/model/LineageForm.h>
13#include <aws/glue/model/LineageNodeReference.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Glue {
27namespace Model {
35 public:
36 AWS_GLUE_API GetLineageNodeResult() = default;
39
41
44 inline const Aws::String& GetId() const { return m_id; }
45 template <typename IdT = Aws::String>
46 void SetId(IdT&& value) {
47 m_idHasBeenSet = true;
48 m_id = std::forward<IdT>(value);
49 }
50 template <typename IdT = Aws::String>
52 SetId(std::forward<IdT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetTypeName() const { return m_typeName; }
62 template <typename TypeNameT = Aws::String>
63 void SetTypeName(TypeNameT&& value) {
64 m_typeNameHasBeenSet = true;
65 m_typeName = std::forward<TypeNameT>(value);
66 }
67 template <typename TypeNameT = Aws::String>
68 GetLineageNodeResult& WithTypeName(TypeNameT&& value) {
69 SetTypeName(std::forward<TypeNameT>(value));
70 return *this;
71 }
73
75
79 inline const Aws::String& GetSourceIdentifier() const { return m_sourceIdentifier; }
80 template <typename SourceIdentifierT = Aws::String>
81 void SetSourceIdentifier(SourceIdentifierT&& value) {
82 m_sourceIdentifierHasBeenSet = true;
83 m_sourceIdentifier = std::forward<SourceIdentifierT>(value);
84 }
85 template <typename SourceIdentifierT = Aws::String>
86 GetLineageNodeResult& WithSourceIdentifier(SourceIdentifierT&& value) {
87 SetSourceIdentifier(std::forward<SourceIdentifierT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::Utils::DateTime& GetEventTimestamp() const { return m_eventTimestamp; }
97 template <typename EventTimestampT = Aws::Utils::DateTime>
98 void SetEventTimestamp(EventTimestampT&& value) {
99 m_eventTimestampHasBeenSet = true;
100 m_eventTimestamp = std::forward<EventTimestampT>(value);
101 }
102 template <typename EventTimestampT = Aws::Utils::DateTime>
103 GetLineageNodeResult& WithEventTimestamp(EventTimestampT&& value) {
104 SetEventTimestamp(std::forward<EventTimestampT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::String& GetName() const { return m_name; }
114 template <typename NameT = Aws::String>
115 void SetName(NameT&& value) {
116 m_nameHasBeenSet = true;
117 m_name = std::forward<NameT>(value);
118 }
119 template <typename NameT = Aws::String>
121 SetName(std::forward<NameT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::String& GetDescription() const { return m_description; }
131 template <typename DescriptionT = Aws::String>
132 void SetDescription(DescriptionT&& value) {
133 m_descriptionHasBeenSet = true;
134 m_description = std::forward<DescriptionT>(value);
135 }
136 template <typename DescriptionT = Aws::String>
137 GetLineageNodeResult& WithDescription(DescriptionT&& value) {
138 SetDescription(std::forward<DescriptionT>(value));
139 return *this;
140 }
142
144
147 inline const Aws::Vector<LineageNodeReference>& GetUpstreamNodes() const { return m_upstreamNodes; }
148 template <typename UpstreamNodesT = Aws::Vector<LineageNodeReference>>
149 void SetUpstreamNodes(UpstreamNodesT&& value) {
150 m_upstreamNodesHasBeenSet = true;
151 m_upstreamNodes = std::forward<UpstreamNodesT>(value);
152 }
153 template <typename UpstreamNodesT = Aws::Vector<LineageNodeReference>>
154 GetLineageNodeResult& WithUpstreamNodes(UpstreamNodesT&& value) {
155 SetUpstreamNodes(std::forward<UpstreamNodesT>(value));
156 return *this;
157 }
158 template <typename UpstreamNodesT = LineageNodeReference>
159 GetLineageNodeResult& AddUpstreamNodes(UpstreamNodesT&& value) {
160 m_upstreamNodesHasBeenSet = true;
161 m_upstreamNodes.emplace_back(std::forward<UpstreamNodesT>(value));
162 return *this;
163 }
165
167
170 inline const Aws::Vector<LineageNodeReference>& GetDownstreamNodes() const { return m_downstreamNodes; }
171 template <typename DownstreamNodesT = Aws::Vector<LineageNodeReference>>
172 void SetDownstreamNodes(DownstreamNodesT&& value) {
173 m_downstreamNodesHasBeenSet = true;
174 m_downstreamNodes = std::forward<DownstreamNodesT>(value);
175 }
176 template <typename DownstreamNodesT = Aws::Vector<LineageNodeReference>>
177 GetLineageNodeResult& WithDownstreamNodes(DownstreamNodesT&& value) {
178 SetDownstreamNodes(std::forward<DownstreamNodesT>(value));
179 return *this;
180 }
181 template <typename DownstreamNodesT = LineageNodeReference>
182 GetLineageNodeResult& AddDownstreamNodes(DownstreamNodesT&& value) {
183 m_downstreamNodesHasBeenSet = true;
184 m_downstreamNodes.emplace_back(std::forward<DownstreamNodesT>(value));
185 return *this;
186 }
188
190
193 inline const Aws::Vector<LineageForm>& GetFormsOutput() const { return m_formsOutput; }
194 template <typename FormsOutputT = Aws::Vector<LineageForm>>
195 void SetFormsOutput(FormsOutputT&& value) {
196 m_formsOutputHasBeenSet = true;
197 m_formsOutput = std::forward<FormsOutputT>(value);
198 }
199 template <typename FormsOutputT = Aws::Vector<LineageForm>>
200 GetLineageNodeResult& WithFormsOutput(FormsOutputT&& value) {
201 SetFormsOutput(std::forward<FormsOutputT>(value));
202 return *this;
203 }
204 template <typename FormsOutputT = LineageForm>
205 GetLineageNodeResult& AddFormsOutput(FormsOutputT&& value) {
206 m_formsOutputHasBeenSet = true;
207 m_formsOutput.emplace_back(std::forward<FormsOutputT>(value));
208 return *this;
209 }
211
213
214 inline const Aws::String& GetRequestId() const { return m_requestId; }
215 template <typename RequestIdT = Aws::String>
216 void SetRequestId(RequestIdT&& value) {
217 m_requestIdHasBeenSet = true;
218 m_requestId = std::forward<RequestIdT>(value);
219 }
220 template <typename RequestIdT = Aws::String>
221 GetLineageNodeResult& WithRequestId(RequestIdT&& value) {
222 SetRequestId(std::forward<RequestIdT>(value));
223 return *this;
224 }
226 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
227
228 private:
229 Aws::String m_id;
230
231 Aws::String m_typeName;
232
233 Aws::String m_sourceIdentifier;
234
235 Aws::Utils::DateTime m_eventTimestamp{};
236
237 Aws::String m_name;
238
239 Aws::String m_description;
240
241 Aws::Vector<LineageNodeReference> m_upstreamNodes;
242
243 Aws::Vector<LineageNodeReference> m_downstreamNodes;
244
245 Aws::Vector<LineageForm> m_formsOutput;
246
247 Aws::String m_requestId;
248 Aws::Http::HttpResponseCode m_HttpResponseCode;
249 bool m_idHasBeenSet = false;
250 bool m_typeNameHasBeenSet = false;
251 bool m_sourceIdentifierHasBeenSet = false;
252 bool m_eventTimestampHasBeenSet = false;
253 bool m_nameHasBeenSet = false;
254 bool m_descriptionHasBeenSet = false;
255 bool m_upstreamNodesHasBeenSet = false;
256 bool m_downstreamNodesHasBeenSet = false;
257 bool m_formsOutputHasBeenSet = false;
258 bool m_requestIdHasBeenSet = false;
259};
260
261} // namespace Model
262} // namespace Glue
263} // namespace Aws
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetUpstreamNodes(UpstreamNodesT &&value)
GetLineageNodeResult & WithRequestId(RequestIdT &&value)
GetLineageNodeResult & WithName(NameT &&value)
GetLineageNodeResult & WithTypeName(TypeNameT &&value)
AWS_GLUE_API GetLineageNodeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GLUE_API GetLineageNodeResult()=default
void SetEventTimestamp(EventTimestampT &&value)
GetLineageNodeResult & WithEventTimestamp(EventTimestampT &&value)
const Aws::Vector< LineageNodeReference > & GetDownstreamNodes() const
GetLineageNodeResult & WithDescription(DescriptionT &&value)
void SetSourceIdentifier(SourceIdentifierT &&value)
const Aws::Vector< LineageForm > & GetFormsOutput() const
const Aws::String & GetSourceIdentifier() const
GetLineageNodeResult & WithFormsOutput(FormsOutputT &&value)
void SetDownstreamNodes(DownstreamNodesT &&value)
GetLineageNodeResult & WithSourceIdentifier(SourceIdentifierT &&value)
GetLineageNodeResult & AddUpstreamNodes(UpstreamNodesT &&value)
const Aws::Vector< LineageNodeReference > & GetUpstreamNodes() const
GetLineageNodeResult & WithId(IdT &&value)
const Aws::Utils::DateTime & GetEventTimestamp() const
GetLineageNodeResult & WithDownstreamNodes(DownstreamNodesT &&value)
GetLineageNodeResult & WithUpstreamNodes(UpstreamNodesT &&value)
AWS_GLUE_API GetLineageNodeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetLineageNodeResult & AddDownstreamNodes(DownstreamNodesT &&value)
GetLineageNodeResult & AddFormsOutput(FormsOutputT &&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