7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/InstanceType.h>
11#include <aws/ec2/model/OfferingClassType.h>
12#include <aws/ec2/model/RIProductDescription.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/ec2/model/Tenancy.h>
15#include <aws/ec2/model/OfferingTypeValues.h>
16#include <aws/ec2/model/Filter.h>
41 inline virtual const char*
GetServiceRequestName()
const override {
return "DescribeReservedInstancesOfferings"; }
58 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
70 inline void SetIncludeMarketplace(
bool value) { m_includeMarketplaceHasBeenSet =
true; m_includeMarketplace = value; }
96 inline void SetMaxDuration(
long long value) { m_maxDurationHasBeenSet =
true; m_maxDuration = value; }
107 inline void SetMaxInstanceCount(
int value) { m_maxInstanceCountHasBeenSet =
true; m_maxInstanceCount = value; }
118 inline void SetMinDuration(
long long value) { m_minDurationHasBeenSet =
true; m_minDuration = value; }
172 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
252 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
267 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
273 bool m_availabilityZoneHasBeenSet =
false;
275 bool m_includeMarketplace;
276 bool m_includeMarketplaceHasBeenSet =
false;
279 bool m_instanceTypeHasBeenSet =
false;
281 long long m_maxDuration;
282 bool m_maxDurationHasBeenSet =
false;
284 int m_maxInstanceCount;
285 bool m_maxInstanceCountHasBeenSet =
false;
287 long long m_minDuration;
288 bool m_minDurationHasBeenSet =
false;
291 bool m_offeringClassHasBeenSet =
false;
294 bool m_productDescriptionHasBeenSet =
false;
297 bool m_reservedInstancesOfferingIdsHasBeenSet =
false;
300 bool m_dryRunHasBeenSet =
false;
303 bool m_filtersHasBeenSet =
false;
306 bool m_instanceTenancyHasBeenSet =
false;
309 bool m_offeringTypeHasBeenSet =
false;
312 bool m_nextTokenHasBeenSet =
false;
315 bool m_maxResultsHasBeenSet =
false;
void SetInstanceTenancy(Tenancy &&value)
bool FiltersHasBeenSet() const
DescribeReservedInstancesOfferingsRequest & WithMinDuration(long long value)
void SetNextToken(Aws::String &&value)
DescribeReservedInstancesOfferingsRequest & WithNextToken(Aws::String &&value)
DescribeReservedInstancesOfferingsRequest & WithNextToken(const Aws::String &value)
DescribeReservedInstancesOfferingsRequest & WithInstanceTenancy(Tenancy &&value)
void SetAvailabilityZone(const Aws::String &value)
void SetOfferingType(const OfferingTypeValues &value)
const Aws::String & GetNextToken() const
bool MinDurationHasBeenSet() const
bool MaxDurationHasBeenSet() const
void SetMaxResults(int value)
void SetInstanceType(const InstanceType &value)
void SetInstanceTenancy(const Tenancy &value)
DescribeReservedInstancesOfferingsRequest & WithInstanceTenancy(const Tenancy &value)
void SetProductDescription(const RIProductDescription &value)
const Aws::String & GetAvailabilityZone() const
void SetOfferingClass(const OfferingClassType &value)
DescribeReservedInstancesOfferingsRequest & WithInstanceType(InstanceType &&value)
DescribeReservedInstancesOfferingsRequest & AddFilters(Filter &&value)
long long GetMinDuration() const
DescribeReservedInstancesOfferingsRequest & WithFilters(const Aws::Vector< Filter > &value)
AWS_EC2_API Aws::String SerializePayload() const override
DescribeReservedInstancesOfferingsRequest & WithFilters(Aws::Vector< Filter > &&value)
DescribeReservedInstancesOfferingsRequest & WithIncludeMarketplace(bool value)
DescribeReservedInstancesOfferingsRequest & WithNextToken(const char *value)
const RIProductDescription & GetProductDescription() const
const Tenancy & GetInstanceTenancy() const
DescribeReservedInstancesOfferingsRequest & WithOfferingClass(const OfferingClassType &value)
void SetFilters(Aws::Vector< Filter > &&value)
void SetOfferingType(OfferingTypeValues &&value)
DescribeReservedInstancesOfferingsRequest & WithInstanceType(const InstanceType &value)
DescribeReservedInstancesOfferingsRequest & AddReservedInstancesOfferingIds(const char *value)
void SetFilters(const Aws::Vector< Filter > &value)
const InstanceType & GetInstanceType() const
DescribeReservedInstancesOfferingsRequest & WithOfferingType(OfferingTypeValues &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetMaxInstanceCount(int value)
int GetMaxInstanceCount() const
const Aws::Vector< Aws::String > & GetReservedInstancesOfferingIds() const
DescribeReservedInstancesOfferingsRequest & WithAvailabilityZone(Aws::String &&value)
DescribeReservedInstancesOfferingsRequest & WithMaxDuration(long long value)
void SetAvailabilityZone(Aws::String &&value)
bool DryRunHasBeenSet() const
DescribeReservedInstancesOfferingsRequest & WithReservedInstancesOfferingIds(const Aws::Vector< Aws::String > &value)
void SetInstanceType(InstanceType &&value)
bool NextTokenHasBeenSet() const
DescribeReservedInstancesOfferingsRequest & WithDryRun(bool value)
void SetReservedInstancesOfferingIds(const Aws::Vector< Aws::String > &value)
bool InstanceTenancyHasBeenSet() const
AWS_EC2_API DescribeReservedInstancesOfferingsRequest()
void SetMaxDuration(long long value)
DescribeReservedInstancesOfferingsRequest & WithMaxInstanceCount(int value)
DescribeReservedInstancesOfferingsRequest & WithProductDescription(RIProductDescription &&value)
bool ProductDescriptionHasBeenSet() const
void SetAvailabilityZone(const char *value)
void SetReservedInstancesOfferingIds(Aws::Vector< Aws::String > &&value)
void SetProductDescription(RIProductDescription &&value)
bool MaxResultsHasBeenSet() const
const OfferingClassType & GetOfferingClass() const
DescribeReservedInstancesOfferingsRequest & WithOfferingClass(OfferingClassType &&value)
void SetNextToken(const char *value)
long long GetMaxDuration() const
bool ReservedInstancesOfferingIdsHasBeenSet() const
void SetIncludeMarketplace(bool value)
DescribeReservedInstancesOfferingsRequest & AddReservedInstancesOfferingIds(const Aws::String &value)
bool OfferingTypeHasBeenSet() const
void SetOfferingClass(OfferingClassType &&value)
bool InstanceTypeHasBeenSet() const
DescribeReservedInstancesOfferingsRequest & WithOfferingType(const OfferingTypeValues &value)
bool IncludeMarketplaceHasBeenSet() const
bool AvailabilityZoneHasBeenSet() const
DescribeReservedInstancesOfferingsRequest & AddFilters(const Filter &value)
void SetDryRun(bool value)
DescribeReservedInstancesOfferingsRequest & WithProductDescription(const RIProductDescription &value)
virtual const char * GetServiceRequestName() const override
const OfferingTypeValues & GetOfferingType() const
int GetMaxResults() const
DescribeReservedInstancesOfferingsRequest & AddReservedInstancesOfferingIds(Aws::String &&value)
DescribeReservedInstancesOfferingsRequest & WithAvailabilityZone(const Aws::String &value)
bool OfferingClassHasBeenSet() const
const Aws::Vector< Filter > & GetFilters() const
bool MaxInstanceCountHasBeenSet() const
DescribeReservedInstancesOfferingsRequest & WithMaxResults(int value)
DescribeReservedInstancesOfferingsRequest & WithReservedInstancesOfferingIds(Aws::Vector< Aws::String > &&value)
bool GetIncludeMarketplace() const
void SetNextToken(const Aws::String &value)
void SetMinDuration(long long value)
DescribeReservedInstancesOfferingsRequest & WithAvailabilityZone(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector