/*
* 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
{
///
/// Includes information about the specified association execution.
///
public partial class AssociationExecutionTarget
{
private string _associationId;
private string _associationVersion;
private string _detailedStatus;
private string _executionId;
private DateTime? _lastExecutionDate;
private OutputSource _outputSource;
private string _resourceId;
private string _resourceType;
private string _status;
///
/// Gets and sets the property AssociationId.
///
/// The association ID.
///
///
public string AssociationId
{
get { return this._associationId; }
set { this._associationId = value; }
}
// Check to see if AssociationId property is set
internal bool IsSetAssociationId()
{
return this._associationId != null;
}
///
/// Gets and sets the property AssociationVersion.
///
/// The association version.
///
///
public string AssociationVersion
{
get { return this._associationVersion; }
set { this._associationVersion = value; }
}
// Check to see if AssociationVersion property is set
internal bool IsSetAssociationVersion()
{
return this._associationVersion != null;
}
///
/// Gets and sets the property DetailedStatus.
///
/// Detailed information about the execution status.
///
///
public string DetailedStatus
{
get { return this._detailedStatus; }
set { this._detailedStatus = value; }
}
// Check to see if DetailedStatus property is set
internal bool IsSetDetailedStatus()
{
return this._detailedStatus != null;
}
///
/// Gets and sets the property ExecutionId.
///
/// The execution ID.
///
///
public string ExecutionId
{
get { return this._executionId; }
set { this._executionId = value; }
}
// Check to see if ExecutionId property is set
internal bool IsSetExecutionId()
{
return this._executionId != null;
}
///
/// Gets and sets the property LastExecutionDate.
///
/// The date of the last execution.
///
///
public DateTime LastExecutionDate
{
get { return this._lastExecutionDate.GetValueOrDefault(); }
set { this._lastExecutionDate = value; }
}
// Check to see if LastExecutionDate property is set
internal bool IsSetLastExecutionDate()
{
return this._lastExecutionDate.HasValue;
}
///
/// Gets and sets the property OutputSource.
///
/// The location where the association details are saved.
///
///
public OutputSource OutputSource
{
get { return this._outputSource; }
set { this._outputSource = value; }
}
// Check to see if OutputSource property is set
internal bool IsSetOutputSource()
{
return this._outputSource != null;
}
///
/// Gets and sets the property ResourceId.
///
/// The resource ID, for example, the managed node ID where the association ran.
///
///
[AWSProperty(Min=1, Max=100)]
public string ResourceId
{
get { return this._resourceId; }
set { this._resourceId = value; }
}
// Check to see if ResourceId property is set
internal bool IsSetResourceId()
{
return this._resourceId != null;
}
///
/// Gets and sets the property ResourceType.
///
/// The resource type, for example, EC2.
///
///
[AWSProperty(Min=1, Max=50)]
public string ResourceType
{
get { return this._resourceType; }
set { this._resourceType = value; }
}
// Check to see if ResourceType property is set
internal bool IsSetResourceType()
{
return this._resourceType != null;
}
///
/// Gets and sets the property Status.
///
/// The association execution status.
///
///
public string Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
}