AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RedshiftTarget.h
1
6#pragma once
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>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Glue
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_GLUE_API RedshiftTarget();
40
41
43
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline RedshiftTarget& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline RedshiftTarget& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline RedshiftTarget& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const Aws::Vector<Aws::String>& GetInputs() const{ return m_inputs; }
61 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
62 inline void SetInputs(const Aws::Vector<Aws::String>& value) { m_inputsHasBeenSet = true; m_inputs = value; }
63 inline void SetInputs(Aws::Vector<Aws::String>&& value) { m_inputsHasBeenSet = true; m_inputs = std::move(value); }
64 inline RedshiftTarget& WithInputs(const Aws::Vector<Aws::String>& value) { SetInputs(value); return *this;}
65 inline RedshiftTarget& WithInputs(Aws::Vector<Aws::String>&& value) { SetInputs(std::move(value)); return *this;}
66 inline RedshiftTarget& AddInputs(const Aws::String& value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
67 inline RedshiftTarget& AddInputs(Aws::String&& value) { m_inputsHasBeenSet = true; m_inputs.push_back(std::move(value)); return *this; }
68 inline RedshiftTarget& AddInputs(const char* value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
70
72
75 inline const Aws::String& GetDatabase() const{ return m_database; }
76 inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
77 inline void SetDatabase(const Aws::String& value) { m_databaseHasBeenSet = true; m_database = value; }
78 inline void SetDatabase(Aws::String&& value) { m_databaseHasBeenSet = true; m_database = std::move(value); }
79 inline void SetDatabase(const char* value) { m_databaseHasBeenSet = true; m_database.assign(value); }
80 inline RedshiftTarget& WithDatabase(const Aws::String& value) { SetDatabase(value); return *this;}
81 inline RedshiftTarget& WithDatabase(Aws::String&& value) { SetDatabase(std::move(value)); return *this;}
82 inline RedshiftTarget& WithDatabase(const char* value) { SetDatabase(value); return *this;}
84
86
89 inline const Aws::String& GetTable() const{ return m_table; }
90 inline bool TableHasBeenSet() const { return m_tableHasBeenSet; }
91 inline void SetTable(const Aws::String& value) { m_tableHasBeenSet = true; m_table = value; }
92 inline void SetTable(Aws::String&& value) { m_tableHasBeenSet = true; m_table = std::move(value); }
93 inline void SetTable(const char* value) { m_tableHasBeenSet = true; m_table.assign(value); }
94 inline RedshiftTarget& WithTable(const Aws::String& value) { SetTable(value); return *this;}
95 inline RedshiftTarget& WithTable(Aws::String&& value) { SetTable(std::move(value)); return *this;}
96 inline RedshiftTarget& WithTable(const char* value) { SetTable(value); return *this;}
98
100
104 inline const Aws::String& GetRedshiftTmpDir() const{ return m_redshiftTmpDir; }
105 inline bool RedshiftTmpDirHasBeenSet() const { return m_redshiftTmpDirHasBeenSet; }
106 inline void SetRedshiftTmpDir(const Aws::String& value) { m_redshiftTmpDirHasBeenSet = true; m_redshiftTmpDir = value; }
107 inline void SetRedshiftTmpDir(Aws::String&& value) { m_redshiftTmpDirHasBeenSet = true; m_redshiftTmpDir = std::move(value); }
108 inline void SetRedshiftTmpDir(const char* value) { m_redshiftTmpDirHasBeenSet = true; m_redshiftTmpDir.assign(value); }
109 inline RedshiftTarget& WithRedshiftTmpDir(const Aws::String& value) { SetRedshiftTmpDir(value); return *this;}
110 inline RedshiftTarget& WithRedshiftTmpDir(Aws::String&& value) { SetRedshiftTmpDir(std::move(value)); return *this;}
111 inline RedshiftTarget& WithRedshiftTmpDir(const char* value) { SetRedshiftTmpDir(value); return *this;}
113
115
118 inline const Aws::String& GetTmpDirIAMRole() const{ return m_tmpDirIAMRole; }
119 inline bool TmpDirIAMRoleHasBeenSet() const { return m_tmpDirIAMRoleHasBeenSet; }
120 inline void SetTmpDirIAMRole(const Aws::String& value) { m_tmpDirIAMRoleHasBeenSet = true; m_tmpDirIAMRole = value; }
121 inline void SetTmpDirIAMRole(Aws::String&& value) { m_tmpDirIAMRoleHasBeenSet = true; m_tmpDirIAMRole = std::move(value); }
122 inline void SetTmpDirIAMRole(const char* value) { m_tmpDirIAMRoleHasBeenSet = true; m_tmpDirIAMRole.assign(value); }
123 inline RedshiftTarget& WithTmpDirIAMRole(const Aws::String& value) { SetTmpDirIAMRole(value); return *this;}
124 inline RedshiftTarget& WithTmpDirIAMRole(Aws::String&& value) { SetTmpDirIAMRole(std::move(value)); return *this;}
125 inline RedshiftTarget& WithTmpDirIAMRole(const char* value) { SetTmpDirIAMRole(value); return *this;}
127
129
133 inline const UpsertRedshiftTargetOptions& GetUpsertRedshiftOptions() const{ return m_upsertRedshiftOptions; }
134 inline bool UpsertRedshiftOptionsHasBeenSet() const { return m_upsertRedshiftOptionsHasBeenSet; }
135 inline void SetUpsertRedshiftOptions(const UpsertRedshiftTargetOptions& value) { m_upsertRedshiftOptionsHasBeenSet = true; m_upsertRedshiftOptions = value; }
136 inline void SetUpsertRedshiftOptions(UpsertRedshiftTargetOptions&& value) { m_upsertRedshiftOptionsHasBeenSet = true; m_upsertRedshiftOptions = std::move(value); }
140 private:
141
142 Aws::String m_name;
143 bool m_nameHasBeenSet = false;
144
146 bool m_inputsHasBeenSet = false;
147
148 Aws::String m_database;
149 bool m_databaseHasBeenSet = false;
150
151 Aws::String m_table;
152 bool m_tableHasBeenSet = false;
153
154 Aws::String m_redshiftTmpDir;
155 bool m_redshiftTmpDirHasBeenSet = false;
156
157 Aws::String m_tmpDirIAMRole;
158 bool m_tmpDirIAMRoleHasBeenSet = false;
159
160 UpsertRedshiftTargetOptions m_upsertRedshiftOptions;
161 bool m_upsertRedshiftOptionsHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace Glue
166} // namespace Aws
void SetTable(Aws::String &&value)
const Aws::String & GetTmpDirIAMRole() const
void SetRedshiftTmpDir(const char *value)
void SetTable(const Aws::String &value)
void SetName(const char *value)
void SetRedshiftTmpDir(const Aws::String &value)
RedshiftTarget & WithDatabase(Aws::String &&value)
void SetUpsertRedshiftOptions(UpsertRedshiftTargetOptions &&value)
void SetDatabase(const char *value)
void SetDatabase(Aws::String &&value)
RedshiftTarget & AddInputs(Aws::String &&value)
RedshiftTarget & AddInputs(const Aws::String &value)
RedshiftTarget & WithRedshiftTmpDir(const char *value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
RedshiftTarget & WithTmpDirIAMRole(const char *value)
RedshiftTarget & WithDatabase(const char *value)
void SetName(const Aws::String &value)
RedshiftTarget & WithTable(Aws::String &&value)
RedshiftTarget & WithName(const Aws::String &value)
const Aws::Vector< Aws::String > & GetInputs() const
RedshiftTarget & WithInputs(Aws::Vector< Aws::String > &&value)
RedshiftTarget & WithName(const char *value)
void SetInputs(const Aws::Vector< Aws::String > &value)
const Aws::String & GetTable() const
RedshiftTarget & WithRedshiftTmpDir(Aws::String &&value)
RedshiftTarget & AddInputs(const char *value)
void SetDatabase(const Aws::String &value)
AWS_GLUE_API RedshiftTarget(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
void SetTmpDirIAMRole(Aws::String &&value)
void SetTmpDirIAMRole(const Aws::String &value)
RedshiftTarget & WithTmpDirIAMRole(const Aws::String &value)
RedshiftTarget & WithInputs(const Aws::Vector< Aws::String > &value)
void SetUpsertRedshiftOptions(const UpsertRedshiftTargetOptions &value)
RedshiftTarget & WithDatabase(const Aws::String &value)
const Aws::String & GetDatabase() const
RedshiftTarget & WithTable(const Aws::String &value)
const UpsertRedshiftTargetOptions & GetUpsertRedshiftOptions() const
RedshiftTarget & WithRedshiftTmpDir(const Aws::String &value)
RedshiftTarget & WithUpsertRedshiftOptions(UpsertRedshiftTargetOptions &&value)
void SetName(Aws::String &&value)
const Aws::String & GetRedshiftTmpDir() const
AWS_GLUE_API RedshiftTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
RedshiftTarget & WithUpsertRedshiftOptions(const UpsertRedshiftTargetOptions &value)
RedshiftTarget & WithName(Aws::String &&value)
void SetTmpDirIAMRole(const char *value)
void SetTable(const char *value)
RedshiftTarget & WithTmpDirIAMRole(Aws::String &&value)
void SetRedshiftTmpDir(Aws::String &&value)
RedshiftTarget & WithTable(const char *value)
void SetInputs(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue