AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Node.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/NodeType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/glue/model/TriggerNodeDetails.h>
11#include <aws/glue/model/JobNodeDetails.h>
12#include <aws/glue/model/CrawlerNodeDetails.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Glue
26{
27namespace Model
28{
29
36 class Node
37 {
38 public:
39 AWS_GLUE_API Node();
40 AWS_GLUE_API Node(Aws::Utils::Json::JsonView jsonValue);
41 AWS_GLUE_API Node& operator=(Aws::Utils::Json::JsonView jsonValue);
43
44
46
49 inline const NodeType& GetType() const{ return m_type; }
50 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
51 inline void SetType(const NodeType& value) { m_typeHasBeenSet = true; m_type = value; }
52 inline void SetType(NodeType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
53 inline Node& WithType(const NodeType& value) { SetType(value); return *this;}
54 inline Node& WithType(NodeType&& value) { SetType(std::move(value)); return *this;}
56
58
61 inline const Aws::String& GetName() const{ return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
64 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
65 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 inline Node& WithName(const Aws::String& value) { SetName(value); return *this;}
67 inline Node& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
68 inline Node& WithName(const char* value) { SetName(value); return *this;}
70
72
75 inline const Aws::String& GetUniqueId() const{ return m_uniqueId; }
76 inline bool UniqueIdHasBeenSet() const { return m_uniqueIdHasBeenSet; }
77 inline void SetUniqueId(const Aws::String& value) { m_uniqueIdHasBeenSet = true; m_uniqueId = value; }
78 inline void SetUniqueId(Aws::String&& value) { m_uniqueIdHasBeenSet = true; m_uniqueId = std::move(value); }
79 inline void SetUniqueId(const char* value) { m_uniqueIdHasBeenSet = true; m_uniqueId.assign(value); }
80 inline Node& WithUniqueId(const Aws::String& value) { SetUniqueId(value); return *this;}
81 inline Node& WithUniqueId(Aws::String&& value) { SetUniqueId(std::move(value)); return *this;}
82 inline Node& WithUniqueId(const char* value) { SetUniqueId(value); return *this;}
84
86
89 inline const TriggerNodeDetails& GetTriggerDetails() const{ return m_triggerDetails; }
90 inline bool TriggerDetailsHasBeenSet() const { return m_triggerDetailsHasBeenSet; }
91 inline void SetTriggerDetails(const TriggerNodeDetails& value) { m_triggerDetailsHasBeenSet = true; m_triggerDetails = value; }
92 inline void SetTriggerDetails(TriggerNodeDetails&& value) { m_triggerDetailsHasBeenSet = true; m_triggerDetails = std::move(value); }
93 inline Node& WithTriggerDetails(const TriggerNodeDetails& value) { SetTriggerDetails(value); return *this;}
94 inline Node& WithTriggerDetails(TriggerNodeDetails&& value) { SetTriggerDetails(std::move(value)); return *this;}
96
98
101 inline const JobNodeDetails& GetJobDetails() const{ return m_jobDetails; }
102 inline bool JobDetailsHasBeenSet() const { return m_jobDetailsHasBeenSet; }
103 inline void SetJobDetails(const JobNodeDetails& value) { m_jobDetailsHasBeenSet = true; m_jobDetails = value; }
104 inline void SetJobDetails(JobNodeDetails&& value) { m_jobDetailsHasBeenSet = true; m_jobDetails = std::move(value); }
105 inline Node& WithJobDetails(const JobNodeDetails& value) { SetJobDetails(value); return *this;}
106 inline Node& WithJobDetails(JobNodeDetails&& value) { SetJobDetails(std::move(value)); return *this;}
108
110
113 inline const CrawlerNodeDetails& GetCrawlerDetails() const{ return m_crawlerDetails; }
114 inline bool CrawlerDetailsHasBeenSet() const { return m_crawlerDetailsHasBeenSet; }
115 inline void SetCrawlerDetails(const CrawlerNodeDetails& value) { m_crawlerDetailsHasBeenSet = true; m_crawlerDetails = value; }
116 inline void SetCrawlerDetails(CrawlerNodeDetails&& value) { m_crawlerDetailsHasBeenSet = true; m_crawlerDetails = std::move(value); }
117 inline Node& WithCrawlerDetails(const CrawlerNodeDetails& value) { SetCrawlerDetails(value); return *this;}
118 inline Node& WithCrawlerDetails(CrawlerNodeDetails&& value) { SetCrawlerDetails(std::move(value)); return *this;}
120 private:
121
122 NodeType m_type;
123 bool m_typeHasBeenSet = false;
124
125 Aws::String m_name;
126 bool m_nameHasBeenSet = false;
127
128 Aws::String m_uniqueId;
129 bool m_uniqueIdHasBeenSet = false;
130
131 TriggerNodeDetails m_triggerDetails;
132 bool m_triggerDetailsHasBeenSet = false;
133
134 JobNodeDetails m_jobDetails;
135 bool m_jobDetailsHasBeenSet = false;
136
137 CrawlerNodeDetails m_crawlerDetails;
138 bool m_crawlerDetailsHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace Glue
143} // namespace Aws
bool JobDetailsHasBeenSet() const
Definition Node.h:102
bool NameHasBeenSet() const
Definition Node.h:62
bool TriggerDetailsHasBeenSet() const
Definition Node.h:90
const TriggerNodeDetails & GetTriggerDetails() const
Definition Node.h:89
void SetJobDetails(JobNodeDetails &&value)
Definition Node.h:104
void SetJobDetails(const JobNodeDetails &value)
Definition Node.h:103
void SetName(Aws::String &&value)
Definition Node.h:64
void SetType(const NodeType &value)
Definition Node.h:51
Node & WithUniqueId(Aws::String &&value)
Definition Node.h:81
AWS_GLUE_API Node & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
Definition Node.h:61
const CrawlerNodeDetails & GetCrawlerDetails() const
Definition Node.h:113
Node & WithCrawlerDetails(const CrawlerNodeDetails &value)
Definition Node.h:117
AWS_GLUE_API Node(Aws::Utils::Json::JsonView jsonValue)
Node & WithName(const char *value)
Definition Node.h:68
void SetUniqueId(Aws::String &&value)
Definition Node.h:78
void SetUniqueId(const Aws::String &value)
Definition Node.h:77
void SetCrawlerDetails(CrawlerNodeDetails &&value)
Definition Node.h:116
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API Node()
Node & WithJobDetails(JobNodeDetails &&value)
Definition Node.h:106
bool UniqueIdHasBeenSet() const
Definition Node.h:76
void SetCrawlerDetails(const CrawlerNodeDetails &value)
Definition Node.h:115
Node & WithType(NodeType &&value)
Definition Node.h:54
Node & WithType(const NodeType &value)
Definition Node.h:53
Node & WithName(const Aws::String &value)
Definition Node.h:66
bool TypeHasBeenSet() const
Definition Node.h:50
void SetName(const Aws::String &value)
Definition Node.h:63
const JobNodeDetails & GetJobDetails() const
Definition Node.h:101
void SetName(const char *value)
Definition Node.h:65
Node & WithTriggerDetails(TriggerNodeDetails &&value)
Definition Node.h:94
Node & WithTriggerDetails(const TriggerNodeDetails &value)
Definition Node.h:93
Node & WithUniqueId(const char *value)
Definition Node.h:82
Node & WithUniqueId(const Aws::String &value)
Definition Node.h:80
Node & WithName(Aws::String &&value)
Definition Node.h:67
void SetTriggerDetails(TriggerNodeDetails &&value)
Definition Node.h:92
void SetTriggerDetails(const TriggerNodeDetails &value)
Definition Node.h:91
const NodeType & GetType() const
Definition Node.h:49
Node & WithCrawlerDetails(CrawlerNodeDetails &&value)
Definition Node.h:118
bool CrawlerDetailsHasBeenSet() const
Definition Node.h:114
void SetType(NodeType &&value)
Definition Node.h:52
void SetUniqueId(const char *value)
Definition Node.h:79
Node & WithJobDetails(const JobNodeDetails &value)
Definition Node.h:105
const Aws::String & GetUniqueId() const
Definition Node.h:75
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue