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/ec2/model/SlotDateTimeRangeRequest.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/ec2/model/ScheduledInstanceRecurrenceRequest.h>
13#include <aws/ec2/model/Filter.h>
38 inline virtual const char*
GetServiceRequestName()
const override {
return "DescribeScheduledInstanceAvailability"; }
56 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
98 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
134 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
154 bool m_dryRunHasBeenSet =
false;
157 bool m_filtersHasBeenSet =
false;
160 bool m_firstSlotStartTimeRangeHasBeenSet =
false;
163 bool m_maxResultsHasBeenSet =
false;
165 int m_maxSlotDurationInHours;
166 bool m_maxSlotDurationInHoursHasBeenSet =
false;
168 int m_minSlotDurationInHours;
169 bool m_minSlotDurationInHoursHasBeenSet =
false;
172 bool m_nextTokenHasBeenSet =
false;
175 bool m_recurrenceHasBeenSet =
false;
DescribeScheduledInstanceAvailabilityRequest & WithFirstSlotStartTimeRange(SlotDateTimeRangeRequest &&value)
void SetNextToken(Aws::String &&value)
int GetMaxSlotDurationInHours() const
DescribeScheduledInstanceAvailabilityRequest & WithRecurrence(ScheduledInstanceRecurrenceRequest &&value)
DescribeScheduledInstanceAvailabilityRequest & WithDryRun(bool value)
void SetFilters(Aws::Vector< Filter > &&value)
bool NextTokenHasBeenSet() const
bool FirstSlotStartTimeRangeHasBeenSet() const
AWS_EC2_API Aws::String SerializePayload() const override
DescribeScheduledInstanceAvailabilityRequest & AddFilters(const Filter &value)
bool RecurrenceHasBeenSet() const
void SetMaxSlotDurationInHours(int value)
void SetMaxResults(int value)
const ScheduledInstanceRecurrenceRequest & GetRecurrence() const
DescribeScheduledInstanceAvailabilityRequest & WithFilters(const Aws::Vector< Filter > &value)
void SetNextToken(const Aws::String &value)
DescribeScheduledInstanceAvailabilityRequest & WithRecurrence(const ScheduledInstanceRecurrenceRequest &value)
const Aws::Vector< Filter > & GetFilters() const
DescribeScheduledInstanceAvailabilityRequest & WithMinSlotDurationInHours(int value)
void SetRecurrence(ScheduledInstanceRecurrenceRequest &&value)
void SetFirstSlotStartTimeRange(const SlotDateTimeRangeRequest &value)
bool MinSlotDurationInHoursHasBeenSet() const
void SetDryRun(bool value)
bool DryRunHasBeenSet() const
DescribeScheduledInstanceAvailabilityRequest & WithNextToken(const char *value)
void SetRecurrence(const ScheduledInstanceRecurrenceRequest &value)
DescribeScheduledInstanceAvailabilityRequest & AddFilters(Filter &&value)
DescribeScheduledInstanceAvailabilityRequest & WithNextToken(Aws::String &&value)
bool FiltersHasBeenSet() const
void SetFirstSlotStartTimeRange(SlotDateTimeRangeRequest &&value)
DescribeScheduledInstanceAvailabilityRequest & WithFirstSlotStartTimeRange(const SlotDateTimeRangeRequest &value)
const Aws::String & GetNextToken() const
DescribeScheduledInstanceAvailabilityRequest & WithFilters(Aws::Vector< Filter > &&value)
DescribeScheduledInstanceAvailabilityRequest & WithMaxResults(int value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetMinSlotDurationInHours(int value)
bool MaxResultsHasBeenSet() const
const SlotDateTimeRangeRequest & GetFirstSlotStartTimeRange() const
bool MaxSlotDurationInHoursHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetFilters(const Aws::Vector< Filter > &value)
int GetMaxResults() const
DescribeScheduledInstanceAvailabilityRequest & WithMaxSlotDurationInHours(int value)
AWS_EC2_API DescribeScheduledInstanceAvailabilityRequest()
int GetMinSlotDurationInHours() const
void SetNextToken(const char *value)
DescribeScheduledInstanceAvailabilityRequest & WithNextToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector