AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
LineageNodeReference.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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DataZone {
21namespace Model {
22
30 public:
31 AWS_DATAZONE_API LineageNodeReference() = default;
34 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetId() const { return m_id; }
41 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
42 template <typename IdT = Aws::String>
43 void SetId(IdT&& value) {
44 m_idHasBeenSet = true;
45 m_id = std::forward<IdT>(value);
46 }
47 template <typename IdT = Aws::String>
49 SetId(std::forward<IdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Utils::DateTime& GetEventTimestamp() const { return m_eventTimestamp; }
59 inline bool EventTimestampHasBeenSet() const { return m_eventTimestampHasBeenSet; }
60 template <typename EventTimestampT = Aws::Utils::DateTime>
61 void SetEventTimestamp(EventTimestampT&& value) {
62 m_eventTimestampHasBeenSet = true;
63 m_eventTimestamp = std::forward<EventTimestampT>(value);
64 }
65 template <typename EventTimestampT = Aws::Utils::DateTime>
66 LineageNodeReference& WithEventTimestamp(EventTimestampT&& value) {
67 SetEventTimestamp(std::forward<EventTimestampT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_id;
73
74 Aws::Utils::DateTime m_eventTimestamp{};
75 bool m_idHasBeenSet = false;
76 bool m_eventTimestampHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace DataZone
81} // 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