AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
39
40
42
45 inline const Aws::String& GetName() const{ return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
48 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
49 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
50 inline DirectJDBCSource& WithName(const Aws::String& value) { SetName(value); return *this;}
51 inline DirectJDBCSource& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
52 inline DirectJDBCSource& WithName(const char* value) { SetName(value); return *this;}
54
56
59 inline const Aws::String& GetDatabase() const{ return m_database; }
60 inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
61 inline void SetDatabase(const Aws::String& value) { m_databaseHasBeenSet = true; m_database = value; }
62 inline void SetDatabase(Aws::String&& value) { m_databaseHasBeenSet = true; m_database = std::move(value); }
63 inline void SetDatabase(const char* value) { m_databaseHasBeenSet = true; m_database.assign(value); }
64 inline DirectJDBCSource& WithDatabase(const Aws::String& value) { SetDatabase(value); return *this;}
65 inline DirectJDBCSource& WithDatabase(Aws::String&& value) { SetDatabase(std::move(value)); return *this;}
66 inline DirectJDBCSource& WithDatabase(const char* value) { SetDatabase(value); return *this;}
68
70
73 inline const Aws::String& GetTable() const{ return m_table; }
74 inline bool TableHasBeenSet() const { return m_tableHasBeenSet; }
75 inline void SetTable(const Aws::String& value) { m_tableHasBeenSet = true; m_table = value; }
76 inline void SetTable(Aws::String&& value) { m_tableHasBeenSet = true; m_table = std::move(value); }
77 inline void SetTable(const char* value) { m_tableHasBeenSet = true; m_table.assign(value); }
78 inline DirectJDBCSource& WithTable(const Aws::String& value) { SetTable(value); return *this;}
79 inline DirectJDBCSource& WithTable(Aws::String&& value) { SetTable(std::move(value)); return *this;}
80 inline DirectJDBCSource& WithTable(const char* value) { SetTable(value); return *this;}
82
84
87 inline const Aws::String& GetConnectionName() const{ return m_connectionName; }
88 inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; }
89 inline void SetConnectionName(const Aws::String& value) { m_connectionNameHasBeenSet = true; m_connectionName = value; }
90 inline void SetConnectionName(Aws::String&& value) { m_connectionNameHasBeenSet = true; m_connectionName = std::move(value); }
91 inline void SetConnectionName(const char* value) { m_connectionNameHasBeenSet = true; m_connectionName.assign(value); }
92 inline DirectJDBCSource& WithConnectionName(const Aws::String& value) { SetConnectionName(value); return *this;}
93 inline DirectJDBCSource& WithConnectionName(Aws::String&& value) { SetConnectionName(std::move(value)); return *this;}
94 inline DirectJDBCSource& WithConnectionName(const char* value) { SetConnectionName(value); return *this;}
96
98
101 inline const JDBCConnectionType& GetConnectionType() const{ return m_connectionType; }
102 inline bool ConnectionTypeHasBeenSet() const { return m_connectionTypeHasBeenSet; }
103 inline void SetConnectionType(const JDBCConnectionType& value) { m_connectionTypeHasBeenSet = true; m_connectionType = value; }
104 inline void SetConnectionType(JDBCConnectionType&& value) { m_connectionTypeHasBeenSet = true; m_connectionType = std::move(value); }
105 inline DirectJDBCSource& WithConnectionType(const JDBCConnectionType& value) { SetConnectionType(value); return *this;}
106 inline DirectJDBCSource& WithConnectionType(JDBCConnectionType&& value) { SetConnectionType(std::move(value)); return *this;}
108
110
113 inline const Aws::String& GetRedshiftTmpDir() const{ return m_redshiftTmpDir; }
114 inline bool RedshiftTmpDirHasBeenSet() const { return m_redshiftTmpDirHasBeenSet; }
115 inline void SetRedshiftTmpDir(const Aws::String& value) { m_redshiftTmpDirHasBeenSet = true; m_redshiftTmpDir = value; }
116 inline void SetRedshiftTmpDir(Aws::String&& value) { m_redshiftTmpDirHasBeenSet = true; m_redshiftTmpDir = std::move(value); }
117 inline void SetRedshiftTmpDir(const char* value) { m_redshiftTmpDirHasBeenSet = true; m_redshiftTmpDir.assign(value); }
118 inline DirectJDBCSource& WithRedshiftTmpDir(const Aws::String& value) { SetRedshiftTmpDir(value); return *this;}
119 inline DirectJDBCSource& WithRedshiftTmpDir(Aws::String&& value) { SetRedshiftTmpDir(std::move(value)); return *this;}
120 inline DirectJDBCSource& WithRedshiftTmpDir(const char* value) { SetRedshiftTmpDir(value); return *this;}
122 private:
123
124 Aws::String m_name;
125 bool m_nameHasBeenSet = false;
126
127 Aws::String m_database;
128 bool m_databaseHasBeenSet = false;
129
130 Aws::String m_table;
131 bool m_tableHasBeenSet = false;
132
133 Aws::String m_connectionName;
134 bool m_connectionNameHasBeenSet = false;
135
136 JDBCConnectionType m_connectionType;
137 bool m_connectionTypeHasBeenSet = false;
138
139 Aws::String m_redshiftTmpDir;
140 bool m_redshiftTmpDirHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace Glue
145} // namespace Aws
AWS_GLUE_API DirectJDBCSource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTable(Aws::String &&value)
void SetConnectionName(Aws::String &&value)
void SetConnectionName(const Aws::String &value)
DirectJDBCSource & WithName(Aws::String &&value)
const Aws::String & GetName() const
void SetRedshiftTmpDir(Aws::String &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRedshiftTmpDir(const Aws::String &value)
DirectJDBCSource & WithRedshiftTmpDir(const Aws::String &value)
DirectJDBCSource & WithConnectionType(const JDBCConnectionType &value)
DirectJDBCSource & WithConnectionType(JDBCConnectionType &&value)
AWS_GLUE_API DirectJDBCSource(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTable() const
void SetConnectionName(const char *value)
DirectJDBCSource & WithRedshiftTmpDir(const char *value)
void SetTable(const Aws::String &value)
const JDBCConnectionType & GetConnectionType() const
const Aws::String & GetConnectionName() const
DirectJDBCSource & WithRedshiftTmpDir(Aws::String &&value)
DirectJDBCSource & WithName(const Aws::String &value)
void SetName(Aws::String &&value)
DirectJDBCSource & WithTable(Aws::String &&value)
DirectJDBCSource & WithConnectionName(Aws::String &&value)
void SetDatabase(const char *value)
DirectJDBCSource & WithConnectionName(const char *value)
void SetDatabase(const Aws::String &value)
DirectJDBCSource & WithName(const char *value)
void SetDatabase(Aws::String &&value)
void SetName(const Aws::String &value)
void SetRedshiftTmpDir(const char *value)
DirectJDBCSource & WithDatabase(Aws::String &&value)
DirectJDBCSource & WithDatabase(const char *value)
DirectJDBCSource & WithDatabase(const Aws::String &value)
DirectJDBCSource & WithTable(const char *value)
const Aws::String & GetDatabase() const
DirectJDBCSource & WithConnectionName(const Aws::String &value)
void SetConnectionType(const JDBCConnectionType &value)
DirectJDBCSource & WithTable(const Aws::String &value)
void SetConnectionType(JDBCConnectionType &&value)
const Aws::String & GetRedshiftTmpDir() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue