7#include <aws/core/utils/memory/stl/AWSMap.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/GlueSchema.h>
44 template <
typename NameT = Aws::String>
46 m_nameHasBeenSet =
true;
47 m_name = std::forward<NameT>(value);
49 template <
typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
67 template <
typename ConnectionTypeT = Aws::String>
69 m_connectionTypeHasBeenSet =
true;
70 m_connectionType = std::forward<ConnectionTypeT>(value);
72 template <
typename ConnectionTypeT = Aws::String>
88 template <
typename DataT = Aws::Map<Aws::String, Aws::String>>
90 m_dataHasBeenSet =
true;
91 m_data = std::forward<DataT>(value);
93 template <
typename DataT = Aws::Map<Aws::String, Aws::String>>
95 SetData(std::forward<DataT>(value));
98 template <
typename DataKeyT = Aws::String,
typename DataValueT = Aws::String>
100 m_dataHasBeenSet =
true;
101 m_data.emplace(std::forward<DataKeyT>(key), std::forward<DataValueT>(value));
112 template <
typename OutputSchemasT = Aws::Vector<GlueSchema>>
114 m_outputSchemasHasBeenSet =
true;
115 m_outputSchemas = std::forward<OutputSchemasT>(value);
117 template <
typename OutputSchemasT = Aws::Vector<GlueSchema>>
122 template <
typename OutputSchemasT = GlueSchema>
124 m_outputSchemasHasBeenSet =
true;
125 m_outputSchemas.emplace_back(std::forward<OutputSchemasT>(value));
137 bool m_nameHasBeenSet =
false;
138 bool m_connectionTypeHasBeenSet =
false;
139 bool m_dataHasBeenSet =
false;
140 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