7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/CurrencyCodeValues.h>
10#include <aws/ec2/model/Tenancy.h>
11#include <aws/ec2/model/OfferingClassType.h>
12#include <aws/ec2/model/OfferingTypeValues.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/ec2/model/Scope.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
16#include <aws/ec2/model/InstanceType.h>
17#include <aws/ec2/model/RIProductDescription.h>
18#include <aws/ec2/model/PricingDetail.h>
19#include <aws/ec2/model/RecurringCharge.h>
86 inline void SetMarketplace(
bool value) { m_marketplaceHasBeenSet =
true; m_marketplace = value; }
151 inline void SetScope(
const Scope& value) { m_scopeHasBeenSet =
true; m_scope = value; }
152 inline void SetScope(
Scope&& value) { m_scopeHasBeenSet =
true; m_scope = std::move(value); }
193 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
205 inline void SetDuration(
long long value) { m_durationHasBeenSet =
true; m_duration = value; }
215 inline void SetUsagePrice(
double value) { m_usagePriceHasBeenSet =
true; m_usagePrice = value; }
225 inline void SetFixedPrice(
double value) { m_fixedPriceHasBeenSet =
true; m_fixedPrice = value; }
243 bool m_currencyCodeHasBeenSet =
false;
246 bool m_instanceTenancyHasBeenSet =
false;
249 bool m_marketplaceHasBeenSet =
false;
252 bool m_offeringClassHasBeenSet =
false;
255 bool m_offeringTypeHasBeenSet =
false;
258 bool m_pricingDetailsHasBeenSet =
false;
261 bool m_recurringChargesHasBeenSet =
false;
264 bool m_scopeHasBeenSet =
false;
267 bool m_reservedInstancesOfferingIdHasBeenSet =
false;
270 bool m_instanceTypeHasBeenSet =
false;
273 bool m_availabilityZoneHasBeenSet =
false;
275 long long m_duration;
276 bool m_durationHasBeenSet =
false;
279 bool m_usagePriceHasBeenSet =
false;
282 bool m_fixedPriceHasBeenSet =
false;
285 bool m_productDescriptionHasBeenSet =
false;
void SetReservedInstancesOfferingId(const Aws::String &value)
double GetFixedPrice() const
void SetInstanceTenancy(Tenancy &&value)
ReservedInstancesOffering & WithMarketplace(bool value)
ReservedInstancesOffering & WithInstanceTenancy(const Tenancy &value)
void SetCurrencyCode(CurrencyCodeValues &&value)
void SetUsagePrice(double value)
const Tenancy & GetInstanceTenancy() const
void SetPricingDetails(Aws::Vector< PricingDetail > &&value)
void SetScope(Scope &&value)
ReservedInstancesOffering & WithScope(Scope &&value)
void SetOfferingType(OfferingTypeValues &&value)
ReservedInstancesOffering & WithOfferingType(const OfferingTypeValues &value)
bool PricingDetailsHasBeenSet() const
void SetInstanceType(const InstanceType &value)
ReservedInstancesOffering & WithInstanceTenancy(Tenancy &&value)
bool FixedPriceHasBeenSet() const
bool ProductDescriptionHasBeenSet() const
ReservedInstancesOffering & WithAvailabilityZone(const char *value)
void SetPricingDetails(const Aws::Vector< PricingDetail > &value)
const Aws::String & GetAvailabilityZone() const
const OfferingClassType & GetOfferingClass() const
ReservedInstancesOffering & WithOfferingClass(const OfferingClassType &value)
bool ReservedInstancesOfferingIdHasBeenSet() const
void SetRecurringCharges(const Aws::Vector< RecurringCharge > &value)
void SetInstanceType(InstanceType &&value)
const CurrencyCodeValues & GetCurrencyCode() const
ReservedInstancesOffering & WithUsagePrice(double value)
const RIProductDescription & GetProductDescription() const
ReservedInstancesOffering & AddRecurringCharges(RecurringCharge &&value)
ReservedInstancesOffering & AddPricingDetails(const PricingDetail &value)
const Scope & GetScope() const
const OfferingTypeValues & GetOfferingType() const
long long GetDuration() const
ReservedInstancesOffering & WithPricingDetails(Aws::Vector< PricingDetail > &&value)
bool GetMarketplace() const
const Aws::String & GetReservedInstancesOfferingId() const
ReservedInstancesOffering & AddPricingDetails(PricingDetail &&value)
void SetInstanceTenancy(const Tenancy &value)
void SetMarketplace(bool value)
ReservedInstancesOffering & WithAvailabilityZone(const Aws::String &value)
bool UsagePriceHasBeenSet() const
void SetOfferingType(const OfferingTypeValues &value)
void SetRecurringCharges(Aws::Vector< RecurringCharge > &&value)
const InstanceType & GetInstanceType() const
AWS_EC2_API ReservedInstancesOffering & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAvailabilityZone(Aws::String &&value)
void SetReservedInstancesOfferingId(Aws::String &&value)
void SetReservedInstancesOfferingId(const char *value)
bool InstanceTypeHasBeenSet() const
void SetDuration(long long value)
ReservedInstancesOffering & WithDuration(long long value)
ReservedInstancesOffering & AddRecurringCharges(const RecurringCharge &value)
bool ScopeHasBeenSet() const
AWS_EC2_API ReservedInstancesOffering()
bool InstanceTenancyHasBeenSet() const
bool DurationHasBeenSet() const
bool OfferingTypeHasBeenSet() const
ReservedInstancesOffering & WithProductDescription(RIProductDescription &&value)
void SetCurrencyCode(const CurrencyCodeValues &value)
void SetOfferingClass(OfferingClassType &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool AvailabilityZoneHasBeenSet() const
void SetProductDescription(const RIProductDescription &value)
ReservedInstancesOffering & WithFixedPrice(double value)
ReservedInstancesOffering & WithReservedInstancesOfferingId(const Aws::String &value)
void SetAvailabilityZone(const Aws::String &value)
ReservedInstancesOffering & WithRecurringCharges(Aws::Vector< RecurringCharge > &&value)
bool OfferingClassHasBeenSet() const
ReservedInstancesOffering & WithPricingDetails(const Aws::Vector< PricingDetail > &value)
AWS_EC2_API ReservedInstancesOffering(const Aws::Utils::Xml::XmlNode &xmlNode)
ReservedInstancesOffering & WithOfferingClass(OfferingClassType &&value)
const Aws::Vector< PricingDetail > & GetPricingDetails() const
ReservedInstancesOffering & WithScope(const Scope &value)
double GetUsagePrice() const
void SetScope(const Scope &value)
bool MarketplaceHasBeenSet() const
ReservedInstancesOffering & WithProductDescription(const RIProductDescription &value)
ReservedInstancesOffering & WithCurrencyCode(CurrencyCodeValues &&value)
void SetProductDescription(RIProductDescription &&value)
ReservedInstancesOffering & WithRecurringCharges(const Aws::Vector< RecurringCharge > &value)
void SetFixedPrice(double value)
ReservedInstancesOffering & WithOfferingType(OfferingTypeValues &&value)
const Aws::Vector< RecurringCharge > & GetRecurringCharges() const
ReservedInstancesOffering & WithCurrencyCode(const CurrencyCodeValues &value)
ReservedInstancesOffering & WithInstanceType(const InstanceType &value)
void SetOfferingClass(const OfferingClassType &value)
ReservedInstancesOffering & WithInstanceType(InstanceType &&value)
ReservedInstancesOffering & WithReservedInstancesOfferingId(const char *value)
void SetAvailabilityZone(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool RecurringChargesHasBeenSet() const
ReservedInstancesOffering & WithAvailabilityZone(Aws::String &&value)
bool CurrencyCodeHasBeenSet() const
ReservedInstancesOffering & WithReservedInstancesOfferingId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream