7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/glue/model/GlueSchema.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>
67 template<
typename ConnectionTypeT = Aws::String>
68 void SetConnectionType(ConnectionTypeT&& value) { m_connectionTypeHasBeenSet =
true; m_connectionType = std::forward<ConnectionTypeT>(value); }
69 template<
typename ConnectionTypeT = Aws::String>
82 template<
typename DataT = Aws::Map<Aws::String, Aws::String>>
83 void SetData(DataT&& value) { m_dataHasBeenSet =
true; m_data = std::forward<DataT>(value); }
84 template<
typename DataT = Aws::Map<Aws::String, Aws::String>>
86 template<
typename DataKeyT = Aws::String,
typename DataValueT = Aws::String>
88 m_dataHasBeenSet =
true; m_data.emplace(std::forward<DataKeyT>(key), std::forward<DataValueT>(value));
return *
this;
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>
108 bool m_nameHasBeenSet =
false;
111 bool m_connectionTypeHasBeenSet =
false;
114 bool m_dataHasBeenSet =
false;
117 bool m_outputSchemasHasBeenSet =
false;
const Aws::Vector< GlueSchema > & GetOutputSchemas() const
ConnectorDataSource & WithName(NameT &&value)
bool OutputSchemasHasBeenSet() const
AWS_GLUE_API ConnectorDataSource()=default
AWS_GLUE_API ConnectorDataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
bool NameHasBeenSet() const
bool DataHasBeenSet() const
ConnectorDataSource & AddOutputSchemas(OutputSchemasT &&value)
bool ConnectionTypeHasBeenSet() const
ConnectorDataSource & AddData(DataKeyT &&key, DataValueT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetData(DataT &&value)
AWS_GLUE_API ConnectorDataSource(Aws::Utils::Json::JsonView jsonValue)
ConnectorDataSource & WithData(DataT &&value)
void SetOutputSchemas(OutputSchemasT &&value)
ConnectorDataSource & WithConnectionType(ConnectionTypeT &&value)
void SetConnectionType(ConnectionTypeT &&value)
const Aws::String & GetConnectionType() const
ConnectorDataSource & WithOutputSchemas(OutputSchemasT &&value)
const Aws::String & GetName() const
const Aws::Map< Aws::String, Aws::String > & GetData() const
void SetName(NameT &&value)
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
Aws::Utils::Json::JsonValue JsonValue