/* * 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 { /// /// The information retrieved from the Amazon EC2 instances. /// public partial class EnvironmentInfoDescription { private string _ec2InstanceId; private EnvironmentInfoType _infoType; private string _message; private DateTime? _sampleTimestamp; /// /// Empty constructor used to set properties independently even when a simple constructor is available /// public EnvironmentInfoDescription() { } /// /// Gets and sets the property Ec2InstanceId. /// /// The Amazon EC2 Instance ID for this information. /// /// public string Ec2InstanceId { get { return this._ec2InstanceId; } set { this._ec2InstanceId = value; } } // Check to see if Ec2InstanceId property is set internal bool IsSetEc2InstanceId() { return this._ec2InstanceId != null; } /// /// Gets and sets the property InfoType. /// /// The type of information retrieved. /// /// public EnvironmentInfoType InfoType { get { return this._infoType; } set { this._infoType = value; } } // Check to see if InfoType property is set internal bool IsSetInfoType() { return this._infoType != null; } /// /// Gets and sets the property Message. /// /// The retrieved information. Currently contains a presigned Amazon S3 URL. The files /// are deleted after 15 minutes. /// /// /// /// Anyone in possession of this URL can access the files before they are deleted. Make /// the URL available only to trusted parties. /// /// 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 SampleTimestamp. /// /// The time stamp when this information was retrieved. /// /// public DateTime SampleTimestamp { get { return this._sampleTimestamp.GetValueOrDefault(); } set { this._sampleTimestamp = value; } } // Check to see if SampleTimestamp property is set internal bool IsSetSampleTimestamp() { return this._sampleTimestamp.HasValue; } } }