/* * 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 drs-2020-02-26.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.Drs.Model { /// /// Metadata associated with a Job log. /// public partial class JobLogEventData { private ConversionProperties _conversionProperties; private string _conversionServerID; private EventResourceData _eventResourceData; private string _rawError; private string _sourceServerID; private string _targetInstanceID; /// /// Gets and sets the property ConversionProperties. /// /// Properties of a conversion job /// /// public ConversionProperties ConversionProperties { get { return this._conversionProperties; } set { this._conversionProperties = value; } } // Check to see if ConversionProperties property is set internal bool IsSetConversionProperties() { return this._conversionProperties != null; } /// /// Gets and sets the property ConversionServerID. /// /// The ID of a conversion server. /// /// [AWSProperty(Min=0, Max=255)] public string ConversionServerID { get { return this._conversionServerID; } set { this._conversionServerID = value; } } // Check to see if ConversionServerID property is set internal bool IsSetConversionServerID() { return this._conversionServerID != null; } /// /// Gets and sets the property EventResourceData. /// /// Properties of resource related to a job event. /// /// public EventResourceData EventResourceData { get { return this._eventResourceData; } set { this._eventResourceData = value; } } // Check to see if EventResourceData property is set internal bool IsSetEventResourceData() { return this._eventResourceData != null; } /// /// Gets and sets the property RawError. /// /// A string representing a job error. /// /// [AWSProperty(Min=0, Max=65536)] public string RawError { get { return this._rawError; } set { this._rawError = value; } } // Check to see if RawError property is set internal bool IsSetRawError() { return this._rawError != null; } /// /// Gets and sets the property SourceServerID. /// /// The ID of a Source Server. /// /// [AWSProperty(Min=19, Max=19)] public string SourceServerID { get { return this._sourceServerID; } set { this._sourceServerID = value; } } // Check to see if SourceServerID property is set internal bool IsSetSourceServerID() { return this._sourceServerID != null; } /// /// Gets and sets the property TargetInstanceID. /// /// The ID of a Recovery Instance. /// /// [AWSProperty(Min=0, Max=255)] public string TargetInstanceID { get { return this._targetInstanceID; } set { this._targetInstanceID = value; } } // Check to see if TargetInstanceID property is set internal bool IsSetTargetInstanceID() { return this._targetInstanceID != null; } } }