/*
* 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
{
///
/// This is the response object from the DescribeAutoMLJobV2 operation.
///
public partial class DescribeAutoMLJobV2Response : AmazonWebServiceResponse
{
private string _autoMLJobArn;
private AutoMLJobArtifacts _autoMLJobArtifacts;
private List _autoMLJobInputDataConfig = new List();
private string _autoMLJobName;
private AutoMLJobObjective _autoMLJobObjective;
private AutoMLJobSecondaryStatus _autoMLJobSecondaryStatus;
private AutoMLJobStatus _autoMLJobStatus;
private AutoMLProblemTypeConfig _autoMLProblemTypeConfig;
private AutoMLProblemTypeConfigName _autoMLProblemTypeConfigName;
private AutoMLCandidate _bestCandidate;
private DateTime? _creationTime;
private AutoMLDataSplitConfig _dataSplitConfig;
private DateTime? _endTime;
private string _failureReason;
private DateTime? _lastModifiedTime;
private ModelDeployConfig _modelDeployConfig;
private ModelDeployResult _modelDeployResult;
private AutoMLOutputDataConfig _outputDataConfig;
private List _partialFailureReasons = new List();
private AutoMLResolvedAttributes _resolvedAttributes;
private string _roleArn;
private AutoMLSecurityConfig _securityConfig;
///
/// Gets and sets the property AutoMLJobArn.
///
/// Returns the Amazon Resource Name (ARN) of the AutoML job V2.
///
///
[AWSProperty(Required=true, Min=1, Max=256)]
public string AutoMLJobArn
{
get { return this._autoMLJobArn; }
set { this._autoMLJobArn = value; }
}
// Check to see if AutoMLJobArn property is set
internal bool IsSetAutoMLJobArn()
{
return this._autoMLJobArn != null;
}
///
/// Gets and sets the property AutoMLJobArtifacts.
///
public AutoMLJobArtifacts AutoMLJobArtifacts
{
get { return this._autoMLJobArtifacts; }
set { this._autoMLJobArtifacts = value; }
}
// Check to see if AutoMLJobArtifacts property is set
internal bool IsSetAutoMLJobArtifacts()
{
return this._autoMLJobArtifacts != null;
}
///
/// Gets and sets the property AutoMLJobInputDataConfig.
///
/// Returns an array of channel objects describing the input data and their location.
///
///
[AWSProperty(Required=true, Min=1, Max=2)]
public List AutoMLJobInputDataConfig
{
get { return this._autoMLJobInputDataConfig; }
set { this._autoMLJobInputDataConfig = value; }
}
// Check to see if AutoMLJobInputDataConfig property is set
internal bool IsSetAutoMLJobInputDataConfig()
{
return this._autoMLJobInputDataConfig != null && this._autoMLJobInputDataConfig.Count > 0;
}
///
/// Gets and sets the property AutoMLJobName.
///
/// Returns the name of the AutoML job V2.
///
///
[AWSProperty(Required=true, Min=1, Max=32)]
public string AutoMLJobName
{
get { return this._autoMLJobName; }
set { this._autoMLJobName = value; }
}
// Check to see if AutoMLJobName property is set
internal bool IsSetAutoMLJobName()
{
return this._autoMLJobName != null;
}
///
/// Gets and sets the property AutoMLJobObjective.
///
/// Returns the job's objective.
///
///
public AutoMLJobObjective AutoMLJobObjective
{
get { return this._autoMLJobObjective; }
set { this._autoMLJobObjective = value; }
}
// Check to see if AutoMLJobObjective property is set
internal bool IsSetAutoMLJobObjective()
{
return this._autoMLJobObjective != null;
}
///
/// Gets and sets the property AutoMLJobSecondaryStatus.
///
/// Returns the secondary status of the AutoML job V2.
///
///
[AWSProperty(Required=true)]
public AutoMLJobSecondaryStatus AutoMLJobSecondaryStatus
{
get { return this._autoMLJobSecondaryStatus; }
set { this._autoMLJobSecondaryStatus = value; }
}
// Check to see if AutoMLJobSecondaryStatus property is set
internal bool IsSetAutoMLJobSecondaryStatus()
{
return this._autoMLJobSecondaryStatus != null;
}
///
/// Gets and sets the property AutoMLJobStatus.
///
/// Returns the status of the AutoML job V2.
///
///
[AWSProperty(Required=true)]
public AutoMLJobStatus AutoMLJobStatus
{
get { return this._autoMLJobStatus; }
set { this._autoMLJobStatus = value; }
}
// Check to see if AutoMLJobStatus property is set
internal bool IsSetAutoMLJobStatus()
{
return this._autoMLJobStatus != null;
}
///
/// Gets and sets the property AutoMLProblemTypeConfig.
///
/// Returns the configuration settings of the problem type set for the AutoML job V2.
///
///
public AutoMLProblemTypeConfig AutoMLProblemTypeConfig
{
get { return this._autoMLProblemTypeConfig; }
set { this._autoMLProblemTypeConfig = value; }
}
// Check to see if AutoMLProblemTypeConfig property is set
internal bool IsSetAutoMLProblemTypeConfig()
{
return this._autoMLProblemTypeConfig != null;
}
///
/// Gets and sets the property AutoMLProblemTypeConfigName.
///
/// Returns the name of the problem type configuration set for the AutoML job V2.
///
///
public AutoMLProblemTypeConfigName AutoMLProblemTypeConfigName
{
get { return this._autoMLProblemTypeConfigName; }
set { this._autoMLProblemTypeConfigName = value; }
}
// Check to see if AutoMLProblemTypeConfigName property is set
internal bool IsSetAutoMLProblemTypeConfigName()
{
return this._autoMLProblemTypeConfigName != null;
}
///
/// Gets and sets the property BestCandidate.
///
/// Information about the candidate produced by an AutoML training job V2, including its
/// status, steps, and other properties.
///
///
public AutoMLCandidate BestCandidate
{
get { return this._bestCandidate; }
set { this._bestCandidate = value; }
}
// Check to see if BestCandidate property is set
internal bool IsSetBestCandidate()
{
return this._bestCandidate != null;
}
///
/// Gets and sets the property CreationTime.
///
/// Returns the creation time of the AutoML job V2.
///
///
[AWSProperty(Required=true)]
public DateTime CreationTime
{
get { return this._creationTime.GetValueOrDefault(); }
set { this._creationTime = value; }
}
// Check to see if CreationTime property is set
internal bool IsSetCreationTime()
{
return this._creationTime.HasValue;
}
///
/// Gets and sets the property DataSplitConfig.
///
/// Returns the configuration settings of how the data are split into train and validation
/// datasets.
///
///
public AutoMLDataSplitConfig DataSplitConfig
{
get { return this._dataSplitConfig; }
set { this._dataSplitConfig = value; }
}
// Check to see if DataSplitConfig property is set
internal bool IsSetDataSplitConfig()
{
return this._dataSplitConfig != null;
}
///
/// Gets and sets the property EndTime.
///
/// Returns the end time of the AutoML job V2.
///
///
public DateTime EndTime
{
get { return this._endTime.GetValueOrDefault(); }
set { this._endTime = value; }
}
// Check to see if EndTime property is set
internal bool IsSetEndTime()
{
return this._endTime.HasValue;
}
///
/// Gets and sets the property FailureReason.
///
/// Returns the reason for the failure of the AutoML job V2, when applicable.
///
///
[AWSProperty(Max=1024)]
public string FailureReason
{
get { return this._failureReason; }
set { this._failureReason = value; }
}
// Check to see if FailureReason property is set
internal bool IsSetFailureReason()
{
return this._failureReason != null;
}
///
/// Gets and sets the property LastModifiedTime.
///
/// Returns the job's last modified time.
///
///
[AWSProperty(Required=true)]
public DateTime LastModifiedTime
{
get { return this._lastModifiedTime.GetValueOrDefault(); }
set { this._lastModifiedTime = value; }
}
// Check to see if LastModifiedTime property is set
internal bool IsSetLastModifiedTime()
{
return this._lastModifiedTime.HasValue;
}
///
/// Gets and sets the property ModelDeployConfig.
///
/// Indicates whether the model was deployed automatically to an endpoint and the name
/// of that endpoint if deployed automatically.
///
///
public ModelDeployConfig ModelDeployConfig
{
get { return this._modelDeployConfig; }
set { this._modelDeployConfig = value; }
}
// Check to see if ModelDeployConfig property is set
internal bool IsSetModelDeployConfig()
{
return this._modelDeployConfig != null;
}
///
/// Gets and sets the property ModelDeployResult.
///
/// Provides information about endpoint for the model deployment.
///
///
public ModelDeployResult ModelDeployResult
{
get { return this._modelDeployResult; }
set { this._modelDeployResult = value; }
}
// Check to see if ModelDeployResult property is set
internal bool IsSetModelDeployResult()
{
return this._modelDeployResult != null;
}
///
/// Gets and sets the property OutputDataConfig.
///
/// Returns the job's output data config.
///
///
[AWSProperty(Required=true)]
public AutoMLOutputDataConfig OutputDataConfig
{
get { return this._outputDataConfig; }
set { this._outputDataConfig = value; }
}
// Check to see if OutputDataConfig property is set
internal bool IsSetOutputDataConfig()
{
return this._outputDataConfig != null;
}
///
/// Gets and sets the property PartialFailureReasons.
///
/// Returns a list of reasons for partial failures within an AutoML job V2.
///
///
[AWSProperty(Min=1, Max=5)]
public List PartialFailureReasons
{
get { return this._partialFailureReasons; }
set { this._partialFailureReasons = value; }
}
// Check to see if PartialFailureReasons property is set
internal bool IsSetPartialFailureReasons()
{
return this._partialFailureReasons != null && this._partialFailureReasons.Count > 0;
}
///
/// Gets and sets the property ResolvedAttributes.
///
/// Returns the resolved attributes used by the AutoML job V2.
///
///
public AutoMLResolvedAttributes ResolvedAttributes
{
get { return this._resolvedAttributes; }
set { this._resolvedAttributes = value; }
}
// Check to see if ResolvedAttributes property is set
internal bool IsSetResolvedAttributes()
{
return this._resolvedAttributes != null;
}
///
/// Gets and sets the property RoleArn.
///
/// The ARN of the Identity and Access Management role that has read permission to the
/// input data location and write permission to the output data location in Amazon S3.
///
///
[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 SecurityConfig.
///
/// Returns the security configuration for traffic encryption or Amazon VPC settings.
///
///
public AutoMLSecurityConfig SecurityConfig
{
get { return this._securityConfig; }
set { this._securityConfig = value; }
}
// Check to see if SecurityConfig property is set
internal bool IsSetSecurityConfig()
{
return this._securityConfig != null;
}
}
}