AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
LineageEventSummary.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#include <aws/datazone/model/EventSummary.h>
11#include <aws/datazone/model/LineageEventProcessingStatus.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 LineageEventSummary() = default;
35 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetId() const { return m_id; }
42 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
43 template <typename IdT = Aws::String>
44 void SetId(IdT&& value) {
45 m_idHasBeenSet = true;
46 m_id = std::forward<IdT>(value);
47 }
48 template <typename IdT = Aws::String>
50 SetId(std::forward<IdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetDomainId() const { return m_domainId; }
60 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
61 template <typename DomainIdT = Aws::String>
62 void SetDomainId(DomainIdT&& value) {
63 m_domainIdHasBeenSet = true;
64 m_domainId = std::forward<DomainIdT>(value);
65 }
66 template <typename DomainIdT = Aws::String>
67 LineageEventSummary& WithDomainId(DomainIdT&& value) {
68 SetDomainId(std::forward<DomainIdT>(value));
69 return *this;
70 }
72
74
77 inline LineageEventProcessingStatus GetProcessingStatus() const { return m_processingStatus; }
78 inline bool ProcessingStatusHasBeenSet() const { return m_processingStatusHasBeenSet; }
80 m_processingStatusHasBeenSet = true;
81 m_processingStatus = value;
82 }
85 return *this;
86 }
88
90
93 inline const Aws::Utils::DateTime& GetEventTime() const { return m_eventTime; }
94 inline bool EventTimeHasBeenSet() const { return m_eventTimeHasBeenSet; }
95 template <typename EventTimeT = Aws::Utils::DateTime>
96 void SetEventTime(EventTimeT&& value) {
97 m_eventTimeHasBeenSet = true;
98 m_eventTime = std::forward<EventTimeT>(value);
99 }
100 template <typename EventTimeT = Aws::Utils::DateTime>
101 LineageEventSummary& WithEventTime(EventTimeT&& value) {
102 SetEventTime(std::forward<EventTimeT>(value));
103 return *this;
104 }
106
108
111 inline const EventSummary& GetEventSummary() const { return m_eventSummary; }
112 inline bool EventSummaryHasBeenSet() const { return m_eventSummaryHasBeenSet; }
113 template <typename EventSummaryT = EventSummary>
114 void SetEventSummary(EventSummaryT&& value) {
115 m_eventSummaryHasBeenSet = true;
116 m_eventSummary = std::forward<EventSummaryT>(value);
117 }
118 template <typename EventSummaryT = EventSummary>
119 LineageEventSummary& WithEventSummary(EventSummaryT&& value) {
120 SetEventSummary(std::forward<EventSummaryT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
130 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
131 template <typename CreatedByT = Aws::String>
132 void SetCreatedBy(CreatedByT&& value) {
133 m_createdByHasBeenSet = true;
134 m_createdBy = std::forward<CreatedByT>(value);
135 }
136 template <typename CreatedByT = Aws::String>
137 LineageEventSummary& WithCreatedBy(CreatedByT&& value) {
138 SetCreatedBy(std::forward<CreatedByT>(value));
139 return *this;
140 }
142
144
147 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
148 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
149 template <typename CreatedAtT = Aws::Utils::DateTime>
150 void SetCreatedAt(CreatedAtT&& value) {
151 m_createdAtHasBeenSet = true;
152 m_createdAt = std::forward<CreatedAtT>(value);
153 }
154 template <typename CreatedAtT = Aws::Utils::DateTime>
155 LineageEventSummary& WithCreatedAt(CreatedAtT&& value) {
156 SetCreatedAt(std::forward<CreatedAtT>(value));
157 return *this;
158 }
160 private:
161 Aws::String m_id;
162
163 Aws::String m_domainId;
164
166
167 Aws::Utils::DateTime m_eventTime{};
168
169 EventSummary m_eventSummary;
170
171 Aws::String m_createdBy;
172
173 Aws::Utils::DateTime m_createdAt{};
174 bool m_idHasBeenSet = false;
175 bool m_domainIdHasBeenSet = false;
176 bool m_processingStatusHasBeenSet = false;
177 bool m_eventTimeHasBeenSet = false;
178 bool m_eventSummaryHasBeenSet = false;
179 bool m_createdByHasBeenSet = false;
180 bool m_createdAtHasBeenSet = false;
181};
182
183} // namespace Model
184} // namespace DataZone
185} // namespace Aws
LineageEventSummary & WithEventSummary(EventSummaryT &&value)
const Aws::Utils::DateTime & GetEventTime() const
LineageEventSummary & WithProcessingStatus(LineageEventProcessingStatus value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
LineageEventSummary & WithId(IdT &&value)
LineageEventSummary & WithCreatedBy(CreatedByT &&value)
void SetProcessingStatus(LineageEventProcessingStatus value)
LineageEventProcessingStatus GetProcessingStatus() const
AWS_DATAZONE_API LineageEventSummary()=default
LineageEventSummary & WithCreatedAt(CreatedAtT &&value)
LineageEventSummary & WithEventTime(EventTimeT &&value)
AWS_DATAZONE_API LineageEventSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API LineageEventSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedAt() const
LineageEventSummary & WithDomainId(DomainIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue