7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/glue/Glue_EXPORTS.h>
11#include <aws/glue/model/CrawlerState.h>
12#include <aws/glue/model/CrawlerTargets.h>
13#include <aws/glue/model/LakeFormationConfiguration.h>
14#include <aws/glue/model/LastCrawlInfo.h>
15#include <aws/glue/model/LineageConfiguration.h>
16#include <aws/glue/model/RecrawlPolicy.h>
17#include <aws/glue/model/Schedule.h>
18#include <aws/glue/model/SchemaChangePolicy.h>
52 template <
typename NameT = Aws::String>
54 m_nameHasBeenSet =
true;
55 m_name = std::forward<NameT>(value);
57 template <
typename NameT = Aws::String>
59 SetName(std::forward<NameT>(value));
71 template <
typename RoleT = Aws::String>
73 m_roleHasBeenSet =
true;
74 m_role = std::forward<RoleT>(value);
76 template <
typename RoleT = Aws::String>
78 SetRole(std::forward<RoleT>(value));
89 template <
typename TargetsT = CrawlerTargets>
91 m_targetsHasBeenSet =
true;
92 m_targets = std::forward<TargetsT>(value);
94 template <
typename TargetsT = CrawlerTargets>
107 template <
typename DatabaseNameT = Aws::String>
109 m_databaseNameHasBeenSet =
true;
110 m_databaseName = std::forward<DatabaseNameT>(value);
112 template <
typename DatabaseNameT = Aws::String>
125 template <
typename DescriptionT = Aws::String>
127 m_descriptionHasBeenSet =
true;
128 m_description = std::forward<DescriptionT>(value);
130 template <
typename DescriptionT = Aws::String>
144 template <
typename ClassifiersT = Aws::Vector<Aws::String>>
146 m_classifiersHasBeenSet =
true;
147 m_classifiers = std::forward<ClassifiersT>(value);
149 template <
typename ClassifiersT = Aws::Vector<Aws::String>>
154 template <
typename ClassifiersT = Aws::String>
156 m_classifiersHasBeenSet =
true;
157 m_classifiers.emplace_back(std::forward<ClassifiersT>(value));
169 template <
typename RecrawlPolicyT = RecrawlPolicy>
171 m_recrawlPolicyHasBeenSet =
true;
172 m_recrawlPolicy = std::forward<RecrawlPolicyT>(value);
174 template <
typename RecrawlPolicyT = RecrawlPolicy>
187 template <
typename SchemaChangePolicyT = SchemaChangePolicy>
189 m_schemaChangePolicyHasBeenSet =
true;
190 m_schemaChangePolicy = std::forward<SchemaChangePolicyT>(value);
192 template <
typename SchemaChangePolicyT = SchemaChangePolicy>
206 template <
typename LineageConfigurationT = LineageConfiguration>
208 m_lineageConfigurationHasBeenSet =
true;
209 m_lineageConfiguration = std::forward<LineageConfigurationT>(value);
211 template <
typename LineageConfigurationT = LineageConfiguration>
225 m_stateHasBeenSet =
true;
240 template <
typename TablePrefixT = Aws::String>
242 m_tablePrefixHasBeenSet =
true;
243 m_tablePrefix = std::forward<TablePrefixT>(value);
245 template <
typename TablePrefixT = Aws::String>
258 template <
typename ScheduleT = Schedule>
260 m_scheduleHasBeenSet =
true;
261 m_schedule = std::forward<ScheduleT>(value);
263 template <
typename ScheduleT = Schedule>
278 m_crawlElapsedTimeHasBeenSet =
true;
279 m_crawlElapsedTime = value;
293 template <
typename CreationTimeT = Aws::Utils::DateTime>
295 m_creationTimeHasBeenSet =
true;
296 m_creationTime = std::forward<CreationTimeT>(value);
298 template <
typename CreationTimeT = Aws::Utils::DateTime>
311 template <
typename LastUpdatedT = Aws::Utils::DateTime>
313 m_lastUpdatedHasBeenSet =
true;
314 m_lastUpdated = std::forward<LastUpdatedT>(value);
316 template <
typename LastUpdatedT = Aws::Utils::DateTime>
330 template <
typename LastCrawlT = LastCrawlInfo>
332 m_lastCrawlHasBeenSet =
true;
333 m_lastCrawl = std::forward<LastCrawlT>(value);
335 template <
typename LastCrawlT = LastCrawlInfo>
349 m_versionHasBeenSet =
true;
367 template <
typename ConfigurationT = Aws::String>
369 m_configurationHasBeenSet =
true;
370 m_configuration = std::forward<ConfigurationT>(value);
372 template <
typename ConfigurationT = Aws::String>
386 template <
typename CrawlerSecurityConfigurationT = Aws::String>
388 m_crawlerSecurityConfigurationHasBeenSet =
true;
389 m_crawlerSecurityConfiguration = std::forward<CrawlerSecurityConfigurationT>(value);
391 template <
typename CrawlerSecurityConfigurationT = Aws::String>
405 template <
typename LakeFormationConfigurationT = LakeFormationConfiguration>
407 m_lakeFormationConfigurationHasBeenSet =
true;
408 m_lakeFormationConfiguration = std::forward<LakeFormationConfigurationT>(value);
410 template <
typename LakeFormationConfigurationT = LakeFormationConfiguration>
441 long long m_crawlElapsedTime{0};
447 LastCrawlInfo m_lastCrawl;
449 long long m_version{0};
455 LakeFormationConfiguration m_lakeFormationConfiguration;
456 bool m_nameHasBeenSet =
false;
457 bool m_roleHasBeenSet =
false;
458 bool m_targetsHasBeenSet =
false;
459 bool m_databaseNameHasBeenSet =
false;
460 bool m_descriptionHasBeenSet =
false;
461 bool m_classifiersHasBeenSet =
false;
462 bool m_recrawlPolicyHasBeenSet =
false;
463 bool m_schemaChangePolicyHasBeenSet =
false;
464 bool m_lineageConfigurationHasBeenSet =
false;
465 bool m_stateHasBeenSet =
false;
466 bool m_tablePrefixHasBeenSet =
false;
467 bool m_scheduleHasBeenSet =
false;
468 bool m_crawlElapsedTimeHasBeenSet =
false;
469 bool m_creationTimeHasBeenSet =
false;
470 bool m_lastUpdatedHasBeenSet =
false;
471 bool m_lastCrawlHasBeenSet =
false;
472 bool m_versionHasBeenSet =
false;
473 bool m_configurationHasBeenSet =
false;
474 bool m_crawlerSecurityConfigurationHasBeenSet =
false;
475 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