/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the sagemaker-2017-07-24.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.SageMaker.Model
{
///
/// Container for the parameters to the CreateModelQualityJobDefinition operation.
/// Creates a definition for a job that monitors model quality and drift. For information
/// about model monitor, see Amazon
/// SageMaker Model Monitor.
///
public partial class CreateModelQualityJobDefinitionRequest : AmazonSageMakerRequest
{
private string _jobDefinitionName;
private MonitoringResources _jobResources;
private ModelQualityAppSpecification _modelQualityAppSpecification;
private ModelQualityBaselineConfig _modelQualityBaselineConfig;
private ModelQualityJobInput _modelQualityJobInput;
private MonitoringOutputConfig _modelQualityJobOutputConfig;
private MonitoringNetworkConfig _networkConfig;
private string _roleArn;
private MonitoringStoppingCondition _stoppingCondition;
private List _tags = new List();
///
/// Gets and sets the property JobDefinitionName.
///
/// The name of the monitoring job definition.
///
///
[AWSProperty(Required=true, Min=1, Max=63)]
public string JobDefinitionName
{
get { return this._jobDefinitionName; }
set { this._jobDefinitionName = value; }
}
// Check to see if JobDefinitionName property is set
internal bool IsSetJobDefinitionName()
{
return this._jobDefinitionName != null;
}
///
/// Gets and sets the property JobResources.
///
[AWSProperty(Required=true)]
public MonitoringResources JobResources
{
get { return this._jobResources; }
set { this._jobResources = value; }
}
// Check to see if JobResources property is set
internal bool IsSetJobResources()
{
return this._jobResources != null;
}
///
/// Gets and sets the property ModelQualityAppSpecification.
///
/// The container that runs the monitoring job.
///
///
[AWSProperty(Required=true)]
public ModelQualityAppSpecification ModelQualityAppSpecification
{
get { return this._modelQualityAppSpecification; }
set { this._modelQualityAppSpecification = value; }
}
// Check to see if ModelQualityAppSpecification property is set
internal bool IsSetModelQualityAppSpecification()
{
return this._modelQualityAppSpecification != null;
}
///
/// Gets and sets the property ModelQualityBaselineConfig.
///
/// Specifies the constraints and baselines for the monitoring job.
///
///
public ModelQualityBaselineConfig ModelQualityBaselineConfig
{
get { return this._modelQualityBaselineConfig; }
set { this._modelQualityBaselineConfig = value; }
}
// Check to see if ModelQualityBaselineConfig property is set
internal bool IsSetModelQualityBaselineConfig()
{
return this._modelQualityBaselineConfig != null;
}
///
/// Gets and sets the property ModelQualityJobInput.
///
/// A list of the inputs that are monitored. Currently endpoints are supported.
///
///
[AWSProperty(Required=true)]
public ModelQualityJobInput ModelQualityJobInput
{
get { return this._modelQualityJobInput; }
set { this._modelQualityJobInput = value; }
}
// Check to see if ModelQualityJobInput property is set
internal bool IsSetModelQualityJobInput()
{
return this._modelQualityJobInput != null;
}
///
/// Gets and sets the property ModelQualityJobOutputConfig.
///
[AWSProperty(Required=true)]
public MonitoringOutputConfig ModelQualityJobOutputConfig
{
get { return this._modelQualityJobOutputConfig; }
set { this._modelQualityJobOutputConfig = value; }
}
// Check to see if ModelQualityJobOutputConfig property is set
internal bool IsSetModelQualityJobOutputConfig()
{
return this._modelQualityJobOutputConfig != null;
}
///
/// Gets and sets the property NetworkConfig.
///
/// Specifies the network configuration for the monitoring job.
///
///
public MonitoringNetworkConfig NetworkConfig
{
get { return this._networkConfig; }
set { this._networkConfig = value; }
}
// Check to see if NetworkConfig property is set
internal bool IsSetNetworkConfig()
{
return this._networkConfig != null;
}
///
/// Gets and sets the property RoleArn.
///
/// The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to
/// perform tasks on your behalf.
///
///
[AWSProperty(Required=true, Min=20, Max=2048)]
public string RoleArn
{
get { return this._roleArn; }
set { this._roleArn = value; }
}
// Check to see if RoleArn property is set
internal bool IsSetRoleArn()
{
return this._roleArn != null;
}
///
/// Gets and sets the property StoppingCondition.
///
public MonitoringStoppingCondition StoppingCondition
{
get { return this._stoppingCondition; }
set { this._stoppingCondition = value; }
}
// Check to see if StoppingCondition property is set
internal bool IsSetStoppingCondition()
{
return this._stoppingCondition != null;
}
///
/// Gets and sets the property 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.
///
///
[AWSProperty(Min=0, Max=50)]
public List Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
}