/** * 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 #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Glue { namespace Model { /** *

A structure for a machine learning transform.

See Also:

AWS * API Reference

*/ class MLTransform { public: AWS_GLUE_API MLTransform(); AWS_GLUE_API MLTransform(Aws::Utils::Json::JsonView jsonValue); AWS_GLUE_API MLTransform& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The unique transform ID that is generated for the machine learning transform. * The ID is guaranteed to be unique and does not change.

*/ inline const Aws::String& GetTransformId() const{ return m_transformId; } /** *

The unique transform ID that is generated for the machine learning transform. * The ID is guaranteed to be unique and does not change.

*/ inline bool TransformIdHasBeenSet() const { return m_transformIdHasBeenSet; } /** *

The unique transform ID that is generated for the machine learning transform. * The ID is guaranteed to be unique and does not change.

*/ inline void SetTransformId(const Aws::String& value) { m_transformIdHasBeenSet = true; m_transformId = value; } /** *

The unique transform ID that is generated for the machine learning transform. * The ID is guaranteed to be unique and does not change.

*/ inline void SetTransformId(Aws::String&& value) { m_transformIdHasBeenSet = true; m_transformId = std::move(value); } /** *

The unique transform ID that is generated for the machine learning transform. * The ID is guaranteed to be unique and does not change.

*/ inline void SetTransformId(const char* value) { m_transformIdHasBeenSet = true; m_transformId.assign(value); } /** *

The unique transform ID that is generated for the machine learning transform. * The ID is guaranteed to be unique and does not change.

*/ inline MLTransform& WithTransformId(const Aws::String& value) { SetTransformId(value); return *this;} /** *

The unique transform ID that is generated for the machine learning transform. * The ID is guaranteed to be unique and does not change.

*/ inline MLTransform& WithTransformId(Aws::String&& value) { SetTransformId(std::move(value)); return *this;} /** *

The unique transform ID that is generated for the machine learning transform. * The ID is guaranteed to be unique and does not change.

*/ inline MLTransform& WithTransformId(const char* value) { SetTransformId(value); return *this;} /** *

A user-defined name for the machine learning transform. Names are not * guaranteed unique and can be changed at any time.

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

A user-defined name for the machine learning transform. Names are not * guaranteed unique and can be changed at any time.

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

A user-defined name for the machine learning transform. Names are not * guaranteed unique and can be changed at any time.

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

A user-defined name for the machine learning transform. Names are not * guaranteed unique and can be changed at any time.

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

A user-defined name for the machine learning transform. Names are not * guaranteed unique and can be changed at any time.

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

A user-defined name for the machine learning transform. Names are not * guaranteed unique and can be changed at any time.

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

A user-defined name for the machine learning transform. Names are not * guaranteed unique and can be changed at any time.

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

A user-defined name for the machine learning transform. Names are not * guaranteed unique and can be changed at any time.

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

A user-defined, long-form description text for the machine learning * transform. Descriptions are not guaranteed to be unique and can be changed at * any time.

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

A user-defined, long-form description text for the machine learning * transform. Descriptions are not guaranteed to be unique and can be changed at * any time.

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

A user-defined, long-form description text for the machine learning * transform. Descriptions are not guaranteed to be unique and can be changed at * any time.

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

A user-defined, long-form description text for the machine learning * transform. Descriptions are not guaranteed to be unique and can be changed at * any time.

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

A user-defined, long-form description text for the machine learning * transform. Descriptions are not guaranteed to be unique and can be changed at * any time.

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

A user-defined, long-form description text for the machine learning * transform. Descriptions are not guaranteed to be unique and can be changed at * any time.

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

A user-defined, long-form description text for the machine learning * transform. Descriptions are not guaranteed to be unique and can be changed at * any time.

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

A user-defined, long-form description text for the machine learning * transform. Descriptions are not guaranteed to be unique and can be changed at * any time.

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

The current status of the machine learning transform.

*/ inline const TransformStatusType& GetStatus() const{ return m_status; } /** *

The current status of the machine learning transform.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The current status of the machine learning transform.

*/ inline void SetStatus(const TransformStatusType& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The current status of the machine learning transform.

*/ inline void SetStatus(TransformStatusType&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The current status of the machine learning transform.

*/ inline MLTransform& WithStatus(const TransformStatusType& value) { SetStatus(value); return *this;} /** *

The current status of the machine learning transform.

*/ inline MLTransform& WithStatus(TransformStatusType&& value) { SetStatus(std::move(value)); return *this;} /** *

A timestamp. The time and date that this machine learning transform was * created.

*/ inline const Aws::Utils::DateTime& GetCreatedOn() const{ return m_createdOn; } /** *

A timestamp. The time and date that this machine learning transform was * created.

*/ inline bool CreatedOnHasBeenSet() const { return m_createdOnHasBeenSet; } /** *

A timestamp. The time and date that this machine learning transform was * created.

*/ inline void SetCreatedOn(const Aws::Utils::DateTime& value) { m_createdOnHasBeenSet = true; m_createdOn = value; } /** *

A timestamp. The time and date that this machine learning transform was * created.

*/ inline void SetCreatedOn(Aws::Utils::DateTime&& value) { m_createdOnHasBeenSet = true; m_createdOn = std::move(value); } /** *

A timestamp. The time and date that this machine learning transform was * created.

*/ inline MLTransform& WithCreatedOn(const Aws::Utils::DateTime& value) { SetCreatedOn(value); return *this;} /** *

A timestamp. The time and date that this machine learning transform was * created.

*/ inline MLTransform& WithCreatedOn(Aws::Utils::DateTime&& value) { SetCreatedOn(std::move(value)); return *this;} /** *

A timestamp. The last point in time when this machine learning transform was * modified.

*/ inline const Aws::Utils::DateTime& GetLastModifiedOn() const{ return m_lastModifiedOn; } /** *

A timestamp. The last point in time when this machine learning transform was * modified.

*/ inline bool LastModifiedOnHasBeenSet() const { return m_lastModifiedOnHasBeenSet; } /** *

A timestamp. The last point in time when this machine learning transform was * modified.

*/ inline void SetLastModifiedOn(const Aws::Utils::DateTime& value) { m_lastModifiedOnHasBeenSet = true; m_lastModifiedOn = value; } /** *

A timestamp. The last point in time when this machine learning transform was * modified.

*/ inline void SetLastModifiedOn(Aws::Utils::DateTime&& value) { m_lastModifiedOnHasBeenSet = true; m_lastModifiedOn = std::move(value); } /** *

A timestamp. The last point in time when this machine learning transform was * modified.

*/ inline MLTransform& WithLastModifiedOn(const Aws::Utils::DateTime& value) { SetLastModifiedOn(value); return *this;} /** *

A timestamp. The last point in time when this machine learning transform was * modified.

*/ inline MLTransform& WithLastModifiedOn(Aws::Utils::DateTime&& value) { SetLastModifiedOn(std::move(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 MLTransform& WithInputRecordTables(const Aws::Vector& value) { SetInputRecordTables(value); return *this;} /** *

A list of Glue table definitions used by the transform.

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

A list of Glue table definitions used by the transform.

*/ inline MLTransform& 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 MLTransform& AddInputRecordTables(GlueTable&& value) { m_inputRecordTablesHasBeenSet = true; m_inputRecordTables.push_back(std::move(value)); return *this; } /** *

A TransformParameters object. You can use parameters to tune * (customize) the behavior of the machine learning transform by specifying what * data it learns from and your preference on various tradeoffs (such as precious * vs. recall, or accuracy vs. cost).

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

A TransformParameters object. You can use parameters to tune * (customize) the behavior of the machine learning transform by specifying what * data it learns from and your preference on various tradeoffs (such as precious * vs. recall, or accuracy vs. cost).

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

A TransformParameters object. You can use parameters to tune * (customize) the behavior of the machine learning transform by specifying what * data it learns from and your preference on various tradeoffs (such as precious * vs. recall, or accuracy vs. cost).

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

A TransformParameters object. You can use parameters to tune * (customize) the behavior of the machine learning transform by specifying what * data it learns from and your preference on various tradeoffs (such as precious * vs. recall, or accuracy vs. cost).

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

A TransformParameters object. You can use parameters to tune * (customize) the behavior of the machine learning transform by specifying what * data it learns from and your preference on various tradeoffs (such as precious * vs. recall, or accuracy vs. cost).

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

A TransformParameters object. You can use parameters to tune * (customize) the behavior of the machine learning transform by specifying what * data it learns from and your preference on various tradeoffs (such as precious * vs. recall, or accuracy vs. cost).

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

An EvaluationMetrics object. Evaluation metrics provide an * estimate of the quality of your machine learning transform.

*/ inline const EvaluationMetrics& GetEvaluationMetrics() const{ return m_evaluationMetrics; } /** *

An EvaluationMetrics object. Evaluation metrics provide an * estimate of the quality of your machine learning transform.

*/ inline bool EvaluationMetricsHasBeenSet() const { return m_evaluationMetricsHasBeenSet; } /** *

An EvaluationMetrics object. Evaluation metrics provide an * estimate of the quality of your machine learning transform.

*/ inline void SetEvaluationMetrics(const EvaluationMetrics& value) { m_evaluationMetricsHasBeenSet = true; m_evaluationMetrics = value; } /** *

An EvaluationMetrics object. Evaluation metrics provide an * estimate of the quality of your machine learning transform.

*/ inline void SetEvaluationMetrics(EvaluationMetrics&& value) { m_evaluationMetricsHasBeenSet = true; m_evaluationMetrics = std::move(value); } /** *

An EvaluationMetrics object. Evaluation metrics provide an * estimate of the quality of your machine learning transform.

*/ inline MLTransform& WithEvaluationMetrics(const EvaluationMetrics& value) { SetEvaluationMetrics(value); return *this;} /** *

An EvaluationMetrics object. Evaluation metrics provide an * estimate of the quality of your machine learning transform.

*/ inline MLTransform& WithEvaluationMetrics(EvaluationMetrics&& value) { SetEvaluationMetrics(std::move(value)); return *this;} /** *

A count identifier for the labeling files generated by Glue for this * transform. As you create a better transform, you can iteratively download, * label, and upload the labeling file.

*/ inline int GetLabelCount() const{ return m_labelCount; } /** *

A count identifier for the labeling files generated by Glue for this * transform. As you create a better transform, you can iteratively download, * label, and upload the labeling file.

*/ inline bool LabelCountHasBeenSet() const { return m_labelCountHasBeenSet; } /** *

A count identifier for the labeling files generated by Glue for this * transform. As you create a better transform, you can iteratively download, * label, and upload the labeling file.

*/ inline void SetLabelCount(int value) { m_labelCountHasBeenSet = true; m_labelCount = value; } /** *

A count identifier for the labeling files generated by Glue for this * transform. As you create a better transform, you can iteratively download, * label, and upload the labeling file.

*/ inline MLTransform& WithLabelCount(int value) { SetLabelCount(value); return *this;} /** *

A map of key-value pairs representing the columns and data types that this * transform can run against. Has an upper bound of 100 columns.

*/ inline const Aws::Vector& GetSchema() const{ return m_schema; } /** *

A map of key-value pairs representing the columns and data types that this * transform can run against. Has an upper bound of 100 columns.

*/ inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; } /** *

A map of key-value pairs representing the columns and data types that this * transform can run against. Has an upper bound of 100 columns.

*/ inline void SetSchema(const Aws::Vector& value) { m_schemaHasBeenSet = true; m_schema = value; } /** *

A map of key-value pairs representing the columns and data types that this * transform can run against. Has an upper bound of 100 columns.

*/ inline void SetSchema(Aws::Vector&& value) { m_schemaHasBeenSet = true; m_schema = std::move(value); } /** *

A map of key-value pairs representing the columns and data types that this * transform can run against. Has an upper bound of 100 columns.

*/ inline MLTransform& WithSchema(const Aws::Vector& value) { SetSchema(value); return *this;} /** *

A map of key-value pairs representing the columns and data types that this * transform can run against. Has an upper bound of 100 columns.

*/ inline MLTransform& WithSchema(Aws::Vector&& value) { SetSchema(std::move(value)); return *this;} /** *

A map of key-value pairs representing the columns and data types that this * transform can run against. Has an upper bound of 100 columns.

*/ inline MLTransform& AddSchema(const SchemaColumn& value) { m_schemaHasBeenSet = true; m_schema.push_back(value); return *this; } /** *

A map of key-value pairs representing the columns and data types that this * transform can run against. Has an upper bound of 100 columns.

*/ inline MLTransform& AddSchema(SchemaColumn&& value) { m_schemaHasBeenSet = true; m_schema.push_back(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 MLTransform& 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 MLTransform& 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 MLTransform& 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 MLTransform& 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 MLTransform& 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 MLTransform& 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.

*/ 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.

*/ 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.

*/ 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.

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

The type of predefined worker that is allocated when a task of this transform * 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 a task of this transform * 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 a task of this transform * 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 a task of this transform * 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 a task of this transform * 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 MLTransform& WithWorkerType(const WorkerType& value) { SetWorkerType(value); return *this;} /** *

The type of predefined worker that is allocated when a task of this transform * 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 MLTransform& WithWorkerType(WorkerType&& value) { SetWorkerType(std::move(value)); return *this;} /** *

The number of workers of a defined workerType that are allocated * when a task of the transform 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 a task of the transform 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 a task of the transform 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 a task of the transform runs.

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

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

The timeout in minutes of the machine learning transform.

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

The timeout in minutes of the machine learning transform.

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

The timeout in minutes of the machine learning transform.

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

The timeout in minutes of the machine learning transform.

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

The maximum number of times to retry after an MLTaskRun of the * machine learning transform fails.

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

The maximum number of times to retry after an MLTaskRun of the * machine learning transform fails.

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

The maximum number of times to retry after an MLTaskRun of the * machine learning transform fails.

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

The maximum number of times to retry after an MLTaskRun of the * machine learning transform fails.

*/ inline MLTransform& WithMaxRetries(int value) { SetMaxRetries(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 MLTransform& 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 MLTransform& WithTransformEncryption(TransformEncryption&& value) { SetTransformEncryption(std::move(value)); return *this;} private: Aws::String m_transformId; bool m_transformIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; TransformStatusType m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_createdOn; bool m_createdOnHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedOn; bool m_lastModifiedOnHasBeenSet = false; Aws::Vector m_inputRecordTables; bool m_inputRecordTablesHasBeenSet = false; TransformParameters m_parameters; bool m_parametersHasBeenSet = false; EvaluationMetrics m_evaluationMetrics; bool m_evaluationMetricsHasBeenSet = false; int m_labelCount; bool m_labelCountHasBeenSet = false; Aws::Vector m_schema; bool m_schemaHasBeenSet = 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; TransformEncryption m_transformEncryption; bool m_transformEncryptionHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws