/*
* 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
{
///
/// Summary information about related-item resources for an OpsItem.
///
public partial class OpsItemRelatedItemSummary
{
private string _associationId;
private string _associationType;
private OpsItemIdentity _createdBy;
private DateTime? _createdTime;
private OpsItemIdentity _lastModifiedBy;
private DateTime? _lastModifiedTime;
private string _opsItemId;
private string _resourceType;
private string _resourceUri;
///
/// 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 AssociationType.
///
/// The association type.
///
///
public string AssociationType
{
get { return this._associationType; }
set { this._associationType = value; }
}
// Check to see if AssociationType property is set
internal bool IsSetAssociationType()
{
return this._associationType != null;
}
///
/// Gets and sets the property CreatedBy.
///
public OpsItemIdentity CreatedBy
{
get { return this._createdBy; }
set { this._createdBy = value; }
}
// Check to see if CreatedBy property is set
internal bool IsSetCreatedBy()
{
return this._createdBy != null;
}
///
/// Gets and sets the property CreatedTime.
///
/// The time the related-item association was created.
///
///
public DateTime CreatedTime
{
get { return this._createdTime.GetValueOrDefault(); }
set { this._createdTime = value; }
}
// Check to see if CreatedTime property is set
internal bool IsSetCreatedTime()
{
return this._createdTime.HasValue;
}
///
/// Gets and sets the property LastModifiedBy.
///
public OpsItemIdentity LastModifiedBy
{
get { return this._lastModifiedBy; }
set { this._lastModifiedBy = value; }
}
// Check to see if LastModifiedBy property is set
internal bool IsSetLastModifiedBy()
{
return this._lastModifiedBy != null;
}
///
/// Gets and sets the property LastModifiedTime.
///
/// The time the related-item association was last updated.
///
///
public DateTime LastModifiedTime
{
get { return this._lastModifiedTime.GetValueOrDefault(); }
set { this._lastModifiedTime = value; }
}
// Check to see if LastModifiedTime property is set
internal bool IsSetLastModifiedTime()
{
return this._lastModifiedTime.HasValue;
}
///
/// Gets and sets the property OpsItemId.
///
/// The OpsItem ID.
///
///
public string OpsItemId
{
get { return this._opsItemId; }
set { this._opsItemId = value; }
}
// Check to see if OpsItemId property is set
internal bool IsSetOpsItemId()
{
return this._opsItemId != null;
}
///
/// Gets and sets the property ResourceType.
///
/// The resource type.
///
///
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 ResourceUri.
///
/// The Amazon Resource Name (ARN) of the related-item resource.
///
///
public string ResourceUri
{
get { return this._resourceUri; }
set { this._resourceUri = value; }
}
// Check to see if ResourceUri property is set
internal bool IsSetResourceUri()
{
return this._resourceUri != null;
}
}
}