AWS SDK for C++  1.9.154
AWS SDK for C++
TransformJobDefinition.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23  class JsonView;
24 } // namespace Json
25 } // namespace Utils
26 namespace SageMaker
27 {
28 namespace Model
29 {
30 
38  {
39  public:
44 
45 
50  inline int GetMaxConcurrentTransforms() const{ return m_maxConcurrentTransforms; }
51 
56  inline bool MaxConcurrentTransformsHasBeenSet() const { return m_maxConcurrentTransformsHasBeenSet; }
57 
62  inline void SetMaxConcurrentTransforms(int value) { m_maxConcurrentTransformsHasBeenSet = true; m_maxConcurrentTransforms = value; }
63 
68  inline TransformJobDefinition& WithMaxConcurrentTransforms(int value) { SetMaxConcurrentTransforms(value); return *this;}
69 
70 
75  inline int GetMaxPayloadInMB() const{ return m_maxPayloadInMB; }
76 
81  inline bool MaxPayloadInMBHasBeenSet() const { return m_maxPayloadInMBHasBeenSet; }
82 
87  inline void SetMaxPayloadInMB(int value) { m_maxPayloadInMBHasBeenSet = true; m_maxPayloadInMB = value; }
88 
93  inline TransformJobDefinition& WithMaxPayloadInMB(int value) { SetMaxPayloadInMB(value); return *this;}
94 
95 
102  inline const BatchStrategy& GetBatchStrategy() const{ return m_batchStrategy; }
103 
110  inline bool BatchStrategyHasBeenSet() const { return m_batchStrategyHasBeenSet; }
111 
118  inline void SetBatchStrategy(const BatchStrategy& value) { m_batchStrategyHasBeenSet = true; m_batchStrategy = value; }
119 
126  inline void SetBatchStrategy(BatchStrategy&& value) { m_batchStrategyHasBeenSet = true; m_batchStrategy = std::move(value); }
127 
134  inline TransformJobDefinition& WithBatchStrategy(const BatchStrategy& value) { SetBatchStrategy(value); return *this;}
135 
142  inline TransformJobDefinition& WithBatchStrategy(BatchStrategy&& value) { SetBatchStrategy(std::move(value)); return *this;}
143 
144 
149  inline const Aws::Map<Aws::String, Aws::String>& GetEnvironment() const{ return m_environment; }
150 
155  inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
156 
161  inline void SetEnvironment(const Aws::Map<Aws::String, Aws::String>& value) { m_environmentHasBeenSet = true; m_environment = value; }
162 
167  inline void SetEnvironment(Aws::Map<Aws::String, Aws::String>&& value) { m_environmentHasBeenSet = true; m_environment = std::move(value); }
168 
173  inline TransformJobDefinition& WithEnvironment(const Aws::Map<Aws::String, Aws::String>& value) { SetEnvironment(value); return *this;}
174 
179  inline TransformJobDefinition& WithEnvironment(Aws::Map<Aws::String, Aws::String>&& value) { SetEnvironment(std::move(value)); return *this;}
180 
185  inline TransformJobDefinition& AddEnvironment(const Aws::String& key, const Aws::String& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, value); return *this; }
186 
191  inline TransformJobDefinition& AddEnvironment(Aws::String&& key, const Aws::String& value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), value); return *this; }
192 
197  inline TransformJobDefinition& AddEnvironment(const Aws::String& key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, std::move(value)); return *this; }
198 
203  inline TransformJobDefinition& AddEnvironment(Aws::String&& key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), std::move(value)); return *this; }
204 
209  inline TransformJobDefinition& AddEnvironment(const char* key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, std::move(value)); return *this; }
210 
215  inline TransformJobDefinition& AddEnvironment(Aws::String&& key, const char* value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), value); return *this; }
216 
221  inline TransformJobDefinition& AddEnvironment(const char* key, const char* value) { m_environmentHasBeenSet = true; m_environment.emplace(key, value); return *this; }
222 
223 
228  inline const TransformInput& GetTransformInput() const{ return m_transformInput; }
229 
234  inline bool TransformInputHasBeenSet() const { return m_transformInputHasBeenSet; }
235 
240  inline void SetTransformInput(const TransformInput& value) { m_transformInputHasBeenSet = true; m_transformInput = value; }
241 
246  inline void SetTransformInput(TransformInput&& value) { m_transformInputHasBeenSet = true; m_transformInput = std::move(value); }
247 
252  inline TransformJobDefinition& WithTransformInput(const TransformInput& value) { SetTransformInput(value); return *this;}
253 
258  inline TransformJobDefinition& WithTransformInput(TransformInput&& value) { SetTransformInput(std::move(value)); return *this;}
259 
260 
265  inline const TransformOutput& GetTransformOutput() const{ return m_transformOutput; }
266 
271  inline bool TransformOutputHasBeenSet() const { return m_transformOutputHasBeenSet; }
272 
277  inline void SetTransformOutput(const TransformOutput& value) { m_transformOutputHasBeenSet = true; m_transformOutput = value; }
278 
283  inline void SetTransformOutput(TransformOutput&& value) { m_transformOutputHasBeenSet = true; m_transformOutput = std::move(value); }
284 
289  inline TransformJobDefinition& WithTransformOutput(const TransformOutput& value) { SetTransformOutput(value); return *this;}
290 
295  inline TransformJobDefinition& WithTransformOutput(TransformOutput&& value) { SetTransformOutput(std::move(value)); return *this;}
296 
297 
301  inline const TransformResources& GetTransformResources() const{ return m_transformResources; }
302 
306  inline bool TransformResourcesHasBeenSet() const { return m_transformResourcesHasBeenSet; }
307 
311  inline void SetTransformResources(const TransformResources& value) { m_transformResourcesHasBeenSet = true; m_transformResources = value; }
312 
316  inline void SetTransformResources(TransformResources&& value) { m_transformResourcesHasBeenSet = true; m_transformResources = std::move(value); }
317 
321  inline TransformJobDefinition& WithTransformResources(const TransformResources& value) { SetTransformResources(value); return *this;}
322 
326  inline TransformJobDefinition& WithTransformResources(TransformResources&& value) { SetTransformResources(std::move(value)); return *this;}
327 
328  private:
329 
330  int m_maxConcurrentTransforms;
331  bool m_maxConcurrentTransformsHasBeenSet;
332 
333  int m_maxPayloadInMB;
334  bool m_maxPayloadInMBHasBeenSet;
335 
336  BatchStrategy m_batchStrategy;
337  bool m_batchStrategyHasBeenSet;
338 
340  bool m_environmentHasBeenSet;
341 
342  TransformInput m_transformInput;
343  bool m_transformInputHasBeenSet;
344 
345  TransformOutput m_transformOutput;
346  bool m_transformOutputHasBeenSet;
347 
348  TransformResources m_transformResources;
349  bool m_transformResourcesHasBeenSet;
350  };
351 
352 } // namespace Model
353 } // namespace SageMaker
354 } // namespace Aws
Aws::SageMaker::Model::TransformJobDefinition::SetEnvironment
void SetEnvironment(Aws::Map< Aws::String, Aws::String > &&value)
Definition: TransformJobDefinition.h:167
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
TransformInput.h
Aws::SageMaker::Model::BatchStrategy
BatchStrategy
Definition: BatchStrategy.h:17
Aws::SageMaker::Model::TransformInput
Definition: TransformInput.h:36
Aws::SageMaker::Model::TransformJobDefinition::AddEnvironment
TransformJobDefinition & AddEnvironment(Aws::String &&key, Aws::String &&value)
Definition: TransformJobDefinition.h:203
SageMaker_EXPORTS.h
Aws::SageMaker::Model::TransformJobDefinition::AddEnvironment
TransformJobDefinition & AddEnvironment(const char *key, Aws::String &&value)
Definition: TransformJobDefinition.h:209
Aws::SageMaker::Model::TransformResources
Definition: TransformResources.h:34
Aws::SageMaker::Model::TransformOutput
Definition: TransformOutput.h:33
Aws::SageMaker::Model::TransformJobDefinition::TransformJobDefinition
TransformJobDefinition()
Aws::SageMaker::Model::TransformJobDefinition::AddEnvironment
TransformJobDefinition & AddEnvironment(Aws::String &&key, const Aws::String &value)
Definition: TransformJobDefinition.h:191
Aws::SageMaker::Model::TransformJobDefinition::WithTransformInput
TransformJobDefinition & WithTransformInput(const TransformInput &value)
Definition: TransformJobDefinition.h:252
Aws::SageMaker::Model::TransformJobDefinition::TransformInputHasBeenSet
bool TransformInputHasBeenSet() const
Definition: TransformJobDefinition.h:234
Aws::SageMaker::Model::TransformJobDefinition::WithTransformResources
TransformJobDefinition & WithTransformResources(TransformResources &&value)
Definition: TransformJobDefinition.h:326
Aws::SageMaker::Model::TransformJobDefinition::SetTransformResources
void SetTransformResources(TransformResources &&value)
Definition: TransformJobDefinition.h:316
Aws::SageMaker::Model::TransformJobDefinition::EnvironmentHasBeenSet
bool EnvironmentHasBeenSet() const
Definition: TransformJobDefinition.h:155
Aws::SageMaker::Model::TransformJobDefinition::SetEnvironment
void SetEnvironment(const Aws::Map< Aws::String, Aws::String > &value)
Definition: TransformJobDefinition.h:161
Aws::SageMaker::Model::TransformJobDefinition::TransformJobDefinition
TransformJobDefinition(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::TransformJobDefinition::GetTransformInput
const TransformInput & GetTransformInput() const
Definition: TransformJobDefinition.h:228
Aws::SageMaker::Model::TransformJobDefinition::GetBatchStrategy
const BatchStrategy & GetBatchStrategy() const
Definition: TransformJobDefinition.h:102
Aws::SageMaker::Model::TransformJobDefinition::SetTransformOutput
void SetTransformOutput(const TransformOutput &value)
Definition: TransformJobDefinition.h:277
Aws::SageMaker::Model::TransformJobDefinition::WithMaxConcurrentTransforms
TransformJobDefinition & WithMaxConcurrentTransforms(int value)
Definition: TransformJobDefinition.h:68
Aws::SageMaker::Model::TransformJobDefinition::GetMaxPayloadInMB
int GetMaxPayloadInMB() const
Definition: TransformJobDefinition.h:75
Aws::SageMaker::Model::TransformJobDefinition::operator=
TransformJobDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::TransformJobDefinition::GetEnvironment
const Aws::Map< Aws::String, Aws::String > & GetEnvironment() const
Definition: TransformJobDefinition.h:149
Aws::SageMaker::Model::TransformJobDefinition::AddEnvironment
TransformJobDefinition & AddEnvironment(const Aws::String &key, Aws::String &&value)
Definition: TransformJobDefinition.h:197
TransformOutput.h
Aws::SageMaker::Model::TransformJobDefinition::TransformOutputHasBeenSet
bool TransformOutputHasBeenSet() const
Definition: TransformJobDefinition.h:271
Aws::SageMaker::Model::TransformJobDefinition::SetMaxPayloadInMB
void SetMaxPayloadInMB(int value)
Definition: TransformJobDefinition.h:87
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::TransformJobDefinition::WithTransformResources
TransformJobDefinition & WithTransformResources(const TransformResources &value)
Definition: TransformJobDefinition.h:321
Aws::SageMaker::Model::TransformJobDefinition::SetTransformOutput
void SetTransformOutput(TransformOutput &&value)
Definition: TransformJobDefinition.h:283
Aws::SageMaker::Model::TransformJobDefinition::SetMaxConcurrentTransforms
void SetMaxConcurrentTransforms(int value)
Definition: TransformJobDefinition.h:62
Aws::SageMaker::Model::TransformJobDefinition::AddEnvironment
TransformJobDefinition & AddEnvironment(const char *key, const char *value)
Definition: TransformJobDefinition.h:221
Aws::SageMaker::Model::TransformJobDefinition::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::TransformJobDefinition::WithEnvironment
TransformJobDefinition & WithEnvironment(const Aws::Map< Aws::String, Aws::String > &value)
Definition: TransformJobDefinition.h:173
Aws::SageMaker::Model::TransformJobDefinition::AddEnvironment
TransformJobDefinition & AddEnvironment(Aws::String &&key, const char *value)
Definition: TransformJobDefinition.h:215
Aws::SageMaker::Model::TransformJobDefinition::WithTransformOutput
TransformJobDefinition & WithTransformOutput(TransformOutput &&value)
Definition: TransformJobDefinition.h:295
Aws::SageMaker::Model::TransformJobDefinition::WithTransformInput
TransformJobDefinition & WithTransformInput(TransformInput &&value)
Definition: TransformJobDefinition.h:258
Aws::SageMaker::Model::TransformJobDefinition::WithTransformOutput
TransformJobDefinition & WithTransformOutput(const TransformOutput &value)
Definition: TransformJobDefinition.h:289
Aws::SageMaker::Model::TransformJobDefinition::TransformResourcesHasBeenSet
bool TransformResourcesHasBeenSet() const
Definition: TransformJobDefinition.h:306
Aws::SageMaker::Model::TransformJobDefinition::GetTransformOutput
const TransformOutput & GetTransformOutput() const
Definition: TransformJobDefinition.h:265
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::TransformJobDefinition::SetBatchStrategy
void SetBatchStrategy(const BatchStrategy &value)
Definition: TransformJobDefinition.h:118
BatchStrategy.h
Aws::SageMaker::Model::TransformJobDefinition::GetTransformResources
const TransformResources & GetTransformResources() const
Definition: TransformJobDefinition.h:301
Aws::SageMaker::Model::TransformJobDefinition::MaxConcurrentTransformsHasBeenSet
bool MaxConcurrentTransformsHasBeenSet() const
Definition: TransformJobDefinition.h:56
Aws::SageMaker::Model::TransformJobDefinition::GetMaxConcurrentTransforms
int GetMaxConcurrentTransforms() const
Definition: TransformJobDefinition.h:50
Aws::SageMaker::Model::TransformJobDefinition::SetTransformInput
void SetTransformInput(const TransformInput &value)
Definition: TransformJobDefinition.h:240
Aws::SageMaker::Model::TransformJobDefinition::WithBatchStrategy
TransformJobDefinition & WithBatchStrategy(BatchStrategy &&value)
Definition: TransformJobDefinition.h:142
Aws::SageMaker::Model::TransformJobDefinition::WithMaxPayloadInMB
TransformJobDefinition & WithMaxPayloadInMB(int value)
Definition: TransformJobDefinition.h:93
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::TransformJobDefinition::SetTransformResources
void SetTransformResources(const TransformResources &value)
Definition: TransformJobDefinition.h:311
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::TransformJobDefinition::WithEnvironment
TransformJobDefinition & WithEnvironment(Aws::Map< Aws::String, Aws::String > &&value)
Definition: TransformJobDefinition.h:179
Aws::SageMaker::Model::TransformJobDefinition::SetTransformInput
void SetTransformInput(TransformInput &&value)
Definition: TransformJobDefinition.h:246
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::TransformJobDefinition::AddEnvironment
TransformJobDefinition & AddEnvironment(const Aws::String &key, const Aws::String &value)
Definition: TransformJobDefinition.h:185
Aws::SageMaker::Model::TransformJobDefinition::WithBatchStrategy
TransformJobDefinition & WithBatchStrategy(const BatchStrategy &value)
Definition: TransformJobDefinition.h:134
Aws::SageMaker::Model::TransformJobDefinition
Definition: TransformJobDefinition.h:38
Aws::SageMaker::Model::TransformJobDefinition::BatchStrategyHasBeenSet
bool BatchStrategyHasBeenSet() const
Definition: TransformJobDefinition.h:110
AWSMap.h
Aws::SageMaker::Model::TransformJobDefinition::SetBatchStrategy
void SetBatchStrategy(BatchStrategy &&value)
Definition: TransformJobDefinition.h:126
Aws::SageMaker::Model::TransformJobDefinition::MaxPayloadInMBHasBeenSet
bool MaxPayloadInMBHasBeenSet() const
Definition: TransformJobDefinition.h:81
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
TransformResources.h