AWS SDK for C++  1.9.103
AWS SDK for C++
Public Member Functions | List of all members
Aws::EC2::Model::Reservation Class Reference

#include <Reservation.h>

Public Member Functions

 Reservation ()
 
 Reservation (const Aws::Utils::Xml::XmlNode &xmlNode)
 
Reservationoperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void OutputToStream (Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
 
void OutputToStream (Aws::OStream &oStream, const char *location) const
 
const Aws::Vector< GroupIdentifier > & GetGroups () const
 
bool GroupsHasBeenSet () const
 
void SetGroups (const Aws::Vector< GroupIdentifier > &value)
 
void SetGroups (Aws::Vector< GroupIdentifier > &&value)
 
ReservationWithGroups (const Aws::Vector< GroupIdentifier > &value)
 
ReservationWithGroups (Aws::Vector< GroupIdentifier > &&value)
 
ReservationAddGroups (const GroupIdentifier &value)
 
ReservationAddGroups (GroupIdentifier &&value)
 
const Aws::Vector< Instance > & GetInstances () const
 
bool InstancesHasBeenSet () const
 
void SetInstances (const Aws::Vector< Instance > &value)
 
void SetInstances (Aws::Vector< Instance > &&value)
 
ReservationWithInstances (const Aws::Vector< Instance > &value)
 
ReservationWithInstances (Aws::Vector< Instance > &&value)
 
ReservationAddInstances (const Instance &value)
 
ReservationAddInstances (Instance &&value)
 
const Aws::StringGetOwnerId () const
 
bool OwnerIdHasBeenSet () const
 
void SetOwnerId (const Aws::String &value)
 
void SetOwnerId (Aws::String &&value)
 
void SetOwnerId (const char *value)
 
ReservationWithOwnerId (const Aws::String &value)
 
ReservationWithOwnerId (Aws::String &&value)
 
ReservationWithOwnerId (const char *value)
 
const Aws::StringGetRequesterId () const
 
bool RequesterIdHasBeenSet () const
 
void SetRequesterId (const Aws::String &value)
 
void SetRequesterId (Aws::String &&value)
 
void SetRequesterId (const char *value)
 
ReservationWithRequesterId (const Aws::String &value)
 
ReservationWithRequesterId (Aws::String &&value)
 
ReservationWithRequesterId (const char *value)
 
const Aws::StringGetReservationId () const
 
bool ReservationIdHasBeenSet () const
 
void SetReservationId (const Aws::String &value)
 
void SetReservationId (Aws::String &&value)
 
void SetReservationId (const char *value)
 
ReservationWithReservationId (const Aws::String &value)
 
ReservationWithReservationId (Aws::String &&value)
 
ReservationWithReservationId (const char *value)
 
const ResponseMetadataGetResponseMetadata () const
 
bool ResponseMetadataHasBeenSet () const
 
void SetResponseMetadata (const ResponseMetadata &value)
 
void SetResponseMetadata (ResponseMetadata &&value)
 
ReservationWithResponseMetadata (const ResponseMetadata &value)
 
ReservationWithResponseMetadata (ResponseMetadata &&value)
 

Detailed Description

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.

See Also:

AWS API Reference

Definition at line 37 of file Reservation.h.

Constructor & Destructor Documentation

◆ Reservation() [1/2]

Aws::EC2::Model::Reservation::Reservation ( )

◆ Reservation() [2/2]

Aws::EC2::Model::Reservation::Reservation ( const Aws::Utils::Xml::XmlNode xmlNode)

Member Function Documentation

◆ AddGroups() [1/2]

Reservation& Aws::EC2::Model::Reservation::AddGroups ( const GroupIdentifier value)
inline

[EC2-Classic only] The security groups.

Definition at line 81 of file Reservation.h.

◆ AddGroups() [2/2]

Reservation& Aws::EC2::Model::Reservation::AddGroups ( GroupIdentifier &&  value)
inline

[EC2-Classic only] The security groups.

Definition at line 86 of file Reservation.h.

◆ AddInstances() [1/2]

Reservation& Aws::EC2::Model::Reservation::AddInstances ( const Instance value)
inline

The instances.

Definition at line 122 of file Reservation.h.

◆ AddInstances() [2/2]

Reservation& Aws::EC2::Model::Reservation::AddInstances ( Instance &&  value)
inline

The instances.

Definition at line 127 of file Reservation.h.

◆ GetGroups()

const Aws::Vector<GroupIdentifier>& Aws::EC2::Model::Reservation::GetGroups ( ) const
inline

[EC2-Classic only] The security groups.

Definition at line 51 of file Reservation.h.

◆ GetInstances()

const Aws::Vector<Instance>& Aws::EC2::Model::Reservation::GetInstances ( ) const
inline

The instances.

Definition at line 92 of file Reservation.h.

◆ GetOwnerId()

const Aws::String& Aws::EC2::Model::Reservation::GetOwnerId ( ) const
inline

The ID of the Amazon Web Services account that owns the reservation.

Definition at line 133 of file Reservation.h.

◆ GetRequesterId()

const Aws::String& Aws::EC2::Model::Reservation::GetRequesterId ( ) const
inline

The ID of the requester that launched the instances on your behalf (for example, Amazon Web Services Management Console or Auto Scaling).

Definition at line 175 of file Reservation.h.

◆ GetReservationId()

const Aws::String& Aws::EC2::Model::Reservation::GetReservationId ( ) const
inline

The ID of the reservation.

Definition at line 223 of file Reservation.h.

◆ GetResponseMetadata()

const ResponseMetadata& Aws::EC2::Model::Reservation::GetResponseMetadata ( ) const
inline

Definition at line 262 of file Reservation.h.

◆ GroupsHasBeenSet()

bool Aws::EC2::Model::Reservation::GroupsHasBeenSet ( ) const
inline

[EC2-Classic only] The security groups.

Definition at line 56 of file Reservation.h.

◆ InstancesHasBeenSet()

bool Aws::EC2::Model::Reservation::InstancesHasBeenSet ( ) const
inline

The instances.

Definition at line 97 of file Reservation.h.

◆ operator=()

Reservation& Aws::EC2::Model::Reservation::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)

◆ OutputToStream() [1/2]

void Aws::EC2::Model::Reservation::OutputToStream ( Aws::OStream oStream,
const char *  location 
) const

◆ OutputToStream() [2/2]

void Aws::EC2::Model::Reservation::OutputToStream ( Aws::OStream ostream,
const char *  location,
unsigned  index,
const char *  locationValue 
) const

◆ OwnerIdHasBeenSet()

bool Aws::EC2::Model::Reservation::OwnerIdHasBeenSet ( ) const
inline

The ID of the Amazon Web Services account that owns the reservation.

Definition at line 138 of file Reservation.h.

◆ RequesterIdHasBeenSet()

bool Aws::EC2::Model::Reservation::RequesterIdHasBeenSet ( ) const
inline

The ID of the requester that launched the instances on your behalf (for example, Amazon Web Services Management Console or Auto Scaling).

Definition at line 181 of file Reservation.h.

◆ ReservationIdHasBeenSet()

bool Aws::EC2::Model::Reservation::ReservationIdHasBeenSet ( ) const
inline

The ID of the reservation.

Definition at line 228 of file Reservation.h.

◆ ResponseMetadataHasBeenSet()

bool Aws::EC2::Model::Reservation::ResponseMetadataHasBeenSet ( ) const
inline

Definition at line 265 of file Reservation.h.

◆ SetGroups() [1/2]

void Aws::EC2::Model::Reservation::SetGroups ( Aws::Vector< GroupIdentifier > &&  value)
inline

[EC2-Classic only] The security groups.

Definition at line 66 of file Reservation.h.

◆ SetGroups() [2/2]

void Aws::EC2::Model::Reservation::SetGroups ( const Aws::Vector< GroupIdentifier > &  value)
inline

[EC2-Classic only] The security groups.

Definition at line 61 of file Reservation.h.

◆ SetInstances() [1/2]

void Aws::EC2::Model::Reservation::SetInstances ( Aws::Vector< Instance > &&  value)
inline

The instances.

Definition at line 107 of file Reservation.h.

◆ SetInstances() [2/2]

void Aws::EC2::Model::Reservation::SetInstances ( const Aws::Vector< Instance > &  value)
inline

The instances.

Definition at line 102 of file Reservation.h.

◆ SetOwnerId() [1/3]

void Aws::EC2::Model::Reservation::SetOwnerId ( Aws::String &&  value)
inline

The ID of the Amazon Web Services account that owns the reservation.

Definition at line 148 of file Reservation.h.

◆ SetOwnerId() [2/3]

void Aws::EC2::Model::Reservation::SetOwnerId ( const Aws::String value)
inline

The ID of the Amazon Web Services account that owns the reservation.

Definition at line 143 of file Reservation.h.

◆ SetOwnerId() [3/3]

void Aws::EC2::Model::Reservation::SetOwnerId ( const char *  value)
inline

The ID of the Amazon Web Services account that owns the reservation.

Definition at line 153 of file Reservation.h.

◆ SetRequesterId() [1/3]

void Aws::EC2::Model::Reservation::SetRequesterId ( Aws::String &&  value)
inline

The ID of the requester that launched the instances on your behalf (for example, Amazon Web Services Management Console or Auto Scaling).

Definition at line 193 of file Reservation.h.

◆ SetRequesterId() [2/3]

void Aws::EC2::Model::Reservation::SetRequesterId ( const Aws::String value)
inline

The ID of the requester that launched the instances on your behalf (for example, Amazon Web Services Management Console or Auto Scaling).

Definition at line 187 of file Reservation.h.

◆ SetRequesterId() [3/3]

void Aws::EC2::Model::Reservation::SetRequesterId ( const char *  value)
inline

The ID of the requester that launched the instances on your behalf (for example, Amazon Web Services Management Console or Auto Scaling).

Definition at line 199 of file Reservation.h.

◆ SetReservationId() [1/3]

void Aws::EC2::Model::Reservation::SetReservationId ( Aws::String &&  value)
inline

The ID of the reservation.

Definition at line 238 of file Reservation.h.

◆ SetReservationId() [2/3]

void Aws::EC2::Model::Reservation::SetReservationId ( const Aws::String value)
inline

The ID of the reservation.

Definition at line 233 of file Reservation.h.

◆ SetReservationId() [3/3]

void Aws::EC2::Model::Reservation::SetReservationId ( const char *  value)
inline

The ID of the reservation.

Definition at line 243 of file Reservation.h.

◆ SetResponseMetadata() [1/2]

void Aws::EC2::Model::Reservation::SetResponseMetadata ( const ResponseMetadata value)
inline

Definition at line 268 of file Reservation.h.

◆ SetResponseMetadata() [2/2]

void Aws::EC2::Model::Reservation::SetResponseMetadata ( ResponseMetadata &&  value)
inline

Definition at line 271 of file Reservation.h.

◆ WithGroups() [1/2]

Reservation& Aws::EC2::Model::Reservation::WithGroups ( Aws::Vector< GroupIdentifier > &&  value)
inline

[EC2-Classic only] The security groups.

Definition at line 76 of file Reservation.h.

◆ WithGroups() [2/2]

Reservation& Aws::EC2::Model::Reservation::WithGroups ( const Aws::Vector< GroupIdentifier > &  value)
inline

[EC2-Classic only] The security groups.

Definition at line 71 of file Reservation.h.

◆ WithInstances() [1/2]

Reservation& Aws::EC2::Model::Reservation::WithInstances ( Aws::Vector< Instance > &&  value)
inline

The instances.

Definition at line 117 of file Reservation.h.

◆ WithInstances() [2/2]

Reservation& Aws::EC2::Model::Reservation::WithInstances ( const Aws::Vector< Instance > &  value)
inline

The instances.

Definition at line 112 of file Reservation.h.

◆ WithOwnerId() [1/3]

Reservation& Aws::EC2::Model::Reservation::WithOwnerId ( Aws::String &&  value)
inline

The ID of the Amazon Web Services account that owns the reservation.

Definition at line 163 of file Reservation.h.

◆ WithOwnerId() [2/3]

Reservation& Aws::EC2::Model::Reservation::WithOwnerId ( const Aws::String value)
inline

The ID of the Amazon Web Services account that owns the reservation.

Definition at line 158 of file Reservation.h.

◆ WithOwnerId() [3/3]

Reservation& Aws::EC2::Model::Reservation::WithOwnerId ( const char *  value)
inline

The ID of the Amazon Web Services account that owns the reservation.

Definition at line 168 of file Reservation.h.

◆ WithRequesterId() [1/3]

Reservation& Aws::EC2::Model::Reservation::WithRequesterId ( Aws::String &&  value)
inline

The ID of the requester that launched the instances on your behalf (for example, Amazon Web Services Management Console or Auto Scaling).

Definition at line 211 of file Reservation.h.

◆ WithRequesterId() [2/3]

Reservation& Aws::EC2::Model::Reservation::WithRequesterId ( const Aws::String value)
inline

The ID of the requester that launched the instances on your behalf (for example, Amazon Web Services Management Console or Auto Scaling).

Definition at line 205 of file Reservation.h.

◆ WithRequesterId() [3/3]

Reservation& Aws::EC2::Model::Reservation::WithRequesterId ( const char *  value)
inline

The ID of the requester that launched the instances on your behalf (for example, Amazon Web Services Management Console or Auto Scaling).

Definition at line 217 of file Reservation.h.

◆ WithReservationId() [1/3]

Reservation& Aws::EC2::Model::Reservation::WithReservationId ( Aws::String &&  value)
inline

The ID of the reservation.

Definition at line 253 of file Reservation.h.

◆ WithReservationId() [2/3]

Reservation& Aws::EC2::Model::Reservation::WithReservationId ( const Aws::String value)
inline

The ID of the reservation.

Definition at line 248 of file Reservation.h.

◆ WithReservationId() [3/3]

Reservation& Aws::EC2::Model::Reservation::WithReservationId ( const char *  value)
inline

The ID of the reservation.

Definition at line 258 of file Reservation.h.

◆ WithResponseMetadata() [1/2]

Reservation& Aws::EC2::Model::Reservation::WithResponseMetadata ( const ResponseMetadata value)
inline

Definition at line 274 of file Reservation.h.

◆ WithResponseMetadata() [2/2]

Reservation& Aws::EC2::Model::Reservation::WithResponseMetadata ( ResponseMetadata &&  value)
inline

Definition at line 277 of file Reservation.h.


The documentation for this class was generated from the following file: