7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/EC2Request.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/Filter.h>
29 inline virtual const char*
GetServiceRequestName()
const override {
return "DescribeHostReservationOfferings"; }
46 template <
typename FilterT = Aws::Vector<Filter>>
48 m_filterHasBeenSet =
true;
49 m_filter = std::forward<FilterT>(value);
51 template <
typename FilterT = Aws::Vector<Filter>>
56 template <
typename FilterT = Filter>
58 m_filterHasBeenSet =
true;
59 m_filter.emplace_back(std::forward<FilterT>(value));
75 m_maxDurationHasBeenSet =
true;
76 m_maxDuration = value;
95 m_maxResultsHasBeenSet =
true;
115 m_minDurationHasBeenSet =
true;
116 m_minDuration = value;
130 template <
typename NextTokenT = Aws::String>
132 m_nextTokenHasBeenSet =
true;
133 m_nextToken = std::forward<NextTokenT>(value);
135 template <
typename NextTokenT = Aws::String>
148 template <
typename OfferingIdT = Aws::String>
150 m_offeringIdHasBeenSet =
true;
151 m_offeringId = std::forward<OfferingIdT>(value);
153 template <
typename OfferingIdT = Aws::String>
162 int m_maxDuration{0};
166 int m_minDuration{0};
171 bool m_filterHasBeenSet =
false;
172 bool m_maxDurationHasBeenSet =
false;
173 bool m_maxResultsHasBeenSet =
false;
174 bool m_minDurationHasBeenSet =
false;
175 bool m_nextTokenHasBeenSet =
false;
176 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