AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CrawlerTargets.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/glue/model/S3Target.h>
10#include <aws/glue/model/JdbcTarget.h>
11#include <aws/glue/model/MongoDBTarget.h>
12#include <aws/glue/model/DynamoDBTarget.h>
13#include <aws/glue/model/CatalogTarget.h>
14#include <aws/glue/model/DeltaTarget.h>
15#include <aws/glue/model/IcebergTarget.h>
16#include <aws/glue/model/HudiTarget.h>
17#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26 class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace Glue
30{
31namespace Model
32{
33
40 {
41 public:
42 AWS_GLUE_API CrawlerTargets();
46
47
49
52 inline const Aws::Vector<S3Target>& GetS3Targets() const{ return m_s3Targets; }
53 inline bool S3TargetsHasBeenSet() const { return m_s3TargetsHasBeenSet; }
54 inline void SetS3Targets(const Aws::Vector<S3Target>& value) { m_s3TargetsHasBeenSet = true; m_s3Targets = value; }
55 inline void SetS3Targets(Aws::Vector<S3Target>&& value) { m_s3TargetsHasBeenSet = true; m_s3Targets = std::move(value); }
56 inline CrawlerTargets& WithS3Targets(const Aws::Vector<S3Target>& value) { SetS3Targets(value); return *this;}
57 inline CrawlerTargets& WithS3Targets(Aws::Vector<S3Target>&& value) { SetS3Targets(std::move(value)); return *this;}
58 inline CrawlerTargets& AddS3Targets(const S3Target& value) { m_s3TargetsHasBeenSet = true; m_s3Targets.push_back(value); return *this; }
59 inline CrawlerTargets& AddS3Targets(S3Target&& value) { m_s3TargetsHasBeenSet = true; m_s3Targets.push_back(std::move(value)); return *this; }
61
63
66 inline const Aws::Vector<JdbcTarget>& GetJdbcTargets() const{ return m_jdbcTargets; }
67 inline bool JdbcTargetsHasBeenSet() const { return m_jdbcTargetsHasBeenSet; }
68 inline void SetJdbcTargets(const Aws::Vector<JdbcTarget>& value) { m_jdbcTargetsHasBeenSet = true; m_jdbcTargets = value; }
69 inline void SetJdbcTargets(Aws::Vector<JdbcTarget>&& value) { m_jdbcTargetsHasBeenSet = true; m_jdbcTargets = std::move(value); }
70 inline CrawlerTargets& WithJdbcTargets(const Aws::Vector<JdbcTarget>& value) { SetJdbcTargets(value); return *this;}
71 inline CrawlerTargets& WithJdbcTargets(Aws::Vector<JdbcTarget>&& value) { SetJdbcTargets(std::move(value)); return *this;}
72 inline CrawlerTargets& AddJdbcTargets(const JdbcTarget& value) { m_jdbcTargetsHasBeenSet = true; m_jdbcTargets.push_back(value); return *this; }
73 inline CrawlerTargets& AddJdbcTargets(JdbcTarget&& value) { m_jdbcTargetsHasBeenSet = true; m_jdbcTargets.push_back(std::move(value)); return *this; }
75
77
80 inline const Aws::Vector<MongoDBTarget>& GetMongoDBTargets() const{ return m_mongoDBTargets; }
81 inline bool MongoDBTargetsHasBeenSet() const { return m_mongoDBTargetsHasBeenSet; }
82 inline void SetMongoDBTargets(const Aws::Vector<MongoDBTarget>& value) { m_mongoDBTargetsHasBeenSet = true; m_mongoDBTargets = value; }
83 inline void SetMongoDBTargets(Aws::Vector<MongoDBTarget>&& value) { m_mongoDBTargetsHasBeenSet = true; m_mongoDBTargets = std::move(value); }
85 inline CrawlerTargets& WithMongoDBTargets(Aws::Vector<MongoDBTarget>&& value) { SetMongoDBTargets(std::move(value)); return *this;}
86 inline CrawlerTargets& AddMongoDBTargets(const MongoDBTarget& value) { m_mongoDBTargetsHasBeenSet = true; m_mongoDBTargets.push_back(value); return *this; }
87 inline CrawlerTargets& AddMongoDBTargets(MongoDBTarget&& value) { m_mongoDBTargetsHasBeenSet = true; m_mongoDBTargets.push_back(std::move(value)); return *this; }
89
91
94 inline const Aws::Vector<DynamoDBTarget>& GetDynamoDBTargets() const{ return m_dynamoDBTargets; }
95 inline bool DynamoDBTargetsHasBeenSet() const { return m_dynamoDBTargetsHasBeenSet; }
96 inline void SetDynamoDBTargets(const Aws::Vector<DynamoDBTarget>& value) { m_dynamoDBTargetsHasBeenSet = true; m_dynamoDBTargets = value; }
97 inline void SetDynamoDBTargets(Aws::Vector<DynamoDBTarget>&& value) { m_dynamoDBTargetsHasBeenSet = true; m_dynamoDBTargets = std::move(value); }
99 inline CrawlerTargets& WithDynamoDBTargets(Aws::Vector<DynamoDBTarget>&& value) { SetDynamoDBTargets(std::move(value)); return *this;}
100 inline CrawlerTargets& AddDynamoDBTargets(const DynamoDBTarget& value) { m_dynamoDBTargetsHasBeenSet = true; m_dynamoDBTargets.push_back(value); return *this; }
101 inline CrawlerTargets& AddDynamoDBTargets(DynamoDBTarget&& value) { m_dynamoDBTargetsHasBeenSet = true; m_dynamoDBTargets.push_back(std::move(value)); return *this; }
103
105
108 inline const Aws::Vector<CatalogTarget>& GetCatalogTargets() const{ return m_catalogTargets; }
109 inline bool CatalogTargetsHasBeenSet() const { return m_catalogTargetsHasBeenSet; }
110 inline void SetCatalogTargets(const Aws::Vector<CatalogTarget>& value) { m_catalogTargetsHasBeenSet = true; m_catalogTargets = value; }
111 inline void SetCatalogTargets(Aws::Vector<CatalogTarget>&& value) { m_catalogTargetsHasBeenSet = true; m_catalogTargets = std::move(value); }
113 inline CrawlerTargets& WithCatalogTargets(Aws::Vector<CatalogTarget>&& value) { SetCatalogTargets(std::move(value)); return *this;}
114 inline CrawlerTargets& AddCatalogTargets(const CatalogTarget& value) { m_catalogTargetsHasBeenSet = true; m_catalogTargets.push_back(value); return *this; }
115 inline CrawlerTargets& AddCatalogTargets(CatalogTarget&& value) { m_catalogTargetsHasBeenSet = true; m_catalogTargets.push_back(std::move(value)); return *this; }
117
119
122 inline const Aws::Vector<DeltaTarget>& GetDeltaTargets() const{ return m_deltaTargets; }
123 inline bool DeltaTargetsHasBeenSet() const { return m_deltaTargetsHasBeenSet; }
124 inline void SetDeltaTargets(const Aws::Vector<DeltaTarget>& value) { m_deltaTargetsHasBeenSet = true; m_deltaTargets = value; }
125 inline void SetDeltaTargets(Aws::Vector<DeltaTarget>&& value) { m_deltaTargetsHasBeenSet = true; m_deltaTargets = std::move(value); }
126 inline CrawlerTargets& WithDeltaTargets(const Aws::Vector<DeltaTarget>& value) { SetDeltaTargets(value); return *this;}
127 inline CrawlerTargets& WithDeltaTargets(Aws::Vector<DeltaTarget>&& value) { SetDeltaTargets(std::move(value)); return *this;}
128 inline CrawlerTargets& AddDeltaTargets(const DeltaTarget& value) { m_deltaTargetsHasBeenSet = true; m_deltaTargets.push_back(value); return *this; }
129 inline CrawlerTargets& AddDeltaTargets(DeltaTarget&& value) { m_deltaTargetsHasBeenSet = true; m_deltaTargets.push_back(std::move(value)); return *this; }
131
133
136 inline const Aws::Vector<IcebergTarget>& GetIcebergTargets() const{ return m_icebergTargets; }
137 inline bool IcebergTargetsHasBeenSet() const { return m_icebergTargetsHasBeenSet; }
138 inline void SetIcebergTargets(const Aws::Vector<IcebergTarget>& value) { m_icebergTargetsHasBeenSet = true; m_icebergTargets = value; }
139 inline void SetIcebergTargets(Aws::Vector<IcebergTarget>&& value) { m_icebergTargetsHasBeenSet = true; m_icebergTargets = std::move(value); }
141 inline CrawlerTargets& WithIcebergTargets(Aws::Vector<IcebergTarget>&& value) { SetIcebergTargets(std::move(value)); return *this;}
142 inline CrawlerTargets& AddIcebergTargets(const IcebergTarget& value) { m_icebergTargetsHasBeenSet = true; m_icebergTargets.push_back(value); return *this; }
143 inline CrawlerTargets& AddIcebergTargets(IcebergTarget&& value) { m_icebergTargetsHasBeenSet = true; m_icebergTargets.push_back(std::move(value)); return *this; }
145
147
150 inline const Aws::Vector<HudiTarget>& GetHudiTargets() const{ return m_hudiTargets; }
151 inline bool HudiTargetsHasBeenSet() const { return m_hudiTargetsHasBeenSet; }
152 inline void SetHudiTargets(const Aws::Vector<HudiTarget>& value) { m_hudiTargetsHasBeenSet = true; m_hudiTargets = value; }
153 inline void SetHudiTargets(Aws::Vector<HudiTarget>&& value) { m_hudiTargetsHasBeenSet = true; m_hudiTargets = std::move(value); }
154 inline CrawlerTargets& WithHudiTargets(const Aws::Vector<HudiTarget>& value) { SetHudiTargets(value); return *this;}
155 inline CrawlerTargets& WithHudiTargets(Aws::Vector<HudiTarget>&& value) { SetHudiTargets(std::move(value)); return *this;}
156 inline CrawlerTargets& AddHudiTargets(const HudiTarget& value) { m_hudiTargetsHasBeenSet = true; m_hudiTargets.push_back(value); return *this; }
157 inline CrawlerTargets& AddHudiTargets(HudiTarget&& value) { m_hudiTargetsHasBeenSet = true; m_hudiTargets.push_back(std::move(value)); return *this; }
159 private:
160
161 Aws::Vector<S3Target> m_s3Targets;
162 bool m_s3TargetsHasBeenSet = false;
163
164 Aws::Vector<JdbcTarget> m_jdbcTargets;
165 bool m_jdbcTargetsHasBeenSet = false;
166
167 Aws::Vector<MongoDBTarget> m_mongoDBTargets;
168 bool m_mongoDBTargetsHasBeenSet = false;
169
170 Aws::Vector<DynamoDBTarget> m_dynamoDBTargets;
171 bool m_dynamoDBTargetsHasBeenSet = false;
172
173 Aws::Vector<CatalogTarget> m_catalogTargets;
174 bool m_catalogTargetsHasBeenSet = false;
175
176 Aws::Vector<DeltaTarget> m_deltaTargets;
177 bool m_deltaTargetsHasBeenSet = false;
178
179 Aws::Vector<IcebergTarget> m_icebergTargets;
180 bool m_icebergTargetsHasBeenSet = false;
181
182 Aws::Vector<HudiTarget> m_hudiTargets;
183 bool m_hudiTargetsHasBeenSet = false;
184 };
185
186} // namespace Model
187} // namespace Glue
188} // namespace Aws
const Aws::Vector< MongoDBTarget > & GetMongoDBTargets() const
CrawlerTargets & AddIcebergTargets(IcebergTarget &&value)
const Aws::Vector< S3Target > & GetS3Targets() const
const Aws::Vector< HudiTarget > & GetHudiTargets() const
void SetDynamoDBTargets(const Aws::Vector< DynamoDBTarget > &value)
CrawlerTargets & AddS3Targets(const S3Target &value)
CrawlerTargets & WithMongoDBTargets(const Aws::Vector< MongoDBTarget > &value)
CrawlerTargets & WithMongoDBTargets(Aws::Vector< MongoDBTarget > &&value)
void SetCatalogTargets(Aws::Vector< CatalogTarget > &&value)
CrawlerTargets & AddHudiTargets(const HudiTarget &value)
CrawlerTargets & WithJdbcTargets(const Aws::Vector< JdbcTarget > &value)
void SetDynamoDBTargets(Aws::Vector< DynamoDBTarget > &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
CrawlerTargets & WithS3Targets(const Aws::Vector< S3Target > &value)
CrawlerTargets & WithIcebergTargets(const Aws::Vector< IcebergTarget > &value)
CrawlerTargets & WithS3Targets(Aws::Vector< S3Target > &&value)
void SetDeltaTargets(const Aws::Vector< DeltaTarget > &value)
void SetJdbcTargets(const Aws::Vector< JdbcTarget > &value)
void SetMongoDBTargets(const Aws::Vector< MongoDBTarget > &value)
CrawlerTargets & AddDynamoDBTargets(DynamoDBTarget &&value)
CrawlerTargets & AddDynamoDBTargets(const DynamoDBTarget &value)
const Aws::Vector< DeltaTarget > & GetDeltaTargets() const
void SetS3Targets(const Aws::Vector< S3Target > &value)
void SetS3Targets(Aws::Vector< S3Target > &&value)
void SetIcebergTargets(const Aws::Vector< IcebergTarget > &value)
CrawlerTargets & WithCatalogTargets(const Aws::Vector< CatalogTarget > &value)
void SetIcebergTargets(Aws::Vector< IcebergTarget > &&value)
void SetHudiTargets(Aws::Vector< HudiTarget > &&value)
CrawlerTargets & AddHudiTargets(HudiTarget &&value)
CrawlerTargets & WithCatalogTargets(Aws::Vector< CatalogTarget > &&value)
CrawlerTargets & AddDeltaTargets(const DeltaTarget &value)
const Aws::Vector< JdbcTarget > & GetJdbcTargets() const
CrawlerTargets & WithHudiTargets(const Aws::Vector< HudiTarget > &value)
void SetHudiTargets(const Aws::Vector< HudiTarget > &value)
void SetJdbcTargets(Aws::Vector< JdbcTarget > &&value)
const Aws::Vector< CatalogTarget > & GetCatalogTargets() const
CrawlerTargets & WithIcebergTargets(Aws::Vector< IcebergTarget > &&value)
CrawlerTargets & AddCatalogTargets(CatalogTarget &&value)
CrawlerTargets & AddCatalogTargets(const CatalogTarget &value)
CrawlerTargets & AddDeltaTargets(DeltaTarget &&value)
CrawlerTargets & WithDynamoDBTargets(Aws::Vector< DynamoDBTarget > &&value)
CrawlerTargets & WithJdbcTargets(Aws::Vector< JdbcTarget > &&value)
CrawlerTargets & WithDeltaTargets(const Aws::Vector< DeltaTarget > &value)
AWS_GLUE_API CrawlerTargets(Aws::Utils::Json::JsonView jsonValue)
CrawlerTargets & AddJdbcTargets(const JdbcTarget &value)
void SetCatalogTargets(const Aws::Vector< CatalogTarget > &value)
void SetMongoDBTargets(Aws::Vector< MongoDBTarget > &&value)
void SetDeltaTargets(Aws::Vector< DeltaTarget > &&value)
const Aws::Vector< DynamoDBTarget > & GetDynamoDBTargets() const
CrawlerTargets & WithHudiTargets(Aws::Vector< HudiTarget > &&value)
CrawlerTargets & AddMongoDBTargets(MongoDBTarget &&value)
CrawlerTargets & AddS3Targets(S3Target &&value)
AWS_GLUE_API CrawlerTargets & operator=(Aws::Utils::Json::JsonView jsonValue)
CrawlerTargets & AddMongoDBTargets(const MongoDBTarget &value)
CrawlerTargets & AddIcebergTargets(const IcebergTarget &value)
const Aws::Vector< IcebergTarget > & GetIcebergTargets() const
CrawlerTargets & AddJdbcTargets(JdbcTarget &&value)
CrawlerTargets & WithDynamoDBTargets(const Aws::Vector< DynamoDBTarget > &value)
CrawlerTargets & WithDeltaTargets(Aws::Vector< DeltaTarget > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue