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 "DescribeInstanceCreditSpecifications"; }
50 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
96 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
109 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
117 bool m_dryRunHasBeenSet =
false;
120 bool m_filtersHasBeenSet =
false;
123 bool m_instanceIdsHasBeenSet =
false;
126 bool m_maxResultsHasBeenSet =
false;
129 bool m_nextTokenHasBeenSet =
false;
DescribeInstanceCreditSpecificationsRequest & AddInstanceIds(const Aws::String &value)
const Aws::Vector< Filter > & GetFilters() const
AWS_EC2_API DescribeInstanceCreditSpecificationsRequest()
void SetFilters(const Aws::Vector< Filter > &value)
DescribeInstanceCreditSpecificationsRequest & AddFilters(Filter &&value)
void SetFilters(Aws::Vector< Filter > &&value)
bool MaxResultsHasBeenSet() const
bool FiltersHasBeenSet() const
void SetDryRun(bool value)
DescribeInstanceCreditSpecificationsRequest & WithNextToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetInstanceIds(const Aws::Vector< Aws::String > &value)
void SetNextToken(const char *value)
void SetInstanceIds(Aws::Vector< Aws::String > &&value)
int GetMaxResults() const
DescribeInstanceCreditSpecificationsRequest & WithFilters(Aws::Vector< Filter > &&value)
AWS_EC2_API Aws::String SerializePayload() const override
DescribeInstanceCreditSpecificationsRequest & WithNextToken(const char *value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeInstanceCreditSpecificationsRequest & AddFilters(const Filter &value)
DescribeInstanceCreditSpecificationsRequest & WithNextToken(const Aws::String &value)
bool InstanceIdsHasBeenSet() const
bool DryRunHasBeenSet() const
void SetNextToken(Aws::String &&value)
const Aws::String & GetNextToken() const
DescribeInstanceCreditSpecificationsRequest & WithInstanceIds(const Aws::Vector< Aws::String > &value)
DescribeInstanceCreditSpecificationsRequest & WithFilters(const Aws::Vector< Filter > &value)
bool NextTokenHasBeenSet() const
const Aws::Vector< Aws::String > & GetInstanceIds() const
DescribeInstanceCreditSpecificationsRequest & AddInstanceIds(Aws::String &&value)
DescribeInstanceCreditSpecificationsRequest & WithInstanceIds(Aws::Vector< Aws::String > &&value)
void SetNextToken(const Aws::String &value)
void SetMaxResults(int value)
DescribeInstanceCreditSpecificationsRequest & AddInstanceIds(const char *value)
DescribeInstanceCreditSpecificationsRequest & WithDryRun(bool value)
DescribeInstanceCreditSpecificationsRequest & WithMaxResults(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector