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

#include <ReservedInstancesConfiguration.h>

Public Member Functions

 ReservedInstancesConfiguration ()
 
 ReservedInstancesConfiguration (const Aws::Utils::Xml::XmlNode &xmlNode)
 
ReservedInstancesConfigurationoperator= (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::StringGetAvailabilityZone () const
 
bool AvailabilityZoneHasBeenSet () const
 
void SetAvailabilityZone (const Aws::String &value)
 
void SetAvailabilityZone (Aws::String &&value)
 
void SetAvailabilityZone (const char *value)
 
ReservedInstancesConfigurationWithAvailabilityZone (const Aws::String &value)
 
ReservedInstancesConfigurationWithAvailabilityZone (Aws::String &&value)
 
ReservedInstancesConfigurationWithAvailabilityZone (const char *value)
 
int GetInstanceCount () const
 
bool InstanceCountHasBeenSet () const
 
void SetInstanceCount (int value)
 
ReservedInstancesConfigurationWithInstanceCount (int value)
 
const InstanceTypeGetInstanceType () const
 
bool InstanceTypeHasBeenSet () const
 
void SetInstanceType (const InstanceType &value)
 
void SetInstanceType (InstanceType &&value)
 
ReservedInstancesConfigurationWithInstanceType (const InstanceType &value)
 
ReservedInstancesConfigurationWithInstanceType (InstanceType &&value)
 
const Aws::StringGetPlatform () const
 
bool PlatformHasBeenSet () const
 
void SetPlatform (const Aws::String &value)
 
void SetPlatform (Aws::String &&value)
 
void SetPlatform (const char *value)
 
ReservedInstancesConfigurationWithPlatform (const Aws::String &value)
 
ReservedInstancesConfigurationWithPlatform (Aws::String &&value)
 
ReservedInstancesConfigurationWithPlatform (const char *value)
 
const ScopeGetScope () const
 
bool ScopeHasBeenSet () const
 
void SetScope (const Scope &value)
 
void SetScope (Scope &&value)
 
ReservedInstancesConfigurationWithScope (const Scope &value)
 
ReservedInstancesConfigurationWithScope (Scope &&value)
 

Detailed Description

Describes the configuration settings for the modified Reserved Instances.

See Also:

AWS API Reference

Definition at line 34 of file ReservedInstancesConfiguration.h.

Constructor & Destructor Documentation

◆ ReservedInstancesConfiguration() [1/2]

Aws::EC2::Model::ReservedInstancesConfiguration::ReservedInstancesConfiguration ( )

◆ ReservedInstancesConfiguration() [2/2]

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

Member Function Documentation

◆ AvailabilityZoneHasBeenSet()

bool Aws::EC2::Model::ReservedInstancesConfiguration::AvailabilityZoneHasBeenSet ( ) const
inline

The Availability Zone for the modified Reserved Instances.

Definition at line 53 of file ReservedInstancesConfiguration.h.

◆ GetAvailabilityZone()

const Aws::String& Aws::EC2::Model::ReservedInstancesConfiguration::GetAvailabilityZone ( ) const
inline

The Availability Zone for the modified Reserved Instances.

Definition at line 48 of file ReservedInstancesConfiguration.h.

◆ GetInstanceCount()

int Aws::EC2::Model::ReservedInstancesConfiguration::GetInstanceCount ( ) const
inline

The number of modified Reserved Instances.

This is a required field for a request.

Definition at line 90 of file ReservedInstancesConfiguration.h.

◆ GetInstanceType()

const InstanceType& Aws::EC2::Model::ReservedInstancesConfiguration::GetInstanceType ( ) const
inline

The instance type for the modified Reserved Instances.

Definition at line 114 of file ReservedInstancesConfiguration.h.

◆ GetPlatform()

const Aws::String& Aws::EC2::Model::ReservedInstancesConfiguration::GetPlatform ( ) const
inline

The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC.

Definition at line 146 of file ReservedInstancesConfiguration.h.

◆ GetScope()

const Scope& Aws::EC2::Model::ReservedInstancesConfiguration::GetScope ( ) const
inline

Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability Zone.

Definition at line 195 of file ReservedInstancesConfiguration.h.

◆ InstanceCountHasBeenSet()

bool Aws::EC2::Model::ReservedInstancesConfiguration::InstanceCountHasBeenSet ( ) const
inline

The number of modified Reserved Instances.

This is a required field for a request.

Definition at line 96 of file ReservedInstancesConfiguration.h.

◆ InstanceTypeHasBeenSet()

bool Aws::EC2::Model::ReservedInstancesConfiguration::InstanceTypeHasBeenSet ( ) const
inline

The instance type for the modified Reserved Instances.

Definition at line 119 of file ReservedInstancesConfiguration.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ PlatformHasBeenSet()

bool Aws::EC2::Model::ReservedInstancesConfiguration::PlatformHasBeenSet ( ) const
inline

The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC.

Definition at line 152 of file ReservedInstancesConfiguration.h.

◆ ScopeHasBeenSet()

bool Aws::EC2::Model::ReservedInstancesConfiguration::ScopeHasBeenSet ( ) const
inline

Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability Zone.

Definition at line 201 of file ReservedInstancesConfiguration.h.

◆ SetAvailabilityZone() [1/3]

void Aws::EC2::Model::ReservedInstancesConfiguration::SetAvailabilityZone ( const Aws::String value)
inline

The Availability Zone for the modified Reserved Instances.

Definition at line 58 of file ReservedInstancesConfiguration.h.

◆ SetAvailabilityZone() [2/3]

void Aws::EC2::Model::ReservedInstancesConfiguration::SetAvailabilityZone ( Aws::String &&  value)
inline

The Availability Zone for the modified Reserved Instances.

Definition at line 63 of file ReservedInstancesConfiguration.h.

◆ SetAvailabilityZone() [3/3]

void Aws::EC2::Model::ReservedInstancesConfiguration::SetAvailabilityZone ( const char *  value)
inline

The Availability Zone for the modified Reserved Instances.

Definition at line 68 of file ReservedInstancesConfiguration.h.

◆ SetInstanceCount()

void Aws::EC2::Model::ReservedInstancesConfiguration::SetInstanceCount ( int  value)
inline

The number of modified Reserved Instances.

This is a required field for a request.

Definition at line 102 of file ReservedInstancesConfiguration.h.

◆ SetInstanceType() [1/2]

void Aws::EC2::Model::ReservedInstancesConfiguration::SetInstanceType ( const InstanceType value)
inline

The instance type for the modified Reserved Instances.

Definition at line 124 of file ReservedInstancesConfiguration.h.

◆ SetInstanceType() [2/2]

void Aws::EC2::Model::ReservedInstancesConfiguration::SetInstanceType ( InstanceType &&  value)
inline

The instance type for the modified Reserved Instances.

Definition at line 129 of file ReservedInstancesConfiguration.h.

◆ SetPlatform() [1/3]

void Aws::EC2::Model::ReservedInstancesConfiguration::SetPlatform ( const Aws::String value)
inline

The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC.

Definition at line 158 of file ReservedInstancesConfiguration.h.

◆ SetPlatform() [2/3]

void Aws::EC2::Model::ReservedInstancesConfiguration::SetPlatform ( Aws::String &&  value)
inline

The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC.

Definition at line 164 of file ReservedInstancesConfiguration.h.

◆ SetPlatform() [3/3]

void Aws::EC2::Model::ReservedInstancesConfiguration::SetPlatform ( const char *  value)
inline

The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC.

Definition at line 170 of file ReservedInstancesConfiguration.h.

◆ SetScope() [1/2]

void Aws::EC2::Model::ReservedInstancesConfiguration::SetScope ( const Scope value)
inline

Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability Zone.

Definition at line 207 of file ReservedInstancesConfiguration.h.

◆ SetScope() [2/2]

void Aws::EC2::Model::ReservedInstancesConfiguration::SetScope ( Scope &&  value)
inline

Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability Zone.

Definition at line 213 of file ReservedInstancesConfiguration.h.

◆ WithAvailabilityZone() [1/3]

ReservedInstancesConfiguration& Aws::EC2::Model::ReservedInstancesConfiguration::WithAvailabilityZone ( const Aws::String value)
inline

The Availability Zone for the modified Reserved Instances.

Definition at line 73 of file ReservedInstancesConfiguration.h.

◆ WithAvailabilityZone() [2/3]

ReservedInstancesConfiguration& Aws::EC2::Model::ReservedInstancesConfiguration::WithAvailabilityZone ( Aws::String &&  value)
inline

The Availability Zone for the modified Reserved Instances.

Definition at line 78 of file ReservedInstancesConfiguration.h.

◆ WithAvailabilityZone() [3/3]

ReservedInstancesConfiguration& Aws::EC2::Model::ReservedInstancesConfiguration::WithAvailabilityZone ( const char *  value)
inline

The Availability Zone for the modified Reserved Instances.

Definition at line 83 of file ReservedInstancesConfiguration.h.

◆ WithInstanceCount()

ReservedInstancesConfiguration& Aws::EC2::Model::ReservedInstancesConfiguration::WithInstanceCount ( int  value)
inline

The number of modified Reserved Instances.

This is a required field for a request.

Definition at line 108 of file ReservedInstancesConfiguration.h.

◆ WithInstanceType() [1/2]

ReservedInstancesConfiguration& Aws::EC2::Model::ReservedInstancesConfiguration::WithInstanceType ( const InstanceType value)
inline

The instance type for the modified Reserved Instances.

Definition at line 134 of file ReservedInstancesConfiguration.h.

◆ WithInstanceType() [2/2]

ReservedInstancesConfiguration& Aws::EC2::Model::ReservedInstancesConfiguration::WithInstanceType ( InstanceType &&  value)
inline

The instance type for the modified Reserved Instances.

Definition at line 139 of file ReservedInstancesConfiguration.h.

◆ WithPlatform() [1/3]

ReservedInstancesConfiguration& Aws::EC2::Model::ReservedInstancesConfiguration::WithPlatform ( const Aws::String value)
inline

The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC.

Definition at line 176 of file ReservedInstancesConfiguration.h.

◆ WithPlatform() [2/3]

ReservedInstancesConfiguration& Aws::EC2::Model::ReservedInstancesConfiguration::WithPlatform ( Aws::String &&  value)
inline

The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC.

Definition at line 182 of file ReservedInstancesConfiguration.h.

◆ WithPlatform() [3/3]

ReservedInstancesConfiguration& Aws::EC2::Model::ReservedInstancesConfiguration::WithPlatform ( const char *  value)
inline

The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC.

Definition at line 188 of file ReservedInstancesConfiguration.h.

◆ WithScope() [1/2]

ReservedInstancesConfiguration& Aws::EC2::Model::ReservedInstancesConfiguration::WithScope ( const Scope value)
inline

Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability Zone.

Definition at line 219 of file ReservedInstancesConfiguration.h.

◆ WithScope() [2/2]

ReservedInstancesConfiguration& Aws::EC2::Model::ReservedInstancesConfiguration::WithScope ( Scope &&  value)
inline

Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability Zone.

Definition at line 225 of file ReservedInstancesConfiguration.h.


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