AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DynamicTransform.h
1
6#pragma once
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/GlueSchema.h>
11#include <aws/glue/model/TransformConfigParameter.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Glue {
23namespace Model {
24
32 public:
33 AWS_GLUE_API DynamicTransform() = default;
37
39
42 inline const Aws::String& GetName() const { return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 template <typename NameT = Aws::String>
45 void SetName(NameT&& value) {
46 m_nameHasBeenSet = true;
47 m_name = std::forward<NameT>(value);
48 }
49 template <typename NameT = Aws::String>
50 DynamicTransform& WithName(NameT&& value) {
51 SetName(std::forward<NameT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::String& GetTransformName() const { return m_transformName; }
62 inline bool TransformNameHasBeenSet() const { return m_transformNameHasBeenSet; }
63 template <typename TransformNameT = Aws::String>
64 void SetTransformName(TransformNameT&& value) {
65 m_transformNameHasBeenSet = true;
66 m_transformName = std::forward<TransformNameT>(value);
67 }
68 template <typename TransformNameT = Aws::String>
69 DynamicTransform& WithTransformName(TransformNameT&& value) {
70 SetTransformName(std::forward<TransformNameT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::Vector<Aws::String>& GetInputs() const { return m_inputs; }
80 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
81 template <typename InputsT = Aws::Vector<Aws::String>>
82 void SetInputs(InputsT&& value) {
83 m_inputsHasBeenSet = true;
84 m_inputs = std::forward<InputsT>(value);
85 }
86 template <typename InputsT = Aws::Vector<Aws::String>>
87 DynamicTransform& WithInputs(InputsT&& value) {
88 SetInputs(std::forward<InputsT>(value));
89 return *this;
90 }
91 template <typename InputsT = Aws::String>
92 DynamicTransform& AddInputs(InputsT&& value) {
93 m_inputsHasBeenSet = true;
94 m_inputs.emplace_back(std::forward<InputsT>(value));
95 return *this;
96 }
98
100
103 inline const Aws::Vector<TransformConfigParameter>& GetParameters() const { return m_parameters; }
104 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
105 template <typename ParametersT = Aws::Vector<TransformConfigParameter>>
106 void SetParameters(ParametersT&& value) {
107 m_parametersHasBeenSet = true;
108 m_parameters = std::forward<ParametersT>(value);
109 }
110 template <typename ParametersT = Aws::Vector<TransformConfigParameter>>
111 DynamicTransform& WithParameters(ParametersT&& value) {
112 SetParameters(std::forward<ParametersT>(value));
113 return *this;
114 }
115 template <typename ParametersT = TransformConfigParameter>
116 DynamicTransform& AddParameters(ParametersT&& value) {
117 m_parametersHasBeenSet = true;
118 m_parameters.emplace_back(std::forward<ParametersT>(value));
119 return *this;
120 }
122
124
127 inline const Aws::String& GetFunctionName() const { return m_functionName; }
128 inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
129 template <typename FunctionNameT = Aws::String>
130 void SetFunctionName(FunctionNameT&& value) {
131 m_functionNameHasBeenSet = true;
132 m_functionName = std::forward<FunctionNameT>(value);
133 }
134 template <typename FunctionNameT = Aws::String>
135 DynamicTransform& WithFunctionName(FunctionNameT&& value) {
136 SetFunctionName(std::forward<FunctionNameT>(value));
137 return *this;
138 }
140
142
145 inline const Aws::String& GetPath() const { return m_path; }
146 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
147 template <typename PathT = Aws::String>
148 void SetPath(PathT&& value) {
149 m_pathHasBeenSet = true;
150 m_path = std::forward<PathT>(value);
151 }
152 template <typename PathT = Aws::String>
153 DynamicTransform& WithPath(PathT&& value) {
154 SetPath(std::forward<PathT>(value));
155 return *this;
156 }
158
160
163 inline const Aws::String& GetVersion() const { return m_version; }
164 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
165 template <typename VersionT = Aws::String>
166 void SetVersion(VersionT&& value) {
167 m_versionHasBeenSet = true;
168 m_version = std::forward<VersionT>(value);
169 }
170 template <typename VersionT = Aws::String>
171 DynamicTransform& WithVersion(VersionT&& value) {
172 SetVersion(std::forward<VersionT>(value));
173 return *this;
174 }
176
178
181 inline const Aws::Vector<GlueSchema>& GetOutputSchemas() const { return m_outputSchemas; }
182 inline bool OutputSchemasHasBeenSet() const { return m_outputSchemasHasBeenSet; }
183 template <typename OutputSchemasT = Aws::Vector<GlueSchema>>
184 void SetOutputSchemas(OutputSchemasT&& value) {
185 m_outputSchemasHasBeenSet = true;
186 m_outputSchemas = std::forward<OutputSchemasT>(value);
187 }
188 template <typename OutputSchemasT = Aws::Vector<GlueSchema>>
189 DynamicTransform& WithOutputSchemas(OutputSchemasT&& value) {
190 SetOutputSchemas(std::forward<OutputSchemasT>(value));
191 return *this;
192 }
193 template <typename OutputSchemasT = GlueSchema>
194 DynamicTransform& AddOutputSchemas(OutputSchemasT&& value) {
195 m_outputSchemasHasBeenSet = true;
196 m_outputSchemas.emplace_back(std::forward<OutputSchemasT>(value));
197 return *this;
198 }
200 private:
201 Aws::String m_name;
202
203 Aws::String m_transformName;
204
206
208
209 Aws::String m_functionName;
210
211 Aws::String m_path;
212
213 Aws::String m_version;
214
215 Aws::Vector<GlueSchema> m_outputSchemas;
216 bool m_nameHasBeenSet = false;
217 bool m_transformNameHasBeenSet = false;
218 bool m_inputsHasBeenSet = false;
219 bool m_parametersHasBeenSet = false;
220 bool m_functionNameHasBeenSet = false;
221 bool m_pathHasBeenSet = false;
222 bool m_versionHasBeenSet = false;
223 bool m_outputSchemasHasBeenSet = false;
224};
225
226} // namespace Model
227} // namespace Glue
228} // namespace Aws
const Aws::String & GetPath() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetVersion() const
DynamicTransform & WithVersion(VersionT &&value)
const Aws::String & GetFunctionName() const
void SetParameters(ParametersT &&value)
DynamicTransform & WithOutputSchemas(OutputSchemasT &&value)
DynamicTransform & WithFunctionName(FunctionNameT &&value)
DynamicTransform & WithPath(PathT &&value)
DynamicTransform & WithInputs(InputsT &&value)
DynamicTransform & WithTransformName(TransformNameT &&value)
AWS_GLUE_API DynamicTransform(Aws::Utils::Json::JsonView jsonValue)
void SetOutputSchemas(OutputSchemasT &&value)
DynamicTransform & WithParameters(ParametersT &&value)
void SetFunctionName(FunctionNameT &&value)
AWS_GLUE_API DynamicTransform()=default
const Aws::Vector< GlueSchema > & GetOutputSchemas() const
void SetTransformName(TransformNameT &&value)
DynamicTransform & WithName(NameT &&value)
AWS_GLUE_API DynamicTransform & operator=(Aws::Utils::Json::JsonView jsonValue)
DynamicTransform & AddParameters(ParametersT &&value)
const Aws::String & GetTransformName() const
const Aws::Vector< TransformConfigParameter > & GetParameters() const
DynamicTransform & AddOutputSchemas(OutputSchemasT &&value)
const Aws::Vector< Aws::String > & GetInputs() const
const Aws::String & GetName() const
DynamicTransform & AddInputs(InputsT &&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