/*
* 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 ssm-2014-11-06.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.SimpleSystemsManagement.Model
{
///
/// This is the response object from the GetMaintenanceWindowExecution operation.
///
public partial class GetMaintenanceWindowExecutionResponse : AmazonWebServiceResponse
{
private DateTime? _endTime;
private DateTime? _startTime;
private MaintenanceWindowExecutionStatus _status;
private string _statusDetails;
private List _taskIds = new List();
private string _windowExecutionId;
///
/// Gets and sets the property EndTime.
///
/// The time the maintenance window finished running.
///
///
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 StartTime.
///
/// The time the maintenance window started running.
///
///
public DateTime StartTime
{
get { return this._startTime.GetValueOrDefault(); }
set { this._startTime = value; }
}
// Check to see if StartTime property is set
internal bool IsSetStartTime()
{
return this._startTime.HasValue;
}
///
/// Gets and sets the property Status.
///
/// The status of the maintenance window execution.
///
///
public MaintenanceWindowExecutionStatus 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 StatusDetails.
///
/// The details explaining the status. Not available for all status values.
///
///
[AWSProperty(Min=0, Max=250)]
public string StatusDetails
{
get { return this._statusDetails; }
set { this._statusDetails = value; }
}
// Check to see if StatusDetails property is set
internal bool IsSetStatusDetails()
{
return this._statusDetails != null;
}
///
/// Gets and sets the property TaskIds.
///
/// The ID of the task executions from the maintenance window execution.
///
///
public List TaskIds
{
get { return this._taskIds; }
set { this._taskIds = value; }
}
// Check to see if TaskIds property is set
internal bool IsSetTaskIds()
{
return this._taskIds != null && this._taskIds.Count > 0;
}
///
/// Gets and sets the property WindowExecutionId.
///
/// The ID of the maintenance window execution.
///
///
[AWSProperty(Min=36, Max=36)]
public string WindowExecutionId
{
get { return this._windowExecutionId; }
set { this._windowExecutionId = value; }
}
// Check to see if WindowExecutionId property is set
internal bool IsSetWindowExecutionId()
{
return this._windowExecutionId != null;
}
}
}