7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/glue/model/GlueSchema.h>
49 template<
typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
51 template<
typename NameT = Aws::String>
61 template<
typename DatabaseT = Aws::String>
62 void SetDatabase(DatabaseT&& value) { m_databaseHasBeenSet =
true; m_database = std::forward<DatabaseT>(value); }
63 template<
typename DatabaseT = Aws::String>
73 template<
typename TableT = Aws::String>
74 void SetTable(TableT&& value) { m_tableHasBeenSet =
true; m_table = std::forward<TableT>(value); }
75 template<
typename TableT = Aws::String>
86 template<
typename PartitionPredicateT = Aws::String>
87 void SetPartitionPredicate(PartitionPredicateT&& value) { m_partitionPredicateHasBeenSet =
true; m_partitionPredicate = std::forward<PartitionPredicateT>(value); }
88 template<
typename PartitionPredicateT = Aws::String>
98 template<
typename OutputSchemasT = Aws::Vector<GlueSchema>>
99 void SetOutputSchemas(OutputSchemasT&& value) { m_outputSchemasHasBeenSet =
true; m_outputSchemas = std::forward<OutputSchemasT>(value); }
100 template<
typename OutputSchemasT = Aws::Vector<GlueSchema>>
102 template<
typename OutputSchemasT = GlueSchema>
103 CatalogSource&
AddOutputSchemas(OutputSchemasT&& value) { m_outputSchemasHasBeenSet =
true; m_outputSchemas.emplace_back(std::forward<OutputSchemasT>(value));
return *
this; }
108 bool m_nameHasBeenSet =
false;
111 bool m_databaseHasBeenSet =
false;
114 bool m_tableHasBeenSet =
false;
117 bool m_partitionPredicateHasBeenSet =
false;
120 bool m_outputSchemasHasBeenSet =
false;
void SetOutputSchemas(OutputSchemasT &&value)
void SetDatabase(DatabaseT &&value)
bool NameHasBeenSet() const
bool PartitionPredicateHasBeenSet() const
void SetPartitionPredicate(PartitionPredicateT &&value)
CatalogSource & WithTable(TableT &&value)
CatalogSource & WithOutputSchemas(OutputSchemasT &&value)
CatalogSource & WithName(NameT &&value)
void SetName(NameT &&value)
AWS_GLUE_API CatalogSource & operator=(Aws::Utils::Json::JsonView jsonValue)
CatalogSource & WithDatabase(DatabaseT &&value)
CatalogSource & WithPartitionPredicate(PartitionPredicateT &&value)
const Aws::String & GetPartitionPredicate() const
AWS_GLUE_API CatalogSource()=default
const Aws::String & GetDatabase() const
AWS_GLUE_API CatalogSource(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTable() const
CatalogSource & AddOutputSchemas(OutputSchemasT &&value)
bool TableHasBeenSet() const
bool OutputSchemasHasBeenSet() const
void SetTable(TableT &&value)
const Aws::String & GetName() const
const Aws::Vector< GlueSchema > & GetOutputSchemas() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
bool DatabaseHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue