7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
49 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
60 template<
typename InstanceTypeT = Aws::String>
61 void SetInstanceType(InstanceTypeT&& value) { m_instanceTypeHasBeenSet =
true; m_instanceType = std::forward<InstanceTypeT>(value); }
62 template<
typename InstanceTypeT = Aws::String>
74 inline void SetInstanceCount(
int value) { m_instanceCountHasBeenSet =
true; m_instanceCount = value; }
84 template<
typename StartDateRangeT = Aws::Utils::DateTime>
85 void SetStartDateRange(StartDateRangeT&& value) { m_startDateRangeHasBeenSet =
true; m_startDateRange = std::forward<StartDateRangeT>(value); }
86 template<
typename StartDateRangeT = Aws::Utils::DateTime>
96 template<
typename EndDateRangeT = Aws::Utils::DateTime>
97 void SetEndDateRange(EndDateRangeT&& value) { m_endDateRangeHasBeenSet =
true; m_endDateRange = std::forward<EndDateRangeT>(value); }
98 template<
typename EndDateRangeT = Aws::Utils::DateTime>
120 template<
typename NextTokenT = Aws::String>
121 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
122 template<
typename NextTokenT = Aws::String>
135 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
145 template<
typename UltraserverTypeT = Aws::String>
146 void SetUltraserverType(UltraserverTypeT&& value) { m_ultraserverTypeHasBeenSet =
true; m_ultraserverType = std::forward<UltraserverTypeT>(value); }
147 template<
typename UltraserverTypeT = Aws::String>
157 inline void SetUltraserverCount(
int value) { m_ultraserverCountHasBeenSet =
true; m_ultraserverCount = value; }
162 bool m_dryRun{
false};
163 bool m_dryRunHasBeenSet =
false;
166 bool m_instanceTypeHasBeenSet =
false;
168 int m_instanceCount{0};
169 bool m_instanceCountHasBeenSet =
false;
172 bool m_startDateRangeHasBeenSet =
false;
175 bool m_endDateRangeHasBeenSet =
false;
177 int m_capacityDurationHours{0};
178 bool m_capacityDurationHoursHasBeenSet =
false;
181 bool m_nextTokenHasBeenSet =
false;
184 bool m_maxResultsHasBeenSet =
false;
187 bool m_ultraserverTypeHasBeenSet =
false;
189 int m_ultraserverCount{0};
190 bool m_ultraserverCountHasBeenSet =
false;
DescribeCapacityBlockOfferingsRequest & WithInstanceCount(int value)
bool EndDateRangeHasBeenSet() const
DescribeCapacityBlockOfferingsRequest & WithMaxResults(int value)
AWS_EC2_API Aws::String SerializePayload() const override
DescribeCapacityBlockOfferingsRequest & WithStartDateRange(StartDateRangeT &&value)
DescribeCapacityBlockOfferingsRequest & WithUltraserverCount(int value)
int GetCapacityDurationHours() const
bool DryRunHasBeenSet() const
void SetNextToken(NextTokenT &&value)
int GetMaxResults() const
DescribeCapacityBlockOfferingsRequest & WithNextToken(NextTokenT &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetCapacityDurationHours(int value)
int GetInstanceCount() const
DescribeCapacityBlockOfferingsRequest & WithCapacityDurationHours(int value)
const Aws::String & GetUltraserverType() const
void SetInstanceCount(int value)
const Aws::String & GetInstanceType() const
void SetDryRun(bool value)
AWS_EC2_API DescribeCapacityBlockOfferingsRequest()=default
void SetUltraserverType(UltraserverTypeT &&value)
void SetMaxResults(int value)
DescribeCapacityBlockOfferingsRequest & WithEndDateRange(EndDateRangeT &&value)
void SetStartDateRange(StartDateRangeT &&value)
bool MaxResultsHasBeenSet() const
void SetUltraserverCount(int value)
bool UltraserverTypeHasBeenSet() const
DescribeCapacityBlockOfferingsRequest & WithDryRun(bool value)
virtual const char * GetServiceRequestName() const override
bool CapacityDurationHoursHasBeenSet() const
const Aws::Utils::DateTime & GetStartDateRange() const
bool UltraserverCountHasBeenSet() const
DescribeCapacityBlockOfferingsRequest & WithInstanceType(InstanceTypeT &&value)
void SetInstanceType(InstanceTypeT &&value)
void SetEndDateRange(EndDateRangeT &&value)
bool InstanceTypeHasBeenSet() const
DescribeCapacityBlockOfferingsRequest & WithUltraserverType(UltraserverTypeT &&value)
const Aws::Utils::DateTime & GetEndDateRange() const
const Aws::String & GetNextToken() const
bool NextTokenHasBeenSet() const
int GetUltraserverCount() const
bool InstanceCountHasBeenSet() const
bool StartDateRangeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String