/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Defines the input needed to run a transform job using the inference
* specification specified in the algorithm.See Also:
AWS
* API Reference
The maximum number of parallel requests that can be sent to each instance in * a transform job. The default value is 1.
*/ inline int GetMaxConcurrentTransforms() const{ return m_maxConcurrentTransforms; } /** *The maximum number of parallel requests that can be sent to each instance in * a transform job. The default value is 1.
*/ inline bool MaxConcurrentTransformsHasBeenSet() const { return m_maxConcurrentTransformsHasBeenSet; } /** *The maximum number of parallel requests that can be sent to each instance in * a transform job. The default value is 1.
*/ inline void SetMaxConcurrentTransforms(int value) { m_maxConcurrentTransformsHasBeenSet = true; m_maxConcurrentTransforms = value; } /** *The maximum number of parallel requests that can be sent to each instance in * a transform job. The default value is 1.
*/ inline TransformJobDefinition& WithMaxConcurrentTransforms(int value) { SetMaxConcurrentTransforms(value); return *this;} /** *The maximum payload size allowed, in MB. A payload is the data portion of a * record (without metadata).
*/ inline int GetMaxPayloadInMB() const{ return m_maxPayloadInMB; } /** *The maximum payload size allowed, in MB. A payload is the data portion of a * record (without metadata).
*/ inline bool MaxPayloadInMBHasBeenSet() const { return m_maxPayloadInMBHasBeenSet; } /** *The maximum payload size allowed, in MB. A payload is the data portion of a * record (without metadata).
*/ inline void SetMaxPayloadInMB(int value) { m_maxPayloadInMBHasBeenSet = true; m_maxPayloadInMB = value; } /** *The maximum payload size allowed, in MB. A payload is the data portion of a * record (without metadata).
*/ inline TransformJobDefinition& WithMaxPayloadInMB(int value) { SetMaxPayloadInMB(value); return *this;} /** *A string that determines the number of records included in a single * mini-batch.
SingleRecord
means only one record is used per
* mini-batch. MultiRecord
means a mini-batch is set to contain as
* many records that can fit within the MaxPayloadInMB
limit.
A string that determines the number of records included in a single * mini-batch.
SingleRecord
means only one record is used per
* mini-batch. MultiRecord
means a mini-batch is set to contain as
* many records that can fit within the MaxPayloadInMB
limit.
A string that determines the number of records included in a single * mini-batch.
SingleRecord
means only one record is used per
* mini-batch. MultiRecord
means a mini-batch is set to contain as
* many records that can fit within the MaxPayloadInMB
limit.
A string that determines the number of records included in a single * mini-batch.
SingleRecord
means only one record is used per
* mini-batch. MultiRecord
means a mini-batch is set to contain as
* many records that can fit within the MaxPayloadInMB
limit.
A string that determines the number of records included in a single * mini-batch.
SingleRecord
means only one record is used per
* mini-batch. MultiRecord
means a mini-batch is set to contain as
* many records that can fit within the MaxPayloadInMB
limit.
A string that determines the number of records included in a single * mini-batch.
SingleRecord
means only one record is used per
* mini-batch. MultiRecord
means a mini-batch is set to contain as
* many records that can fit within the MaxPayloadInMB
limit.
The environment variables to set in the Docker container. We support up to 16 * key and values entries in the map.
*/ inline const Aws::MapThe environment variables to set in the Docker container. We support up to 16 * key and values entries in the map.
*/ inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; } /** *The environment variables to set in the Docker container. We support up to 16 * key and values entries in the map.
*/ inline void SetEnvironment(const Aws::MapThe environment variables to set in the Docker container. We support up to 16 * key and values entries in the map.
*/ inline void SetEnvironment(Aws::MapThe environment variables to set in the Docker container. We support up to 16 * key and values entries in the map.
*/ inline TransformJobDefinition& WithEnvironment(const Aws::MapThe environment variables to set in the Docker container. We support up to 16 * key and values entries in the map.
*/ inline TransformJobDefinition& WithEnvironment(Aws::MapThe environment variables to set in the Docker container. We support up to 16 * key and values entries in the map.
*/ inline TransformJobDefinition& AddEnvironment(const Aws::String& key, const Aws::String& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, value); return *this; } /** *The environment variables to set in the Docker container. We support up to 16 * key and values entries in the map.
*/ inline TransformJobDefinition& AddEnvironment(Aws::String&& key, const Aws::String& value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), value); return *this; } /** *The environment variables to set in the Docker container. We support up to 16 * key and values entries in the map.
*/ inline TransformJobDefinition& AddEnvironment(const Aws::String& key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, std::move(value)); return *this; } /** *The environment variables to set in the Docker container. We support up to 16 * key and values entries in the map.
*/ inline TransformJobDefinition& AddEnvironment(Aws::String&& key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), std::move(value)); return *this; } /** *The environment variables to set in the Docker container. We support up to 16 * key and values entries in the map.
*/ inline TransformJobDefinition& AddEnvironment(const char* key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, std::move(value)); return *this; } /** *The environment variables to set in the Docker container. We support up to 16 * key and values entries in the map.
*/ inline TransformJobDefinition& AddEnvironment(Aws::String&& key, const char* value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), value); return *this; } /** *The environment variables to set in the Docker container. We support up to 16 * key and values entries in the map.
*/ inline TransformJobDefinition& AddEnvironment(const char* key, const char* value) { m_environmentHasBeenSet = true; m_environment.emplace(key, value); return *this; } /** *A description of the input source and the way the transform job consumes * it.
*/ inline const TransformInput& GetTransformInput() const{ return m_transformInput; } /** *A description of the input source and the way the transform job consumes * it.
*/ inline bool TransformInputHasBeenSet() const { return m_transformInputHasBeenSet; } /** *A description of the input source and the way the transform job consumes * it.
*/ inline void SetTransformInput(const TransformInput& value) { m_transformInputHasBeenSet = true; m_transformInput = value; } /** *A description of the input source and the way the transform job consumes * it.
*/ inline void SetTransformInput(TransformInput&& value) { m_transformInputHasBeenSet = true; m_transformInput = std::move(value); } /** *A description of the input source and the way the transform job consumes * it.
*/ inline TransformJobDefinition& WithTransformInput(const TransformInput& value) { SetTransformInput(value); return *this;} /** *A description of the input source and the way the transform job consumes * it.
*/ inline TransformJobDefinition& WithTransformInput(TransformInput&& value) { SetTransformInput(std::move(value)); return *this;} /** *Identifies the Amazon S3 location where you want Amazon SageMaker to save the * results from the transform job.
*/ inline const TransformOutput& GetTransformOutput() const{ return m_transformOutput; } /** *Identifies the Amazon S3 location where you want Amazon SageMaker to save the * results from the transform job.
*/ inline bool TransformOutputHasBeenSet() const { return m_transformOutputHasBeenSet; } /** *Identifies the Amazon S3 location where you want Amazon SageMaker to save the * results from the transform job.
*/ inline void SetTransformOutput(const TransformOutput& value) { m_transformOutputHasBeenSet = true; m_transformOutput = value; } /** *Identifies the Amazon S3 location where you want Amazon SageMaker to save the * results from the transform job.
*/ inline void SetTransformOutput(TransformOutput&& value) { m_transformOutputHasBeenSet = true; m_transformOutput = std::move(value); } /** *Identifies the Amazon S3 location where you want Amazon SageMaker to save the * results from the transform job.
*/ inline TransformJobDefinition& WithTransformOutput(const TransformOutput& value) { SetTransformOutput(value); return *this;} /** *Identifies the Amazon S3 location where you want Amazon SageMaker to save the * results from the transform job.
*/ inline TransformJobDefinition& WithTransformOutput(TransformOutput&& value) { SetTransformOutput(std::move(value)); return *this;} /** *Identifies the ML compute instances for the transform job.
*/ inline const TransformResources& GetTransformResources() const{ return m_transformResources; } /** *Identifies the ML compute instances for the transform job.
*/ inline bool TransformResourcesHasBeenSet() const { return m_transformResourcesHasBeenSet; } /** *Identifies the ML compute instances for the transform job.
*/ inline void SetTransformResources(const TransformResources& value) { m_transformResourcesHasBeenSet = true; m_transformResources = value; } /** *Identifies the ML compute instances for the transform job.
*/ inline void SetTransformResources(TransformResources&& value) { m_transformResourcesHasBeenSet = true; m_transformResources = std::move(value); } /** *Identifies the ML compute instances for the transform job.
*/ inline TransformJobDefinition& WithTransformResources(const TransformResources& value) { SetTransformResources(value); return *this;} /** *Identifies the ML compute instances for the transform job.
*/ inline TransformJobDefinition& WithTransformResources(TransformResources&& value) { SetTransformResources(std::move(value)); return *this;} private: int m_maxConcurrentTransforms; bool m_maxConcurrentTransformsHasBeenSet = false; int m_maxPayloadInMB; bool m_maxPayloadInMBHasBeenSet = false; BatchStrategy m_batchStrategy; bool m_batchStrategyHasBeenSet = false; Aws::Map