AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
SparkGluePropertiesOutput.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/datazone/DataZone_EXPORTS.h>
10#include <aws/datazone/model/SparkGlueArgs.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DataZone {
22namespace Model {
23
30 public:
31 AWS_DATAZONE_API SparkGluePropertiesOutput() = default;
34 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const SparkGlueArgs& GetAdditionalArgs() const { return m_additionalArgs; }
41 inline bool AdditionalArgsHasBeenSet() const { return m_additionalArgsHasBeenSet; }
42 template <typename AdditionalArgsT = SparkGlueArgs>
43 void SetAdditionalArgs(AdditionalArgsT&& value) {
44 m_additionalArgsHasBeenSet = true;
45 m_additionalArgs = std::forward<AdditionalArgsT>(value);
46 }
47 template <typename AdditionalArgsT = SparkGlueArgs>
49 SetAdditionalArgs(std::forward<AdditionalArgsT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetGlueConnectionName() const { return m_glueConnectionName; }
60 inline bool GlueConnectionNameHasBeenSet() const { return m_glueConnectionNameHasBeenSet; }
61 template <typename GlueConnectionNameT = Aws::String>
62 void SetGlueConnectionName(GlueConnectionNameT&& value) {
63 m_glueConnectionNameHasBeenSet = true;
64 m_glueConnectionName = std::forward<GlueConnectionNameT>(value);
65 }
66 template <typename GlueConnectionNameT = Aws::String>
67 SparkGluePropertiesOutput& WithGlueConnectionName(GlueConnectionNameT&& value) {
68 SetGlueConnectionName(std::forward<GlueConnectionNameT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::Vector<Aws::String>& GetGlueConnectionNames() const { return m_glueConnectionNames; }
79 inline bool GlueConnectionNamesHasBeenSet() const { return m_glueConnectionNamesHasBeenSet; }
80 template <typename GlueConnectionNamesT = Aws::Vector<Aws::String>>
81 void SetGlueConnectionNames(GlueConnectionNamesT&& value) {
82 m_glueConnectionNamesHasBeenSet = true;
83 m_glueConnectionNames = std::forward<GlueConnectionNamesT>(value);
84 }
85 template <typename GlueConnectionNamesT = Aws::Vector<Aws::String>>
86 SparkGluePropertiesOutput& WithGlueConnectionNames(GlueConnectionNamesT&& value) {
87 SetGlueConnectionNames(std::forward<GlueConnectionNamesT>(value));
88 return *this;
89 }
90 template <typename GlueConnectionNamesT = Aws::String>
91 SparkGluePropertiesOutput& AddGlueConnectionNames(GlueConnectionNamesT&& value) {
92 m_glueConnectionNamesHasBeenSet = true;
93 m_glueConnectionNames.emplace_back(std::forward<GlueConnectionNamesT>(value));
94 return *this;
95 }
97
99
103 inline const Aws::String& GetGlueVersion() const { return m_glueVersion; }
104 inline bool GlueVersionHasBeenSet() const { return m_glueVersionHasBeenSet; }
105 template <typename GlueVersionT = Aws::String>
106 void SetGlueVersion(GlueVersionT&& value) {
107 m_glueVersionHasBeenSet = true;
108 m_glueVersion = std::forward<GlueVersionT>(value);
109 }
110 template <typename GlueVersionT = Aws::String>
112 SetGlueVersion(std::forward<GlueVersionT>(value));
113 return *this;
114 }
116
118
121 inline int GetIdleTimeout() const { return m_idleTimeout; }
122 inline bool IdleTimeoutHasBeenSet() const { return m_idleTimeoutHasBeenSet; }
123 inline void SetIdleTimeout(int value) {
124 m_idleTimeoutHasBeenSet = true;
125 m_idleTimeout = value;
126 }
128 SetIdleTimeout(value);
129 return *this;
130 }
132
134
137 inline const Aws::String& GetJavaVirtualEnv() const { return m_javaVirtualEnv; }
138 inline bool JavaVirtualEnvHasBeenSet() const { return m_javaVirtualEnvHasBeenSet; }
139 template <typename JavaVirtualEnvT = Aws::String>
140 void SetJavaVirtualEnv(JavaVirtualEnvT&& value) {
141 m_javaVirtualEnvHasBeenSet = true;
142 m_javaVirtualEnv = std::forward<JavaVirtualEnvT>(value);
143 }
144 template <typename JavaVirtualEnvT = Aws::String>
146 SetJavaVirtualEnv(std::forward<JavaVirtualEnvT>(value));
147 return *this;
148 }
150
152
155 inline int GetNumberOfWorkers() const { return m_numberOfWorkers; }
156 inline bool NumberOfWorkersHasBeenSet() const { return m_numberOfWorkersHasBeenSet; }
157 inline void SetNumberOfWorkers(int value) {
158 m_numberOfWorkersHasBeenSet = true;
159 m_numberOfWorkers = value;
160 }
162 SetNumberOfWorkers(value);
163 return *this;
164 }
166
168
171 inline const Aws::String& GetPythonVirtualEnv() const { return m_pythonVirtualEnv; }
172 inline bool PythonVirtualEnvHasBeenSet() const { return m_pythonVirtualEnvHasBeenSet; }
173 template <typename PythonVirtualEnvT = Aws::String>
174 void SetPythonVirtualEnv(PythonVirtualEnvT&& value) {
175 m_pythonVirtualEnvHasBeenSet = true;
176 m_pythonVirtualEnv = std::forward<PythonVirtualEnvT>(value);
177 }
178 template <typename PythonVirtualEnvT = Aws::String>
180 SetPythonVirtualEnv(std::forward<PythonVirtualEnvT>(value));
181 return *this;
182 }
184
186
189 inline const Aws::String& GetWorkerType() const { return m_workerType; }
190 inline bool WorkerTypeHasBeenSet() const { return m_workerTypeHasBeenSet; }
191 template <typename WorkerTypeT = Aws::String>
192 void SetWorkerType(WorkerTypeT&& value) {
193 m_workerTypeHasBeenSet = true;
194 m_workerType = std::forward<WorkerTypeT>(value);
195 }
196 template <typename WorkerTypeT = Aws::String>
198 SetWorkerType(std::forward<WorkerTypeT>(value));
199 return *this;
200 }
202 private:
203 SparkGlueArgs m_additionalArgs;
204
205 Aws::String m_glueConnectionName;
206
207 Aws::Vector<Aws::String> m_glueConnectionNames;
208
209 Aws::String m_glueVersion;
210
211 int m_idleTimeout{0};
212
213 Aws::String m_javaVirtualEnv;
214
215 int m_numberOfWorkers{0};
216
217 Aws::String m_pythonVirtualEnv;
218
219 Aws::String m_workerType;
220 bool m_additionalArgsHasBeenSet = false;
221 bool m_glueConnectionNameHasBeenSet = false;
222 bool m_glueConnectionNamesHasBeenSet = false;
223 bool m_glueVersionHasBeenSet = false;
224 bool m_idleTimeoutHasBeenSet = false;
225 bool m_javaVirtualEnvHasBeenSet = false;
226 bool m_numberOfWorkersHasBeenSet = false;
227 bool m_pythonVirtualEnvHasBeenSet = false;
228 bool m_workerTypeHasBeenSet = false;
229};
230
231} // namespace Model
232} // namespace DataZone
233} // namespace Aws
void SetGlueConnectionNames(GlueConnectionNamesT &&value)
SparkGluePropertiesOutput & WithGlueVersion(GlueVersionT &&value)
SparkGluePropertiesOutput & WithAdditionalArgs(AdditionalArgsT &&value)
SparkGluePropertiesOutput & WithGlueConnectionName(GlueConnectionNameT &&value)
SparkGluePropertiesOutput & WithJavaVirtualEnv(JavaVirtualEnvT &&value)
SparkGluePropertiesOutput & WithWorkerType(WorkerTypeT &&value)
AWS_DATAZONE_API SparkGluePropertiesOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
SparkGluePropertiesOutput & WithPythonVirtualEnv(PythonVirtualEnvT &&value)
SparkGluePropertiesOutput & WithGlueConnectionNames(GlueConnectionNamesT &&value)
AWS_DATAZONE_API SparkGluePropertiesOutput(Aws::Utils::Json::JsonView jsonValue)
SparkGluePropertiesOutput & AddGlueConnectionNames(GlueConnectionNamesT &&value)
const Aws::Vector< Aws::String > & GetGlueConnectionNames() const
SparkGluePropertiesOutput & WithIdleTimeout(int value)
SparkGluePropertiesOutput & WithNumberOfWorkers(int value)
AWS_DATAZONE_API SparkGluePropertiesOutput()=default
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() 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