/* * 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 an OpsItem event or that associated an OpsItem with a related /// item. /// public partial class OpsItemEventSummary { private OpsItemIdentity _createdBy; private DateTime? _createdTime; private string _detail; private string _detailType; private string _eventId; private string _opsItemId; private string _source; /// /// Gets and sets the property CreatedBy. /// /// Information about the user or resource that created the OpsItem event. /// /// 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 date and time the OpsItem event 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 Detail. /// /// Specific information about the OpsItem event. /// /// public string Detail { get { return this._detail; } set { this._detail = value; } } // Check to see if Detail property is set internal bool IsSetDetail() { return this._detail != null; } /// /// Gets and sets the property DetailType. /// /// The type of information provided as a detail. /// /// public string DetailType { get { return this._detailType; } set { this._detailType = value; } } // Check to see if DetailType property is set internal bool IsSetDetailType() { return this._detailType != null; } /// /// Gets and sets the property EventId. /// /// The ID of the OpsItem event. /// /// public string EventId { get { return this._eventId; } set { this._eventId = value; } } // Check to see if EventId property is set internal bool IsSetEventId() { return this._eventId != null; } /// /// Gets and sets the property OpsItemId. /// /// The ID of the OpsItem. /// /// 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 Source. /// /// The source of the OpsItem event. /// /// public string Source { get { return this._source; } set { this._source = value; } } // Check to see if Source property is set internal bool IsSetSource() { return this._source != null; } } }