AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetLineageEventResult.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/stream/ResponseStream.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/Array.h>
12#include <aws/datazone/model/LineageEventProcessingStatus.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace DataZone
21{
22namespace Model
23{
25 {
26 public:
27 AWS_DATAZONE_API GetLineageEventResult() = default;
28 AWS_DATAZONE_API GetLineageEventResult(GetLineageEventResult&&) = default;
30 //we delete these because Microsoft doesn't handle move generation correctly
31 //and we therefore don't trust them to get it right here either.
34
35
38
39
40
42
45 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
46 template<typename CreatedAtT = Aws::Utils::DateTime>
47 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
48 template<typename CreatedAtT = Aws::Utils::DateTime>
49 GetLineageEventResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
51
53
56 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
57 template<typename CreatedByT = Aws::String>
58 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
59 template<typename CreatedByT = Aws::String>
60 GetLineageEventResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
62
64
67 inline const Aws::String& GetDomainId() const { return m_domainId; }
68 template<typename DomainIdT = Aws::String>
69 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
70 template<typename DomainIdT = Aws::String>
71 GetLineageEventResult& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
73
75
78 inline Aws::IOStream& GetEvent() const { return m_event.GetUnderlyingStream(); }
79 inline void ReplaceBody(Aws::IOStream* body) { m_event = Aws::Utils::Stream::ResponseStream(body); }
80
82
84
87 inline const Aws::Utils::DateTime& GetEventTime() const { return m_eventTime; }
88 template<typename EventTimeT = Aws::Utils::DateTime>
89 void SetEventTime(EventTimeT&& value) { m_eventTimeHasBeenSet = true; m_eventTime = std::forward<EventTimeT>(value); }
90 template<typename EventTimeT = Aws::Utils::DateTime>
91 GetLineageEventResult& WithEventTime(EventTimeT&& value) { SetEventTime(std::forward<EventTimeT>(value)); return *this;}
93
95
98 inline const Aws::String& GetId() const { return m_id; }
99 template<typename IdT = Aws::String>
100 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
101 template<typename IdT = Aws::String>
102 GetLineageEventResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
104
106
109 inline LineageEventProcessingStatus GetProcessingStatus() const { return m_processingStatus; }
110 inline void SetProcessingStatus(LineageEventProcessingStatus value) { m_processingStatusHasBeenSet = true; m_processingStatus = value; }
113
115
116 inline const Aws::String& GetRequestId() const { return m_requestId; }
117 template<typename RequestIdT = Aws::String>
118 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
119 template<typename RequestIdT = Aws::String>
120 GetLineageEventResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
122 private:
123
124 Aws::Utils::DateTime m_createdAt{};
125 bool m_createdAtHasBeenSet = false;
126
127 Aws::String m_createdBy;
128 bool m_createdByHasBeenSet = false;
129
130 Aws::String m_domainId;
131 bool m_domainIdHasBeenSet = false;
132
134 bool m_eventHasBeenSet = false;
135
136 Aws::Utils::DateTime m_eventTime{};
137 bool m_eventTimeHasBeenSet = false;
138
139 Aws::String m_id;
140 bool m_idHasBeenSet = false;
141
143 bool m_processingStatusHasBeenSet = false;
144
145 Aws::String m_requestId;
146 bool m_requestIdHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace DataZone
151} // 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