/*
* 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 ec2-2016-11-15.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.EC2.Model
{
///
/// Describes a launch request for one or more instances, and includes owner, requester,
/// and security group information that applies to all instances in the launch request.
///
public partial class Reservation
{
private List _groupNames = new List();
private List _groups = new List();
private List _instances = new List();
private string _ownerId;
private string _requesterId;
private string _reservationId;
///
/// Gets and sets the property GroupNames.
///
/// One or more security group names.
///
///
public List GroupNames
{
get { return this._groupNames; }
set { this._groupNames = value; }
}
// Check to see if GroupNames property is set
internal bool IsSetGroupNames()
{
return this._groupNames != null && this._groupNames.Count > 0;
}
///
/// Gets and sets the property Groups.
///
/// Not supported.
///
///
public List Groups
{
get { return this._groups; }
set { this._groups = value; }
}
// Check to see if Groups property is set
internal bool IsSetGroups()
{
return this._groups != null && this._groups.Count > 0;
}
///
/// Gets and sets the property Instances.
///
/// The instances.
///
///
public List Instances
{
get { return this._instances; }
set { this._instances = value; }
}
// Check to see if Instances property is set
internal bool IsSetInstances()
{
return this._instances != null && this._instances.Count > 0;
}
///
/// Gets and sets the property OwnerId.
///
/// The ID of the Amazon Web Services account that owns the reservation.
///
///
public string OwnerId
{
get { return this._ownerId; }
set { this._ownerId = value; }
}
// Check to see if OwnerId property is set
internal bool IsSetOwnerId()
{
return this._ownerId != null;
}
///
/// Gets and sets the property RequesterId.
///
/// The ID of the requester that launched the instances on your behalf (for example, Amazon
/// Web Services Management Console or Auto Scaling).
///
///
public string RequesterId
{
get { return this._requesterId; }
set { this._requesterId = value; }
}
// Check to see if RequesterId property is set
internal bool IsSetRequesterId()
{
return this._requesterId != null;
}
///
/// Gets and sets the property ReservationId.
///
/// The ID of the reservation.
///
///
public string ReservationId
{
get { return this._reservationId; }
set { this._reservationId = value; }
}
// Check to see if ReservationId property is set
internal bool IsSetReservationId()
{
return this._reservationId != null;
}
}
}