AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
GetLineageNodeResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/datazone/DataZone_EXPORTS.h>
11#include <aws/datazone/model/FormOutput.h>
12#include <aws/datazone/model/LineageNodeReference.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace DataZone {
26namespace Model {
28 public:
29 AWS_DATAZONE_API GetLineageNodeResult() = default;
32
34
37 inline const Aws::String& GetDomainId() const { return m_domainId; }
38 template <typename DomainIdT = Aws::String>
39 void SetDomainId(DomainIdT&& value) {
40 m_domainIdHasBeenSet = true;
41 m_domainId = std::forward<DomainIdT>(value);
42 }
43 template <typename DomainIdT = Aws::String>
44 GetLineageNodeResult& WithDomainId(DomainIdT&& value) {
45 SetDomainId(std::forward<DomainIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetName() const { return m_name; }
55 template <typename NameT = Aws::String>
56 void SetName(NameT&& value) {
57 m_nameHasBeenSet = true;
58 m_name = std::forward<NameT>(value);
59 }
60 template <typename NameT = Aws::String>
62 SetName(std::forward<NameT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetDescription() const { return m_description; }
72 template <typename DescriptionT = Aws::String>
73 void SetDescription(DescriptionT&& value) {
74 m_descriptionHasBeenSet = true;
75 m_description = std::forward<DescriptionT>(value);
76 }
77 template <typename DescriptionT = Aws::String>
78 GetLineageNodeResult& WithDescription(DescriptionT&& value) {
79 SetDescription(std::forward<DescriptionT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
89 template <typename CreatedAtT = Aws::Utils::DateTime>
90 void SetCreatedAt(CreatedAtT&& value) {
91 m_createdAtHasBeenSet = true;
92 m_createdAt = std::forward<CreatedAtT>(value);
93 }
94 template <typename CreatedAtT = Aws::Utils::DateTime>
95 GetLineageNodeResult& WithCreatedAt(CreatedAtT&& value) {
96 SetCreatedAt(std::forward<CreatedAtT>(value));
97 return *this;
98 }
100
102
105 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
106 template <typename CreatedByT = Aws::String>
107 void SetCreatedBy(CreatedByT&& value) {
108 m_createdByHasBeenSet = true;
109 m_createdBy = std::forward<CreatedByT>(value);
110 }
111 template <typename CreatedByT = Aws::String>
112 GetLineageNodeResult& WithCreatedBy(CreatedByT&& value) {
113 SetCreatedBy(std::forward<CreatedByT>(value));
114 return *this;
115 }
117
119
122 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
123 template <typename UpdatedAtT = Aws::Utils::DateTime>
124 void SetUpdatedAt(UpdatedAtT&& value) {
125 m_updatedAtHasBeenSet = true;
126 m_updatedAt = std::forward<UpdatedAtT>(value);
127 }
128 template <typename UpdatedAtT = Aws::Utils::DateTime>
129 GetLineageNodeResult& WithUpdatedAt(UpdatedAtT&& value) {
130 SetUpdatedAt(std::forward<UpdatedAtT>(value));
131 return *this;
132 }
134
136
139 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
140 template <typename UpdatedByT = Aws::String>
141 void SetUpdatedBy(UpdatedByT&& value) {
142 m_updatedByHasBeenSet = true;
143 m_updatedBy = std::forward<UpdatedByT>(value);
144 }
145 template <typename UpdatedByT = Aws::String>
146 GetLineageNodeResult& WithUpdatedBy(UpdatedByT&& value) {
147 SetUpdatedBy(std::forward<UpdatedByT>(value));
148 return *this;
149 }
151
153
156 inline const Aws::String& GetId() const { return m_id; }
157 template <typename IdT = Aws::String>
158 void SetId(IdT&& value) {
159 m_idHasBeenSet = true;
160 m_id = std::forward<IdT>(value);
161 }
162 template <typename IdT = Aws::String>
164 SetId(std::forward<IdT>(value));
165 return *this;
166 }
168
170
173 inline const Aws::String& GetTypeName() const { return m_typeName; }
174 template <typename TypeNameT = Aws::String>
175 void SetTypeName(TypeNameT&& value) {
176 m_typeNameHasBeenSet = true;
177 m_typeName = std::forward<TypeNameT>(value);
178 }
179 template <typename TypeNameT = Aws::String>
180 GetLineageNodeResult& WithTypeName(TypeNameT&& value) {
181 SetTypeName(std::forward<TypeNameT>(value));
182 return *this;
183 }
185
187
190 inline const Aws::String& GetTypeRevision() const { return m_typeRevision; }
191 template <typename TypeRevisionT = Aws::String>
192 void SetTypeRevision(TypeRevisionT&& value) {
193 m_typeRevisionHasBeenSet = true;
194 m_typeRevision = std::forward<TypeRevisionT>(value);
195 }
196 template <typename TypeRevisionT = Aws::String>
197 GetLineageNodeResult& WithTypeRevision(TypeRevisionT&& value) {
198 SetTypeRevision(std::forward<TypeRevisionT>(value));
199 return *this;
200 }
202
204
207 inline const Aws::String& GetSourceIdentifier() const { return m_sourceIdentifier; }
208 template <typename SourceIdentifierT = Aws::String>
209 void SetSourceIdentifier(SourceIdentifierT&& value) {
210 m_sourceIdentifierHasBeenSet = true;
211 m_sourceIdentifier = std::forward<SourceIdentifierT>(value);
212 }
213 template <typename SourceIdentifierT = Aws::String>
214 GetLineageNodeResult& WithSourceIdentifier(SourceIdentifierT&& value) {
215 SetSourceIdentifier(std::forward<SourceIdentifierT>(value));
216 return *this;
217 }
219
221
224 inline const Aws::Utils::DateTime& GetEventTimestamp() const { return m_eventTimestamp; }
225 template <typename EventTimestampT = Aws::Utils::DateTime>
226 void SetEventTimestamp(EventTimestampT&& value) {
227 m_eventTimestampHasBeenSet = true;
228 m_eventTimestamp = std::forward<EventTimestampT>(value);
229 }
230 template <typename EventTimestampT = Aws::Utils::DateTime>
231 GetLineageNodeResult& WithEventTimestamp(EventTimestampT&& value) {
232 SetEventTimestamp(std::forward<EventTimestampT>(value));
233 return *this;
234 }
236
238
241 inline const Aws::Vector<FormOutput>& GetFormsOutput() const { return m_formsOutput; }
242 template <typename FormsOutputT = Aws::Vector<FormOutput>>
243 void SetFormsOutput(FormsOutputT&& value) {
244 m_formsOutputHasBeenSet = true;
245 m_formsOutput = std::forward<FormsOutputT>(value);
246 }
247 template <typename FormsOutputT = Aws::Vector<FormOutput>>
248 GetLineageNodeResult& WithFormsOutput(FormsOutputT&& value) {
249 SetFormsOutput(std::forward<FormsOutputT>(value));
250 return *this;
251 }
252 template <typename FormsOutputT = FormOutput>
253 GetLineageNodeResult& AddFormsOutput(FormsOutputT&& value) {
254 m_formsOutputHasBeenSet = true;
255 m_formsOutput.emplace_back(std::forward<FormsOutputT>(value));
256 return *this;
257 }
259
261
264 inline const Aws::Vector<LineageNodeReference>& GetUpstreamNodes() const { return m_upstreamNodes; }
265 template <typename UpstreamNodesT = Aws::Vector<LineageNodeReference>>
266 void SetUpstreamNodes(UpstreamNodesT&& value) {
267 m_upstreamNodesHasBeenSet = true;
268 m_upstreamNodes = std::forward<UpstreamNodesT>(value);
269 }
270 template <typename UpstreamNodesT = Aws::Vector<LineageNodeReference>>
271 GetLineageNodeResult& WithUpstreamNodes(UpstreamNodesT&& value) {
272 SetUpstreamNodes(std::forward<UpstreamNodesT>(value));
273 return *this;
274 }
275 template <typename UpstreamNodesT = LineageNodeReference>
276 GetLineageNodeResult& AddUpstreamNodes(UpstreamNodesT&& value) {
277 m_upstreamNodesHasBeenSet = true;
278 m_upstreamNodes.emplace_back(std::forward<UpstreamNodesT>(value));
279 return *this;
280 }
282
284
287 inline const Aws::Vector<LineageNodeReference>& GetDownstreamNodes() const { return m_downstreamNodes; }
288 template <typename DownstreamNodesT = Aws::Vector<LineageNodeReference>>
289 void SetDownstreamNodes(DownstreamNodesT&& value) {
290 m_downstreamNodesHasBeenSet = true;
291 m_downstreamNodes = std::forward<DownstreamNodesT>(value);
292 }
293 template <typename DownstreamNodesT = Aws::Vector<LineageNodeReference>>
294 GetLineageNodeResult& WithDownstreamNodes(DownstreamNodesT&& value) {
295 SetDownstreamNodes(std::forward<DownstreamNodesT>(value));
296 return *this;
297 }
298 template <typename DownstreamNodesT = LineageNodeReference>
299 GetLineageNodeResult& AddDownstreamNodes(DownstreamNodesT&& value) {
300 m_downstreamNodesHasBeenSet = true;
301 m_downstreamNodes.emplace_back(std::forward<DownstreamNodesT>(value));
302 return *this;
303 }
305
307
308 inline const Aws::String& GetRequestId() const { return m_requestId; }
309 template <typename RequestIdT = Aws::String>
310 void SetRequestId(RequestIdT&& value) {
311 m_requestIdHasBeenSet = true;
312 m_requestId = std::forward<RequestIdT>(value);
313 }
314 template <typename RequestIdT = Aws::String>
315 GetLineageNodeResult& WithRequestId(RequestIdT&& value) {
316 SetRequestId(std::forward<RequestIdT>(value));
317 return *this;
318 }
320 private:
321 Aws::String m_domainId;
322
323 Aws::String m_name;
324
325 Aws::String m_description;
326
327 Aws::Utils::DateTime m_createdAt{};
328
329 Aws::String m_createdBy;
330
331 Aws::Utils::DateTime m_updatedAt{};
332
333 Aws::String m_updatedBy;
334
335 Aws::String m_id;
336
337 Aws::String m_typeName;
338
339 Aws::String m_typeRevision;
340
341 Aws::String m_sourceIdentifier;
342
343 Aws::Utils::DateTime m_eventTimestamp{};
344
345 Aws::Vector<FormOutput> m_formsOutput;
346
347 Aws::Vector<LineageNodeReference> m_upstreamNodes;
348
349 Aws::Vector<LineageNodeReference> m_downstreamNodes;
350
351 Aws::String m_requestId;
352 bool m_domainIdHasBeenSet = false;
353 bool m_nameHasBeenSet = false;
354 bool m_descriptionHasBeenSet = false;
355 bool m_createdAtHasBeenSet = false;
356 bool m_createdByHasBeenSet = false;
357 bool m_updatedAtHasBeenSet = false;
358 bool m_updatedByHasBeenSet = false;
359 bool m_idHasBeenSet = false;
360 bool m_typeNameHasBeenSet = false;
361 bool m_typeRevisionHasBeenSet = false;
362 bool m_sourceIdentifierHasBeenSet = false;
363 bool m_eventTimestampHasBeenSet = false;
364 bool m_formsOutputHasBeenSet = false;
365 bool m_upstreamNodesHasBeenSet = false;
366 bool m_downstreamNodesHasBeenSet = false;
367 bool m_requestIdHasBeenSet = false;
368};
369
370} // namespace Model
371} // namespace DataZone
372} // 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)
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