AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
LineageNodeReference.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.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
34 {
35 public:
36 AWS_DATAZONE_API LineageNodeReference() = default;
39 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Utils::DateTime& GetEventTimestamp() const { return m_eventTimestamp; }
47 inline bool EventTimestampHasBeenSet() const { return m_eventTimestampHasBeenSet; }
48 template<typename EventTimestampT = Aws::Utils::DateTime>
49 void SetEventTimestamp(EventTimestampT&& value) { m_eventTimestampHasBeenSet = true; m_eventTimestamp = std::forward<EventTimestampT>(value); }
50 template<typename EventTimestampT = Aws::Utils::DateTime>
51 LineageNodeReference& WithEventTimestamp(EventTimestampT&& value) { SetEventTimestamp(std::forward<EventTimestampT>(value)); return *this;}
53
55
58 inline const Aws::String& GetId() const { return m_id; }
59 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
60 template<typename IdT = Aws::String>
61 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
62 template<typename IdT = Aws::String>
63 LineageNodeReference& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
65 private:
66
67 Aws::Utils::DateTime m_eventTimestamp{};
68 bool m_eventTimestampHasBeenSet = false;
69
70 Aws::String m_id;
71 bool m_idHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace DataZone
76} // namespace Aws
LineageNodeReference & WithId(IdT &&value)
AWS_DATAZONE_API LineageNodeReference(Aws::Utils::Json::JsonView jsonValue)
LineageNodeReference & WithEventTimestamp(EventTimestampT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATAZONE_API LineageNodeReference()=default
const Aws::Utils::DateTime & GetEventTimestamp() const
void SetEventTimestamp(EventTimestampT &&value)
AWS_DATAZONE_API LineageNodeReference & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue