AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateCrawlerRequest.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/glue/model/CrawlerTargets.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/glue/model/SchemaChangePolicy.h>
13#include <aws/glue/model/RecrawlPolicy.h>
14#include <aws/glue/model/LineageConfiguration.h>
15#include <aws/glue/model/LakeFormationConfiguration.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Glue
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_GLUE_API UpdateCrawlerRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "UpdateCrawler"; }
37
38 AWS_GLUE_API Aws::String SerializePayload() const override;
39
41
42
44
47 inline const Aws::String& GetName() const{ return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
52 inline UpdateCrawlerRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline UpdateCrawlerRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline UpdateCrawlerRequest& WithName(const char* value) { SetName(value); return *this;}
56
58
62 inline const Aws::String& GetRole() const{ return m_role; }
63 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
64 inline void SetRole(const Aws::String& value) { m_roleHasBeenSet = true; m_role = value; }
65 inline void SetRole(Aws::String&& value) { m_roleHasBeenSet = true; m_role = std::move(value); }
66 inline void SetRole(const char* value) { m_roleHasBeenSet = true; m_role.assign(value); }
67 inline UpdateCrawlerRequest& WithRole(const Aws::String& value) { SetRole(value); return *this;}
68 inline UpdateCrawlerRequest& WithRole(Aws::String&& value) { SetRole(std::move(value)); return *this;}
69 inline UpdateCrawlerRequest& WithRole(const char* value) { SetRole(value); return *this;}
71
73
77 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
78 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
79 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
80 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
81 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
82 inline UpdateCrawlerRequest& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
83 inline UpdateCrawlerRequest& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
84 inline UpdateCrawlerRequest& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
86
88
91 inline const Aws::String& GetDescription() const{ return m_description; }
92 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
93 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
94 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
95 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
96 inline UpdateCrawlerRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
97 inline UpdateCrawlerRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
98 inline UpdateCrawlerRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
100
102
105 inline const CrawlerTargets& GetTargets() const{ return m_targets; }
106 inline bool TargetsHasBeenSet() const { return m_targetsHasBeenSet; }
107 inline void SetTargets(const CrawlerTargets& value) { m_targetsHasBeenSet = true; m_targets = value; }
108 inline void SetTargets(CrawlerTargets&& value) { m_targetsHasBeenSet = true; m_targets = std::move(value); }
109 inline UpdateCrawlerRequest& WithTargets(const CrawlerTargets& value) { SetTargets(value); return *this;}
110 inline UpdateCrawlerRequest& WithTargets(CrawlerTargets&& value) { SetTargets(std::move(value)); return *this;}
112
114
120 inline const Aws::String& GetSchedule() const{ return m_schedule; }
121 inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; }
122 inline void SetSchedule(const Aws::String& value) { m_scheduleHasBeenSet = true; m_schedule = value; }
123 inline void SetSchedule(Aws::String&& value) { m_scheduleHasBeenSet = true; m_schedule = std::move(value); }
124 inline void SetSchedule(const char* value) { m_scheduleHasBeenSet = true; m_schedule.assign(value); }
125 inline UpdateCrawlerRequest& WithSchedule(const Aws::String& value) { SetSchedule(value); return *this;}
126 inline UpdateCrawlerRequest& WithSchedule(Aws::String&& value) { SetSchedule(std::move(value)); return *this;}
127 inline UpdateCrawlerRequest& WithSchedule(const char* value) { SetSchedule(value); return *this;}
129
131
136 inline const Aws::Vector<Aws::String>& GetClassifiers() const{ return m_classifiers; }
137 inline bool ClassifiersHasBeenSet() const { return m_classifiersHasBeenSet; }
138 inline void SetClassifiers(const Aws::Vector<Aws::String>& value) { m_classifiersHasBeenSet = true; m_classifiers = value; }
139 inline void SetClassifiers(Aws::Vector<Aws::String>&& value) { m_classifiersHasBeenSet = true; m_classifiers = std::move(value); }
141 inline UpdateCrawlerRequest& WithClassifiers(Aws::Vector<Aws::String>&& value) { SetClassifiers(std::move(value)); return *this;}
142 inline UpdateCrawlerRequest& AddClassifiers(const Aws::String& value) { m_classifiersHasBeenSet = true; m_classifiers.push_back(value); return *this; }
143 inline UpdateCrawlerRequest& AddClassifiers(Aws::String&& value) { m_classifiersHasBeenSet = true; m_classifiers.push_back(std::move(value)); return *this; }
144 inline UpdateCrawlerRequest& AddClassifiers(const char* value) { m_classifiersHasBeenSet = true; m_classifiers.push_back(value); return *this; }
146
148
151 inline const Aws::String& GetTablePrefix() const{ return m_tablePrefix; }
152 inline bool TablePrefixHasBeenSet() const { return m_tablePrefixHasBeenSet; }
153 inline void SetTablePrefix(const Aws::String& value) { m_tablePrefixHasBeenSet = true; m_tablePrefix = value; }
154 inline void SetTablePrefix(Aws::String&& value) { m_tablePrefixHasBeenSet = true; m_tablePrefix = std::move(value); }
155 inline void SetTablePrefix(const char* value) { m_tablePrefixHasBeenSet = true; m_tablePrefix.assign(value); }
156 inline UpdateCrawlerRequest& WithTablePrefix(const Aws::String& value) { SetTablePrefix(value); return *this;}
157 inline UpdateCrawlerRequest& WithTablePrefix(Aws::String&& value) { SetTablePrefix(std::move(value)); return *this;}
158 inline UpdateCrawlerRequest& WithTablePrefix(const char* value) { SetTablePrefix(value); return *this;}
160
162
165 inline const SchemaChangePolicy& GetSchemaChangePolicy() const{ return m_schemaChangePolicy; }
166 inline bool SchemaChangePolicyHasBeenSet() const { return m_schemaChangePolicyHasBeenSet; }
167 inline void SetSchemaChangePolicy(const SchemaChangePolicy& value) { m_schemaChangePolicyHasBeenSet = true; m_schemaChangePolicy = value; }
168 inline void SetSchemaChangePolicy(SchemaChangePolicy&& value) { m_schemaChangePolicyHasBeenSet = true; m_schemaChangePolicy = std::move(value); }
170 inline UpdateCrawlerRequest& WithSchemaChangePolicy(SchemaChangePolicy&& value) { SetSchemaChangePolicy(std::move(value)); return *this;}
172
174
178 inline const RecrawlPolicy& GetRecrawlPolicy() const{ return m_recrawlPolicy; }
179 inline bool RecrawlPolicyHasBeenSet() const { return m_recrawlPolicyHasBeenSet; }
180 inline void SetRecrawlPolicy(const RecrawlPolicy& value) { m_recrawlPolicyHasBeenSet = true; m_recrawlPolicy = value; }
181 inline void SetRecrawlPolicy(RecrawlPolicy&& value) { m_recrawlPolicyHasBeenSet = true; m_recrawlPolicy = std::move(value); }
182 inline UpdateCrawlerRequest& WithRecrawlPolicy(const RecrawlPolicy& value) { SetRecrawlPolicy(value); return *this;}
183 inline UpdateCrawlerRequest& WithRecrawlPolicy(RecrawlPolicy&& value) { SetRecrawlPolicy(std::move(value)); return *this;}
185
187
190 inline const LineageConfiguration& GetLineageConfiguration() const{ return m_lineageConfiguration; }
191 inline bool LineageConfigurationHasBeenSet() const { return m_lineageConfigurationHasBeenSet; }
192 inline void SetLineageConfiguration(const LineageConfiguration& value) { m_lineageConfigurationHasBeenSet = true; m_lineageConfiguration = value; }
193 inline void SetLineageConfiguration(LineageConfiguration&& value) { m_lineageConfigurationHasBeenSet = true; m_lineageConfiguration = std::move(value); }
197
199
202 inline const LakeFormationConfiguration& GetLakeFormationConfiguration() const{ return m_lakeFormationConfiguration; }
203 inline bool LakeFormationConfigurationHasBeenSet() const { return m_lakeFormationConfigurationHasBeenSet; }
204 inline void SetLakeFormationConfiguration(const LakeFormationConfiguration& value) { m_lakeFormationConfigurationHasBeenSet = true; m_lakeFormationConfiguration = value; }
205 inline void SetLakeFormationConfiguration(LakeFormationConfiguration&& value) { m_lakeFormationConfigurationHasBeenSet = true; m_lakeFormationConfiguration = std::move(value); }
209
211
217 inline const Aws::String& GetConfiguration() const{ return m_configuration; }
218 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
219 inline void SetConfiguration(const Aws::String& value) { m_configurationHasBeenSet = true; m_configuration = value; }
220 inline void SetConfiguration(Aws::String&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
221 inline void SetConfiguration(const char* value) { m_configurationHasBeenSet = true; m_configuration.assign(value); }
222 inline UpdateCrawlerRequest& WithConfiguration(const Aws::String& value) { SetConfiguration(value); return *this;}
223 inline UpdateCrawlerRequest& WithConfiguration(Aws::String&& value) { SetConfiguration(std::move(value)); return *this;}
224 inline UpdateCrawlerRequest& WithConfiguration(const char* value) { SetConfiguration(value); return *this;}
226
228
232 inline const Aws::String& GetCrawlerSecurityConfiguration() const{ return m_crawlerSecurityConfiguration; }
233 inline bool CrawlerSecurityConfigurationHasBeenSet() const { return m_crawlerSecurityConfigurationHasBeenSet; }
234 inline void SetCrawlerSecurityConfiguration(const Aws::String& value) { m_crawlerSecurityConfigurationHasBeenSet = true; m_crawlerSecurityConfiguration = value; }
235 inline void SetCrawlerSecurityConfiguration(Aws::String&& value) { m_crawlerSecurityConfigurationHasBeenSet = true; m_crawlerSecurityConfiguration = std::move(value); }
236 inline void SetCrawlerSecurityConfiguration(const char* value) { m_crawlerSecurityConfigurationHasBeenSet = true; m_crawlerSecurityConfiguration.assign(value); }
241 private:
242
243 Aws::String m_name;
244 bool m_nameHasBeenSet = false;
245
246 Aws::String m_role;
247 bool m_roleHasBeenSet = false;
248
249 Aws::String m_databaseName;
250 bool m_databaseNameHasBeenSet = false;
251
252 Aws::String m_description;
253 bool m_descriptionHasBeenSet = false;
254
255 CrawlerTargets m_targets;
256 bool m_targetsHasBeenSet = false;
257
258 Aws::String m_schedule;
259 bool m_scheduleHasBeenSet = false;
260
261 Aws::Vector<Aws::String> m_classifiers;
262 bool m_classifiersHasBeenSet = false;
263
264 Aws::String m_tablePrefix;
265 bool m_tablePrefixHasBeenSet = false;
266
267 SchemaChangePolicy m_schemaChangePolicy;
268 bool m_schemaChangePolicyHasBeenSet = false;
269
270 RecrawlPolicy m_recrawlPolicy;
271 bool m_recrawlPolicyHasBeenSet = false;
272
273 LineageConfiguration m_lineageConfiguration;
274 bool m_lineageConfigurationHasBeenSet = false;
275
276 LakeFormationConfiguration m_lakeFormationConfiguration;
277 bool m_lakeFormationConfigurationHasBeenSet = false;
278
279 Aws::String m_configuration;
280 bool m_configurationHasBeenSet = false;
281
282 Aws::String m_crawlerSecurityConfiguration;
283 bool m_crawlerSecurityConfigurationHasBeenSet = false;
284 };
285
286} // namespace Model
287} // namespace Glue
288} // namespace Aws
void SetLakeFormationConfiguration(const LakeFormationConfiguration &value)
const CrawlerTargets & GetTargets() const
void SetName(const Aws::String &value)
UpdateCrawlerRequest & WithRole(const Aws::String &value)
void SetRole(const Aws::String &value)
UpdateCrawlerRequest & WithName(const Aws::String &value)
void SetDescription(const Aws::String &value)
void SetLakeFormationConfiguration(LakeFormationConfiguration &&value)
UpdateCrawlerRequest & WithTablePrefix(const Aws::String &value)
UpdateCrawlerRequest & WithRecrawlPolicy(const RecrawlPolicy &value)
UpdateCrawlerRequest & WithDatabaseName(const Aws::String &value)
const Aws::String & GetConfiguration() const
UpdateCrawlerRequest & WithClassifiers(Aws::Vector< Aws::String > &&value)
UpdateCrawlerRequest & WithSchedule(const Aws::String &value)
UpdateCrawlerRequest & WithSchemaChangePolicy(const SchemaChangePolicy &value)
UpdateCrawlerRequest & AddClassifiers(const char *value)
UpdateCrawlerRequest & WithSchemaChangePolicy(SchemaChangePolicy &&value)
void SetSchedule(const Aws::String &value)
UpdateCrawlerRequest & WithCrawlerSecurityConfiguration(Aws::String &&value)
UpdateCrawlerRequest & WithDescription(const Aws::String &value)
void SetTargets(const CrawlerTargets &value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetDescription() const
UpdateCrawlerRequest & WithRole(Aws::String &&value)
void SetCrawlerSecurityConfiguration(const char *value)
void SetLineageConfiguration(const LineageConfiguration &value)
UpdateCrawlerRequest & WithLineageConfiguration(const LineageConfiguration &value)
UpdateCrawlerRequest & WithClassifiers(const Aws::Vector< Aws::String > &value)
UpdateCrawlerRequest & WithConfiguration(const Aws::String &value)
UpdateCrawlerRequest & WithName(const char *value)
UpdateCrawlerRequest & WithTablePrefix(const char *value)
UpdateCrawlerRequest & WithCrawlerSecurityConfiguration(const Aws::String &value)
void SetConfiguration(const Aws::String &value)
const LineageConfiguration & GetLineageConfiguration() const
UpdateCrawlerRequest & WithDescription(const char *value)
UpdateCrawlerRequest & AddClassifiers(Aws::String &&value)
UpdateCrawlerRequest & WithRecrawlPolicy(RecrawlPolicy &&value)
UpdateCrawlerRequest & WithLakeFormationConfiguration(LakeFormationConfiguration &&value)
UpdateCrawlerRequest & AddClassifiers(const Aws::String &value)
UpdateCrawlerRequest & WithConfiguration(const char *value)
void SetLineageConfiguration(LineageConfiguration &&value)
void SetSchemaChangePolicy(SchemaChangePolicy &&value)
void SetDatabaseName(const Aws::String &value)
void SetRecrawlPolicy(const RecrawlPolicy &value)
UpdateCrawlerRequest & WithDatabaseName(const char *value)
const Aws::String & GetCrawlerSecurityConfiguration() const
UpdateCrawlerRequest & WithSchedule(Aws::String &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
void SetCrawlerSecurityConfiguration(Aws::String &&value)
UpdateCrawlerRequest & WithTablePrefix(Aws::String &&value)
void SetClassifiers(const Aws::Vector< Aws::String > &value)
void SetRecrawlPolicy(RecrawlPolicy &&value)
const Aws::Vector< Aws::String > & GetClassifiers() const
UpdateCrawlerRequest & WithName(Aws::String &&value)
UpdateCrawlerRequest & WithRole(const char *value)
UpdateCrawlerRequest & WithTargets(const CrawlerTargets &value)
UpdateCrawlerRequest & WithConfiguration(Aws::String &&value)
void SetSchemaChangePolicy(const SchemaChangePolicy &value)
UpdateCrawlerRequest & WithTargets(CrawlerTargets &&value)
UpdateCrawlerRequest & WithLineageConfiguration(LineageConfiguration &&value)
UpdateCrawlerRequest & WithSchedule(const char *value)
const LakeFormationConfiguration & GetLakeFormationConfiguration() const
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetCrawlerSecurityConfiguration(const Aws::String &value)
UpdateCrawlerRequest & WithLakeFormationConfiguration(const LakeFormationConfiguration &value)
const RecrawlPolicy & GetRecrawlPolicy() const
UpdateCrawlerRequest & WithDescription(Aws::String &&value)
void SetTablePrefix(const Aws::String &value)
UpdateCrawlerRequest & WithDatabaseName(Aws::String &&value)
const Aws::String & GetDatabaseName() const
UpdateCrawlerRequest & WithCrawlerSecurityConfiguration(const char *value)
const SchemaChangePolicy & GetSchemaChangePolicy() const
void SetClassifiers(Aws::Vector< Aws::String > &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector