7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/model/CrawlerTargets.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/glue/model/RecrawlPolicy.h>
12#include <aws/glue/model/SchemaChangePolicy.h>
13#include <aws/glue/model/LineageConfiguration.h>
14#include <aws/glue/model/CrawlerState.h>
15#include <aws/glue/model/Schedule.h>
16#include <aws/core/utils/DateTime.h>
17#include <aws/glue/model/LastCrawlInfo.h>
18#include <aws/glue/model/LakeFormationConfiguration.h>
58 template<
typename NameT = Aws::String>
59 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
60 template<
typename NameT = Aws::String>
71 template<
typename RoleT = Aws::String>
72 void SetRole(RoleT&& value) { m_roleHasBeenSet =
true; m_role = std::forward<RoleT>(value); }
73 template<
typename RoleT = Aws::String>
83 template<
typename TargetsT = CrawlerTargets>
84 void SetTargets(TargetsT&& value) { m_targetsHasBeenSet =
true; m_targets = std::forward<TargetsT>(value); }
85 template<
typename TargetsT = CrawlerTargets>
95 template<
typename DatabaseNameT = Aws::String>
96 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet =
true; m_databaseName = std::forward<DatabaseNameT>(value); }
97 template<
typename DatabaseNameT = Aws::String>
107 template<
typename DescriptionT = Aws::String>
108 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
109 template<
typename DescriptionT = Aws::String>
120 template<
typename ClassifiersT = Aws::Vector<Aws::String>>
121 void SetClassifiers(ClassifiersT&& value) { m_classifiersHasBeenSet =
true; m_classifiers = std::forward<ClassifiersT>(value); }
122 template<
typename ClassifiersT = Aws::Vector<Aws::String>>
124 template<
typename ClassifiersT = Aws::String>
125 Crawler&
AddClassifiers(ClassifiersT&& value) { m_classifiersHasBeenSet =
true; m_classifiers.emplace_back(std::forward<ClassifiersT>(value));
return *
this; }
135 template<
typename RecrawlPolicyT = RecrawlPolicy>
136 void SetRecrawlPolicy(RecrawlPolicyT&& value) { m_recrawlPolicyHasBeenSet =
true; m_recrawlPolicy = std::forward<RecrawlPolicyT>(value); }
137 template<
typename RecrawlPolicyT = RecrawlPolicy>
147 template<
typename SchemaChangePolicyT = SchemaChangePolicy>
148 void SetSchemaChangePolicy(SchemaChangePolicyT&& value) { m_schemaChangePolicyHasBeenSet =
true; m_schemaChangePolicy = std::forward<SchemaChangePolicyT>(value); }
149 template<
typename SchemaChangePolicyT = SchemaChangePolicy>
160 template<
typename LineageConfigurationT = LineageConfiguration>
161 void SetLineageConfiguration(LineageConfigurationT&& value) { m_lineageConfigurationHasBeenSet =
true; m_lineageConfiguration = std::forward<LineageConfigurationT>(value); }
162 template<
typename LineageConfigurationT = LineageConfiguration>
182 template<
typename TablePrefixT = Aws::String>
183 void SetTablePrefix(TablePrefixT&& value) { m_tablePrefixHasBeenSet =
true; m_tablePrefix = std::forward<TablePrefixT>(value); }
184 template<
typename TablePrefixT = Aws::String>
194 template<
typename ScheduleT = Schedule>
195 void SetSchedule(ScheduleT&& value) { m_scheduleHasBeenSet =
true; m_schedule = std::forward<ScheduleT>(value); }
196 template<
typename ScheduleT = Schedule>
207 inline void SetCrawlElapsedTime(
long long value) { m_crawlElapsedTimeHasBeenSet =
true; m_crawlElapsedTime = value; }
217 template<
typename CreationTimeT = Aws::Utils::DateTime>
218 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
219 template<
typename CreationTimeT = Aws::Utils::DateTime>
229 template<
typename LastUpdatedT = Aws::Utils::DateTime>
230 void SetLastUpdated(LastUpdatedT&& value) { m_lastUpdatedHasBeenSet =
true; m_lastUpdated = std::forward<LastUpdatedT>(value); }
231 template<
typename LastUpdatedT = Aws::Utils::DateTime>
242 template<
typename LastCrawlT = LastCrawlInfo>
243 void SetLastCrawl(LastCrawlT&& value) { m_lastCrawlHasBeenSet =
true; m_lastCrawl = std::forward<LastCrawlT>(value); }
244 template<
typename LastCrawlT = LastCrawlInfo>
254 inline void SetVersion(
long long value) { m_versionHasBeenSet =
true; m_version = value; }
267 template<
typename ConfigurationT = Aws::String>
268 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet =
true; m_configuration = std::forward<ConfigurationT>(value); }
269 template<
typename ConfigurationT = Aws::String>
280 template<
typename CrawlerSecurityConfigurationT = Aws::String>
281 void SetCrawlerSecurityConfiguration(CrawlerSecurityConfigurationT&& value) { m_crawlerSecurityConfigurationHasBeenSet =
true; m_crawlerSecurityConfiguration = std::forward<CrawlerSecurityConfigurationT>(value); }
282 template<
typename CrawlerSecurityConfigurationT = Aws::String>
293 template<
typename LakeFormationConfigurationT = LakeFormationConfiguration>
294 void SetLakeFormationConfiguration(LakeFormationConfigurationT&& value) { m_lakeFormationConfigurationHasBeenSet =
true; m_lakeFormationConfiguration = std::forward<LakeFormationConfigurationT>(value); }
295 template<
typename LakeFormationConfigurationT = LakeFormationConfiguration>
301 bool m_nameHasBeenSet =
false;
304 bool m_roleHasBeenSet =
false;
307 bool m_targetsHasBeenSet =
false;
310 bool m_databaseNameHasBeenSet =
false;
313 bool m_descriptionHasBeenSet =
false;
316 bool m_classifiersHasBeenSet =
false;
319 bool m_recrawlPolicyHasBeenSet =
false;
322 bool m_schemaChangePolicyHasBeenSet =
false;
325 bool m_lineageConfigurationHasBeenSet =
false;
328 bool m_stateHasBeenSet =
false;
331 bool m_tablePrefixHasBeenSet =
false;
334 bool m_scheduleHasBeenSet =
false;
336 long long m_crawlElapsedTime{0};
337 bool m_crawlElapsedTimeHasBeenSet =
false;
340 bool m_creationTimeHasBeenSet =
false;
343 bool m_lastUpdatedHasBeenSet =
false;
345 LastCrawlInfo m_lastCrawl;
346 bool m_lastCrawlHasBeenSet =
false;
348 long long m_version{0};
349 bool m_versionHasBeenSet =
false;
352 bool m_configurationHasBeenSet =
false;
355 bool m_crawlerSecurityConfigurationHasBeenSet =
false;
357 LakeFormationConfiguration m_lakeFormationConfiguration;
358 bool m_lakeFormationConfigurationHasBeenSet =
false;
Crawler & WithLineageConfiguration(LineageConfigurationT &&value)
Crawler & WithRole(RoleT &&value)
void SetLastCrawl(LastCrawlT &&value)
void SetSchemaChangePolicy(SchemaChangePolicyT &&value)
Crawler & WithSchedule(ScheduleT &&value)
void SetCrawlerSecurityConfiguration(CrawlerSecurityConfigurationT &&value)
const Aws::Utils::DateTime & GetLastUpdated() const
const CrawlerTargets & GetTargets() const
const Aws::String & GetName() const
Crawler & WithSchemaChangePolicy(SchemaChangePolicyT &&value)
Crawler & WithLastUpdated(LastUpdatedT &&value)
bool VersionHasBeenSet() const
bool ClassifiersHasBeenSet() const
Crawler & WithVersion(long long value)
Crawler & WithState(CrawlerState value)
Crawler & WithClassifiers(ClassifiersT &&value)
void SetName(NameT &&value)
bool CreationTimeHasBeenSet() const
const Aws::String & GetDescription() const
void SetRecrawlPolicy(RecrawlPolicyT &&value)
bool NameHasBeenSet() const
bool ConfigurationHasBeenSet() const
void SetLastUpdated(LastUpdatedT &&value)
bool RoleHasBeenSet() const
bool TargetsHasBeenSet() const
bool DescriptionHasBeenSet() const
Crawler & WithRecrawlPolicy(RecrawlPolicyT &&value)
void SetTablePrefix(TablePrefixT &&value)
AWS_GLUE_API Crawler & operator=(Aws::Utils::Json::JsonView jsonValue)
const SchemaChangePolicy & GetSchemaChangePolicy() const
CrawlerState GetState() const
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetConfiguration() const
const Aws::Vector< Aws::String > & GetClassifiers() const
Crawler & WithDescription(DescriptionT &&value)
bool ScheduleHasBeenSet() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDatabaseName() const
void SetDatabaseName(DatabaseNameT &&value)
Crawler & AddClassifiers(ClassifiersT &&value)
Crawler & WithTargets(TargetsT &&value)
void SetTargets(TargetsT &&value)
Crawler & WithCrawlerSecurityConfiguration(CrawlerSecurityConfigurationT &&value)
void SetCreationTime(CreationTimeT &&value)
bool SchemaChangePolicyHasBeenSet() const
const LastCrawlInfo & GetLastCrawl() const
bool TablePrefixHasBeenSet() const
Crawler & WithLakeFormationConfiguration(LakeFormationConfigurationT &&value)
void SetLakeFormationConfiguration(LakeFormationConfigurationT &&value)
Crawler & WithCrawlElapsedTime(long long value)
const Aws::String & GetRole() const
long long GetCrawlElapsedTime() const
void SetVersion(long long value)
bool CrawlElapsedTimeHasBeenSet() const
AWS_GLUE_API Crawler()=default
bool LastCrawlHasBeenSet() const
void SetState(CrawlerState value)
Crawler & WithCreationTime(CreationTimeT &&value)
bool StateHasBeenSet() const
Crawler & WithName(NameT &&value)
void SetCrawlElapsedTime(long long value)
Crawler & WithLastCrawl(LastCrawlT &&value)
void SetLineageConfiguration(LineageConfigurationT &&value)
const Aws::String & GetTablePrefix() const
void SetConfiguration(ConfigurationT &&value)
void SetSchedule(ScheduleT &&value)
Crawler & WithDatabaseName(DatabaseNameT &&value)
bool LakeFormationConfigurationHasBeenSet() const
bool CrawlerSecurityConfigurationHasBeenSet() const
bool LineageConfigurationHasBeenSet() const
Crawler & WithTablePrefix(TablePrefixT &&value)
bool LastUpdatedHasBeenSet() const
void SetRole(RoleT &&value)
void SetDescription(DescriptionT &&value)
bool RecrawlPolicyHasBeenSet() const
const RecrawlPolicy & GetRecrawlPolicy() const
Crawler & WithConfiguration(ConfigurationT &&value)
AWS_GLUE_API Crawler(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCrawlerSecurityConfiguration() const
const LineageConfiguration & GetLineageConfiguration() const
long long GetVersion() const
const LakeFormationConfiguration & GetLakeFormationConfiguration() const
bool DatabaseNameHasBeenSet() const
const Schedule & GetSchedule() const
void SetClassifiers(ClassifiersT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue