AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
GetLineageEventResult.h
1
6#pragma once
7#include <aws/core/utils/Array.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/stream/ResponseStream.h>
11#include <aws/datazone/DataZone_EXPORTS.h>
12#include <aws/datazone/model/LineageEventProcessingStatus.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace DataZone {
21namespace Model {
23 public:
24 AWS_DATAZONE_API GetLineageEventResult() = default;
25 AWS_DATAZONE_API GetLineageEventResult(GetLineageEventResult&&) = default;
27 // we delete these because Microsoft doesn't handle move generation correctly
28 // and we therefore don't trust them to get it right here either.
31
34
36
39 inline const Aws::String& GetDomainId() const { return m_domainId; }
40 template <typename DomainIdT = Aws::String>
41 void SetDomainId(DomainIdT&& value) {
42 m_domainIdHasBeenSet = true;
43 m_domainId = std::forward<DomainIdT>(value);
44 }
45 template <typename DomainIdT = Aws::String>
46 GetLineageEventResult& WithDomainId(DomainIdT&& value) {
47 SetDomainId(std::forward<DomainIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetId() const { return m_id; }
57 template <typename IdT = Aws::String>
58 void SetId(IdT&& value) {
59 m_idHasBeenSet = true;
60 m_id = std::forward<IdT>(value);
61 }
62 template <typename IdT = Aws::String>
64 SetId(std::forward<IdT>(value));
65 return *this;
66 }
68
70
73 inline Aws::IOStream& GetEvent() const { return m_event.GetUnderlyingStream(); }
74 inline void ReplaceBody(Aws::IOStream* body) { m_event = Aws::Utils::Stream::ResponseStream(body); }
75
77
79
82 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
83 template <typename CreatedByT = Aws::String>
84 void SetCreatedBy(CreatedByT&& value) {
85 m_createdByHasBeenSet = true;
86 m_createdBy = std::forward<CreatedByT>(value);
87 }
88 template <typename CreatedByT = Aws::String>
89 GetLineageEventResult& WithCreatedBy(CreatedByT&& value) {
90 SetCreatedBy(std::forward<CreatedByT>(value));
91 return *this;
92 }
94
96
99 inline LineageEventProcessingStatus GetProcessingStatus() const { return m_processingStatus; }
101 m_processingStatusHasBeenSet = true;
102 m_processingStatus = value;
103 }
105 SetProcessingStatus(value);
106 return *this;
107 }
109
111
114 inline const Aws::Utils::DateTime& GetEventTime() const { return m_eventTime; }
115 template <typename EventTimeT = Aws::Utils::DateTime>
116 void SetEventTime(EventTimeT&& value) {
117 m_eventTimeHasBeenSet = true;
118 m_eventTime = std::forward<EventTimeT>(value);
119 }
120 template <typename EventTimeT = Aws::Utils::DateTime>
122 SetEventTime(std::forward<EventTimeT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
132 template <typename CreatedAtT = Aws::Utils::DateTime>
133 void SetCreatedAt(CreatedAtT&& value) {
134 m_createdAtHasBeenSet = true;
135 m_createdAt = std::forward<CreatedAtT>(value);
136 }
137 template <typename CreatedAtT = Aws::Utils::DateTime>
139 SetCreatedAt(std::forward<CreatedAtT>(value));
140 return *this;
141 }
143
145
146 inline const Aws::String& GetRequestId() const { return m_requestId; }
147 template <typename RequestIdT = Aws::String>
148 void SetRequestId(RequestIdT&& value) {
149 m_requestIdHasBeenSet = true;
150 m_requestId = std::forward<RequestIdT>(value);
151 }
152 template <typename RequestIdT = Aws::String>
154 SetRequestId(std::forward<RequestIdT>(value));
155 return *this;
156 }
158 private:
159 Aws::String m_domainId;
160
161 Aws::String m_id;
162
164
165 Aws::String m_createdBy;
166
168
169 Aws::Utils::DateTime m_eventTime{};
170
171 Aws::Utils::DateTime m_createdAt{};
172
173 Aws::String m_requestId;
174 bool m_domainIdHasBeenSet = false;
175 bool m_idHasBeenSet = false;
176 bool m_eventHasBeenSet = false;
177 bool m_createdByHasBeenSet = false;
178 bool m_processingStatusHasBeenSet = false;
179 bool m_eventTimeHasBeenSet = false;
180 bool m_createdAtHasBeenSet = false;
181 bool m_requestIdHasBeenSet = false;
182};
183
184} // namespace Model
185} // namespace DataZone
186} // namespace Aws
GetLineageEventResult & WithProcessingStatus(LineageEventProcessingStatus value)
const Aws::Utils::DateTime & GetEventTime() const
AWS_DATAZONE_API GetLineageEventResult()=default
GetLineageEventResult & operator=(const GetLineageEventResult &)=delete
GetLineageEventResult(const GetLineageEventResult &)=delete
GetLineageEventResult & WithId(IdT &&value)
LineageEventProcessingStatus GetProcessingStatus() const
AWS_DATAZONE_API GetLineageEventResult & operator=(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
GetLineageEventResult & WithCreatedAt(CreatedAtT &&value)
GetLineageEventResult & WithCreatedBy(CreatedByT &&value)
AWS_DATAZONE_API GetLineageEventResult(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
AWS_DATAZONE_API GetLineageEventResult(GetLineageEventResult &&)=default
AWS_DATAZONE_API GetLineageEventResult & operator=(GetLineageEventResult &&)=default
void SetProcessingStatus(LineageEventProcessingStatus value)
GetLineageEventResult & WithEventTime(EventTimeT &&value)
GetLineageEventResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetLineageEventResult & WithDomainId(DomainIdT &&value)
Aws::IOStream & GetUnderlyingStream() const
std::basic_iostream< char, std::char_traits< char > > IOStream
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String