7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ec2/model/Filter.h>
32 inline virtual const char*
GetServiceRequestName()
const override {
return "DescribeHostReservationOfferings"; }
68 inline void SetMaxDuration(
int value) { m_maxDurationHasBeenSet =
true; m_maxDuration = value; }
82 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
96 inline void SetMinDuration(
int value) { m_minDurationHasBeenSet =
true; m_minDuration = value; }
108 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
122 inline void SetOfferingId(
const char* value) { m_offeringIdHasBeenSet =
true; m_offeringId.assign(value); }
130 bool m_filterHasBeenSet =
false;
133 bool m_maxDurationHasBeenSet =
false;
136 bool m_maxResultsHasBeenSet =
false;
139 bool m_minDurationHasBeenSet =
false;
142 bool m_nextTokenHasBeenSet =
false;
145 bool m_offeringIdHasBeenSet =
false;
int GetMaxResults() const
void SetNextToken(Aws::String &&value)
DescribeHostReservationOfferingsRequest & WithOfferingId(Aws::String &&value)
AWS_EC2_API DescribeHostReservationOfferingsRequest()
DescribeHostReservationOfferingsRequest & WithMinDuration(int value)
const Aws::String & GetOfferingId() const
bool FilterHasBeenSet() const
DescribeHostReservationOfferingsRequest & AddFilter(Filter &&value)
DescribeHostReservationOfferingsRequest & WithFilter(const Aws::Vector< Filter > &value)
void SetFilter(Aws::Vector< Filter > &&value)
DescribeHostReservationOfferingsRequest & AddFilter(const Filter &value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::String & GetNextToken() const
void SetMinDuration(int value)
DescribeHostReservationOfferingsRequest & WithOfferingId(const Aws::String &value)
DescribeHostReservationOfferingsRequest & WithNextToken(const Aws::String &value)
void SetOfferingId(Aws::String &&value)
DescribeHostReservationOfferingsRequest & WithNextToken(Aws::String &&value)
void SetOfferingId(const Aws::String &value)
bool OfferingIdHasBeenSet() const
AWS_EC2_API Aws::String SerializePayload() const override
DescribeHostReservationOfferingsRequest & WithNextToken(const char *value)
DescribeHostReservationOfferingsRequest & WithMaxResults(int value)
DescribeHostReservationOfferingsRequest & WithOfferingId(const char *value)
DescribeHostReservationOfferingsRequest & WithMaxDuration(int value)
bool MaxResultsHasBeenSet() const
void SetNextToken(const char *value)
void SetOfferingId(const char *value)
virtual const char * GetServiceRequestName() const override
void SetMaxDuration(int value)
int GetMinDuration() const
int GetMaxDuration() const
void SetNextToken(const Aws::String &value)
bool NextTokenHasBeenSet() const
bool MinDurationHasBeenSet() const
bool MaxDurationHasBeenSet() const
DescribeHostReservationOfferingsRequest & WithFilter(Aws::Vector< Filter > &&value)
const Aws::Vector< Filter > & GetFilter() const
void SetFilter(const Aws::Vector< Filter > &value)
void SetMaxResults(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector