AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
42
43
45
48 inline const Aws::String& GetName() const { return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 template<typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
52 template<typename NameT = Aws::String>
53 DynamicTransform& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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) { m_transformNameHasBeenSet = true; m_transformName = std::forward<TransformNameT>(value); }
65 template<typename TransformNameT = Aws::String>
66 DynamicTransform& WithTransformName(TransformNameT&& value) { SetTransformName(std::forward<TransformNameT>(value)); return *this;}
68
70
73 inline const Aws::Vector<Aws::String>& GetInputs() const { return m_inputs; }
74 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
75 template<typename InputsT = Aws::Vector<Aws::String>>
76 void SetInputs(InputsT&& value) { m_inputsHasBeenSet = true; m_inputs = std::forward<InputsT>(value); }
77 template<typename InputsT = Aws::Vector<Aws::String>>
78 DynamicTransform& WithInputs(InputsT&& value) { SetInputs(std::forward<InputsT>(value)); return *this;}
79 template<typename InputsT = Aws::String>
80 DynamicTransform& AddInputs(InputsT&& value) { m_inputsHasBeenSet = true; m_inputs.emplace_back(std::forward<InputsT>(value)); return *this; }
82
84
87 inline const Aws::Vector<TransformConfigParameter>& GetParameters() const { return m_parameters; }
88 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
89 template<typename ParametersT = Aws::Vector<TransformConfigParameter>>
90 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters = std::forward<ParametersT>(value); }
91 template<typename ParametersT = Aws::Vector<TransformConfigParameter>>
92 DynamicTransform& WithParameters(ParametersT&& value) { SetParameters(std::forward<ParametersT>(value)); return *this;}
93 template<typename ParametersT = TransformConfigParameter>
94 DynamicTransform& AddParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters.emplace_back(std::forward<ParametersT>(value)); return *this; }
96
98
101 inline const Aws::String& GetFunctionName() const { return m_functionName; }
102 inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
103 template<typename FunctionNameT = Aws::String>
104 void SetFunctionName(FunctionNameT&& value) { m_functionNameHasBeenSet = true; m_functionName = std::forward<FunctionNameT>(value); }
105 template<typename FunctionNameT = Aws::String>
106 DynamicTransform& WithFunctionName(FunctionNameT&& value) { SetFunctionName(std::forward<FunctionNameT>(value)); return *this;}
108
110
113 inline const Aws::String& GetPath() const { return m_path; }
114 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
115 template<typename PathT = Aws::String>
116 void SetPath(PathT&& value) { m_pathHasBeenSet = true; m_path = std::forward<PathT>(value); }
117 template<typename PathT = Aws::String>
118 DynamicTransform& WithPath(PathT&& value) { SetPath(std::forward<PathT>(value)); return *this;}
120
122
125 inline const Aws::String& GetVersion() const { return m_version; }
126 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
127 template<typename VersionT = Aws::String>
128 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
129 template<typename VersionT = Aws::String>
130 DynamicTransform& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
132
134
137 inline const Aws::Vector<GlueSchema>& GetOutputSchemas() const { return m_outputSchemas; }
138 inline bool OutputSchemasHasBeenSet() const { return m_outputSchemasHasBeenSet; }
139 template<typename OutputSchemasT = Aws::Vector<GlueSchema>>
140 void SetOutputSchemas(OutputSchemasT&& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas = std::forward<OutputSchemasT>(value); }
141 template<typename OutputSchemasT = Aws::Vector<GlueSchema>>
142 DynamicTransform& WithOutputSchemas(OutputSchemasT&& value) { SetOutputSchemas(std::forward<OutputSchemasT>(value)); return *this;}
143 template<typename OutputSchemasT = GlueSchema>
144 DynamicTransform& AddOutputSchemas(OutputSchemasT&& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas.emplace_back(std::forward<OutputSchemasT>(value)); return *this; }
146 private:
147
148 Aws::String m_name;
149 bool m_nameHasBeenSet = false;
150
151 Aws::String m_transformName;
152 bool m_transformNameHasBeenSet = false;
153
155 bool m_inputsHasBeenSet = false;
156
158 bool m_parametersHasBeenSet = false;
159
160 Aws::String m_functionName;
161 bool m_functionNameHasBeenSet = false;
162
163 Aws::String m_path;
164 bool m_pathHasBeenSet = false;
165
166 Aws::String m_version;
167 bool m_versionHasBeenSet = false;
168
169 Aws::Vector<GlueSchema> m_outputSchemas;
170 bool m_outputSchemasHasBeenSet = false;
171 };
172
173} // namespace Model
174} // namespace Glue
175} // 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