/** * 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 #include namespace Aws { namespace SageMaker { namespace Model { /** */ class CreateDataQualityJobDefinitionRequest : public SageMakerRequest { public: AWS_SAGEMAKER_API CreateDataQualityJobDefinitionRequest(); // 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 "CreateDataQualityJobDefinition"; } AWS_SAGEMAKER_API Aws::String SerializePayload() const override; AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name for the monitoring job definition.

*/ inline const Aws::String& GetJobDefinitionName() const{ return m_jobDefinitionName; } /** *

The name for the monitoring job definition.

*/ inline bool JobDefinitionNameHasBeenSet() const { return m_jobDefinitionNameHasBeenSet; } /** *

The name for the monitoring job definition.

*/ inline void SetJobDefinitionName(const Aws::String& value) { m_jobDefinitionNameHasBeenSet = true; m_jobDefinitionName = value; } /** *

The name for the monitoring job definition.

*/ inline void SetJobDefinitionName(Aws::String&& value) { m_jobDefinitionNameHasBeenSet = true; m_jobDefinitionName = std::move(value); } /** *

The name for the monitoring job definition.

*/ inline void SetJobDefinitionName(const char* value) { m_jobDefinitionNameHasBeenSet = true; m_jobDefinitionName.assign(value); } /** *

The name for the monitoring job definition.

*/ inline CreateDataQualityJobDefinitionRequest& WithJobDefinitionName(const Aws::String& value) { SetJobDefinitionName(value); return *this;} /** *

The name for the monitoring job definition.

*/ inline CreateDataQualityJobDefinitionRequest& WithJobDefinitionName(Aws::String&& value) { SetJobDefinitionName(std::move(value)); return *this;} /** *

The name for the monitoring job definition.

*/ inline CreateDataQualityJobDefinitionRequest& WithJobDefinitionName(const char* value) { SetJobDefinitionName(value); return *this;} /** *

Configures the constraints and baselines for the monitoring job.

*/ inline const DataQualityBaselineConfig& GetDataQualityBaselineConfig() const{ return m_dataQualityBaselineConfig; } /** *

Configures the constraints and baselines for the monitoring job.

*/ inline bool DataQualityBaselineConfigHasBeenSet() const { return m_dataQualityBaselineConfigHasBeenSet; } /** *

Configures the constraints and baselines for the monitoring job.

*/ inline void SetDataQualityBaselineConfig(const DataQualityBaselineConfig& value) { m_dataQualityBaselineConfigHasBeenSet = true; m_dataQualityBaselineConfig = value; } /** *

Configures the constraints and baselines for the monitoring job.

*/ inline void SetDataQualityBaselineConfig(DataQualityBaselineConfig&& value) { m_dataQualityBaselineConfigHasBeenSet = true; m_dataQualityBaselineConfig = std::move(value); } /** *

Configures the constraints and baselines for the monitoring job.

*/ inline CreateDataQualityJobDefinitionRequest& WithDataQualityBaselineConfig(const DataQualityBaselineConfig& value) { SetDataQualityBaselineConfig(value); return *this;} /** *

Configures the constraints and baselines for the monitoring job.

*/ inline CreateDataQualityJobDefinitionRequest& WithDataQualityBaselineConfig(DataQualityBaselineConfig&& value) { SetDataQualityBaselineConfig(std::move(value)); return *this;} /** *

Specifies the container that runs the monitoring job.

*/ inline const DataQualityAppSpecification& GetDataQualityAppSpecification() const{ return m_dataQualityAppSpecification; } /** *

Specifies the container that runs the monitoring job.

*/ inline bool DataQualityAppSpecificationHasBeenSet() const { return m_dataQualityAppSpecificationHasBeenSet; } /** *

Specifies the container that runs the monitoring job.

*/ inline void SetDataQualityAppSpecification(const DataQualityAppSpecification& value) { m_dataQualityAppSpecificationHasBeenSet = true; m_dataQualityAppSpecification = value; } /** *

Specifies the container that runs the monitoring job.

*/ inline void SetDataQualityAppSpecification(DataQualityAppSpecification&& value) { m_dataQualityAppSpecificationHasBeenSet = true; m_dataQualityAppSpecification = std::move(value); } /** *

Specifies the container that runs the monitoring job.

*/ inline CreateDataQualityJobDefinitionRequest& WithDataQualityAppSpecification(const DataQualityAppSpecification& value) { SetDataQualityAppSpecification(value); return *this;} /** *

Specifies the container that runs the monitoring job.

*/ inline CreateDataQualityJobDefinitionRequest& WithDataQualityAppSpecification(DataQualityAppSpecification&& value) { SetDataQualityAppSpecification(std::move(value)); return *this;} /** *

A list of inputs for the monitoring job. Currently endpoints are supported as * monitoring inputs.

*/ inline const DataQualityJobInput& GetDataQualityJobInput() const{ return m_dataQualityJobInput; } /** *

A list of inputs for the monitoring job. Currently endpoints are supported as * monitoring inputs.

*/ inline bool DataQualityJobInputHasBeenSet() const { return m_dataQualityJobInputHasBeenSet; } /** *

A list of inputs for the monitoring job. Currently endpoints are supported as * monitoring inputs.

*/ inline void SetDataQualityJobInput(const DataQualityJobInput& value) { m_dataQualityJobInputHasBeenSet = true; m_dataQualityJobInput = value; } /** *

A list of inputs for the monitoring job. Currently endpoints are supported as * monitoring inputs.

*/ inline void SetDataQualityJobInput(DataQualityJobInput&& value) { m_dataQualityJobInputHasBeenSet = true; m_dataQualityJobInput = std::move(value); } /** *

A list of inputs for the monitoring job. Currently endpoints are supported as * monitoring inputs.

*/ inline CreateDataQualityJobDefinitionRequest& WithDataQualityJobInput(const DataQualityJobInput& value) { SetDataQualityJobInput(value); return *this;} /** *

A list of inputs for the monitoring job. Currently endpoints are supported as * monitoring inputs.

*/ inline CreateDataQualityJobDefinitionRequest& WithDataQualityJobInput(DataQualityJobInput&& value) { SetDataQualityJobInput(std::move(value)); return *this;} inline const MonitoringOutputConfig& GetDataQualityJobOutputConfig() const{ return m_dataQualityJobOutputConfig; } inline bool DataQualityJobOutputConfigHasBeenSet() const { return m_dataQualityJobOutputConfigHasBeenSet; } inline void SetDataQualityJobOutputConfig(const MonitoringOutputConfig& value) { m_dataQualityJobOutputConfigHasBeenSet = true; m_dataQualityJobOutputConfig = value; } inline void SetDataQualityJobOutputConfig(MonitoringOutputConfig&& value) { m_dataQualityJobOutputConfigHasBeenSet = true; m_dataQualityJobOutputConfig = std::move(value); } inline CreateDataQualityJobDefinitionRequest& WithDataQualityJobOutputConfig(const MonitoringOutputConfig& value) { SetDataQualityJobOutputConfig(value); return *this;} inline CreateDataQualityJobDefinitionRequest& WithDataQualityJobOutputConfig(MonitoringOutputConfig&& value) { SetDataQualityJobOutputConfig(std::move(value)); return *this;} inline const MonitoringResources& GetJobResources() const{ return m_jobResources; } inline bool JobResourcesHasBeenSet() const { return m_jobResourcesHasBeenSet; } inline void SetJobResources(const MonitoringResources& value) { m_jobResourcesHasBeenSet = true; m_jobResources = value; } inline void SetJobResources(MonitoringResources&& value) { m_jobResourcesHasBeenSet = true; m_jobResources = std::move(value); } inline CreateDataQualityJobDefinitionRequest& WithJobResources(const MonitoringResources& value) { SetJobResources(value); return *this;} inline CreateDataQualityJobDefinitionRequest& WithJobResources(MonitoringResources&& value) { SetJobResources(std::move(value)); return *this;} /** *

Specifies networking configuration for the monitoring job.

*/ inline const MonitoringNetworkConfig& GetNetworkConfig() const{ return m_networkConfig; } /** *

Specifies networking configuration for the monitoring job.

*/ inline bool NetworkConfigHasBeenSet() const { return m_networkConfigHasBeenSet; } /** *

Specifies networking configuration for the monitoring job.

*/ inline void SetNetworkConfig(const MonitoringNetworkConfig& value) { m_networkConfigHasBeenSet = true; m_networkConfig = value; } /** *

Specifies networking configuration for the monitoring job.

*/ inline void SetNetworkConfig(MonitoringNetworkConfig&& value) { m_networkConfigHasBeenSet = true; m_networkConfig = std::move(value); } /** *

Specifies networking configuration for the monitoring job.

*/ inline CreateDataQualityJobDefinitionRequest& WithNetworkConfig(const MonitoringNetworkConfig& value) { SetNetworkConfig(value); return *this;} /** *

Specifies networking configuration for the monitoring job.

*/ inline CreateDataQualityJobDefinitionRequest& WithNetworkConfig(MonitoringNetworkConfig&& value) { SetNetworkConfig(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can * assume to perform tasks on your behalf.

*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *

The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can * assume to perform tasks on your behalf.

*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can * assume to perform tasks on your behalf.

*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *

The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can * assume to perform tasks on your behalf.

*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can * assume to perform tasks on your behalf.

*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *

The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can * assume to perform tasks on your behalf.

*/ inline CreateDataQualityJobDefinitionRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can * assume to perform tasks on your behalf.

*/ inline CreateDataQualityJobDefinitionRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can * assume to perform tasks on your behalf.

*/ inline CreateDataQualityJobDefinitionRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} inline const MonitoringStoppingCondition& GetStoppingCondition() const{ return m_stoppingCondition; } inline bool StoppingConditionHasBeenSet() const { return m_stoppingConditionHasBeenSet; } inline void SetStoppingCondition(const MonitoringStoppingCondition& value) { m_stoppingConditionHasBeenSet = true; m_stoppingCondition = value; } inline void SetStoppingCondition(MonitoringStoppingCondition&& value) { m_stoppingConditionHasBeenSet = true; m_stoppingCondition = std::move(value); } inline CreateDataQualityJobDefinitionRequest& WithStoppingCondition(const MonitoringStoppingCondition& value) { SetStoppingCondition(value); return *this;} inline CreateDataQualityJobDefinitionRequest& WithStoppingCondition(MonitoringStoppingCondition&& value) { SetStoppingCondition(std::move(value)); return *this;} /** *

(Optional) An array of key-value pairs. For more information, see Using * Cost Allocation Tags in the Amazon Web Services Billing and Cost * Management User Guide.

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

(Optional) An array of key-value pairs. For more information, see Using * Cost Allocation Tags in the Amazon Web Services Billing and Cost * Management User Guide.

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

(Optional) An array of key-value pairs. For more information, see Using * Cost Allocation Tags in the Amazon Web Services Billing and Cost * Management User Guide.

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

(Optional) An array of key-value pairs. For more information, see Using * Cost Allocation Tags in the Amazon Web Services Billing and Cost * Management User Guide.

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

(Optional) An array of key-value pairs. For more information, see Using * Cost Allocation Tags in the Amazon Web Services Billing and Cost * Management User Guide.

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

(Optional) An array of key-value pairs. For more information, see Using * Cost Allocation Tags in the Amazon Web Services Billing and Cost * Management User Guide.

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

(Optional) An array of key-value pairs. For more information, see Using * Cost Allocation Tags in the Amazon Web Services Billing and Cost * Management User Guide.

*/ inline CreateDataQualityJobDefinitionRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *

(Optional) An array of key-value pairs. For more information, see Using * Cost Allocation Tags in the Amazon Web Services Billing and Cost * Management User Guide.

*/ inline CreateDataQualityJobDefinitionRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_jobDefinitionName; bool m_jobDefinitionNameHasBeenSet = false; DataQualityBaselineConfig m_dataQualityBaselineConfig; bool m_dataQualityBaselineConfigHasBeenSet = false; DataQualityAppSpecification m_dataQualityAppSpecification; bool m_dataQualityAppSpecificationHasBeenSet = false; DataQualityJobInput m_dataQualityJobInput; bool m_dataQualityJobInputHasBeenSet = false; MonitoringOutputConfig m_dataQualityJobOutputConfig; bool m_dataQualityJobOutputConfigHasBeenSet = false; MonitoringResources m_jobResources; bool m_jobResourcesHasBeenSet = false; MonitoringNetworkConfig m_networkConfig; bool m_networkConfigHasBeenSet = false; Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; MonitoringStoppingCondition m_stoppingCondition; bool m_stoppingConditionHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws