7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/ec2/model/UnlimitedSupportedInstanceFamily.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
31 inline virtual const char*
GetServiceRequestName()
const override {
return "ModifyDefaultCreditSpecification"; }
49 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
74 inline void SetCpuCredits(
const char* value) { m_cpuCreditsHasBeenSet =
true; m_cpuCredits.assign(value); }
82 bool m_dryRunHasBeenSet =
false;
85 bool m_instanceFamilyHasBeenSet =
false;
88 bool m_cpuCreditsHasBeenSet =
false;
AWS_EC2_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
ModifyDefaultCreditSpecificationRequest & WithCpuCredits(const char *value)
void SetInstanceFamily(const UnlimitedSupportedInstanceFamily &value)
ModifyDefaultCreditSpecificationRequest & WithCpuCredits(const Aws::String &value)
void SetCpuCredits(const Aws::String &value)
AWS_EC2_API ModifyDefaultCreditSpecificationRequest()
bool InstanceFamilyHasBeenSet() const
bool DryRunHasBeenSet() const
ModifyDefaultCreditSpecificationRequest & WithCpuCredits(Aws::String &&value)
void SetInstanceFamily(UnlimitedSupportedInstanceFamily &&value)
void SetCpuCredits(Aws::String &&value)
bool CpuCreditsHasBeenSet() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyDefaultCreditSpecificationRequest & WithInstanceFamily(const UnlimitedSupportedInstanceFamily &value)
ModifyDefaultCreditSpecificationRequest & WithDryRun(bool value)
const UnlimitedSupportedInstanceFamily & GetInstanceFamily() const
void SetDryRun(bool value)
ModifyDefaultCreditSpecificationRequest & WithInstanceFamily(UnlimitedSupportedInstanceFamily &&value)
void SetCpuCredits(const char *value)
const Aws::String & GetCpuCredits() const
UnlimitedSupportedInstanceFamily
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String