AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEventTimestamp(const Aws::Utils::DateTime& value) { m_eventTimestampHasBeenSet = true; m_eventTimestamp = value; }
49 inline void SetEventTimestamp(Aws::Utils::DateTime&& value) { m_eventTimestampHasBeenSet = true; m_eventTimestamp = std::move(value); }
51 inline LineageNodeReference& WithEventTimestamp(Aws::Utils::DateTime&& value) { SetEventTimestamp(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetId() const{ return m_id; }
59 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
60 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
61 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
62 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
63 inline LineageNodeReference& WithId(const Aws::String& value) { SetId(value); return *this;}
64 inline LineageNodeReference& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
65 inline LineageNodeReference& WithId(const char* value) { SetId(value); return *this;}
67 private:
68
69 Aws::Utils::DateTime m_eventTimestamp;
70 bool m_eventTimestampHasBeenSet = false;
71
72 Aws::String m_id;
73 bool m_idHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace DataZone
78} // namespace Aws
AWS_DATAZONE_API LineageNodeReference(Aws::Utils::Json::JsonView jsonValue)
void SetEventTimestamp(Aws::Utils::DateTime &&value)
void SetEventTimestamp(const Aws::Utils::DateTime &value)
LineageNodeReference & WithEventTimestamp(Aws::Utils::DateTime &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
LineageNodeReference & WithId(const Aws::String &value)
LineageNodeReference & WithId(Aws::String &&value)
LineageNodeReference & WithId(const char *value)
const Aws::Utils::DateTime & GetEventTimestamp() const
AWS_DATAZONE_API LineageNodeReference & operator=(Aws::Utils::Json::JsonView jsonValue)
LineageNodeReference & WithEventTimestamp(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue