AWS SDK for C++

AWS SDK for C++ Version 1.11.786

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/datazone/DataZone_EXPORTS.h>
12#include <aws/datazone/model/FormOutput.h>
13#include <aws/datazone/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 DataZone {
27namespace Model {
29 public:
30 AWS_DATAZONE_API GetLineageNodeResult() = default;
33
35
38 inline const Aws::String& GetDomainId() const { return m_domainId; }
39 template <typename DomainIdT = Aws::String>
40 void SetDomainId(DomainIdT&& value) {
41 m_domainIdHasBeenSet = true;
42 m_domainId = std::forward<DomainIdT>(value);
43 }
44 template <typename DomainIdT = Aws::String>
45 GetLineageNodeResult& WithDomainId(DomainIdT&& value) {
46 SetDomainId(std::forward<DomainIdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetName() const { return m_name; }
56 template <typename NameT = Aws::String>
57 void SetName(NameT&& value) {
58 m_nameHasBeenSet = true;
59 m_name = std::forward<NameT>(value);
60 }
61 template <typename NameT = Aws::String>
63 SetName(std::forward<NameT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetDescription() const { return m_description; }
73 template <typename DescriptionT = Aws::String>
74 void SetDescription(DescriptionT&& value) {
75 m_descriptionHasBeenSet = true;
76 m_description = std::forward<DescriptionT>(value);
77 }
78 template <typename DescriptionT = Aws::String>
79 GetLineageNodeResult& WithDescription(DescriptionT&& value) {
80 SetDescription(std::forward<DescriptionT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
90 template <typename CreatedAtT = Aws::Utils::DateTime>
91 void SetCreatedAt(CreatedAtT&& value) {
92 m_createdAtHasBeenSet = true;
93 m_createdAt = std::forward<CreatedAtT>(value);
94 }
95 template <typename CreatedAtT = Aws::Utils::DateTime>
96 GetLineageNodeResult& WithCreatedAt(CreatedAtT&& value) {
97 SetCreatedAt(std::forward<CreatedAtT>(value));
98 return *this;
99 }
101
103
106 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
107 template <typename CreatedByT = Aws::String>
108 void SetCreatedBy(CreatedByT&& value) {
109 m_createdByHasBeenSet = true;
110 m_createdBy = std::forward<CreatedByT>(value);
111 }
112 template <typename CreatedByT = Aws::String>
113 GetLineageNodeResult& WithCreatedBy(CreatedByT&& value) {
114 SetCreatedBy(std::forward<CreatedByT>(value));
115 return *this;
116 }
118
120
123 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
124 template <typename UpdatedAtT = Aws::Utils::DateTime>
125 void SetUpdatedAt(UpdatedAtT&& value) {
126 m_updatedAtHasBeenSet = true;
127 m_updatedAt = std::forward<UpdatedAtT>(value);
128 }
129 template <typename UpdatedAtT = Aws::Utils::DateTime>
130 GetLineageNodeResult& WithUpdatedAt(UpdatedAtT&& value) {
131 SetUpdatedAt(std::forward<UpdatedAtT>(value));
132 return *this;
133 }
135
137
140 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
141 template <typename UpdatedByT = Aws::String>
142 void SetUpdatedBy(UpdatedByT&& value) {
143 m_updatedByHasBeenSet = true;
144 m_updatedBy = std::forward<UpdatedByT>(value);
145 }
146 template <typename UpdatedByT = Aws::String>
147 GetLineageNodeResult& WithUpdatedBy(UpdatedByT&& value) {
148 SetUpdatedBy(std::forward<UpdatedByT>(value));
149 return *this;
150 }
152
154
157 inline const Aws::String& GetId() const { return m_id; }
158 template <typename IdT = Aws::String>
159 void SetId(IdT&& value) {
160 m_idHasBeenSet = true;
161 m_id = std::forward<IdT>(value);
162 }
163 template <typename IdT = Aws::String>
165 SetId(std::forward<IdT>(value));
166 return *this;
167 }
169
171
174 inline const Aws::String& GetTypeName() const { return m_typeName; }
175 template <typename TypeNameT = Aws::String>
176 void SetTypeName(TypeNameT&& value) {
177 m_typeNameHasBeenSet = true;
178 m_typeName = std::forward<TypeNameT>(value);
179 }
180 template <typename TypeNameT = Aws::String>
181 GetLineageNodeResult& WithTypeName(TypeNameT&& value) {
182 SetTypeName(std::forward<TypeNameT>(value));
183 return *this;
184 }
186
188
191 inline const Aws::String& GetTypeRevision() const { return m_typeRevision; }
192 template <typename TypeRevisionT = Aws::String>
193 void SetTypeRevision(TypeRevisionT&& value) {
194 m_typeRevisionHasBeenSet = true;
195 m_typeRevision = std::forward<TypeRevisionT>(value);
196 }
197 template <typename TypeRevisionT = Aws::String>
198 GetLineageNodeResult& WithTypeRevision(TypeRevisionT&& value) {
199 SetTypeRevision(std::forward<TypeRevisionT>(value));
200 return *this;
201 }
203
205
208 inline const Aws::String& GetSourceIdentifier() const { return m_sourceIdentifier; }
209 template <typename SourceIdentifierT = Aws::String>
210 void SetSourceIdentifier(SourceIdentifierT&& value) {
211 m_sourceIdentifierHasBeenSet = true;
212 m_sourceIdentifier = std::forward<SourceIdentifierT>(value);
213 }
214 template <typename SourceIdentifierT = Aws::String>
215 GetLineageNodeResult& WithSourceIdentifier(SourceIdentifierT&& value) {
216 SetSourceIdentifier(std::forward<SourceIdentifierT>(value));
217 return *this;
218 }
220
222
225 inline const Aws::Utils::DateTime& GetEventTimestamp() const { return m_eventTimestamp; }
226 template <typename EventTimestampT = Aws::Utils::DateTime>
227 void SetEventTimestamp(EventTimestampT&& value) {
228 m_eventTimestampHasBeenSet = true;
229 m_eventTimestamp = std::forward<EventTimestampT>(value);
230 }
231 template <typename EventTimestampT = Aws::Utils::DateTime>
232 GetLineageNodeResult& WithEventTimestamp(EventTimestampT&& value) {
233 SetEventTimestamp(std::forward<EventTimestampT>(value));
234 return *this;
235 }
237
239
242 inline const Aws::Vector<FormOutput>& GetFormsOutput() const { return m_formsOutput; }
243 template <typename FormsOutputT = Aws::Vector<FormOutput>>
244 void SetFormsOutput(FormsOutputT&& value) {
245 m_formsOutputHasBeenSet = true;
246 m_formsOutput = std::forward<FormsOutputT>(value);
247 }
248 template <typename FormsOutputT = Aws::Vector<FormOutput>>
249 GetLineageNodeResult& WithFormsOutput(FormsOutputT&& value) {
250 SetFormsOutput(std::forward<FormsOutputT>(value));
251 return *this;
252 }
253 template <typename FormsOutputT = FormOutput>
254 GetLineageNodeResult& AddFormsOutput(FormsOutputT&& value) {
255 m_formsOutputHasBeenSet = true;
256 m_formsOutput.emplace_back(std::forward<FormsOutputT>(value));
257 return *this;
258 }
260
262
265 inline const Aws::Vector<LineageNodeReference>& GetUpstreamNodes() const { return m_upstreamNodes; }
266 template <typename UpstreamNodesT = Aws::Vector<LineageNodeReference>>
267 void SetUpstreamNodes(UpstreamNodesT&& value) {
268 m_upstreamNodesHasBeenSet = true;
269 m_upstreamNodes = std::forward<UpstreamNodesT>(value);
270 }
271 template <typename UpstreamNodesT = Aws::Vector<LineageNodeReference>>
272 GetLineageNodeResult& WithUpstreamNodes(UpstreamNodesT&& value) {
273 SetUpstreamNodes(std::forward<UpstreamNodesT>(value));
274 return *this;
275 }
276 template <typename UpstreamNodesT = LineageNodeReference>
277 GetLineageNodeResult& AddUpstreamNodes(UpstreamNodesT&& value) {
278 m_upstreamNodesHasBeenSet = true;
279 m_upstreamNodes.emplace_back(std::forward<UpstreamNodesT>(value));
280 return *this;
281 }
283
285
288 inline const Aws::Vector<LineageNodeReference>& GetDownstreamNodes() const { return m_downstreamNodes; }
289 template <typename DownstreamNodesT = Aws::Vector<LineageNodeReference>>
290 void SetDownstreamNodes(DownstreamNodesT&& value) {
291 m_downstreamNodesHasBeenSet = true;
292 m_downstreamNodes = std::forward<DownstreamNodesT>(value);
293 }
294 template <typename DownstreamNodesT = Aws::Vector<LineageNodeReference>>
295 GetLineageNodeResult& WithDownstreamNodes(DownstreamNodesT&& value) {
296 SetDownstreamNodes(std::forward<DownstreamNodesT>(value));
297 return *this;
298 }
299 template <typename DownstreamNodesT = LineageNodeReference>
300 GetLineageNodeResult& AddDownstreamNodes(DownstreamNodesT&& value) {
301 m_downstreamNodesHasBeenSet = true;
302 m_downstreamNodes.emplace_back(std::forward<DownstreamNodesT>(value));
303 return *this;
304 }
306
308
309 inline const Aws::String& GetRequestId() const { return m_requestId; }
310 template <typename RequestIdT = Aws::String>
311 void SetRequestId(RequestIdT&& value) {
312 m_requestIdHasBeenSet = true;
313 m_requestId = std::forward<RequestIdT>(value);
314 }
315 template <typename RequestIdT = Aws::String>
316 GetLineageNodeResult& WithRequestId(RequestIdT&& value) {
317 SetRequestId(std::forward<RequestIdT>(value));
318 return *this;
319 }
321 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
322
323 private:
324 Aws::String m_domainId;
325
326 Aws::String m_name;
327
328 Aws::String m_description;
329
330 Aws::Utils::DateTime m_createdAt{};
331
332 Aws::String m_createdBy;
333
334 Aws::Utils::DateTime m_updatedAt{};
335
336 Aws::String m_updatedBy;
337
338 Aws::String m_id;
339
340 Aws::String m_typeName;
341
342 Aws::String m_typeRevision;
343
344 Aws::String m_sourceIdentifier;
345
346 Aws::Utils::DateTime m_eventTimestamp{};
347
348 Aws::Vector<FormOutput> m_formsOutput;
349
350 Aws::Vector<LineageNodeReference> m_upstreamNodes;
351
352 Aws::Vector<LineageNodeReference> m_downstreamNodes;
353
354 Aws::String m_requestId;
355 Aws::Http::HttpResponseCode m_HttpResponseCode;
356 bool m_domainIdHasBeenSet = false;
357 bool m_nameHasBeenSet = false;
358 bool m_descriptionHasBeenSet = false;
359 bool m_createdAtHasBeenSet = false;
360 bool m_createdByHasBeenSet = false;
361 bool m_updatedAtHasBeenSet = false;
362 bool m_updatedByHasBeenSet = false;
363 bool m_idHasBeenSet = false;
364 bool m_typeNameHasBeenSet = false;
365 bool m_typeRevisionHasBeenSet = false;
366 bool m_sourceIdentifierHasBeenSet = false;
367 bool m_eventTimestampHasBeenSet = false;
368 bool m_formsOutputHasBeenSet = false;
369 bool m_upstreamNodesHasBeenSet = false;
370 bool m_downstreamNodesHasBeenSet = false;
371 bool m_requestIdHasBeenSet = false;
372};
373
374} // namespace Model
375} // namespace DataZone
376} // namespace Aws
void SetEventTimestamp(EventTimestampT &&value)
const Aws::Vector< FormOutput > & GetFormsOutput() const
const Aws::Utils::DateTime & GetEventTimestamp() const
GetLineageNodeResult & WithUpstreamNodes(UpstreamNodesT &&value)
GetLineageNodeResult & WithCreatedBy(CreatedByT &&value)
AWS_DATAZONE_API GetLineageNodeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetLineageNodeResult & AddUpstreamNodes(UpstreamNodesT &&value)
void SetSourceIdentifier(SourceIdentifierT &&value)
GetLineageNodeResult & WithDownstreamNodes(DownstreamNodesT &&value)
AWS_DATAZONE_API GetLineageNodeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetLineageNodeResult & WithTypeName(TypeNameT &&value)
GetLineageNodeResult & WithSourceIdentifier(SourceIdentifierT &&value)
GetLineageNodeResult & WithEventTimestamp(EventTimestampT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetLineageNodeResult & WithRequestId(RequestIdT &&value)
GetLineageNodeResult & AddDownstreamNodes(DownstreamNodesT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetLineageNodeResult & WithDomainId(DomainIdT &&value)
GetLineageNodeResult & WithId(IdT &&value)
GetLineageNodeResult & WithCreatedAt(CreatedAtT &&value)
const Aws::Vector< LineageNodeReference > & GetDownstreamNodes() const
const Aws::Vector< LineageNodeReference > & GetUpstreamNodes() const
void SetDownstreamNodes(DownstreamNodesT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetLineageNodeResult & WithUpdatedAt(UpdatedAtT &&value)
AWS_DATAZONE_API GetLineageNodeResult()=default
GetLineageNodeResult & WithDescription(DescriptionT &&value)
GetLineageNodeResult & WithTypeRevision(TypeRevisionT &&value)
GetLineageNodeResult & WithUpdatedBy(UpdatedByT &&value)
GetLineageNodeResult & WithFormsOutput(FormsOutputT &&value)
GetLineageNodeResult & WithName(NameT &&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