AWS SDK for C++

AWS SDK for C++ Version 1.11.764

Loading...
Searching...
No Matches
LineageNodeItem.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
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 LineageNodeItem() = default;
33 AWS_DATAZONE_API LineageNodeItem(Aws::Utils::Json::JsonView jsonValue);
35 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetDomainId() const { return m_domainId; }
42 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
43 template <typename DomainIdT = Aws::String>
44 void SetDomainId(DomainIdT&& value) {
45 m_domainIdHasBeenSet = true;
46 m_domainId = std::forward<DomainIdT>(value);
47 }
48 template <typename DomainIdT = Aws::String>
49 LineageNodeItem& WithDomainId(DomainIdT&& value) {
50 SetDomainId(std::forward<DomainIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetName() const { return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 template <typename NameT = Aws::String>
62 void SetName(NameT&& value) {
63 m_nameHasBeenSet = true;
64 m_name = std::forward<NameT>(value);
65 }
66 template <typename NameT = Aws::String>
67 LineageNodeItem& WithName(NameT&& value) {
68 SetName(std::forward<NameT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetDescription() const { return m_description; }
78 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
79 template <typename DescriptionT = Aws::String>
80 void SetDescription(DescriptionT&& value) {
81 m_descriptionHasBeenSet = true;
82 m_description = std::forward<DescriptionT>(value);
83 }
84 template <typename DescriptionT = Aws::String>
85 LineageNodeItem& WithDescription(DescriptionT&& value) {
86 SetDescription(std::forward<DescriptionT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
96 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
97 template <typename CreatedAtT = Aws::Utils::DateTime>
98 void SetCreatedAt(CreatedAtT&& value) {
99 m_createdAtHasBeenSet = true;
100 m_createdAt = std::forward<CreatedAtT>(value);
101 }
102 template <typename CreatedAtT = Aws::Utils::DateTime>
103 LineageNodeItem& WithCreatedAt(CreatedAtT&& value) {
104 SetCreatedAt(std::forward<CreatedAtT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
114 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
115 template <typename CreatedByT = Aws::String>
116 void SetCreatedBy(CreatedByT&& value) {
117 m_createdByHasBeenSet = true;
118 m_createdBy = std::forward<CreatedByT>(value);
119 }
120 template <typename CreatedByT = Aws::String>
121 LineageNodeItem& WithCreatedBy(CreatedByT&& value) {
122 SetCreatedBy(std::forward<CreatedByT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
132 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
133 template <typename UpdatedAtT = Aws::Utils::DateTime>
134 void SetUpdatedAt(UpdatedAtT&& value) {
135 m_updatedAtHasBeenSet = true;
136 m_updatedAt = std::forward<UpdatedAtT>(value);
137 }
138 template <typename UpdatedAtT = Aws::Utils::DateTime>
139 LineageNodeItem& WithUpdatedAt(UpdatedAtT&& value) {
140 SetUpdatedAt(std::forward<UpdatedAtT>(value));
141 return *this;
142 }
144
146
149 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
150 inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; }
151 template <typename UpdatedByT = Aws::String>
152 void SetUpdatedBy(UpdatedByT&& value) {
153 m_updatedByHasBeenSet = true;
154 m_updatedBy = std::forward<UpdatedByT>(value);
155 }
156 template <typename UpdatedByT = Aws::String>
157 LineageNodeItem& WithUpdatedBy(UpdatedByT&& value) {
158 SetUpdatedBy(std::forward<UpdatedByT>(value));
159 return *this;
160 }
162
164
167 inline const Aws::String& GetId() const { return m_id; }
168 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
169 template <typename IdT = Aws::String>
170 void SetId(IdT&& value) {
171 m_idHasBeenSet = true;
172 m_id = std::forward<IdT>(value);
173 }
174 template <typename IdT = Aws::String>
175 LineageNodeItem& WithId(IdT&& value) {
176 SetId(std::forward<IdT>(value));
177 return *this;
178 }
180
182
185 inline const Aws::String& GetTypeName() const { return m_typeName; }
186 inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
187 template <typename TypeNameT = Aws::String>
188 void SetTypeName(TypeNameT&& value) {
189 m_typeNameHasBeenSet = true;
190 m_typeName = std::forward<TypeNameT>(value);
191 }
192 template <typename TypeNameT = Aws::String>
193 LineageNodeItem& WithTypeName(TypeNameT&& value) {
194 SetTypeName(std::forward<TypeNameT>(value));
195 return *this;
196 }
198
200
203 inline const Aws::String& GetTypeRevision() const { return m_typeRevision; }
204 inline bool TypeRevisionHasBeenSet() const { return m_typeRevisionHasBeenSet; }
205 template <typename TypeRevisionT = Aws::String>
206 void SetTypeRevision(TypeRevisionT&& value) {
207 m_typeRevisionHasBeenSet = true;
208 m_typeRevision = std::forward<TypeRevisionT>(value);
209 }
210 template <typename TypeRevisionT = Aws::String>
211 LineageNodeItem& WithTypeRevision(TypeRevisionT&& value) {
212 SetTypeRevision(std::forward<TypeRevisionT>(value));
213 return *this;
214 }
216
218
221 inline const Aws::String& GetSourceIdentifier() const { return m_sourceIdentifier; }
222 inline bool SourceIdentifierHasBeenSet() const { return m_sourceIdentifierHasBeenSet; }
223 template <typename SourceIdentifierT = Aws::String>
224 void SetSourceIdentifier(SourceIdentifierT&& value) {
225 m_sourceIdentifierHasBeenSet = true;
226 m_sourceIdentifier = std::forward<SourceIdentifierT>(value);
227 }
228 template <typename SourceIdentifierT = Aws::String>
229 LineageNodeItem& WithSourceIdentifier(SourceIdentifierT&& value) {
230 SetSourceIdentifier(std::forward<SourceIdentifierT>(value));
231 return *this;
232 }
234
236
239 inline const Aws::Utils::DateTime& GetEventTimestamp() const { return m_eventTimestamp; }
240 inline bool EventTimestampHasBeenSet() const { return m_eventTimestampHasBeenSet; }
241 template <typename EventTimestampT = Aws::Utils::DateTime>
242 void SetEventTimestamp(EventTimestampT&& value) {
243 m_eventTimestampHasBeenSet = true;
244 m_eventTimestamp = std::forward<EventTimestampT>(value);
245 }
246 template <typename EventTimestampT = Aws::Utils::DateTime>
247 LineageNodeItem& WithEventTimestamp(EventTimestampT&& value) {
248 SetEventTimestamp(std::forward<EventTimestampT>(value));
249 return *this;
250 }
252
254
257 inline const Aws::Vector<FormOutput>& GetFormsOutput() const { return m_formsOutput; }
258 inline bool FormsOutputHasBeenSet() const { return m_formsOutputHasBeenSet; }
259 template <typename FormsOutputT = Aws::Vector<FormOutput>>
260 void SetFormsOutput(FormsOutputT&& value) {
261 m_formsOutputHasBeenSet = true;
262 m_formsOutput = std::forward<FormsOutputT>(value);
263 }
264 template <typename FormsOutputT = Aws::Vector<FormOutput>>
265 LineageNodeItem& WithFormsOutput(FormsOutputT&& value) {
266 SetFormsOutput(std::forward<FormsOutputT>(value));
267 return *this;
268 }
269 template <typename FormsOutputT = FormOutput>
270 LineageNodeItem& AddFormsOutput(FormsOutputT&& value) {
271 m_formsOutputHasBeenSet = true;
272 m_formsOutput.emplace_back(std::forward<FormsOutputT>(value));
273 return *this;
274 }
276
278
281 inline const Aws::Vector<Aws::String>& GetUpstreamLineageNodeIds() const { return m_upstreamLineageNodeIds; }
282 inline bool UpstreamLineageNodeIdsHasBeenSet() const { return m_upstreamLineageNodeIdsHasBeenSet; }
283 template <typename UpstreamLineageNodeIdsT = Aws::Vector<Aws::String>>
284 void SetUpstreamLineageNodeIds(UpstreamLineageNodeIdsT&& value) {
285 m_upstreamLineageNodeIdsHasBeenSet = true;
286 m_upstreamLineageNodeIds = std::forward<UpstreamLineageNodeIdsT>(value);
287 }
288 template <typename UpstreamLineageNodeIdsT = Aws::Vector<Aws::String>>
289 LineageNodeItem& WithUpstreamLineageNodeIds(UpstreamLineageNodeIdsT&& value) {
290 SetUpstreamLineageNodeIds(std::forward<UpstreamLineageNodeIdsT>(value));
291 return *this;
292 }
293 template <typename UpstreamLineageNodeIdsT = Aws::String>
294 LineageNodeItem& AddUpstreamLineageNodeIds(UpstreamLineageNodeIdsT&& value) {
295 m_upstreamLineageNodeIdsHasBeenSet = true;
296 m_upstreamLineageNodeIds.emplace_back(std::forward<UpstreamLineageNodeIdsT>(value));
297 return *this;
298 }
300
302
305 inline const Aws::Vector<Aws::String>& GetDownstreamLineageNodeIds() const { return m_downstreamLineageNodeIds; }
306 inline bool DownstreamLineageNodeIdsHasBeenSet() const { return m_downstreamLineageNodeIdsHasBeenSet; }
307 template <typename DownstreamLineageNodeIdsT = Aws::Vector<Aws::String>>
308 void SetDownstreamLineageNodeIds(DownstreamLineageNodeIdsT&& value) {
309 m_downstreamLineageNodeIdsHasBeenSet = true;
310 m_downstreamLineageNodeIds = std::forward<DownstreamLineageNodeIdsT>(value);
311 }
312 template <typename DownstreamLineageNodeIdsT = Aws::Vector<Aws::String>>
313 LineageNodeItem& WithDownstreamLineageNodeIds(DownstreamLineageNodeIdsT&& value) {
314 SetDownstreamLineageNodeIds(std::forward<DownstreamLineageNodeIdsT>(value));
315 return *this;
316 }
317 template <typename DownstreamLineageNodeIdsT = Aws::String>
318 LineageNodeItem& AddDownstreamLineageNodeIds(DownstreamLineageNodeIdsT&& value) {
319 m_downstreamLineageNodeIdsHasBeenSet = true;
320 m_downstreamLineageNodeIds.emplace_back(std::forward<DownstreamLineageNodeIdsT>(value));
321 return *this;
322 }
324 private:
325 Aws::String m_domainId;
326
327 Aws::String m_name;
328
329 Aws::String m_description;
330
331 Aws::Utils::DateTime m_createdAt{};
332
333 Aws::String m_createdBy;
334
335 Aws::Utils::DateTime m_updatedAt{};
336
337 Aws::String m_updatedBy;
338
339 Aws::String m_id;
340
341 Aws::String m_typeName;
342
343 Aws::String m_typeRevision;
344
345 Aws::String m_sourceIdentifier;
346
347 Aws::Utils::DateTime m_eventTimestamp{};
348
349 Aws::Vector<FormOutput> m_formsOutput;
350
351 Aws::Vector<Aws::String> m_upstreamLineageNodeIds;
352
353 Aws::Vector<Aws::String> m_downstreamLineageNodeIds;
354 bool m_domainIdHasBeenSet = false;
355 bool m_nameHasBeenSet = false;
356 bool m_descriptionHasBeenSet = false;
357 bool m_createdAtHasBeenSet = false;
358 bool m_createdByHasBeenSet = false;
359 bool m_updatedAtHasBeenSet = false;
360 bool m_updatedByHasBeenSet = false;
361 bool m_idHasBeenSet = false;
362 bool m_typeNameHasBeenSet = false;
363 bool m_typeRevisionHasBeenSet = false;
364 bool m_sourceIdentifierHasBeenSet = false;
365 bool m_eventTimestampHasBeenSet = false;
366 bool m_formsOutputHasBeenSet = false;
367 bool m_upstreamLineageNodeIdsHasBeenSet = false;
368 bool m_downstreamLineageNodeIdsHasBeenSet = false;
369};
370
371} // namespace Model
372} // namespace DataZone
373} // namespace Aws
LineageNodeItem & AddDownstreamLineageNodeIds(DownstreamLineageNodeIdsT &&value)
LineageNodeItem & WithEventTimestamp(EventTimestampT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_DATAZONE_API LineageNodeItem & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedBy(CreatedByT &&value)
LineageNodeItem & WithTypeRevision(TypeRevisionT &&value)
LineageNodeItem & WithDescription(DescriptionT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
LineageNodeItem & AddUpstreamLineageNodeIds(UpstreamLineageNodeIdsT &&value)
const Aws::String & GetUpdatedBy() const
void SetDownstreamLineageNodeIds(DownstreamLineageNodeIdsT &&value)
LineageNodeItem & WithDownstreamLineageNodeIds(DownstreamLineageNodeIdsT &&value)
const Aws::Utils::DateTime & GetEventTimestamp() const
LineageNodeItem & WithName(NameT &&value)
LineageNodeItem & WithFormsOutput(FormsOutputT &&value)
const Aws::String & GetTypeName() const
AWS_DATAZONE_API LineageNodeItem()=default
void SetUpdatedBy(UpdatedByT &&value)
LineageNodeItem & WithId(IdT &&value)
const Aws::String & GetDescription() const
void SetSourceIdentifier(SourceIdentifierT &&value)
const Aws::String & GetName() const
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetCreatedAt(CreatedAtT &&value)
void SetEventTimestamp(EventTimestampT &&value)
const Aws::String & GetDomainId() const
const Aws::Vector< Aws::String > & GetUpstreamLineageNodeIds() const
const Aws::Vector< FormOutput > & GetFormsOutput() const
void SetFormsOutput(FormsOutputT &&value)
LineageNodeItem & AddFormsOutput(FormsOutputT &&value)
LineageNodeItem & WithUpdatedAt(UpdatedAtT &&value)
LineageNodeItem & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetTypeRevision() const
void SetUpstreamLineageNodeIds(UpstreamLineageNodeIdsT &&value)
AWS_DATAZONE_API LineageNodeItem(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(DescriptionT &&value)
const Aws::String & GetCreatedBy() const
LineageNodeItem & WithCreatedBy(CreatedByT &&value)
const Aws::String & GetId() const
LineageNodeItem & WithUpstreamLineageNodeIds(UpstreamLineageNodeIdsT &&value)
void SetTypeRevision(TypeRevisionT &&value)
const Aws::String & GetSourceIdentifier() const
LineageNodeItem & WithDomainId(DomainIdT &&value)
LineageNodeItem & WithTypeName(TypeNameT &&value)
LineageNodeItem & WithSourceIdentifier(SourceIdentifierT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
LineageNodeItem & WithUpdatedBy(UpdatedByT &&value)
const Aws::Vector< Aws::String > & GetDownstreamLineageNodeIds() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue