/*
* 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
{
///
/// Container for the parameters to the DescribeAssociation operation.
/// Describes the association for the specified target or managed node. If you created
/// the association by using the Targets
parameter, then you must retrieve
/// the association by using the association ID.
///
public partial class DescribeAssociationRequest : AmazonSimpleSystemsManagementRequest
{
private string _associationId;
private string _associationVersion;
private string _instanceId;
private string _name;
///
/// Empty constructor used to set properties independently even when a simple constructor is available
///
public DescribeAssociationRequest() { }
///
/// Instantiates DescribeAssociationRequest with the parameterized properties
///
/// The managed node ID.
/// The name of the SSM document.
public DescribeAssociationRequest(string instanceId, string name)
{
_instanceId = instanceId;
_name = name;
}
///
/// Gets and sets the property AssociationId.
///
/// The association ID for which you want information.
///
///
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.
///
/// Specify the association version to retrieve. To view the latest version, either specify
/// $LATEST
for this parameter, or omit this parameter. To view a list of
/// all associations for a managed node, use ListAssociations. To get a list of
/// versions for a specific association, use ListAssociationVersions.
///
///
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 InstanceId.
///
/// The managed node ID.
///
///
public string InstanceId
{
get { return this._instanceId; }
set { this._instanceId = value; }
}
// Check to see if InstanceId property is set
internal bool IsSetInstanceId()
{
return this._instanceId != null;
}
///
/// Gets and sets the property Name.
///
/// The name of the SSM document.
///
///
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;
}
}
}