7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/UpsertRedshiftTargetOptions.h>
42 template <
typename NameT = Aws::String>
44 m_nameHasBeenSet =
true;
45 m_name = std::forward<NameT>(value);
47 template <
typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
60 template <
typename InputsT = Aws::Vector<Aws::String>>
62 m_inputsHasBeenSet =
true;
63 m_inputs = std::forward<InputsT>(value);
65 template <
typename InputsT = Aws::Vector<Aws::String>>
70 template <
typename InputsT = Aws::String>
72 m_inputsHasBeenSet =
true;
73 m_inputs.emplace_back(std::forward<InputsT>(value));
84 template <
typename DatabaseT = Aws::String>
86 m_databaseHasBeenSet =
true;
87 m_database = std::forward<DatabaseT>(value);
89 template <
typename DatabaseT = Aws::String>
102 template <
typename TableT = Aws::String>
104 m_tableHasBeenSet =
true;
105 m_table = std::forward<TableT>(value);
107 template <
typename TableT = Aws::String>
109 SetTable(std::forward<TableT>(value));
121 template <
typename RedshiftTmpDirT = Aws::String>
123 m_redshiftTmpDirHasBeenSet =
true;
124 m_redshiftTmpDir = std::forward<RedshiftTmpDirT>(value);
126 template <
typename RedshiftTmpDirT = Aws::String>
139 template <
typename TmpDirIAMRoleT = Aws::String>
141 m_tmpDirIAMRoleHasBeenSet =
true;
142 m_tmpDirIAMRole = std::forward<TmpDirIAMRoleT>(value);
144 template <
typename TmpDirIAMRoleT = Aws::String>
158 template <
typename UpsertRedshiftOptionsT = UpsertRedshiftTargetOptions>
160 m_upsertRedshiftOptionsHasBeenSet =
true;
161 m_upsertRedshiftOptions = std::forward<UpsertRedshiftOptionsT>(value);
163 template <
typename UpsertRedshiftOptionsT = UpsertRedshiftTargetOptions>
183 bool m_nameHasBeenSet =
false;
184 bool m_inputsHasBeenSet =
false;
185 bool m_databaseHasBeenSet =
false;
186 bool m_tableHasBeenSet =
false;
187 bool m_redshiftTmpDirHasBeenSet =
false;
188 bool m_tmpDirIAMRoleHasBeenSet =
false;
189 bool m_upsertRedshiftOptionsHasBeenSet =
false;
const Aws::String & GetTmpDirIAMRole() const
bool RedshiftTmpDirHasBeenSet() const
RedshiftTarget & WithDatabase(DatabaseT &&value)
RedshiftTarget & WithName(NameT &&value)
void SetUpsertRedshiftOptions(UpsertRedshiftOptionsT &&value)
RedshiftTarget & WithInputs(InputsT &&value)
bool TableHasBeenSet() const
void SetName(NameT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API RedshiftTarget()=default
void SetTable(TableT &&value)
const Aws::Vector< Aws::String > & GetInputs() const
const Aws::String & GetTable() const
bool UpsertRedshiftOptionsHasBeenSet() const
RedshiftTarget & AddInputs(InputsT &&value)
AWS_GLUE_API RedshiftTarget(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
bool TmpDirIAMRoleHasBeenSet() const
void SetInputs(InputsT &&value)
const Aws::String & GetDatabase() const
bool InputsHasBeenSet() const
bool DatabaseHasBeenSet() const
void SetTmpDirIAMRole(TmpDirIAMRoleT &&value)
const UpsertRedshiftTargetOptions & GetUpsertRedshiftOptions() const
const Aws::String & GetRedshiftTmpDir() const
AWS_GLUE_API RedshiftTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
RedshiftTarget & WithTmpDirIAMRole(TmpDirIAMRoleT &&value)
RedshiftTarget & WithUpsertRedshiftOptions(UpsertRedshiftOptionsT &&value)
RedshiftTarget & WithRedshiftTmpDir(RedshiftTmpDirT &&value)
RedshiftTarget & WithTable(TableT &&value)
void SetRedshiftTmpDir(RedshiftTmpDirT &&value)
void SetDatabase(DatabaseT &&value)
bool NameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue