/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include namespace Aws { namespace Glue { namespace Model { /** */ class CreateMLTransformRequest : public GlueRequest { public: AWS_GLUE_API CreateMLTransformRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CreateMLTransform"; } AWS_GLUE_API Aws::String SerializePayload() const override; AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The unique name that you give the transform when you create it.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The unique name that you give the transform when you create it.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The unique name that you give the transform when you create it.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The unique name that you give the transform when you create it.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The unique name that you give the transform when you create it.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The unique name that you give the transform when you create it.

*/ inline CreateMLTransformRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The unique name that you give the transform when you create it.

*/ inline CreateMLTransformRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The unique name that you give the transform when you create it.

*/ inline CreateMLTransformRequest& WithName(const char* value) { SetName(value); return *this;} /** *

A description of the machine learning transform that is being defined. The * default is an empty string.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

A description of the machine learning transform that is being defined. The * default is an empty string.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

A description of the machine learning transform that is being defined. The * default is an empty string.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

A description of the machine learning transform that is being defined. The * default is an empty string.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

A description of the machine learning transform that is being defined. The * default is an empty string.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

A description of the machine learning transform that is being defined. The * default is an empty string.

*/ inline CreateMLTransformRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A description of the machine learning transform that is being defined. The * default is an empty string.

*/ inline CreateMLTransformRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

A description of the machine learning transform that is being defined. The * default is an empty string.

*/ inline CreateMLTransformRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

A list of Glue table definitions used by the transform.

*/ inline const Aws::Vector& GetInputRecordTables() const{ return m_inputRecordTables; } /** *

A list of Glue table definitions used by the transform.

*/ inline bool InputRecordTablesHasBeenSet() const { return m_inputRecordTablesHasBeenSet; } /** *

A list of Glue table definitions used by the transform.

*/ inline void SetInputRecordTables(const Aws::Vector& value) { m_inputRecordTablesHasBeenSet = true; m_inputRecordTables = value; } /** *

A list of Glue table definitions used by the transform.

*/ inline void SetInputRecordTables(Aws::Vector&& value) { m_inputRecordTablesHasBeenSet = true; m_inputRecordTables = std::move(value); } /** *

A list of Glue table definitions used by the transform.

*/ inline CreateMLTransformRequest& WithInputRecordTables(const Aws::Vector& value) { SetInputRecordTables(value); return *this;} /** *

A list of Glue table definitions used by the transform.

*/ inline CreateMLTransformRequest& WithInputRecordTables(Aws::Vector&& value) { SetInputRecordTables(std::move(value)); return *this;} /** *

A list of Glue table definitions used by the transform.

*/ inline CreateMLTransformRequest& AddInputRecordTables(const GlueTable& value) { m_inputRecordTablesHasBeenSet = true; m_inputRecordTables.push_back(value); return *this; } /** *

A list of Glue table definitions used by the transform.

*/ inline CreateMLTransformRequest& AddInputRecordTables(GlueTable&& value) { m_inputRecordTablesHasBeenSet = true; m_inputRecordTables.push_back(std::move(value)); return *this; } /** *

The algorithmic parameters that are specific to the transform type used. * Conditionally dependent on the transform type.

*/ inline const TransformParameters& GetParameters() const{ return m_parameters; } /** *

The algorithmic parameters that are specific to the transform type used. * Conditionally dependent on the transform type.

*/ inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } /** *

The algorithmic parameters that are specific to the transform type used. * Conditionally dependent on the transform type.

*/ inline void SetParameters(const TransformParameters& value) { m_parametersHasBeenSet = true; m_parameters = value; } /** *

The algorithmic parameters that are specific to the transform type used. * Conditionally dependent on the transform type.

*/ inline void SetParameters(TransformParameters&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); } /** *

The algorithmic parameters that are specific to the transform type used. * Conditionally dependent on the transform type.

*/ inline CreateMLTransformRequest& WithParameters(const TransformParameters& value) { SetParameters(value); return *this;} /** *

The algorithmic parameters that are specific to the transform type used. * Conditionally dependent on the transform type.

*/ inline CreateMLTransformRequest& WithParameters(TransformParameters&& value) { SetParameters(std::move(value)); return *this;} /** *

The name or Amazon Resource Name (ARN) of the IAM role with the required * permissions. The required permissions include both Glue service role permissions * to Glue resources, and Amazon S3 permissions required by the transform.

*
  • This role needs Glue service role permissions to allow access to * resources in Glue. See Attach * a Policy to IAM Users That Access Glue.

  • This role needs * permission to your Amazon Simple Storage Service (Amazon S3) sources, targets, * temporary directory, scripts, and any libraries used by the task run for this * transform.

*/ inline const Aws::String& GetRole() const{ return m_role; } /** *

The name or Amazon Resource Name (ARN) of the IAM role with the required * permissions. The required permissions include both Glue service role permissions * to Glue resources, and Amazon S3 permissions required by the transform.

*
  • This role needs Glue service role permissions to allow access to * resources in Glue. See Attach * a Policy to IAM Users That Access Glue.

  • This role needs * permission to your Amazon Simple Storage Service (Amazon S3) sources, targets, * temporary directory, scripts, and any libraries used by the task run for this * transform.

*/ inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; } /** *

The name or Amazon Resource Name (ARN) of the IAM role with the required * permissions. The required permissions include both Glue service role permissions * to Glue resources, and Amazon S3 permissions required by the transform.

*
  • This role needs Glue service role permissions to allow access to * resources in Glue. See Attach * a Policy to IAM Users That Access Glue.

  • This role needs * permission to your Amazon Simple Storage Service (Amazon S3) sources, targets, * temporary directory, scripts, and any libraries used by the task run for this * transform.

*/ inline void SetRole(const Aws::String& value) { m_roleHasBeenSet = true; m_role = value; } /** *

The name or Amazon Resource Name (ARN) of the IAM role with the required * permissions. The required permissions include both Glue service role permissions * to Glue resources, and Amazon S3 permissions required by the transform.

*
  • This role needs Glue service role permissions to allow access to * resources in Glue. See Attach * a Policy to IAM Users That Access Glue.

  • This role needs * permission to your Amazon Simple Storage Service (Amazon S3) sources, targets, * temporary directory, scripts, and any libraries used by the task run for this * transform.

*/ inline void SetRole(Aws::String&& value) { m_roleHasBeenSet = true; m_role = std::move(value); } /** *

The name or Amazon Resource Name (ARN) of the IAM role with the required * permissions. The required permissions include both Glue service role permissions * to Glue resources, and Amazon S3 permissions required by the transform.

*
  • This role needs Glue service role permissions to allow access to * resources in Glue. See Attach * a Policy to IAM Users That Access Glue.

  • This role needs * permission to your Amazon Simple Storage Service (Amazon S3) sources, targets, * temporary directory, scripts, and any libraries used by the task run for this * transform.

*/ inline void SetRole(const char* value) { m_roleHasBeenSet = true; m_role.assign(value); } /** *

The name or Amazon Resource Name (ARN) of the IAM role with the required * permissions. The required permissions include both Glue service role permissions * to Glue resources, and Amazon S3 permissions required by the transform.

*
  • This role needs Glue service role permissions to allow access to * resources in Glue. See Attach * a Policy to IAM Users That Access Glue.

  • This role needs * permission to your Amazon Simple Storage Service (Amazon S3) sources, targets, * temporary directory, scripts, and any libraries used by the task run for this * transform.

*/ inline CreateMLTransformRequest& WithRole(const Aws::String& value) { SetRole(value); return *this;} /** *

The name or Amazon Resource Name (ARN) of the IAM role with the required * permissions. The required permissions include both Glue service role permissions * to Glue resources, and Amazon S3 permissions required by the transform.

*
  • This role needs Glue service role permissions to allow access to * resources in Glue. See Attach * a Policy to IAM Users That Access Glue.

  • This role needs * permission to your Amazon Simple Storage Service (Amazon S3) sources, targets, * temporary directory, scripts, and any libraries used by the task run for this * transform.

*/ inline CreateMLTransformRequest& WithRole(Aws::String&& value) { SetRole(std::move(value)); return *this;} /** *

The name or Amazon Resource Name (ARN) of the IAM role with the required * permissions. The required permissions include both Glue service role permissions * to Glue resources, and Amazon S3 permissions required by the transform.

*
  • This role needs Glue service role permissions to allow access to * resources in Glue. See Attach * a Policy to IAM Users That Access Glue.

  • This role needs * permission to your Amazon Simple Storage Service (Amazon S3) sources, targets, * temporary directory, scripts, and any libraries used by the task run for this * transform.

*/ inline CreateMLTransformRequest& WithRole(const char* value) { SetRole(value); return *this;} /** *

This value determines which version of Glue this machine learning transform * is compatible with. Glue 1.0 is recommended for most customers. If the value is * not set, the Glue compatibility defaults to Glue 0.9. For more information, see * Glue * Versions in the developer guide.

*/ inline const Aws::String& GetGlueVersion() const{ return m_glueVersion; } /** *

This value determines which version of Glue this machine learning transform * is compatible with. Glue 1.0 is recommended for most customers. If the value is * not set, the Glue compatibility defaults to Glue 0.9. For more information, see * Glue * Versions in the developer guide.

*/ inline bool GlueVersionHasBeenSet() const { return m_glueVersionHasBeenSet; } /** *

This value determines which version of Glue this machine learning transform * is compatible with. Glue 1.0 is recommended for most customers. If the value is * not set, the Glue compatibility defaults to Glue 0.9. For more information, see * Glue * Versions in the developer guide.

*/ inline void SetGlueVersion(const Aws::String& value) { m_glueVersionHasBeenSet = true; m_glueVersion = value; } /** *

This value determines which version of Glue this machine learning transform * is compatible with. Glue 1.0 is recommended for most customers. If the value is * not set, the Glue compatibility defaults to Glue 0.9. For more information, see * Glue * Versions in the developer guide.

*/ inline void SetGlueVersion(Aws::String&& value) { m_glueVersionHasBeenSet = true; m_glueVersion = std::move(value); } /** *

This value determines which version of Glue this machine learning transform * is compatible with. Glue 1.0 is recommended for most customers. If the value is * not set, the Glue compatibility defaults to Glue 0.9. For more information, see * Glue * Versions in the developer guide.

*/ inline void SetGlueVersion(const char* value) { m_glueVersionHasBeenSet = true; m_glueVersion.assign(value); } /** *

This value determines which version of Glue this machine learning transform * is compatible with. Glue 1.0 is recommended for most customers. If the value is * not set, the Glue compatibility defaults to Glue 0.9. For more information, see * Glue * Versions in the developer guide.

*/ inline CreateMLTransformRequest& WithGlueVersion(const Aws::String& value) { SetGlueVersion(value); return *this;} /** *

This value determines which version of Glue this machine learning transform * is compatible with. Glue 1.0 is recommended for most customers. If the value is * not set, the Glue compatibility defaults to Glue 0.9. For more information, see * Glue * Versions in the developer guide.

*/ inline CreateMLTransformRequest& WithGlueVersion(Aws::String&& value) { SetGlueVersion(std::move(value)); return *this;} /** *

This value determines which version of Glue this machine learning transform * is compatible with. Glue 1.0 is recommended for most customers. If the value is * not set, the Glue compatibility defaults to Glue 0.9. For more information, see * Glue * Versions in the developer guide.

*/ inline CreateMLTransformRequest& WithGlueVersion(const char* value) { SetGlueVersion(value); return *this;} /** *

The number of Glue data processing units (DPUs) that are allocated to task * runs for this transform. You can allocate from 2 to 100 DPUs; the default is 10. * A DPU is a relative measure of processing power that consists of 4 vCPUs of * compute capacity and 16 GB of memory. For more information, see the Glue pricing page.

* MaxCapacity is a mutually exclusive option with * NumberOfWorkers and WorkerType.

  • If * either NumberOfWorkers or WorkerType is set, then * MaxCapacity cannot be set.

  • If * MaxCapacity is set then neither NumberOfWorkers or * WorkerType can be set.

  • If WorkerType * is set, then NumberOfWorkers is required (and vice versa).

    *
  • MaxCapacity and NumberOfWorkers must * both be at least 1.

When the WorkerType field is * set to a value other than Standard, the MaxCapacity * field is set automatically and becomes read-only.

When the * WorkerType field is set to a value other than * Standard, the MaxCapacity field is set automatically * and becomes read-only.

*/ inline double GetMaxCapacity() const{ return m_maxCapacity; } /** *

The number of Glue data processing units (DPUs) that are allocated to task * runs for this transform. You can allocate from 2 to 100 DPUs; the default is 10. * A DPU is a relative measure of processing power that consists of 4 vCPUs of * compute capacity and 16 GB of memory. For more information, see the Glue pricing page.

* MaxCapacity is a mutually exclusive option with * NumberOfWorkers and WorkerType.

  • If * either NumberOfWorkers or WorkerType is set, then * MaxCapacity cannot be set.

  • If * MaxCapacity is set then neither NumberOfWorkers or * WorkerType can be set.

  • If WorkerType * is set, then NumberOfWorkers is required (and vice versa).

    *
  • MaxCapacity and NumberOfWorkers must * both be at least 1.

When the WorkerType field is * set to a value other than Standard, the MaxCapacity * field is set automatically and becomes read-only.

When the * WorkerType field is set to a value other than * Standard, the MaxCapacity field is set automatically * and becomes read-only.

*/ inline bool MaxCapacityHasBeenSet() const { return m_maxCapacityHasBeenSet; } /** *

The number of Glue data processing units (DPUs) that are allocated to task * runs for this transform. You can allocate from 2 to 100 DPUs; the default is 10. * A DPU is a relative measure of processing power that consists of 4 vCPUs of * compute capacity and 16 GB of memory. For more information, see the Glue pricing page.

* MaxCapacity is a mutually exclusive option with * NumberOfWorkers and WorkerType.

  • If * either NumberOfWorkers or WorkerType is set, then * MaxCapacity cannot be set.

  • If * MaxCapacity is set then neither NumberOfWorkers or * WorkerType can be set.

  • If WorkerType * is set, then NumberOfWorkers is required (and vice versa).

    *
  • MaxCapacity and NumberOfWorkers must * both be at least 1.

When the WorkerType field is * set to a value other than Standard, the MaxCapacity * field is set automatically and becomes read-only.

When the * WorkerType field is set to a value other than * Standard, the MaxCapacity field is set automatically * and becomes read-only.

*/ inline void SetMaxCapacity(double value) { m_maxCapacityHasBeenSet = true; m_maxCapacity = value; } /** *

The number of Glue data processing units (DPUs) that are allocated to task * runs for this transform. You can allocate from 2 to 100 DPUs; the default is 10. * A DPU is a relative measure of processing power that consists of 4 vCPUs of * compute capacity and 16 GB of memory. For more information, see the Glue pricing page.

* MaxCapacity is a mutually exclusive option with * NumberOfWorkers and WorkerType.

  • If * either NumberOfWorkers or WorkerType is set, then * MaxCapacity cannot be set.

  • If * MaxCapacity is set then neither NumberOfWorkers or * WorkerType can be set.

  • If WorkerType * is set, then NumberOfWorkers is required (and vice versa).

    *
  • MaxCapacity and NumberOfWorkers must * both be at least 1.

When the WorkerType field is * set to a value other than Standard, the MaxCapacity * field is set automatically and becomes read-only.

When the * WorkerType field is set to a value other than * Standard, the MaxCapacity field is set automatically * and becomes read-only.

*/ inline CreateMLTransformRequest& WithMaxCapacity(double value) { SetMaxCapacity(value); return *this;} /** *

The type of predefined worker that is allocated when this task runs. Accepts * a value of Standard, G.1X, or G.2X.

  • For the * Standard worker type, each worker provides 4 vCPU, 16 GB of memory * and a 50GB disk, and 2 executors per worker.

  • For the * G.1X worker type, each worker provides 4 vCPU, 16 GB of memory and * a 64GB disk, and 1 executor per worker.

  • For the * G.2X worker type, each worker provides 8 vCPU, 32 GB of memory and * a 128GB disk, and 1 executor per worker.

* MaxCapacity is a mutually exclusive option with * NumberOfWorkers and WorkerType.

  • If * either NumberOfWorkers or WorkerType is set, then * MaxCapacity cannot be set.

  • If * MaxCapacity is set then neither NumberOfWorkers or * WorkerType can be set.

  • If WorkerType * is set, then NumberOfWorkers is required (and vice versa).

    *
  • MaxCapacity and NumberOfWorkers must * both be at least 1.

*/ inline const WorkerType& GetWorkerType() const{ return m_workerType; } /** *

The type of predefined worker that is allocated when this task runs. Accepts * a value of Standard, G.1X, or G.2X.

  • For the * Standard worker type, each worker provides 4 vCPU, 16 GB of memory * and a 50GB disk, and 2 executors per worker.

  • For the * G.1X worker type, each worker provides 4 vCPU, 16 GB of memory and * a 64GB disk, and 1 executor per worker.

  • For the * G.2X worker type, each worker provides 8 vCPU, 32 GB of memory and * a 128GB disk, and 1 executor per worker.

* MaxCapacity is a mutually exclusive option with * NumberOfWorkers and WorkerType.

  • If * either NumberOfWorkers or WorkerType is set, then * MaxCapacity cannot be set.

  • If * MaxCapacity is set then neither NumberOfWorkers or * WorkerType can be set.

  • If WorkerType * is set, then NumberOfWorkers is required (and vice versa).

    *
  • MaxCapacity and NumberOfWorkers must * both be at least 1.

*/ inline bool WorkerTypeHasBeenSet() const { return m_workerTypeHasBeenSet; } /** *

The type of predefined worker that is allocated when this task runs. Accepts * a value of Standard, G.1X, or G.2X.

  • For the * Standard worker type, each worker provides 4 vCPU, 16 GB of memory * and a 50GB disk, and 2 executors per worker.

  • For the * G.1X worker type, each worker provides 4 vCPU, 16 GB of memory and * a 64GB disk, and 1 executor per worker.

  • For the * G.2X worker type, each worker provides 8 vCPU, 32 GB of memory and * a 128GB disk, and 1 executor per worker.

* MaxCapacity is a mutually exclusive option with * NumberOfWorkers and WorkerType.

  • If * either NumberOfWorkers or WorkerType is set, then * MaxCapacity cannot be set.

  • If * MaxCapacity is set then neither NumberOfWorkers or * WorkerType can be set.

  • If WorkerType * is set, then NumberOfWorkers is required (and vice versa).

    *
  • MaxCapacity and NumberOfWorkers must * both be at least 1.

*/ inline void SetWorkerType(const WorkerType& value) { m_workerTypeHasBeenSet = true; m_workerType = value; } /** *

The type of predefined worker that is allocated when this task runs. Accepts * a value of Standard, G.1X, or G.2X.

  • For the * Standard worker type, each worker provides 4 vCPU, 16 GB of memory * and a 50GB disk, and 2 executors per worker.

  • For the * G.1X worker type, each worker provides 4 vCPU, 16 GB of memory and * a 64GB disk, and 1 executor per worker.

  • For the * G.2X worker type, each worker provides 8 vCPU, 32 GB of memory and * a 128GB disk, and 1 executor per worker.

* MaxCapacity is a mutually exclusive option with * NumberOfWorkers and WorkerType.

  • If * either NumberOfWorkers or WorkerType is set, then * MaxCapacity cannot be set.

  • If * MaxCapacity is set then neither NumberOfWorkers or * WorkerType can be set.

  • If WorkerType * is set, then NumberOfWorkers is required (and vice versa).

    *
  • MaxCapacity and NumberOfWorkers must * both be at least 1.

*/ inline void SetWorkerType(WorkerType&& value) { m_workerTypeHasBeenSet = true; m_workerType = std::move(value); } /** *

The type of predefined worker that is allocated when this task runs. Accepts * a value of Standard, G.1X, or G.2X.

  • For the * Standard worker type, each worker provides 4 vCPU, 16 GB of memory * and a 50GB disk, and 2 executors per worker.

  • For the * G.1X worker type, each worker provides 4 vCPU, 16 GB of memory and * a 64GB disk, and 1 executor per worker.

  • For the * G.2X worker type, each worker provides 8 vCPU, 32 GB of memory and * a 128GB disk, and 1 executor per worker.

* MaxCapacity is a mutually exclusive option with * NumberOfWorkers and WorkerType.

  • If * either NumberOfWorkers or WorkerType is set, then * MaxCapacity cannot be set.

  • If * MaxCapacity is set then neither NumberOfWorkers or * WorkerType can be set.

  • If WorkerType * is set, then NumberOfWorkers is required (and vice versa).

    *
  • MaxCapacity and NumberOfWorkers must * both be at least 1.

*/ inline CreateMLTransformRequest& WithWorkerType(const WorkerType& value) { SetWorkerType(value); return *this;} /** *

The type of predefined worker that is allocated when this task runs. Accepts * a value of Standard, G.1X, or G.2X.

  • For the * Standard worker type, each worker provides 4 vCPU, 16 GB of memory * and a 50GB disk, and 2 executors per worker.

  • For the * G.1X worker type, each worker provides 4 vCPU, 16 GB of memory and * a 64GB disk, and 1 executor per worker.

  • For the * G.2X worker type, each worker provides 8 vCPU, 32 GB of memory and * a 128GB disk, and 1 executor per worker.

* MaxCapacity is a mutually exclusive option with * NumberOfWorkers and WorkerType.

  • If * either NumberOfWorkers or WorkerType is set, then * MaxCapacity cannot be set.

  • If * MaxCapacity is set then neither NumberOfWorkers or * WorkerType can be set.

  • If WorkerType * is set, then NumberOfWorkers is required (and vice versa).

    *
  • MaxCapacity and NumberOfWorkers must * both be at least 1.

*/ inline CreateMLTransformRequest& WithWorkerType(WorkerType&& value) { SetWorkerType(std::move(value)); return *this;} /** *

The number of workers of a defined workerType that are allocated * when this task runs.

If WorkerType is set, then * NumberOfWorkers is required (and vice versa).

*/ inline int GetNumberOfWorkers() const{ return m_numberOfWorkers; } /** *

The number of workers of a defined workerType that are allocated * when this task runs.

If WorkerType is set, then * NumberOfWorkers is required (and vice versa).

*/ inline bool NumberOfWorkersHasBeenSet() const { return m_numberOfWorkersHasBeenSet; } /** *

The number of workers of a defined workerType that are allocated * when this task runs.

If WorkerType is set, then * NumberOfWorkers is required (and vice versa).

*/ inline void SetNumberOfWorkers(int value) { m_numberOfWorkersHasBeenSet = true; m_numberOfWorkers = value; } /** *

The number of workers of a defined workerType that are allocated * when this task runs.

If WorkerType is set, then * NumberOfWorkers is required (and vice versa).

*/ inline CreateMLTransformRequest& WithNumberOfWorkers(int value) { SetNumberOfWorkers(value); return *this;} /** *

The timeout of the task run for this transform in minutes. This is the * maximum time that a task run for this transform can consume resources before it * is terminated and enters TIMEOUT status. The default is 2,880 * minutes (48 hours).

*/ inline int GetTimeout() const{ return m_timeout; } /** *

The timeout of the task run for this transform in minutes. This is the * maximum time that a task run for this transform can consume resources before it * is terminated and enters TIMEOUT status. The default is 2,880 * minutes (48 hours).

*/ inline bool TimeoutHasBeenSet() const { return m_timeoutHasBeenSet; } /** *

The timeout of the task run for this transform in minutes. This is the * maximum time that a task run for this transform can consume resources before it * is terminated and enters TIMEOUT status. The default is 2,880 * minutes (48 hours).

*/ inline void SetTimeout(int value) { m_timeoutHasBeenSet = true; m_timeout = value; } /** *

The timeout of the task run for this transform in minutes. This is the * maximum time that a task run for this transform can consume resources before it * is terminated and enters TIMEOUT status. The default is 2,880 * minutes (48 hours).

*/ inline CreateMLTransformRequest& WithTimeout(int value) { SetTimeout(value); return *this;} /** *

The maximum number of times to retry a task for this transform after a task * run fails.

*/ inline int GetMaxRetries() const{ return m_maxRetries; } /** *

The maximum number of times to retry a task for this transform after a task * run fails.

*/ inline bool MaxRetriesHasBeenSet() const { return m_maxRetriesHasBeenSet; } /** *

The maximum number of times to retry a task for this transform after a task * run fails.

*/ inline void SetMaxRetries(int value) { m_maxRetriesHasBeenSet = true; m_maxRetries = value; } /** *

The maximum number of times to retry a task for this transform after a task * run fails.

*/ inline CreateMLTransformRequest& WithMaxRetries(int value) { SetMaxRetries(value); return *this;} /** *

The tags to use with this machine learning transform. You may use tags to * limit access to the machine learning transform. For more information about tags * in Glue, see Amazon Web * Services Tags in Glue in the developer guide.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

The tags to use with this machine learning transform. You may use tags to * limit access to the machine learning transform. For more information about tags * in Glue, see Amazon Web * Services Tags in Glue in the developer guide.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

The tags to use with this machine learning transform. You may use tags to * limit access to the machine learning transform. For more information about tags * in Glue, see Amazon Web * Services Tags in Glue in the developer guide.

*/ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

The tags to use with this machine learning transform. You may use tags to * limit access to the machine learning transform. For more information about tags * in Glue, see Amazon Web * Services Tags in Glue in the developer guide.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

The tags to use with this machine learning transform. You may use tags to * limit access to the machine learning transform. For more information about tags * in Glue, see Amazon Web * Services Tags in Glue in the developer guide.

*/ inline CreateMLTransformRequest& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

The tags to use with this machine learning transform. You may use tags to * limit access to the machine learning transform. For more information about tags * in Glue, see Amazon Web * Services Tags in Glue in the developer guide.

*/ inline CreateMLTransformRequest& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

The tags to use with this machine learning transform. You may use tags to * limit access to the machine learning transform. For more information about tags * in Glue, see Amazon Web * Services Tags in Glue in the developer guide.

*/ inline CreateMLTransformRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

The tags to use with this machine learning transform. You may use tags to * limit access to the machine learning transform. For more information about tags * in Glue, see Amazon Web * Services Tags in Glue in the developer guide.

*/ inline CreateMLTransformRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

The tags to use with this machine learning transform. You may use tags to * limit access to the machine learning transform. For more information about tags * in Glue, see Amazon Web * Services Tags in Glue in the developer guide.

*/ inline CreateMLTransformRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags to use with this machine learning transform. You may use tags to * limit access to the machine learning transform. For more information about tags * in Glue, see Amazon Web * Services Tags in Glue in the developer guide.

*/ inline CreateMLTransformRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

The tags to use with this machine learning transform. You may use tags to * limit access to the machine learning transform. For more information about tags * in Glue, see Amazon Web * Services Tags in Glue in the developer guide.

*/ inline CreateMLTransformRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags to use with this machine learning transform. You may use tags to * limit access to the machine learning transform. For more information about tags * in Glue, see Amazon Web * Services Tags in Glue in the developer guide.

*/ inline CreateMLTransformRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

The tags to use with this machine learning transform. You may use tags to * limit access to the machine learning transform. For more information about tags * in Glue, see Amazon Web * Services Tags in Glue in the developer guide.

*/ inline CreateMLTransformRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

The encryption-at-rest settings of the transform that apply to accessing user * data. Machine learning transforms can access user data encrypted in Amazon S3 * using KMS.

*/ inline const TransformEncryption& GetTransformEncryption() const{ return m_transformEncryption; } /** *

The encryption-at-rest settings of the transform that apply to accessing user * data. Machine learning transforms can access user data encrypted in Amazon S3 * using KMS.

*/ inline bool TransformEncryptionHasBeenSet() const { return m_transformEncryptionHasBeenSet; } /** *

The encryption-at-rest settings of the transform that apply to accessing user * data. Machine learning transforms can access user data encrypted in Amazon S3 * using KMS.

*/ inline void SetTransformEncryption(const TransformEncryption& value) { m_transformEncryptionHasBeenSet = true; m_transformEncryption = value; } /** *

The encryption-at-rest settings of the transform that apply to accessing user * data. Machine learning transforms can access user data encrypted in Amazon S3 * using KMS.

*/ inline void SetTransformEncryption(TransformEncryption&& value) { m_transformEncryptionHasBeenSet = true; m_transformEncryption = std::move(value); } /** *

The encryption-at-rest settings of the transform that apply to accessing user * data. Machine learning transforms can access user data encrypted in Amazon S3 * using KMS.

*/ inline CreateMLTransformRequest& WithTransformEncryption(const TransformEncryption& value) { SetTransformEncryption(value); return *this;} /** *

The encryption-at-rest settings of the transform that apply to accessing user * data. Machine learning transforms can access user data encrypted in Amazon S3 * using KMS.

*/ inline CreateMLTransformRequest& WithTransformEncryption(TransformEncryption&& value) { SetTransformEncryption(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Vector m_inputRecordTables; bool m_inputRecordTablesHasBeenSet = false; TransformParameters m_parameters; bool m_parametersHasBeenSet = false; Aws::String m_role; bool m_roleHasBeenSet = false; Aws::String m_glueVersion; bool m_glueVersionHasBeenSet = false; double m_maxCapacity; bool m_maxCapacityHasBeenSet = false; WorkerType m_workerType; bool m_workerTypeHasBeenSet = false; int m_numberOfWorkers; bool m_numberOfWorkersHasBeenSet = false; int m_timeout; bool m_timeoutHasBeenSet = false; int m_maxRetries; bool m_maxRetriesHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; TransformEncryption m_transformEncryption; bool m_transformEncryptionHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws