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"; }
50 template<
typename FilterT = Aws::Vector<Filter>>
51 void SetFilter(FilterT&& value) { m_filterHasBeenSet =
true; m_filter = std::forward<FilterT>(value); }
52 template<
typename FilterT = Aws::Vector<Filter>>
54 template<
typename FilterT = Filter>
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; }
106 template<
typename NextTokenT = Aws::String>
107 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
108 template<
typename NextTokenT = Aws::String>
118 template<
typename OfferingIdT = Aws::String>
119 void SetOfferingId(OfferingIdT&& value) { m_offeringIdHasBeenSet =
true; m_offeringId = std::forward<OfferingIdT>(value); }
120 template<
typename OfferingIdT = Aws::String>
126 bool m_filterHasBeenSet =
false;
128 int m_maxDuration{0};
129 bool m_maxDurationHasBeenSet =
false;
132 bool m_maxResultsHasBeenSet =
false;
134 int m_minDuration{0};
135 bool m_minDurationHasBeenSet =
false;
138 bool m_nextTokenHasBeenSet =
false;
141 bool m_offeringIdHasBeenSet =
false;
int GetMaxResults() const
void SetOfferingId(OfferingIdT &&value)
void SetFilter(FilterT &&value)
DescribeHostReservationOfferingsRequest & WithMinDuration(int value)
DescribeHostReservationOfferingsRequest & AddFilter(FilterT &&value)
const Aws::String & GetOfferingId() const
bool FilterHasBeenSet() const
AWS_EC2_API DescribeHostReservationOfferingsRequest()=default
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::String & GetNextToken() const
void SetMinDuration(int value)
DescribeHostReservationOfferingsRequest & WithFilter(FilterT &&value)
bool OfferingIdHasBeenSet() const
AWS_EC2_API Aws::String SerializePayload() const override
DescribeHostReservationOfferingsRequest & WithMaxResults(int value)
void SetNextToken(NextTokenT &&value)
DescribeHostReservationOfferingsRequest & WithMaxDuration(int value)
bool MaxResultsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetMaxDuration(int value)
int GetMinDuration() const
int GetMaxDuration() const
bool NextTokenHasBeenSet() const
bool MinDurationHasBeenSet() const
bool MaxDurationHasBeenSet() const
DescribeHostReservationOfferingsRequest & WithNextToken(NextTokenT &&value)
const Aws::Vector< Filter > & GetFilter() const
DescribeHostReservationOfferingsRequest & WithOfferingId(OfferingIdT &&value)
void SetMaxResults(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector