/*
* 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 sms-2016-10-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.ServerMigrationService.Model
{
///
/// Contains validation output.
///
public partial class ValidationOutput
{
private AppValidationOutput _appValidationOutput;
private DateTime? _latestValidationTime;
private string _name;
private ServerValidationOutput _serverValidationOutput;
private ValidationStatus _status;
private string _statusMessage;
private string _validationId;
///
/// Gets and sets the property AppValidationOutput.
///
/// The output from validating an application.
///
///
public AppValidationOutput AppValidationOutput
{
get { return this._appValidationOutput; }
set { this._appValidationOutput = value; }
}
// Check to see if AppValidationOutput property is set
internal bool IsSetAppValidationOutput()
{
return this._appValidationOutput != null;
}
///
/// Gets and sets the property LatestValidationTime.
///
/// The latest time that the validation was performed.
///
///
public DateTime LatestValidationTime
{
get { return this._latestValidationTime.GetValueOrDefault(); }
set { this._latestValidationTime = value; }
}
// Check to see if LatestValidationTime property is set
internal bool IsSetLatestValidationTime()
{
return this._latestValidationTime.HasValue;
}
///
/// Gets and sets the property Name.
///
/// The name of the validation.
///
///
[AWSProperty(Min=1, Max=255)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
///
/// Gets and sets the property ServerValidationOutput.
///
/// The output from validation an instance.
///
///
public ServerValidationOutput ServerValidationOutput
{
get { return this._serverValidationOutput; }
set { this._serverValidationOutput = value; }
}
// Check to see if ServerValidationOutput property is set
internal bool IsSetServerValidationOutput()
{
return this._serverValidationOutput != null;
}
///
/// Gets and sets the property Status.
///
/// The status of the validation.
///
///
public ValidationStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
///
/// Gets and sets the property StatusMessage.
///
/// The status message.
///
///
[AWSProperty(Max=2500)]
public string StatusMessage
{
get { return this._statusMessage; }
set { this._statusMessage = value; }
}
// Check to see if StatusMessage property is set
internal bool IsSetStatusMessage()
{
return this._statusMessage != null;
}
///
/// Gets and sets the property ValidationId.
///
/// The ID of the validation.
///
///
public string ValidationId
{
get { return this._validationId; }
set { this._validationId = value; }
}
// Check to see if ValidationId property is set
internal bool IsSetValidationId()
{
return this._validationId != null;
}
}
}