/*
* 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 dms-2016-01-01.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.DatabaseMigrationService.Model
{
///
/// The task assessment report in JSON format.
///
public partial class ReplicationTaskAssessmentResult
{
private string _assessmentResults;
private string _assessmentResultsFile;
private string _assessmentStatus;
private string _replicationTaskArn;
private string _replicationTaskIdentifier;
private DateTime? _replicationTaskLastAssessmentDate;
private string _s3ObjectUrl;
///
/// Gets and sets the property AssessmentResults.
///
/// The task assessment results in JSON format.
///
///
///
/// The response object only contains this field if you provide DescribeReplicationTaskAssessmentResultsMessage$ReplicationTaskArn
/// in the request.
///
///
public string AssessmentResults
{
get { return this._assessmentResults; }
set { this._assessmentResults = value; }
}
// Check to see if AssessmentResults property is set
internal bool IsSetAssessmentResults()
{
return this._assessmentResults != null;
}
///
/// Gets and sets the property AssessmentResultsFile.
///
/// The file containing the results of the task assessment.
///
///
public string AssessmentResultsFile
{
get { return this._assessmentResultsFile; }
set { this._assessmentResultsFile = value; }
}
// Check to see if AssessmentResultsFile property is set
internal bool IsSetAssessmentResultsFile()
{
return this._assessmentResultsFile != null;
}
///
/// Gets and sets the property AssessmentStatus.
///
/// The status of the task assessment.
///
///
public string AssessmentStatus
{
get { return this._assessmentStatus; }
set { this._assessmentStatus = value; }
}
// Check to see if AssessmentStatus property is set
internal bool IsSetAssessmentStatus()
{
return this._assessmentStatus != null;
}
///
/// Gets and sets the property ReplicationTaskArn.
///
/// The Amazon Resource Name (ARN) of the replication task.
///
///
public string ReplicationTaskArn
{
get { return this._replicationTaskArn; }
set { this._replicationTaskArn = value; }
}
// Check to see if ReplicationTaskArn property is set
internal bool IsSetReplicationTaskArn()
{
return this._replicationTaskArn != null;
}
///
/// Gets and sets the property ReplicationTaskIdentifier.
///
/// The replication task identifier of the task on which the task assessment was run.
///
///
///
public string ReplicationTaskIdentifier
{
get { return this._replicationTaskIdentifier; }
set { this._replicationTaskIdentifier = value; }
}
// Check to see if ReplicationTaskIdentifier property is set
internal bool IsSetReplicationTaskIdentifier()
{
return this._replicationTaskIdentifier != null;
}
///
/// Gets and sets the property ReplicationTaskLastAssessmentDate.
///
/// The date the task assessment was completed.
///
///
public DateTime ReplicationTaskLastAssessmentDate
{
get { return this._replicationTaskLastAssessmentDate.GetValueOrDefault(); }
set { this._replicationTaskLastAssessmentDate = value; }
}
// Check to see if ReplicationTaskLastAssessmentDate property is set
internal bool IsSetReplicationTaskLastAssessmentDate()
{
return this._replicationTaskLastAssessmentDate.HasValue;
}
///
/// Gets and sets the property S3ObjectUrl.
///
/// The URL of the S3 object containing the task assessment results.
///
///
///
/// The response object only contains this field if you provide DescribeReplicationTaskAssessmentResultsMessage$ReplicationTaskArn
/// in the request.
///
///
public string S3ObjectUrl
{
get { return this._s3ObjectUrl; }
set { this._s3ObjectUrl = value; }
}
// Check to see if S3ObjectUrl property is set
internal bool IsSetS3ObjectUrl()
{
return this._s3ObjectUrl != null;
}
}
}