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>
69 template<
typename Endpo
intT = Aws::String>
70 void SetEndpoint(EndpointT&& value) { m_endpointHasBeenSet =
true; m_endpoint = std::forward<EndpointT>(value); }
71 template<
typename Endpo
intT = Aws::String>
82 inline int GetPort()
const {
return m_port; }
84 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
108 template<
typename DatabasesT = DatabaseList>
109 void SetDatabases(DatabasesT&& value) { m_databasesHasBeenSet =
true; m_databases = std::forward<DatabasesT>(value); }
110 template<
typename DatabasesT = DatabaseList>
122 template<
typename TablesT = DatabaseTableList>
123 void SetTables(TablesT&& value) { m_tablesHasBeenSet =
true; m_tables = std::forward<TablesT>(value); }
124 template<
typename TablesT = DatabaseTableList>
136 template<
typename ColumnsT = DatabaseColumnList>
137 void SetColumns(ColumnsT&& value) { m_columnsHasBeenSet =
true; m_columns = std::forward<ColumnsT>(value); }
138 template<
typename ColumnsT = DatabaseColumnList>
150 template<
typename SurrogateKeysT = Aws::Vector<Aws::String>>
151 void SetSurrogateKeys(SurrogateKeysT&& value) { m_surrogateKeysHasBeenSet =
true; m_surrogateKeys = std::forward<SurrogateKeysT>(value); }
152 template<
typename SurrogateKeysT = Aws::Vector<Aws::String>>
154 template<
typename SurrogateKeysT = Aws::String>
166 template<
typename SnapshotWatermarkTableT = Aws::String>
167 void SetSnapshotWatermarkTable(SnapshotWatermarkTableT&& value) { m_snapshotWatermarkTableHasBeenSet =
true; m_snapshotWatermarkTable = std::forward<SnapshotWatermarkTableT>(value); }
168 template<
typename SnapshotWatermarkTableT = Aws::String>
180 template<
typename DatabaseSourceAuthenticationConfigurationT = DatabaseSourceAuthenticationConfiguration>
181 void SetDatabaseSourceAuthenticationConfiguration(DatabaseSourceAuthenticationConfigurationT&& value) { m_databaseSourceAuthenticationConfigurationHasBeenSet =
true; m_databaseSourceAuthenticationConfiguration = std::forward<DatabaseSourceAuthenticationConfigurationT>(value); }
182 template<
typename DatabaseSourceAuthenticationConfigurationT = DatabaseSourceAuthenticationConfiguration>
194 template<
typename DatabaseSourceVPCConfigurationT = DatabaseSourceVPCConfiguration>
195 void SetDatabaseSourceVPCConfiguration(DatabaseSourceVPCConfigurationT&& value) { m_databaseSourceVPCConfigurationHasBeenSet =
true; m_databaseSourceVPCConfiguration = std::forward<DatabaseSourceVPCConfigurationT>(value); }
196 template<
typename DatabaseSourceVPCConfigurationT = DatabaseSourceVPCConfiguration>
202 bool m_typeHasBeenSet =
false;
205 bool m_endpointHasBeenSet =
false;
208 bool m_portHasBeenSet =
false;
211 bool m_sSLModeHasBeenSet =
false;
213 DatabaseList m_databases;
214 bool m_databasesHasBeenSet =
false;
216 DatabaseTableList m_tables;
217 bool m_tablesHasBeenSet =
false;
219 DatabaseColumnList m_columns;
220 bool m_columnsHasBeenSet =
false;
223 bool m_surrogateKeysHasBeenSet =
false;
226 bool m_snapshotWatermarkTableHasBeenSet =
false;
228 DatabaseSourceAuthenticationConfiguration m_databaseSourceAuthenticationConfiguration;
229 bool m_databaseSourceAuthenticationConfigurationHasBeenSet =
false;
231 DatabaseSourceVPCConfiguration m_databaseSourceVPCConfiguration;
232 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