AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DirectJDBCSource.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/model/JDBCConnectionType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Glue
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_GLUE_API DirectJDBCSource() = default;
39
40
42
45 inline const Aws::String& GetName() const { return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 template<typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
49 template<typename NameT = Aws::String>
50 DirectJDBCSource& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
52
54
57 inline const Aws::String& GetDatabase() const { return m_database; }
58 inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
59 template<typename DatabaseT = Aws::String>
60 void SetDatabase(DatabaseT&& value) { m_databaseHasBeenSet = true; m_database = std::forward<DatabaseT>(value); }
61 template<typename DatabaseT = Aws::String>
62 DirectJDBCSource& WithDatabase(DatabaseT&& value) { SetDatabase(std::forward<DatabaseT>(value)); return *this;}
64
66
69 inline const Aws::String& GetTable() const { return m_table; }
70 inline bool TableHasBeenSet() const { return m_tableHasBeenSet; }
71 template<typename TableT = Aws::String>
72 void SetTable(TableT&& value) { m_tableHasBeenSet = true; m_table = std::forward<TableT>(value); }
73 template<typename TableT = Aws::String>
74 DirectJDBCSource& WithTable(TableT&& value) { SetTable(std::forward<TableT>(value)); return *this;}
76
78
81 inline const Aws::String& GetConnectionName() const { return m_connectionName; }
82 inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; }
83 template<typename ConnectionNameT = Aws::String>
84 void SetConnectionName(ConnectionNameT&& value) { m_connectionNameHasBeenSet = true; m_connectionName = std::forward<ConnectionNameT>(value); }
85 template<typename ConnectionNameT = Aws::String>
86 DirectJDBCSource& WithConnectionName(ConnectionNameT&& value) { SetConnectionName(std::forward<ConnectionNameT>(value)); return *this;}
88
90
93 inline JDBCConnectionType GetConnectionType() const { return m_connectionType; }
94 inline bool ConnectionTypeHasBeenSet() const { return m_connectionTypeHasBeenSet; }
95 inline void SetConnectionType(JDBCConnectionType value) { m_connectionTypeHasBeenSet = true; m_connectionType = value; }
98
100
103 inline const Aws::String& GetRedshiftTmpDir() const { return m_redshiftTmpDir; }
104 inline bool RedshiftTmpDirHasBeenSet() const { return m_redshiftTmpDirHasBeenSet; }
105 template<typename RedshiftTmpDirT = Aws::String>
106 void SetRedshiftTmpDir(RedshiftTmpDirT&& value) { m_redshiftTmpDirHasBeenSet = true; m_redshiftTmpDir = std::forward<RedshiftTmpDirT>(value); }
107 template<typename RedshiftTmpDirT = Aws::String>
108 DirectJDBCSource& WithRedshiftTmpDir(RedshiftTmpDirT&& value) { SetRedshiftTmpDir(std::forward<RedshiftTmpDirT>(value)); return *this;}
110 private:
111
112 Aws::String m_name;
113 bool m_nameHasBeenSet = false;
114
115 Aws::String m_database;
116 bool m_databaseHasBeenSet = false;
117
118 Aws::String m_table;
119 bool m_tableHasBeenSet = false;
120
121 Aws::String m_connectionName;
122 bool m_connectionNameHasBeenSet = false;
123
125 bool m_connectionTypeHasBeenSet = false;
126
127 Aws::String m_redshiftTmpDir;
128 bool m_redshiftTmpDirHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace Glue
133} // namespace Aws
DirectJDBCSource & WithRedshiftTmpDir(RedshiftTmpDirT &&value)
AWS_GLUE_API DirectJDBCSource & operator=(Aws::Utils::Json::JsonView jsonValue)
DirectJDBCSource & WithConnectionName(ConnectionNameT &&value)
const Aws::String & GetName() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRedshiftTmpDir(RedshiftTmpDirT &&value)
void SetConnectionType(JDBCConnectionType value)
AWS_GLUE_API DirectJDBCSource(Aws::Utils::Json::JsonView jsonValue)
void SetConnectionName(ConnectionNameT &&value)
const Aws::String & GetTable() const
DirectJDBCSource & WithTable(TableT &&value)
const Aws::String & GetConnectionName() const
void SetDatabase(DatabaseT &&value)
AWS_GLUE_API DirectJDBCSource()=default
JDBCConnectionType GetConnectionType() const
DirectJDBCSource & WithConnectionType(JDBCConnectionType value)
DirectJDBCSource & WithDatabase(DatabaseT &&value)
DirectJDBCSource & WithName(NameT &&value)
const Aws::String & GetDatabase() const
const Aws::String & GetRedshiftTmpDir() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue