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 <aws/core/utils/memory/stl/AWSMap.h>
50 template<
typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
52 template<
typename NameT = Aws::String>
63 template<
typename RoleT = Aws::String>
64 void SetRole(RoleT&& value) { m_roleHasBeenSet =
true; m_role = std::forward<RoleT>(value); }
65 template<
typename RoleT = Aws::String>
76 template<
typename DatabaseNameT = Aws::String>
77 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet =
true; m_databaseName = std::forward<DatabaseNameT>(value); }
78 template<
typename DatabaseNameT = Aws::String>
88 template<
typename DescriptionT = Aws::String>
89 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
90 template<
typename DescriptionT = Aws::String>
100 template<
typename TargetsT = CrawlerTargets>
101 void SetTargets(TargetsT&& value) { m_targetsHasBeenSet =
true; m_targets = std::forward<TargetsT>(value); }
102 template<
typename TargetsT = CrawlerTargets>
115 template<
typename ScheduleT = Aws::String>
116 void SetSchedule(ScheduleT&& value) { m_scheduleHasBeenSet =
true; m_schedule = std::forward<ScheduleT>(value); }
117 template<
typename ScheduleT = Aws::String>
129 template<
typename ClassifiersT = Aws::Vector<Aws::String>>
130 void SetClassifiers(ClassifiersT&& value) { m_classifiersHasBeenSet =
true; m_classifiers = std::forward<ClassifiersT>(value); }
131 template<
typename ClassifiersT = Aws::Vector<Aws::String>>
133 template<
typename ClassifiersT = Aws::String>
143 template<
typename TablePrefixT = Aws::String>
144 void SetTablePrefix(TablePrefixT&& value) { m_tablePrefixHasBeenSet =
true; m_tablePrefix = std::forward<TablePrefixT>(value); }
145 template<
typename TablePrefixT = Aws::String>
155 template<
typename SchemaChangePolicyT = SchemaChangePolicy>
156 void SetSchemaChangePolicy(SchemaChangePolicyT&& value) { m_schemaChangePolicyHasBeenSet =
true; m_schemaChangePolicy = std::forward<SchemaChangePolicyT>(value); }
157 template<
typename SchemaChangePolicyT = SchemaChangePolicy>
168 template<
typename RecrawlPolicyT = RecrawlPolicy>
169 void SetRecrawlPolicy(RecrawlPolicyT&& value) { m_recrawlPolicyHasBeenSet =
true; m_recrawlPolicy = std::forward<RecrawlPolicyT>(value); }
170 template<
typename RecrawlPolicyT = RecrawlPolicy>
180 template<
typename LineageConfigurationT = LineageConfiguration>
181 void SetLineageConfiguration(LineageConfigurationT&& value) { m_lineageConfigurationHasBeenSet =
true; m_lineageConfiguration = std::forward<LineageConfigurationT>(value); }
182 template<
typename LineageConfigurationT = LineageConfiguration>
192 template<
typename LakeFormationConfigurationT = LakeFormationConfiguration>
193 void SetLakeFormationConfiguration(LakeFormationConfigurationT&& value) { m_lakeFormationConfigurationHasBeenSet =
true; m_lakeFormationConfiguration = std::forward<LakeFormationConfigurationT>(value); }
194 template<
typename LakeFormationConfigurationT = LakeFormationConfiguration>
207 template<
typename ConfigurationT = Aws::String>
208 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet =
true; m_configuration = std::forward<ConfigurationT>(value); }
209 template<
typename ConfigurationT = Aws::String>
220 template<
typename CrawlerSecurityConfigurationT = Aws::String>
221 void SetCrawlerSecurityConfiguration(CrawlerSecurityConfigurationT&& value) { m_crawlerSecurityConfigurationHasBeenSet =
true; m_crawlerSecurityConfiguration = std::forward<CrawlerSecurityConfigurationT>(value); }
222 template<
typename CrawlerSecurityConfigurationT = Aws::String>
235 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
236 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
237 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
239 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
241 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
247 bool m_nameHasBeenSet =
false;
250 bool m_roleHasBeenSet =
false;
253 bool m_databaseNameHasBeenSet =
false;
256 bool m_descriptionHasBeenSet =
false;
259 bool m_targetsHasBeenSet =
false;
262 bool m_scheduleHasBeenSet =
false;
265 bool m_classifiersHasBeenSet =
false;
268 bool m_tablePrefixHasBeenSet =
false;
271 bool m_schemaChangePolicyHasBeenSet =
false;
274 bool m_recrawlPolicyHasBeenSet =
false;
277 bool m_lineageConfigurationHasBeenSet =
false;
280 bool m_lakeFormationConfigurationHasBeenSet =
false;
283 bool m_configurationHasBeenSet =
false;
286 bool m_crawlerSecurityConfigurationHasBeenSet =
false;
289 bool m_tagsHasBeenSet =
false;
const Aws::String & GetSchedule() const
void SetConfiguration(ConfigurationT &&value)
bool TargetsHasBeenSet() const
bool TagsHasBeenSet() const
bool DescriptionHasBeenSet() const
void SetTargets(TargetsT &&value)
CreateCrawlerRequest & WithDatabaseName(DatabaseNameT &&value)
CreateCrawlerRequest & WithCrawlerSecurityConfiguration(CrawlerSecurityConfigurationT &&value)
CreateCrawlerRequest & WithTargets(TargetsT &&value)
const SchemaChangePolicy & GetSchemaChangePolicy() const
AWS_GLUE_API CreateCrawlerRequest()=default
const Aws::String & GetName() const
const Aws::String & GetTablePrefix() const
bool RecrawlPolicyHasBeenSet() const
const Aws::String & GetConfiguration() const
const CrawlerTargets & GetTargets() const
void SetClassifiers(ClassifiersT &&value)
void SetTablePrefix(TablePrefixT &&value)
bool NameHasBeenSet() const
void SetLakeFormationConfiguration(LakeFormationConfigurationT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
CreateCrawlerRequest & AddClassifiers(ClassifiersT &&value)
void SetName(NameT &&value)
CreateCrawlerRequest & WithSchedule(ScheduleT &&value)
void SetRecrawlPolicy(RecrawlPolicyT &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool RoleHasBeenSet() const
bool LineageConfigurationHasBeenSet() const
const LakeFormationConfiguration & GetLakeFormationConfiguration() const
const Aws::String & GetDatabaseName() const
CreateCrawlerRequest & WithName(NameT &&value)
void SetSchedule(ScheduleT &&value)
void SetTags(TagsT &&value)
const Aws::Vector< Aws::String > & GetClassifiers() const
CreateCrawlerRequest & WithTags(TagsT &&value)
const LineageConfiguration & GetLineageConfiguration() const
CreateCrawlerRequest & WithLakeFormationConfiguration(LakeFormationConfigurationT &&value)
bool TablePrefixHasBeenSet() const
const RecrawlPolicy & GetRecrawlPolicy() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetRole(RoleT &&value)
bool DatabaseNameHasBeenSet() const
CreateCrawlerRequest & WithTablePrefix(TablePrefixT &&value)
void SetCrawlerSecurityConfiguration(CrawlerSecurityConfigurationT &&value)
CreateCrawlerRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateCrawlerRequest & WithConfiguration(ConfigurationT &&value)
CreateCrawlerRequest & WithLineageConfiguration(LineageConfigurationT &&value)
const Aws::String & GetRole() const
void SetDatabaseName(DatabaseNameT &&value)
virtual const char * GetServiceRequestName() const override
bool ClassifiersHasBeenSet() const
void SetLineageConfiguration(LineageConfigurationT &&value)
bool SchemaChangePolicyHasBeenSet() const
CreateCrawlerRequest & WithClassifiers(ClassifiersT &&value)
bool LakeFormationConfigurationHasBeenSet() const
CreateCrawlerRequest & WithRecrawlPolicy(RecrawlPolicyT &&value)
bool ConfigurationHasBeenSet() const
AWS_GLUE_API Aws::String SerializePayload() const override
CreateCrawlerRequest & WithDescription(DescriptionT &&value)
bool CrawlerSecurityConfigurationHasBeenSet() const
const Aws::String & GetCrawlerSecurityConfiguration() const
void SetSchemaChangePolicy(SchemaChangePolicyT &&value)
CreateCrawlerRequest & WithRole(RoleT &&value)
bool ScheduleHasBeenSet() const
CreateCrawlerRequest & WithSchemaChangePolicy(SchemaChangePolicyT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector