AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
LineageInfo.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/model/LineageEventProcessingStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DataZone
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_DATAZONE_API LineageInfo() = default;
36 AWS_DATAZONE_API LineageInfo(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DATAZONE_API LineageInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
46 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
47 template<typename ErrorMessageT = Aws::String>
48 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::forward<ErrorMessageT>(value); }
49 template<typename ErrorMessageT = Aws::String>
50 LineageInfo& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
52
54
57 inline const Aws::String& GetEventId() const { return m_eventId; }
58 inline bool EventIdHasBeenSet() const { return m_eventIdHasBeenSet; }
59 template<typename EventIdT = Aws::String>
60 void SetEventId(EventIdT&& value) { m_eventIdHasBeenSet = true; m_eventId = std::forward<EventIdT>(value); }
61 template<typename EventIdT = Aws::String>
62 LineageInfo& WithEventId(EventIdT&& value) { SetEventId(std::forward<EventIdT>(value)); return *this;}
64
66
69 inline LineageEventProcessingStatus GetEventStatus() const { return m_eventStatus; }
70 inline bool EventStatusHasBeenSet() const { return m_eventStatusHasBeenSet; }
71 inline void SetEventStatus(LineageEventProcessingStatus value) { m_eventStatusHasBeenSet = true; m_eventStatus = value; }
74 private:
75
76 Aws::String m_errorMessage;
77 bool m_errorMessageHasBeenSet = false;
78
79 Aws::String m_eventId;
80 bool m_eventIdHasBeenSet = false;
81
83 bool m_eventStatusHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace DataZone
88} // namespace Aws
LineageEventProcessingStatus GetEventStatus() const
Definition LineageInfo.h:69
AWS_DATAZONE_API LineageInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
LineageInfo & WithEventId(EventIdT &&value)
Definition LineageInfo.h:62
LineageInfo & WithEventStatus(LineageEventProcessingStatus value)
Definition LineageInfo.h:72
LineageInfo & WithErrorMessage(ErrorMessageT &&value)
Definition LineageInfo.h:50
void SetEventId(EventIdT &&value)
Definition LineageInfo.h:60
const Aws::String & GetEventId() const
Definition LineageInfo.h:57
AWS_DATAZONE_API LineageInfo()=default
void SetErrorMessage(ErrorMessageT &&value)
Definition LineageInfo.h:48
AWS_DATAZONE_API LineageInfo(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetErrorMessage() const
Definition LineageInfo.h:45
void SetEventStatus(LineageEventProcessingStatus value)
Definition LineageInfo.h:71
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue