7#include <aws/firehose/Firehose_EXPORTS.h>
8#include <aws/firehose/model/DatabaseType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/firehose/model/SSLMode.h>
11#include <aws/firehose/model/DatabaseList.h>
12#include <aws/firehose/model/DatabaseTableList.h>
13#include <aws/firehose/model/DatabaseColumnList.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/firehose/model/DatabaseSourceAuthenticationConfiguration.h>
16#include <aws/firehose/model/DatabaseSourceVPCConfiguration.h>
17#include <aws/firehose/model/DatabaseSnapshotInfo.h>
70 template<
typename Endpo
intT = Aws::String>
71 void SetEndpoint(EndpointT&& value) { m_endpointHasBeenSet =
true; m_endpoint = std::forward<EndpointT>(value); }
72 template<
typename Endpo
intT = Aws::String>
83 inline int GetPort()
const {
return m_port; }
85 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
109 template<
typename DatabasesT = DatabaseList>
110 void SetDatabases(DatabasesT&& value) { m_databasesHasBeenSet =
true; m_databases = std::forward<DatabasesT>(value); }
111 template<
typename DatabasesT = DatabaseList>
123 template<
typename TablesT = DatabaseTableList>
124 void SetTables(TablesT&& value) { m_tablesHasBeenSet =
true; m_tables = std::forward<TablesT>(value); }
125 template<
typename TablesT = DatabaseTableList>
137 template<
typename ColumnsT = DatabaseColumnList>
138 void SetColumns(ColumnsT&& value) { m_columnsHasBeenSet =
true; m_columns = std::forward<ColumnsT>(value); }
139 template<
typename ColumnsT = DatabaseColumnList>
151 template<
typename SurrogateKeysT = Aws::Vector<Aws::String>>
152 void SetSurrogateKeys(SurrogateKeysT&& value) { m_surrogateKeysHasBeenSet =
true; m_surrogateKeys = std::forward<SurrogateKeysT>(value); }
153 template<
typename SurrogateKeysT = Aws::Vector<Aws::String>>
155 template<
typename SurrogateKeysT = Aws::String>
167 template<
typename SnapshotWatermarkTableT = Aws::String>
168 void SetSnapshotWatermarkTable(SnapshotWatermarkTableT&& value) { m_snapshotWatermarkTableHasBeenSet =
true; m_snapshotWatermarkTable = std::forward<SnapshotWatermarkTableT>(value); }
169 template<
typename SnapshotWatermarkTableT = Aws::String>
181 template<
typename SnapshotInfoT = Aws::Vector<DatabaseSnapshotInfo>>
182 void SetSnapshotInfo(SnapshotInfoT&& value) { m_snapshotInfoHasBeenSet =
true; m_snapshotInfo = std::forward<SnapshotInfoT>(value); }
183 template<
typename SnapshotInfoT = Aws::Vector<DatabaseSnapshotInfo>>
185 template<
typename SnapshotInfoT = DatabaseSnapshotInfo>
197 template<
typename DatabaseSourceAuthenticationConfigurationT = DatabaseSourceAuthenticationConfiguration>
198 void SetDatabaseSourceAuthenticationConfiguration(DatabaseSourceAuthenticationConfigurationT&& value) { m_databaseSourceAuthenticationConfigurationHasBeenSet =
true; m_databaseSourceAuthenticationConfiguration = std::forward<DatabaseSourceAuthenticationConfigurationT>(value); }
199 template<
typename DatabaseSourceAuthenticationConfigurationT = DatabaseSourceAuthenticationConfiguration>
211 template<
typename DatabaseSourceVPCConfigurationT = DatabaseSourceVPCConfiguration>
212 void SetDatabaseSourceVPCConfiguration(DatabaseSourceVPCConfigurationT&& value) { m_databaseSourceVPCConfigurationHasBeenSet =
true; m_databaseSourceVPCConfiguration = std::forward<DatabaseSourceVPCConfigurationT>(value); }
213 template<
typename DatabaseSourceVPCConfigurationT = DatabaseSourceVPCConfiguration>
219 bool m_typeHasBeenSet =
false;
222 bool m_endpointHasBeenSet =
false;
225 bool m_portHasBeenSet =
false;
228 bool m_sSLModeHasBeenSet =
false;
230 DatabaseList m_databases;
231 bool m_databasesHasBeenSet =
false;
233 DatabaseTableList m_tables;
234 bool m_tablesHasBeenSet =
false;
236 DatabaseColumnList m_columns;
237 bool m_columnsHasBeenSet =
false;
240 bool m_surrogateKeysHasBeenSet =
false;
243 bool m_snapshotWatermarkTableHasBeenSet =
false;
246 bool m_snapshotInfoHasBeenSet =
false;
248 DatabaseSourceAuthenticationConfiguration m_databaseSourceAuthenticationConfiguration;
249 bool m_databaseSourceAuthenticationConfigurationHasBeenSet =
false;
251 DatabaseSourceVPCConfiguration m_databaseSourceVPCConfiguration;
252 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