7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/firehose/Firehose_EXPORTS.h>
10#include <aws/firehose/model/DatabaseColumnList.h>
11#include <aws/firehose/model/DatabaseList.h>
12#include <aws/firehose/model/DatabaseSourceAuthenticationConfiguration.h>
13#include <aws/firehose/model/DatabaseSourceVPCConfiguration.h>
14#include <aws/firehose/model/DatabaseTableList.h>
15#include <aws/firehose/model/DatabaseType.h>
16#include <aws/firehose/model/SSLMode.h>
53 m_typeHasBeenSet =
true;
69 template <
typename Endpo
intT = Aws::String>
71 m_endpointHasBeenSet =
true;
72 m_endpoint = std::forward<EndpointT>(value);
74 template <
typename Endpo
intT = Aws::String>
88 inline int GetPort()
const {
return m_port; }
91 m_portHasBeenSet =
true;
109 m_sSLModeHasBeenSet =
true;
126 template <
typename DatabasesT = DatabaseList>
128 m_databasesHasBeenSet =
true;
129 m_databases = std::forward<DatabasesT>(value);
131 template <
typename DatabasesT = DatabaseList>
146 template <
typename TablesT = DatabaseTableList>
148 m_tablesHasBeenSet =
true;
149 m_tables = std::forward<TablesT>(value);
151 template <
typename TablesT = DatabaseTableList>
166 template <
typename ColumnsT = DatabaseColumnList>
168 m_columnsHasBeenSet =
true;
169 m_columns = std::forward<ColumnsT>(value);
171 template <
typename ColumnsT = DatabaseColumnList>
186 template <
typename SurrogateKeysT = Aws::Vector<Aws::String>>
188 m_surrogateKeysHasBeenSet =
true;
189 m_surrogateKeys = std::forward<SurrogateKeysT>(value);
191 template <
typename SurrogateKeysT = Aws::Vector<Aws::String>>
196 template <
typename SurrogateKeysT = Aws::String>
198 m_surrogateKeysHasBeenSet =
true;
199 m_surrogateKeys.emplace_back(std::forward<SurrogateKeysT>(value));
212 template <
typename SnapshotWatermarkTableT = Aws::String>
214 m_snapshotWatermarkTableHasBeenSet =
true;
215 m_snapshotWatermarkTable = std::forward<SnapshotWatermarkTableT>(value);
217 template <
typename SnapshotWatermarkTableT = Aws::String>
231 return m_databaseSourceAuthenticationConfiguration;
234 template <
typename DatabaseSourceAuthenticationConfigurationT = DatabaseSourceAuthenticationConfiguration>
236 m_databaseSourceAuthenticationConfigurationHasBeenSet =
true;
237 m_databaseSourceAuthenticationConfiguration = std::forward<DatabaseSourceAuthenticationConfigurationT>(value);
239 template <
typename DatabaseSourceAuthenticationConfigurationT = DatabaseSourceAuthenticationConfiguration>
254 template <
typename DatabaseSourceVPCConfigurationT = DatabaseSourceVPCConfiguration>
256 m_databaseSourceVPCConfigurationHasBeenSet =
true;
257 m_databaseSourceVPCConfiguration = std::forward<DatabaseSourceVPCConfigurationT>(value);
259 template <
typename DatabaseSourceVPCConfigurationT = DatabaseSourceVPCConfiguration>
274 DatabaseList m_databases;
276 DatabaseTableList m_tables;
278 DatabaseColumnList m_columns;
284 DatabaseSourceAuthenticationConfiguration m_databaseSourceAuthenticationConfiguration;
286 DatabaseSourceVPCConfiguration m_databaseSourceVPCConfiguration;
287 bool m_typeHasBeenSet =
false;
288 bool m_endpointHasBeenSet =
false;
289 bool m_portHasBeenSet =
false;
290 bool m_sSLModeHasBeenSet =
false;
291 bool m_databasesHasBeenSet =
false;
292 bool m_tablesHasBeenSet =
false;
293 bool m_columnsHasBeenSet =
false;
294 bool m_surrogateKeysHasBeenSet =
false;
295 bool m_snapshotWatermarkTableHasBeenSet =
false;
296 bool m_databaseSourceAuthenticationConfigurationHasBeenSet =
false;
297 bool m_databaseSourceVPCConfigurationHasBeenSet =
false;
void SetSnapshotWatermarkTable(SnapshotWatermarkTableT &&value)
const Aws::String & GetEndpoint() const
DatabaseSourceConfiguration & WithEndpoint(EndpointT &&value)
bool TypeHasBeenSet() const
DatabaseType GetType() const
bool SnapshotWatermarkTableHasBeenSet() const
DatabaseSourceConfiguration & WithType(DatabaseType value)
void SetSurrogateKeys(SurrogateKeysT &&value)
DatabaseSourceConfiguration & WithSSLMode(SSLMode value)
void SetTables(TablesT &&value)
const DatabaseSourceVPCConfiguration & GetDatabaseSourceVPCConfiguration() const
void SetSSLMode(SSLMode value)
bool PortHasBeenSet() const
SSLMode GetSSLMode() const
DatabaseSourceConfiguration & AddSurrogateKeys(SurrogateKeysT &&value)
void SetType(DatabaseType value)
bool DatabasesHasBeenSet() const
DatabaseSourceConfiguration & WithPort(int value)
bool SurrogateKeysHasBeenSet() const
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDatabaseSourceAuthenticationConfiguration(DatabaseSourceAuthenticationConfigurationT &&value)
void SetColumns(ColumnsT &&value)
void SetDatabaseSourceVPCConfiguration(DatabaseSourceVPCConfigurationT &&value)
bool DatabaseSourceVPCConfigurationHasBeenSet() const
DatabaseSourceConfiguration & WithColumns(ColumnsT &&value)
void SetDatabases(DatabasesT &&value)
void SetEndpoint(EndpointT &&value)
DatabaseSourceConfiguration & WithSnapshotWatermarkTable(SnapshotWatermarkTableT &&value)
bool SSLModeHasBeenSet() const
DatabaseSourceConfiguration & WithSurrogateKeys(SurrogateKeysT &&value)
const Aws::Vector< Aws::String > & GetSurrogateKeys() const
DatabaseSourceConfiguration & WithDatabaseSourceVPCConfiguration(DatabaseSourceVPCConfigurationT &&value)
bool DatabaseSourceAuthenticationConfigurationHasBeenSet() const
DatabaseSourceConfiguration & WithTables(TablesT &&value)
DatabaseSourceConfiguration & WithDatabases(DatabasesT &&value)
const DatabaseSourceAuthenticationConfiguration & GetDatabaseSourceAuthenticationConfiguration() const
const Aws::String & GetSnapshotWatermarkTable() const
const DatabaseColumnList & GetColumns() const
AWS_FIREHOSE_API DatabaseSourceConfiguration()=default
const DatabaseTableList & GetTables() const
AWS_FIREHOSE_API DatabaseSourceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
DatabaseSourceConfiguration & WithDatabaseSourceAuthenticationConfiguration(DatabaseSourceAuthenticationConfigurationT &&value)
bool ColumnsHasBeenSet() const
bool TablesHasBeenSet() const
const DatabaseList & GetDatabases() const
bool EndpointHasBeenSet() const
AWS_FIREHOSE_API DatabaseSourceConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue