AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
RedshiftSource.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Glue {
20namespace Model {
21
28 public:
29 AWS_GLUE_API RedshiftSource() = default;
33
35
38 inline const Aws::String& GetName() const { return m_name; }
39 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
40 template <typename NameT = Aws::String>
41 void SetName(NameT&& value) {
42 m_nameHasBeenSet = true;
43 m_name = std::forward<NameT>(value);
44 }
45 template <typename NameT = Aws::String>
46 RedshiftSource& WithName(NameT&& value) {
47 SetName(std::forward<NameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetDatabase() const { return m_database; }
57 inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
58 template <typename DatabaseT = Aws::String>
59 void SetDatabase(DatabaseT&& value) {
60 m_databaseHasBeenSet = true;
61 m_database = std::forward<DatabaseT>(value);
62 }
63 template <typename DatabaseT = Aws::String>
64 RedshiftSource& WithDatabase(DatabaseT&& value) {
65 SetDatabase(std::forward<DatabaseT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetTable() const { return m_table; }
75 inline bool TableHasBeenSet() const { return m_tableHasBeenSet; }
76 template <typename TableT = Aws::String>
77 void SetTable(TableT&& value) {
78 m_tableHasBeenSet = true;
79 m_table = std::forward<TableT>(value);
80 }
81 template <typename TableT = Aws::String>
82 RedshiftSource& WithTable(TableT&& value) {
83 SetTable(std::forward<TableT>(value));
84 return *this;
85 }
87
89
93 inline const Aws::String& GetRedshiftTmpDir() const { return m_redshiftTmpDir; }
94 inline bool RedshiftTmpDirHasBeenSet() const { return m_redshiftTmpDirHasBeenSet; }
95 template <typename RedshiftTmpDirT = Aws::String>
96 void SetRedshiftTmpDir(RedshiftTmpDirT&& value) {
97 m_redshiftTmpDirHasBeenSet = true;
98 m_redshiftTmpDir = std::forward<RedshiftTmpDirT>(value);
99 }
100 template <typename RedshiftTmpDirT = Aws::String>
101 RedshiftSource& WithRedshiftTmpDir(RedshiftTmpDirT&& value) {
102 SetRedshiftTmpDir(std::forward<RedshiftTmpDirT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetTmpDirIAMRole() const { return m_tmpDirIAMRole; }
112 inline bool TmpDirIAMRoleHasBeenSet() const { return m_tmpDirIAMRoleHasBeenSet; }
113 template <typename TmpDirIAMRoleT = Aws::String>
114 void SetTmpDirIAMRole(TmpDirIAMRoleT&& value) {
115 m_tmpDirIAMRoleHasBeenSet = true;
116 m_tmpDirIAMRole = std::forward<TmpDirIAMRoleT>(value);
117 }
118 template <typename TmpDirIAMRoleT = Aws::String>
119 RedshiftSource& WithTmpDirIAMRole(TmpDirIAMRoleT&& value) {
120 SetTmpDirIAMRole(std::forward<TmpDirIAMRoleT>(value));
121 return *this;
122 }
124 private:
125 Aws::String m_name;
126
127 Aws::String m_database;
128
129 Aws::String m_table;
130
131 Aws::String m_redshiftTmpDir;
132
133 Aws::String m_tmpDirIAMRole;
134 bool m_nameHasBeenSet = false;
135 bool m_databaseHasBeenSet = false;
136 bool m_tableHasBeenSet = false;
137 bool m_redshiftTmpDirHasBeenSet = false;
138 bool m_tmpDirIAMRoleHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace Glue
143} // namespace Aws
RedshiftSource & WithRedshiftTmpDir(RedshiftTmpDirT &&value)
RedshiftSource & WithTmpDirIAMRole(TmpDirIAMRoleT &&value)
AWS_GLUE_API RedshiftSource & operator=(Aws::Utils::Json::JsonView jsonValue)
RedshiftSource & WithName(NameT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API RedshiftSource(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDatabase() const
RedshiftSource & WithTable(TableT &&value)
void SetRedshiftTmpDir(RedshiftTmpDirT &&value)
AWS_GLUE_API RedshiftSource()=default
const Aws::String & GetName() const
void SetTmpDirIAMRole(TmpDirIAMRoleT &&value)
const Aws::String & GetRedshiftTmpDir() const
const Aws::String & GetTable() const
RedshiftSource & WithDatabase(DatabaseT &&value)
void SetDatabase(DatabaseT &&value)
const Aws::String & GetTmpDirIAMRole() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue