/* * 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 elasticbeanstalk-2010-12-01.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.ElasticBeanstalk.Model { /// /// Describes an event. /// public partial class EventDescription { private string _applicationName; private string _environmentName; private DateTime? _eventDate; private string _message; private string _platformArn; private string _requestId; private EventSeverity _severity; private string _templateName; private string _versionLabel; /// /// Empty constructor used to set properties independently even when a simple constructor is available /// public EventDescription() { } /// /// Gets and sets the property ApplicationName. /// /// The application associated with the event. /// /// [AWSProperty(Min=1, Max=100)] public string ApplicationName { get { return this._applicationName; } set { this._applicationName = value; } } // Check to see if ApplicationName property is set internal bool IsSetApplicationName() { return this._applicationName != null; } /// /// Gets and sets the property EnvironmentName. /// /// The name of the environment associated with this event. /// /// [AWSProperty(Min=4, Max=40)] public string EnvironmentName { get { return this._environmentName; } set { this._environmentName = value; } } // Check to see if EnvironmentName property is set internal bool IsSetEnvironmentName() { return this._environmentName != null; } /// /// Gets and sets the property EventDate. /// /// The date when the event occurred. /// /// public DateTime EventDate { get { return this._eventDate.GetValueOrDefault(); } set { this._eventDate = value; } } // Check to see if EventDate property is set internal bool IsSetEventDate() { return this._eventDate.HasValue; } /// /// Gets and sets the property Message. /// /// The event message. /// /// public string Message { get { return this._message; } set { this._message = value; } } // Check to see if Message property is set internal bool IsSetMessage() { return this._message != null; } /// /// Gets and sets the property PlatformArn. /// /// The ARN of the platform version. /// /// public string PlatformArn { get { return this._platformArn; } set { this._platformArn = value; } } // Check to see if PlatformArn property is set internal bool IsSetPlatformArn() { return this._platformArn != null; } /// /// Gets and sets the property RequestId. /// /// The web service request ID for the activity of this event. /// /// public string RequestId { get { return this._requestId; } set { this._requestId = value; } } // Check to see if RequestId property is set internal bool IsSetRequestId() { return this._requestId != null; } /// /// Gets and sets the property Severity. /// /// The severity level of this event. /// /// public EventSeverity Severity { get { return this._severity; } set { this._severity = value; } } // Check to see if Severity property is set internal bool IsSetSeverity() { return this._severity != null; } /// /// Gets and sets the property TemplateName. /// /// The name of the configuration associated with this event. /// /// [AWSProperty(Min=1, Max=100)] public string TemplateName { get { return this._templateName; } set { this._templateName = value; } } // Check to see if TemplateName property is set internal bool IsSetTemplateName() { return this._templateName != null; } /// /// Gets and sets the property VersionLabel. /// /// The release label for the application version associated with this event. /// /// [AWSProperty(Min=1, Max=100)] public string VersionLabel { get { return this._versionLabel; } set { this._versionLabel = value; } } // Check to see if VersionLabel property is set internal bool IsSetVersionLabel() { return this._versionLabel != null; } } }