AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
38
39
41
44 inline const Aws::String& GetName() const { return m_name; }
45 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
46 template<typename NameT = Aws::String>
47 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
48 template<typename NameT = Aws::String>
49 RedshiftSource& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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) { m_databaseHasBeenSet = true; m_database = std::forward<DatabaseT>(value); }
60 template<typename DatabaseT = Aws::String>
61 RedshiftSource& WithDatabase(DatabaseT&& value) { SetDatabase(std::forward<DatabaseT>(value)); return *this;}
63
65
68 inline const Aws::String& GetTable() const { return m_table; }
69 inline bool TableHasBeenSet() const { return m_tableHasBeenSet; }
70 template<typename TableT = Aws::String>
71 void SetTable(TableT&& value) { m_tableHasBeenSet = true; m_table = std::forward<TableT>(value); }
72 template<typename TableT = Aws::String>
73 RedshiftSource& WithTable(TableT&& value) { SetTable(std::forward<TableT>(value)); return *this;}
75
77
81 inline const Aws::String& GetRedshiftTmpDir() const { return m_redshiftTmpDir; }
82 inline bool RedshiftTmpDirHasBeenSet() const { return m_redshiftTmpDirHasBeenSet; }
83 template<typename RedshiftTmpDirT = Aws::String>
84 void SetRedshiftTmpDir(RedshiftTmpDirT&& value) { m_redshiftTmpDirHasBeenSet = true; m_redshiftTmpDir = std::forward<RedshiftTmpDirT>(value); }
85 template<typename RedshiftTmpDirT = Aws::String>
86 RedshiftSource& WithRedshiftTmpDir(RedshiftTmpDirT&& value) { SetRedshiftTmpDir(std::forward<RedshiftTmpDirT>(value)); return *this;}
88
90
93 inline const Aws::String& GetTmpDirIAMRole() const { return m_tmpDirIAMRole; }
94 inline bool TmpDirIAMRoleHasBeenSet() const { return m_tmpDirIAMRoleHasBeenSet; }
95 template<typename TmpDirIAMRoleT = Aws::String>
96 void SetTmpDirIAMRole(TmpDirIAMRoleT&& value) { m_tmpDirIAMRoleHasBeenSet = true; m_tmpDirIAMRole = std::forward<TmpDirIAMRoleT>(value); }
97 template<typename TmpDirIAMRoleT = Aws::String>
98 RedshiftSource& WithTmpDirIAMRole(TmpDirIAMRoleT&& value) { SetTmpDirIAMRole(std::forward<TmpDirIAMRoleT>(value)); return *this;}
100 private:
101
102 Aws::String m_name;
103 bool m_nameHasBeenSet = false;
104
105 Aws::String m_database;
106 bool m_databaseHasBeenSet = false;
107
108 Aws::String m_table;
109 bool m_tableHasBeenSet = false;
110
111 Aws::String m_redshiftTmpDir;
112 bool m_redshiftTmpDirHasBeenSet = false;
113
114 Aws::String m_tmpDirIAMRole;
115 bool m_tmpDirIAMRoleHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace Glue
120} // 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