AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
LineageNodeSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DataZone {
21namespace Model {
22
29 public:
30 AWS_DATAZONE_API LineageNodeSummary() = default;
33 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetDomainId() const { return m_domainId; }
40 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
41 template <typename DomainIdT = Aws::String>
42 void SetDomainId(DomainIdT&& value) {
43 m_domainIdHasBeenSet = true;
44 m_domainId = std::forward<DomainIdT>(value);
45 }
46 template <typename DomainIdT = Aws::String>
47 LineageNodeSummary& WithDomainId(DomainIdT&& value) {
48 SetDomainId(std::forward<DomainIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetName() const { return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 template <typename NameT = Aws::String>
60 void SetName(NameT&& value) {
61 m_nameHasBeenSet = true;
62 m_name = std::forward<NameT>(value);
63 }
64 template <typename NameT = Aws::String>
65 LineageNodeSummary& WithName(NameT&& value) {
66 SetName(std::forward<NameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetDescription() const { return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 template <typename DescriptionT = Aws::String>
78 void SetDescription(DescriptionT&& value) {
79 m_descriptionHasBeenSet = true;
80 m_description = std::forward<DescriptionT>(value);
81 }
82 template <typename DescriptionT = Aws::String>
83 LineageNodeSummary& WithDescription(DescriptionT&& value) {
84 SetDescription(std::forward<DescriptionT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
94 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
95 template <typename CreatedAtT = Aws::Utils::DateTime>
96 void SetCreatedAt(CreatedAtT&& value) {
97 m_createdAtHasBeenSet = true;
98 m_createdAt = std::forward<CreatedAtT>(value);
99 }
100 template <typename CreatedAtT = Aws::Utils::DateTime>
101 LineageNodeSummary& WithCreatedAt(CreatedAtT&& value) {
102 SetCreatedAt(std::forward<CreatedAtT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
112 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
113 template <typename CreatedByT = Aws::String>
114 void SetCreatedBy(CreatedByT&& value) {
115 m_createdByHasBeenSet = true;
116 m_createdBy = std::forward<CreatedByT>(value);
117 }
118 template <typename CreatedByT = Aws::String>
119 LineageNodeSummary& WithCreatedBy(CreatedByT&& value) {
120 SetCreatedBy(std::forward<CreatedByT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
130 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
131 template <typename UpdatedAtT = Aws::Utils::DateTime>
132 void SetUpdatedAt(UpdatedAtT&& value) {
133 m_updatedAtHasBeenSet = true;
134 m_updatedAt = std::forward<UpdatedAtT>(value);
135 }
136 template <typename UpdatedAtT = Aws::Utils::DateTime>
137 LineageNodeSummary& WithUpdatedAt(UpdatedAtT&& value) {
138 SetUpdatedAt(std::forward<UpdatedAtT>(value));
139 return *this;
140 }
142
144
147 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
148 inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; }
149 template <typename UpdatedByT = Aws::String>
150 void SetUpdatedBy(UpdatedByT&& value) {
151 m_updatedByHasBeenSet = true;
152 m_updatedBy = std::forward<UpdatedByT>(value);
153 }
154 template <typename UpdatedByT = Aws::String>
155 LineageNodeSummary& WithUpdatedBy(UpdatedByT&& value) {
156 SetUpdatedBy(std::forward<UpdatedByT>(value));
157 return *this;
158 }
160
162
165 inline const Aws::String& GetId() const { return m_id; }
166 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
167 template <typename IdT = Aws::String>
168 void SetId(IdT&& value) {
169 m_idHasBeenSet = true;
170 m_id = std::forward<IdT>(value);
171 }
172 template <typename IdT = Aws::String>
174 SetId(std::forward<IdT>(value));
175 return *this;
176 }
178
180
183 inline const Aws::String& GetTypeName() const { return m_typeName; }
184 inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
185 template <typename TypeNameT = Aws::String>
186 void SetTypeName(TypeNameT&& value) {
187 m_typeNameHasBeenSet = true;
188 m_typeName = std::forward<TypeNameT>(value);
189 }
190 template <typename TypeNameT = Aws::String>
191 LineageNodeSummary& WithTypeName(TypeNameT&& value) {
192 SetTypeName(std::forward<TypeNameT>(value));
193 return *this;
194 }
196
198
201 inline const Aws::String& GetTypeRevision() const { return m_typeRevision; }
202 inline bool TypeRevisionHasBeenSet() const { return m_typeRevisionHasBeenSet; }
203 template <typename TypeRevisionT = Aws::String>
204 void SetTypeRevision(TypeRevisionT&& value) {
205 m_typeRevisionHasBeenSet = true;
206 m_typeRevision = std::forward<TypeRevisionT>(value);
207 }
208 template <typename TypeRevisionT = Aws::String>
209 LineageNodeSummary& WithTypeRevision(TypeRevisionT&& value) {
210 SetTypeRevision(std::forward<TypeRevisionT>(value));
211 return *this;
212 }
214
216
219 inline const Aws::String& GetSourceIdentifier() const { return m_sourceIdentifier; }
220 inline bool SourceIdentifierHasBeenSet() const { return m_sourceIdentifierHasBeenSet; }
221 template <typename SourceIdentifierT = Aws::String>
222 void SetSourceIdentifier(SourceIdentifierT&& value) {
223 m_sourceIdentifierHasBeenSet = true;
224 m_sourceIdentifier = std::forward<SourceIdentifierT>(value);
225 }
226 template <typename SourceIdentifierT = Aws::String>
227 LineageNodeSummary& WithSourceIdentifier(SourceIdentifierT&& value) {
228 SetSourceIdentifier(std::forward<SourceIdentifierT>(value));
229 return *this;
230 }
232
234
237 inline const Aws::Utils::DateTime& GetEventTimestamp() const { return m_eventTimestamp; }
238 inline bool EventTimestampHasBeenSet() const { return m_eventTimestampHasBeenSet; }
239 template <typename EventTimestampT = Aws::Utils::DateTime>
240 void SetEventTimestamp(EventTimestampT&& value) {
241 m_eventTimestampHasBeenSet = true;
242 m_eventTimestamp = std::forward<EventTimestampT>(value);
243 }
244 template <typename EventTimestampT = Aws::Utils::DateTime>
245 LineageNodeSummary& WithEventTimestamp(EventTimestampT&& value) {
246 SetEventTimestamp(std::forward<EventTimestampT>(value));
247 return *this;
248 }
250 private:
251 Aws::String m_domainId;
252
253 Aws::String m_name;
254
255 Aws::String m_description;
256
257 Aws::Utils::DateTime m_createdAt{};
258
259 Aws::String m_createdBy;
260
261 Aws::Utils::DateTime m_updatedAt{};
262
263 Aws::String m_updatedBy;
264
265 Aws::String m_id;
266
267 Aws::String m_typeName;
268
269 Aws::String m_typeRevision;
270
271 Aws::String m_sourceIdentifier;
272
273 Aws::Utils::DateTime m_eventTimestamp{};
274 bool m_domainIdHasBeenSet = false;
275 bool m_nameHasBeenSet = false;
276 bool m_descriptionHasBeenSet = false;
277 bool m_createdAtHasBeenSet = false;
278 bool m_createdByHasBeenSet = false;
279 bool m_updatedAtHasBeenSet = false;
280 bool m_updatedByHasBeenSet = false;
281 bool m_idHasBeenSet = false;
282 bool m_typeNameHasBeenSet = false;
283 bool m_typeRevisionHasBeenSet = false;
284 bool m_sourceIdentifierHasBeenSet = false;
285 bool m_eventTimestampHasBeenSet = false;
286};
287
288} // namespace Model
289} // namespace DataZone
290} // namespace Aws
void SetEventTimestamp(EventTimestampT &&value)
const Aws::String & GetDescription() const
LineageNodeSummary & WithDescription(DescriptionT &&value)
const Aws::String & GetSourceIdentifier() const
LineageNodeSummary & WithEventTimestamp(EventTimestampT &&value)
LineageNodeSummary & WithTypeName(TypeNameT &&value)
LineageNodeSummary & WithSourceIdentifier(SourceIdentifierT &&value)
AWS_DATAZONE_API LineageNodeSummary(Aws::Utils::Json::JsonView jsonValue)
LineageNodeSummary & WithName(NameT &&value)
LineageNodeSummary & WithUpdatedAt(UpdatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
LineageNodeSummary & WithCreatedAt(CreatedAtT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
LineageNodeSummary & WithCreatedBy(CreatedByT &&value)
LineageNodeSummary & WithUpdatedBy(UpdatedByT &&value)
void SetTypeRevision(TypeRevisionT &&value)
AWS_DATAZONE_API LineageNodeSummary()=default
void SetSourceIdentifier(SourceIdentifierT &&value)
const Aws::Utils::DateTime & GetEventTimestamp() const
AWS_DATAZONE_API LineageNodeSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
LineageNodeSummary & WithDomainId(DomainIdT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
LineageNodeSummary & WithTypeRevision(TypeRevisionT &&value)
LineageNodeSummary & WithId(IdT &&value)
const Aws::String & GetTypeRevision() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue