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/DatabaseSnapshotInfo.h>
13#include <aws/firehose/model/DatabaseSourceAuthenticationConfiguration.h>
14#include <aws/firehose/model/DatabaseSourceVPCConfiguration.h>
15#include <aws/firehose/model/DatabaseTableList.h>
16#include <aws/firehose/model/DatabaseType.h>
17#include <aws/firehose/model/SSLMode.h>
54 m_typeHasBeenSet =
true;
70 template <
typename Endpo
intT = Aws::String>
72 m_endpointHasBeenSet =
true;
73 m_endpoint = std::forward<EndpointT>(value);
75 template <
typename Endpo
intT = Aws::String>
89 inline int GetPort()
const {
return m_port; }
92 m_portHasBeenSet =
true;
110 m_sSLModeHasBeenSet =
true;
127 template <
typename DatabasesT = DatabaseList>
129 m_databasesHasBeenSet =
true;
130 m_databases = std::forward<DatabasesT>(value);
132 template <
typename DatabasesT = DatabaseList>
147 template <
typename TablesT = DatabaseTableList>
149 m_tablesHasBeenSet =
true;
150 m_tables = std::forward<TablesT>(value);
152 template <
typename TablesT = DatabaseTableList>
167 template <
typename ColumnsT = DatabaseColumnList>
169 m_columnsHasBeenSet =
true;
170 m_columns = std::forward<ColumnsT>(value);
172 template <
typename ColumnsT = DatabaseColumnList>
187 template <
typename SurrogateKeysT = Aws::Vector<Aws::String>>
189 m_surrogateKeysHasBeenSet =
true;
190 m_surrogateKeys = std::forward<SurrogateKeysT>(value);
192 template <
typename SurrogateKeysT = Aws::Vector<Aws::String>>
197 template <
typename SurrogateKeysT = Aws::String>
199 m_surrogateKeysHasBeenSet =
true;
200 m_surrogateKeys.emplace_back(std::forward<SurrogateKeysT>(value));
213 template <
typename SnapshotWatermarkTableT = Aws::String>
215 m_snapshotWatermarkTableHasBeenSet =
true;
216 m_snapshotWatermarkTable = std::forward<SnapshotWatermarkTableT>(value);
218 template <
typename SnapshotWatermarkTableT = Aws::String>
233 template <
typename SnapshotInfoT = Aws::Vector<DatabaseSnapshotInfo>>
235 m_snapshotInfoHasBeenSet =
true;
236 m_snapshotInfo = std::forward<SnapshotInfoT>(value);
238 template <
typename SnapshotInfoT = Aws::Vector<DatabaseSnapshotInfo>>
243 template <
typename SnapshotInfoT = DatabaseSnapshotInfo>
245 m_snapshotInfoHasBeenSet =
true;
246 m_snapshotInfo.emplace_back(std::forward<SnapshotInfoT>(value));
258 return m_databaseSourceAuthenticationConfiguration;
261 template <
typename DatabaseSourceAuthenticationConfigurationT = DatabaseSourceAuthenticationConfiguration>
263 m_databaseSourceAuthenticationConfigurationHasBeenSet =
true;
264 m_databaseSourceAuthenticationConfiguration = std::forward<DatabaseSourceAuthenticationConfigurationT>(value);
266 template <
typename DatabaseSourceAuthenticationConfigurationT = DatabaseSourceAuthenticationConfiguration>
281 template <
typename DatabaseSourceVPCConfigurationT = DatabaseSourceVPCConfiguration>
283 m_databaseSourceVPCConfigurationHasBeenSet =
true;
284 m_databaseSourceVPCConfiguration = std::forward<DatabaseSourceVPCConfigurationT>(value);
286 template <
typename DatabaseSourceVPCConfigurationT = DatabaseSourceVPCConfiguration>
301 DatabaseList m_databases;
303 DatabaseTableList m_tables;
305 DatabaseColumnList m_columns;
313 DatabaseSourceAuthenticationConfiguration m_databaseSourceAuthenticationConfiguration;
315 DatabaseSourceVPCConfiguration m_databaseSourceVPCConfiguration;
316 bool m_typeHasBeenSet =
false;
317 bool m_endpointHasBeenSet =
false;
318 bool m_portHasBeenSet =
false;
319 bool m_sSLModeHasBeenSet =
false;
320 bool m_databasesHasBeenSet =
false;
321 bool m_tablesHasBeenSet =
false;
322 bool m_columnsHasBeenSet =
false;
323 bool m_surrogateKeysHasBeenSet =
false;
324 bool m_snapshotWatermarkTableHasBeenSet =
false;
325 bool m_snapshotInfoHasBeenSet =
false;
326 bool m_databaseSourceAuthenticationConfigurationHasBeenSet =
false;
327 bool m_databaseSourceVPCConfigurationHasBeenSet =
false;
const DatabaseSourceAuthenticationConfiguration & GetDatabaseSourceAuthenticationConfiguration() const
const Aws::String & GetEndpoint() const
void SetSnapshotInfo(SnapshotInfoT &&value)
void SetTables(TablesT &&value)
AWS_FIREHOSE_API DatabaseSourceDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDatabases(DatabasesT &&value)
bool TypeHasBeenSet() const
SSLMode GetSSLMode() const
const DatabaseTableList & GetTables() const
DatabaseSourceDescription & AddSnapshotInfo(SnapshotInfoT &&value)
bool DatabasesHasBeenSet() const
AWS_FIREHOSE_API DatabaseSourceDescription()=default
bool DatabaseSourceAuthenticationConfigurationHasBeenSet() const
DatabaseSourceDescription & WithType(DatabaseType value)
DatabaseSourceDescription & WithSSLMode(SSLMode value)
void SetSSLMode(SSLMode value)
bool TablesHasBeenSet() const
void SetDatabaseSourceAuthenticationConfiguration(DatabaseSourceAuthenticationConfigurationT &&value)
DatabaseSourceDescription & WithTables(TablesT &&value)
bool EndpointHasBeenSet() const
DatabaseSourceDescription & WithSnapshotWatermarkTable(SnapshotWatermarkTableT &&value)
const Aws::String & GetSnapshotWatermarkTable() const
const DatabaseSourceVPCConfiguration & GetDatabaseSourceVPCConfiguration() const
const DatabaseColumnList & GetColumns() const
DatabaseSourceDescription & WithColumns(ColumnsT &&value)
void SetColumns(ColumnsT &&value)
bool DatabaseSourceVPCConfigurationHasBeenSet() const
DatabaseSourceDescription & WithPort(int value)
DatabaseSourceDescription & WithDatabases(DatabasesT &&value)
bool PortHasBeenSet() const
bool ColumnsHasBeenSet() const
void SetDatabaseSourceVPCConfiguration(DatabaseSourceVPCConfigurationT &&value)
const DatabaseList & GetDatabases() const
AWS_FIREHOSE_API DatabaseSourceDescription(Aws::Utils::Json::JsonView jsonValue)
bool SSLModeHasBeenSet() const
DatabaseSourceDescription & WithSurrogateKeys(SurrogateKeysT &&value)
const Aws::Vector< DatabaseSnapshotInfo > & GetSnapshotInfo() const
const Aws::Vector< Aws::String > & GetSurrogateKeys() const
bool SnapshotInfoHasBeenSet() const
DatabaseSourceDescription & WithEndpoint(EndpointT &&value)
DatabaseSourceDescription & WithDatabaseSourceVPCConfiguration(DatabaseSourceVPCConfigurationT &&value)
bool SurrogateKeysHasBeenSet() const
DatabaseSourceDescription & AddSurrogateKeys(SurrogateKeysT &&value)
bool SnapshotWatermarkTableHasBeenSet() const
DatabaseSourceDescription & WithSnapshotInfo(SnapshotInfoT &&value)
void SetSnapshotWatermarkTable(SnapshotWatermarkTableT &&value)
DatabaseType GetType() const
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEndpoint(EndpointT &&value)
DatabaseSourceDescription & WithDatabaseSourceAuthenticationConfiguration(DatabaseSourceAuthenticationConfigurationT &&value)
void SetSurrogateKeys(SurrogateKeysT &&value)
void SetType(DatabaseType 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