7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/glue/model/UpsertRedshiftTargetOptions.h>
48 template<
typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
50 template<
typename NameT = Aws::String>
60 template<
typename InputsT = Aws::Vector<Aws::String>>
61 void SetInputs(InputsT&& value) { m_inputsHasBeenSet =
true; m_inputs = std::forward<InputsT>(value); }
62 template<
typename InputsT = Aws::Vector<Aws::String>>
64 template<
typename InputsT = Aws::String>
65 RedshiftTarget&
AddInputs(InputsT&& value) { m_inputsHasBeenSet =
true; m_inputs.emplace_back(std::forward<InputsT>(value));
return *
this; }
74 template<
typename DatabaseT = Aws::String>
75 void SetDatabase(DatabaseT&& value) { m_databaseHasBeenSet =
true; m_database = std::forward<DatabaseT>(value); }
76 template<
typename DatabaseT = Aws::String>
86 template<
typename TableT = Aws::String>
87 void SetTable(TableT&& value) { m_tableHasBeenSet =
true; m_table = std::forward<TableT>(value); }
88 template<
typename TableT = Aws::String>
99 template<
typename RedshiftTmpDirT = Aws::String>
100 void SetRedshiftTmpDir(RedshiftTmpDirT&& value) { m_redshiftTmpDirHasBeenSet =
true; m_redshiftTmpDir = std::forward<RedshiftTmpDirT>(value); }
101 template<
typename RedshiftTmpDirT = Aws::String>
111 template<
typename TmpDirIAMRoleT = Aws::String>
112 void SetTmpDirIAMRole(TmpDirIAMRoleT&& value) { m_tmpDirIAMRoleHasBeenSet =
true; m_tmpDirIAMRole = std::forward<TmpDirIAMRoleT>(value); }
113 template<
typename TmpDirIAMRoleT = Aws::String>
124 template<
typename UpsertRedshiftOptionsT = UpsertRedshiftTargetOptions>
125 void SetUpsertRedshiftOptions(UpsertRedshiftOptionsT&& value) { m_upsertRedshiftOptionsHasBeenSet =
true; m_upsertRedshiftOptions = std::forward<UpsertRedshiftOptionsT>(value); }
126 template<
typename UpsertRedshiftOptionsT = UpsertRedshiftTargetOptions>
132 bool m_nameHasBeenSet =
false;
135 bool m_inputsHasBeenSet =
false;
138 bool m_databaseHasBeenSet =
false;
141 bool m_tableHasBeenSet =
false;
144 bool m_redshiftTmpDirHasBeenSet =
false;
147 bool m_tmpDirIAMRoleHasBeenSet =
false;
150 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