AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DynamicTransform.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/TransformConfigParameter.h>
11#include <aws/glue/model/GlueSchema.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Glue
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_GLUE_API DynamicTransform();
42
43
45
48 inline const Aws::String& GetName() const{ return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline DynamicTransform& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline DynamicTransform& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline DynamicTransform& WithName(const char* value) { SetName(value); return *this;}
57
59
63 inline const Aws::String& GetTransformName() const{ return m_transformName; }
64 inline bool TransformNameHasBeenSet() const { return m_transformNameHasBeenSet; }
65 inline void SetTransformName(const Aws::String& value) { m_transformNameHasBeenSet = true; m_transformName = value; }
66 inline void SetTransformName(Aws::String&& value) { m_transformNameHasBeenSet = true; m_transformName = std::move(value); }
67 inline void SetTransformName(const char* value) { m_transformNameHasBeenSet = true; m_transformName.assign(value); }
68 inline DynamicTransform& WithTransformName(const Aws::String& value) { SetTransformName(value); return *this;}
69 inline DynamicTransform& WithTransformName(Aws::String&& value) { SetTransformName(std::move(value)); return *this;}
70 inline DynamicTransform& WithTransformName(const char* value) { SetTransformName(value); return *this;}
72
74
77 inline const Aws::Vector<Aws::String>& GetInputs() const{ return m_inputs; }
78 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
79 inline void SetInputs(const Aws::Vector<Aws::String>& value) { m_inputsHasBeenSet = true; m_inputs = value; }
80 inline void SetInputs(Aws::Vector<Aws::String>&& value) { m_inputsHasBeenSet = true; m_inputs = std::move(value); }
81 inline DynamicTransform& WithInputs(const Aws::Vector<Aws::String>& value) { SetInputs(value); return *this;}
82 inline DynamicTransform& WithInputs(Aws::Vector<Aws::String>&& value) { SetInputs(std::move(value)); return *this;}
83 inline DynamicTransform& AddInputs(const Aws::String& value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
84 inline DynamicTransform& AddInputs(Aws::String&& value) { m_inputsHasBeenSet = true; m_inputs.push_back(std::move(value)); return *this; }
85 inline DynamicTransform& AddInputs(const char* value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
87
89
92 inline const Aws::Vector<TransformConfigParameter>& GetParameters() const{ return m_parameters; }
93 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
94 inline void SetParameters(const Aws::Vector<TransformConfigParameter>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
95 inline void SetParameters(Aws::Vector<TransformConfigParameter>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
97 inline DynamicTransform& WithParameters(Aws::Vector<TransformConfigParameter>&& value) { SetParameters(std::move(value)); return *this;}
98 inline DynamicTransform& AddParameters(const TransformConfigParameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; }
99 inline DynamicTransform& AddParameters(TransformConfigParameter&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; }
101
103
106 inline const Aws::String& GetFunctionName() const{ return m_functionName; }
107 inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
108 inline void SetFunctionName(const Aws::String& value) { m_functionNameHasBeenSet = true; m_functionName = value; }
109 inline void SetFunctionName(Aws::String&& value) { m_functionNameHasBeenSet = true; m_functionName = std::move(value); }
110 inline void SetFunctionName(const char* value) { m_functionNameHasBeenSet = true; m_functionName.assign(value); }
111 inline DynamicTransform& WithFunctionName(const Aws::String& value) { SetFunctionName(value); return *this;}
112 inline DynamicTransform& WithFunctionName(Aws::String&& value) { SetFunctionName(std::move(value)); return *this;}
113 inline DynamicTransform& WithFunctionName(const char* value) { SetFunctionName(value); return *this;}
115
117
120 inline const Aws::String& GetPath() const{ return m_path; }
121 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
122 inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
123 inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
124 inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
125 inline DynamicTransform& WithPath(const Aws::String& value) { SetPath(value); return *this;}
126 inline DynamicTransform& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
127 inline DynamicTransform& WithPath(const char* value) { SetPath(value); return *this;}
129
131
134 inline const Aws::String& GetVersion() const{ return m_version; }
135 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
136 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
137 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
138 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
139 inline DynamicTransform& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
140 inline DynamicTransform& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
141 inline DynamicTransform& WithVersion(const char* value) { SetVersion(value); return *this;}
143
145
148 inline const Aws::Vector<GlueSchema>& GetOutputSchemas() const{ return m_outputSchemas; }
149 inline bool OutputSchemasHasBeenSet() const { return m_outputSchemasHasBeenSet; }
150 inline void SetOutputSchemas(const Aws::Vector<GlueSchema>& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas = value; }
151 inline void SetOutputSchemas(Aws::Vector<GlueSchema>&& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas = std::move(value); }
152 inline DynamicTransform& WithOutputSchemas(const Aws::Vector<GlueSchema>& value) { SetOutputSchemas(value); return *this;}
153 inline DynamicTransform& WithOutputSchemas(Aws::Vector<GlueSchema>&& value) { SetOutputSchemas(std::move(value)); return *this;}
154 inline DynamicTransform& AddOutputSchemas(const GlueSchema& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas.push_back(value); return *this; }
155 inline DynamicTransform& AddOutputSchemas(GlueSchema&& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas.push_back(std::move(value)); return *this; }
157 private:
158
159 Aws::String m_name;
160 bool m_nameHasBeenSet = false;
161
162 Aws::String m_transformName;
163 bool m_transformNameHasBeenSet = false;
164
166 bool m_inputsHasBeenSet = false;
167
169 bool m_parametersHasBeenSet = false;
170
171 Aws::String m_functionName;
172 bool m_functionNameHasBeenSet = false;
173
174 Aws::String m_path;
175 bool m_pathHasBeenSet = false;
176
177 Aws::String m_version;
178 bool m_versionHasBeenSet = false;
179
180 Aws::Vector<GlueSchema> m_outputSchemas;
181 bool m_outputSchemasHasBeenSet = false;
182 };
183
184} // namespace Model
185} // namespace Glue
186} // namespace Aws
const Aws::String & GetPath() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFunctionName(Aws::String &&value)
DynamicTransform & AddOutputSchemas(const GlueSchema &value)
DynamicTransform & WithTransformName(Aws::String &&value)
DynamicTransform & WithName(const char *value)
void SetTransformName(const Aws::String &value)
const Aws::String & GetVersion() const
DynamicTransform & WithName(Aws::String &&value)
void SetVersion(Aws::String &&value)
void SetOutputSchemas(const Aws::Vector< GlueSchema > &value)
DynamicTransform & WithVersion(const Aws::String &value)
const Aws::String & GetFunctionName() const
DynamicTransform & AddOutputSchemas(GlueSchema &&value)
DynamicTransform & WithInputs(const Aws::Vector< Aws::String > &value)
DynamicTransform & AddInputs(const Aws::String &value)
DynamicTransform & WithTransformName(const char *value)
void SetTransformName(Aws::String &&value)
void SetPath(Aws::String &&value)
DynamicTransform & AddParameters(TransformConfigParameter &&value)
DynamicTransform & WithPath(const char *value)
DynamicTransform & WithOutputSchemas(Aws::Vector< GlueSchema > &&value)
DynamicTransform & AddInputs(const char *value)
void SetParameters(const Aws::Vector< TransformConfigParameter > &value)
void SetFunctionName(const char *value)
void SetParameters(Aws::Vector< TransformConfigParameter > &&value)
DynamicTransform & WithInputs(Aws::Vector< Aws::String > &&value)
void SetTransformName(const char *value)
DynamicTransform & WithVersion(Aws::String &&value)
void SetName(Aws::String &&value)
DynamicTransform & AddInputs(Aws::String &&value)
DynamicTransform & WithOutputSchemas(const Aws::Vector< GlueSchema > &value)
void SetPath(const Aws::String &value)
void SetName(const Aws::String &value)
AWS_GLUE_API DynamicTransform(Aws::Utils::Json::JsonView jsonValue)
DynamicTransform & WithPath(Aws::String &&value)
DynamicTransform & WithVersion(const char *value)
DynamicTransform & WithFunctionName(Aws::String &&value)
DynamicTransform & WithFunctionName(const Aws::String &value)
DynamicTransform & WithTransformName(const Aws::String &value)
const Aws::Vector< GlueSchema > & GetOutputSchemas() const
DynamicTransform & WithParameters(const Aws::Vector< TransformConfigParameter > &value)
AWS_GLUE_API DynamicTransform & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInputs(const Aws::Vector< Aws::String > &value)
void SetOutputSchemas(Aws::Vector< GlueSchema > &&value)
const Aws::String & GetTransformName() const
DynamicTransform & WithPath(const Aws::String &value)
DynamicTransform & WithName(const Aws::String &value)
const Aws::Vector< TransformConfigParameter > & GetParameters() const
DynamicTransform & AddParameters(const TransformConfigParameter &value)
void SetFunctionName(const Aws::String &value)
void SetInputs(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetInputs() const
DynamicTransform & WithFunctionName(const char *value)
void SetVersion(const Aws::String &value)
DynamicTransform & WithParameters(Aws::Vector< TransformConfigParameter > &&value)
const Aws::String & GetName() 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