AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RedshiftSource.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Glue
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_GLUE_API RedshiftSource();
38
39
41
44 inline const Aws::String& GetName() const{ return m_name; }
45 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
46 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
47 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
48 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
49 inline RedshiftSource& WithName(const Aws::String& value) { SetName(value); return *this;}
50 inline RedshiftSource& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
51 inline RedshiftSource& WithName(const char* value) { SetName(value); return *this;}
53
55
58 inline const Aws::String& GetDatabase() const{ return m_database; }
59 inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
60 inline void SetDatabase(const Aws::String& value) { m_databaseHasBeenSet = true; m_database = value; }
61 inline void SetDatabase(Aws::String&& value) { m_databaseHasBeenSet = true; m_database = std::move(value); }
62 inline void SetDatabase(const char* value) { m_databaseHasBeenSet = true; m_database.assign(value); }
63 inline RedshiftSource& WithDatabase(const Aws::String& value) { SetDatabase(value); return *this;}
64 inline RedshiftSource& WithDatabase(Aws::String&& value) { SetDatabase(std::move(value)); return *this;}
65 inline RedshiftSource& WithDatabase(const char* value) { SetDatabase(value); return *this;}
67
69
72 inline const Aws::String& GetTable() const{ return m_table; }
73 inline bool TableHasBeenSet() const { return m_tableHasBeenSet; }
74 inline void SetTable(const Aws::String& value) { m_tableHasBeenSet = true; m_table = value; }
75 inline void SetTable(Aws::String&& value) { m_tableHasBeenSet = true; m_table = std::move(value); }
76 inline void SetTable(const char* value) { m_tableHasBeenSet = true; m_table.assign(value); }
77 inline RedshiftSource& WithTable(const Aws::String& value) { SetTable(value); return *this;}
78 inline RedshiftSource& WithTable(Aws::String&& value) { SetTable(std::move(value)); return *this;}
79 inline RedshiftSource& WithTable(const char* value) { SetTable(value); return *this;}
81
83
87 inline const Aws::String& GetRedshiftTmpDir() const{ return m_redshiftTmpDir; }
88 inline bool RedshiftTmpDirHasBeenSet() const { return m_redshiftTmpDirHasBeenSet; }
89 inline void SetRedshiftTmpDir(const Aws::String& value) { m_redshiftTmpDirHasBeenSet = true; m_redshiftTmpDir = value; }
90 inline void SetRedshiftTmpDir(Aws::String&& value) { m_redshiftTmpDirHasBeenSet = true; m_redshiftTmpDir = std::move(value); }
91 inline void SetRedshiftTmpDir(const char* value) { m_redshiftTmpDirHasBeenSet = true; m_redshiftTmpDir.assign(value); }
92 inline RedshiftSource& WithRedshiftTmpDir(const Aws::String& value) { SetRedshiftTmpDir(value); return *this;}
93 inline RedshiftSource& WithRedshiftTmpDir(Aws::String&& value) { SetRedshiftTmpDir(std::move(value)); return *this;}
94 inline RedshiftSource& WithRedshiftTmpDir(const char* value) { SetRedshiftTmpDir(value); return *this;}
96
98
101 inline const Aws::String& GetTmpDirIAMRole() const{ return m_tmpDirIAMRole; }
102 inline bool TmpDirIAMRoleHasBeenSet() const { return m_tmpDirIAMRoleHasBeenSet; }
103 inline void SetTmpDirIAMRole(const Aws::String& value) { m_tmpDirIAMRoleHasBeenSet = true; m_tmpDirIAMRole = value; }
104 inline void SetTmpDirIAMRole(Aws::String&& value) { m_tmpDirIAMRoleHasBeenSet = true; m_tmpDirIAMRole = std::move(value); }
105 inline void SetTmpDirIAMRole(const char* value) { m_tmpDirIAMRoleHasBeenSet = true; m_tmpDirIAMRole.assign(value); }
106 inline RedshiftSource& WithTmpDirIAMRole(const Aws::String& value) { SetTmpDirIAMRole(value); return *this;}
107 inline RedshiftSource& WithTmpDirIAMRole(Aws::String&& value) { SetTmpDirIAMRole(std::move(value)); return *this;}
108 inline RedshiftSource& WithTmpDirIAMRole(const char* value) { SetTmpDirIAMRole(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_redshiftTmpDir;
122 bool m_redshiftTmpDirHasBeenSet = false;
123
124 Aws::String m_tmpDirIAMRole;
125 bool m_tmpDirIAMRoleHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace Glue
130} // namespace Aws
RedshiftSource & WithName(const char *value)
RedshiftSource & WithDatabase(const char *value)
void SetTable(const char *value)
AWS_GLUE_API RedshiftSource & operator=(Aws::Utils::Json::JsonView jsonValue)
RedshiftSource & WithName(const Aws::String &value)
RedshiftSource & WithTable(Aws::String &&value)
void SetName(Aws::String &&value)
RedshiftSource & WithRedshiftTmpDir(Aws::String &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
RedshiftSource & WithDatabase(Aws::String &&value)
void SetTable(const Aws::String &value)
RedshiftSource & WithTable(const Aws::String &value)
RedshiftSource & WithRedshiftTmpDir(const char *value)
void SetRedshiftTmpDir(const Aws::String &value)
AWS_GLUE_API RedshiftSource(Aws::Utils::Json::JsonView jsonValue)
RedshiftSource & WithTable(const char *value)
void SetTmpDirIAMRole(Aws::String &&value)
void SetName(const Aws::String &value)
RedshiftSource & WithTmpDirIAMRole(const Aws::String &value)
void SetRedshiftTmpDir(Aws::String &&value)
const Aws::String & GetDatabase() const
void SetTable(Aws::String &&value)
void SetTmpDirIAMRole(const char *value)
void SetDatabase(Aws::String &&value)
RedshiftSource & WithName(Aws::String &&value)
RedshiftSource & WithDatabase(const Aws::String &value)
RedshiftSource & WithRedshiftTmpDir(const Aws::String &value)
RedshiftSource & WithTmpDirIAMRole(Aws::String &&value)
const Aws::String & GetName() const
RedshiftSource & WithTmpDirIAMRole(const char *value)
const Aws::String & GetRedshiftTmpDir() const
void SetDatabase(const Aws::String &value)
void SetTmpDirIAMRole(const Aws::String &value)
const Aws::String & GetTable() const
void SetName(const char *value)
void SetRedshiftTmpDir(const char *value)
void SetDatabase(const char *value)
const Aws::String & GetTmpDirIAMRole() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue