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>
12#include <aws/ec2/model/SlotStartTimeRangeRequest.h>
52 m_dryRunHasBeenSet =
true;
71 template <
typename FiltersT = Aws::Vector<Filter>>
73 m_filtersHasBeenSet =
true;
74 m_filters = std::forward<FiltersT>(value);
76 template <
typename FiltersT = Aws::Vector<Filter>>
81 template <
typename FiltersT = Filter>
83 m_filtersHasBeenSet =
true;
84 m_filters.emplace_back(std::forward<FiltersT>(value));
98 m_maxResultsHasBeenSet =
true;
113 template <
typename NextTokenT = Aws::String>
115 m_nextTokenHasBeenSet =
true;
116 m_nextToken = std::forward<NextTokenT>(value);
118 template <
typename NextTokenT = Aws::String>
131 template <
typename ScheduledInstanceIdsT = Aws::Vector<Aws::String>>
133 m_scheduledInstanceIdsHasBeenSet =
true;
134 m_scheduledInstanceIds = std::forward<ScheduledInstanceIdsT>(value);
136 template <
typename ScheduledInstanceIdsT = Aws::Vector<Aws::String>>
141 template <
typename ScheduledInstanceIdsT = Aws::String>
143 m_scheduledInstanceIdsHasBeenSet =
true;
144 m_scheduledInstanceIds.emplace_back(std::forward<ScheduledInstanceIdsT>(value));
155 template <
typename SlotStartTimeRangeT = SlotStartTimeRangeRequest>
157 m_slotStartTimeRangeHasBeenSet =
true;
158 m_slotStartTimeRange = std::forward<SlotStartTimeRangeT>(value);
160 template <
typename SlotStartTimeRangeT = SlotStartTimeRangeRequest>
167 bool m_dryRun{
false};
177 SlotStartTimeRangeRequest m_slotStartTimeRange;
178 bool m_dryRunHasBeenSet =
false;
179 bool m_filtersHasBeenSet =
false;
180 bool m_maxResultsHasBeenSet =
false;
181 bool m_nextTokenHasBeenSet =
false;
182 bool m_scheduledInstanceIdsHasBeenSet =
false;
183 bool m_slotStartTimeRangeHasBeenSet =
false;
void SetFilters(FiltersT &&value)
bool DryRunHasBeenSet() const
void SetDryRun(bool value)
bool FiltersHasBeenSet() const
DescribeScheduledInstancesRequest & AddScheduledInstanceIds(ScheduledInstanceIdsT &&value)
DescribeScheduledInstancesRequest & AddFilters(FiltersT &&value)
bool SlotStartTimeRangeHasBeenSet() const
DescribeScheduledInstancesRequest & WithSlotStartTimeRange(SlotStartTimeRangeT &&value)
bool MaxResultsHasBeenSet() const
AWS_EC2_API DescribeScheduledInstancesRequest()=default
void SetSlotStartTimeRange(SlotStartTimeRangeT &&value)
DescribeScheduledInstancesRequest & WithNextToken(NextTokenT &&value)
bool NextTokenHasBeenSet() const
const Aws::Vector< Filter > & GetFilters() const
DescribeScheduledInstancesRequest & WithScheduledInstanceIds(ScheduledInstanceIdsT &&value)
int GetMaxResults() const
const SlotStartTimeRangeRequest & GetSlotStartTimeRange() const
AWS_EC2_API Aws::String SerializePayload() const override
void SetScheduledInstanceIds(ScheduledInstanceIdsT &&value)
DescribeScheduledInstancesRequest & WithFilters(FiltersT &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeScheduledInstancesRequest & WithMaxResults(int value)
virtual const char * GetServiceRequestName() const override
DescribeScheduledInstancesRequest & WithDryRun(bool value)
const Aws::String & GetNextToken() const
const Aws::Vector< Aws::String > & GetScheduledInstanceIds() const
void SetMaxResults(int value)
bool ScheduledInstanceIdsHasBeenSet() const
void SetNextToken(NextTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector