AWS SDK for C++

AWS SDK for C++ Version 1.11.908

Loading...
Searching...
No Matches
JobParameter.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/deadline/Deadline_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace deadline {
21namespace Model {
22
29 public:
30 AWS_DEADLINE_API JobParameter() = default;
31 AWS_DEADLINE_API JobParameter(Aws::Utils::Json::JsonView jsonValue);
33 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetInt() const { return m_int; }
40 inline bool IntHasBeenSet() const { return m_intHasBeenSet; }
41 template <typename IntT = Aws::String>
42 void SetInt(IntT&& value) {
43 m_intHasBeenSet = true;
44 m_int = std::forward<IntT>(value);
45 }
46 template <typename IntT = Aws::String>
47 JobParameter& WithInt(IntT&& value) {
48 SetInt(std::forward<IntT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetFloat() const { return m_float; }
59 inline bool FloatHasBeenSet() const { return m_floatHasBeenSet; }
60 template <typename FloatT = Aws::String>
61 void SetFloat(FloatT&& value) {
62 m_floatHasBeenSet = true;
63 m_float = std::forward<FloatT>(value);
64 }
65 template <typename FloatT = Aws::String>
66 JobParameter& WithFloat(FloatT&& value) {
67 SetFloat(std::forward<FloatT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetString() const { return m_string; }
77 inline bool StringHasBeenSet() const { return m_stringHasBeenSet; }
78 template <typename StringT = Aws::String>
79 void SetString(StringT&& value) {
80 m_stringHasBeenSet = true;
81 m_string = std::forward<StringT>(value);
82 }
83 template <typename StringT = Aws::String>
84 JobParameter& WithString(StringT&& value) {
85 SetString(std::forward<StringT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetPath() const { return m_path; }
95 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
96 template <typename PathT = Aws::String>
97 void SetPath(PathT&& value) {
98 m_pathHasBeenSet = true;
99 m_path = std::forward<PathT>(value);
100 }
101 template <typename PathT = Aws::String>
102 JobParameter& WithPath(PathT&& value) {
103 SetPath(std::forward<PathT>(value));
104 return *this;
105 }
107
109
115 inline const Aws::String& GetBool() const { return m_bool; }
116 inline bool BoolHasBeenSet() const { return m_boolHasBeenSet; }
117 template <typename BoolT = Aws::String>
118 void SetBool(BoolT&& value) {
119 m_boolHasBeenSet = true;
120 m_bool = std::forward<BoolT>(value);
121 }
122 template <typename BoolT = Aws::String>
123 JobParameter& WithBool(BoolT&& value) {
124 SetBool(std::forward<BoolT>(value));
125 return *this;
126 }
128
130
134 inline const Aws::String& GetRangeExpr() const { return m_rangeExpr; }
135 inline bool RangeExprHasBeenSet() const { return m_rangeExprHasBeenSet; }
136 template <typename RangeExprT = Aws::String>
137 void SetRangeExpr(RangeExprT&& value) {
138 m_rangeExprHasBeenSet = true;
139 m_rangeExpr = std::forward<RangeExprT>(value);
140 }
141 template <typename RangeExprT = Aws::String>
142 JobParameter& WithRangeExpr(RangeExprT&& value) {
143 SetRangeExpr(std::forward<RangeExprT>(value));
144 return *this;
145 }
147
149
152 inline const Aws::Vector<Aws::String>& GetStringList() const { return m_stringList; }
153 inline bool StringListHasBeenSet() const { return m_stringListHasBeenSet; }
154 template <typename StringListT = Aws::Vector<Aws::String>>
155 void SetStringList(StringListT&& value) {
156 m_stringListHasBeenSet = true;
157 m_stringList = std::forward<StringListT>(value);
158 }
159 template <typename StringListT = Aws::Vector<Aws::String>>
160 JobParameter& WithStringList(StringListT&& value) {
161 SetStringList(std::forward<StringListT>(value));
162 return *this;
163 }
164 template <typename StringListT = Aws::String>
165 JobParameter& AddStringList(StringListT&& value) {
166 m_stringListHasBeenSet = true;
167 m_stringList.emplace_back(std::forward<StringListT>(value));
168 return *this;
169 }
171
173
176 inline const Aws::Vector<Aws::String>& GetPathList() const { return m_pathList; }
177 inline bool PathListHasBeenSet() const { return m_pathListHasBeenSet; }
178 template <typename PathListT = Aws::Vector<Aws::String>>
179 void SetPathList(PathListT&& value) {
180 m_pathListHasBeenSet = true;
181 m_pathList = std::forward<PathListT>(value);
182 }
183 template <typename PathListT = Aws::Vector<Aws::String>>
184 JobParameter& WithPathList(PathListT&& value) {
185 SetPathList(std::forward<PathListT>(value));
186 return *this;
187 }
188 template <typename PathListT = Aws::String>
189 JobParameter& AddPathList(PathListT&& value) {
190 m_pathListHasBeenSet = true;
191 m_pathList.emplace_back(std::forward<PathListT>(value));
192 return *this;
193 }
195
197
200 inline const Aws::Vector<Aws::String>& GetIntList() const { return m_intList; }
201 inline bool IntListHasBeenSet() const { return m_intListHasBeenSet; }
202 template <typename IntListT = Aws::Vector<Aws::String>>
203 void SetIntList(IntListT&& value) {
204 m_intListHasBeenSet = true;
205 m_intList = std::forward<IntListT>(value);
206 }
207 template <typename IntListT = Aws::Vector<Aws::String>>
208 JobParameter& WithIntList(IntListT&& value) {
209 SetIntList(std::forward<IntListT>(value));
210 return *this;
211 }
212 template <typename IntListT = Aws::String>
213 JobParameter& AddIntList(IntListT&& value) {
214 m_intListHasBeenSet = true;
215 m_intList.emplace_back(std::forward<IntListT>(value));
216 return *this;
217 }
219
221
225 inline const Aws::Vector<Aws::String>& GetFloatList() const { return m_floatList; }
226 inline bool FloatListHasBeenSet() const { return m_floatListHasBeenSet; }
227 template <typename FloatListT = Aws::Vector<Aws::String>>
228 void SetFloatList(FloatListT&& value) {
229 m_floatListHasBeenSet = true;
230 m_floatList = std::forward<FloatListT>(value);
231 }
232 template <typename FloatListT = Aws::Vector<Aws::String>>
233 JobParameter& WithFloatList(FloatListT&& value) {
234 SetFloatList(std::forward<FloatListT>(value));
235 return *this;
236 }
237 template <typename FloatListT = Aws::String>
238 JobParameter& AddFloatList(FloatListT&& value) {
239 m_floatListHasBeenSet = true;
240 m_floatList.emplace_back(std::forward<FloatListT>(value));
241 return *this;
242 }
244
246
249 inline const Aws::Vector<Aws::String>& GetBoolList() const { return m_boolList; }
250 inline bool BoolListHasBeenSet() const { return m_boolListHasBeenSet; }
251 template <typename BoolListT = Aws::Vector<Aws::String>>
252 void SetBoolList(BoolListT&& value) {
253 m_boolListHasBeenSet = true;
254 m_boolList = std::forward<BoolListT>(value);
255 }
256 template <typename BoolListT = Aws::Vector<Aws::String>>
257 JobParameter& WithBoolList(BoolListT&& value) {
258 SetBoolList(std::forward<BoolListT>(value));
259 return *this;
260 }
261 template <typename BoolListT = Aws::String>
262 JobParameter& AddBoolList(BoolListT&& value) {
263 m_boolListHasBeenSet = true;
264 m_boolList.emplace_back(std::forward<BoolListT>(value));
265 return *this;
266 }
268
270
273 inline const Aws::Vector<Aws::Vector<Aws::String>>& GetIntListList() const { return m_intListList; }
274 inline bool IntListListHasBeenSet() const { return m_intListListHasBeenSet; }
275 template <typename IntListListT = Aws::Vector<Aws::Vector<Aws::String>>>
276 void SetIntListList(IntListListT&& value) {
277 m_intListListHasBeenSet = true;
278 m_intListList = std::forward<IntListListT>(value);
279 }
280 template <typename IntListListT = Aws::Vector<Aws::Vector<Aws::String>>>
281 JobParameter& WithIntListList(IntListListT&& value) {
282 SetIntListList(std::forward<IntListListT>(value));
283 return *this;
284 }
285 template <typename IntListListT = Aws::Vector<Aws::String>>
286 JobParameter& AddIntListList(IntListListT&& value) {
287 m_intListListHasBeenSet = true;
288 m_intListList.emplace_back(std::forward<IntListListT>(value));
289 return *this;
290 }
292 private:
293 Aws::String m_int;
294
295 Aws::String m_float;
296
297 Aws::String m_string;
298
299 Aws::String m_path;
300
301 Aws::String m_bool;
302
303 Aws::String m_rangeExpr;
304
305 Aws::Vector<Aws::String> m_stringList;
306
307 Aws::Vector<Aws::String> m_pathList;
308
309 Aws::Vector<Aws::String> m_intList;
310
311 Aws::Vector<Aws::String> m_floatList;
312
313 Aws::Vector<Aws::String> m_boolList;
314
316 bool m_intHasBeenSet = false;
317 bool m_floatHasBeenSet = false;
318 bool m_stringHasBeenSet = false;
319 bool m_pathHasBeenSet = false;
320 bool m_boolHasBeenSet = false;
321 bool m_rangeExprHasBeenSet = false;
322 bool m_stringListHasBeenSet = false;
323 bool m_pathListHasBeenSet = false;
324 bool m_intListHasBeenSet = false;
325 bool m_floatListHasBeenSet = false;
326 bool m_boolListHasBeenSet = false;
327 bool m_intListListHasBeenSet = false;
328};
329
330} // namespace Model
331} // namespace deadline
332} // namespace Aws
const Aws::Vector< Aws::String > & GetStringList() const
JobParameter & WithFloat(FloatT &&value)
JobParameter & AddStringList(StringListT &&value)
JobParameter & WithStringList(StringListT &&value)
void SetIntList(IntListT &&value)
const Aws::String & GetInt() const
const Aws::Vector< Aws::String > & GetFloatList() const
const Aws::String & GetRangeExpr() const
AWS_DEADLINE_API JobParameter(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetBool() const
JobParameter & AddIntList(IntListT &&value)
JobParameter & WithBoolList(BoolListT &&value)
const Aws::Vector< Aws::Vector< Aws::String > > & GetIntListList() const
const Aws::Vector< Aws::String > & GetPathList() const
JobParameter & WithPath(PathT &&value)
void SetBoolList(BoolListT &&value)
void SetRangeExpr(RangeExprT &&value)
const Aws::Vector< Aws::String > & GetIntList() const
AWS_DEADLINE_API JobParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetString(StringT &&value)
const Aws::String & GetPath() const
JobParameter & AddIntListList(IntListListT &&value)
void SetIntListList(IntListListT &&value)
JobParameter & WithFloatList(FloatListT &&value)
const Aws::Vector< Aws::String > & GetBoolList() const
JobParameter & AddPathList(PathListT &&value)
JobParameter & WithBool(BoolT &&value)
JobParameter & WithPathList(PathListT &&value)
void SetStringList(StringListT &&value)
const Aws::String & GetString() const
void SetPathList(PathListT &&value)
JobParameter & WithIntList(IntListT &&value)
JobParameter & WithRangeExpr(RangeExprT &&value)
JobParameter & AddFloatList(FloatListT &&value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
JobParameter & AddBoolList(BoolListT &&value)
JobParameter & WithIntListList(IntListListT &&value)
JobParameter & WithInt(IntT &&value)
const Aws::String & GetFloat() const
AWS_DEADLINE_API JobParameter()=default
void SetFloatList(FloatListT &&value)
JobParameter & WithString(StringT &&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