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; }
70 template<
typename CpuCreditsT = Aws::String>
71 void SetCpuCredits(CpuCreditsT&& value) { m_cpuCreditsHasBeenSet =
true; m_cpuCredits = std::forward<CpuCreditsT>(value); }
72 template<
typename CpuCreditsT = Aws::String>
78 bool m_dryRunHasBeenSet =
false;
81 bool m_instanceFamilyHasBeenSet =
false;
84 bool m_cpuCreditsHasBeenSet =
false;
AWS_EC2_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
ModifyDefaultCreditSpecificationRequest & WithCpuCredits(CpuCreditsT &&value)
UnlimitedSupportedInstanceFamily GetInstanceFamily() const
void SetCpuCredits(CpuCreditsT &&value)
bool InstanceFamilyHasBeenSet() const
bool DryRunHasBeenSet() const
bool CpuCreditsHasBeenSet() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_EC2_API ModifyDefaultCreditSpecificationRequest()=default
ModifyDefaultCreditSpecificationRequest & WithDryRun(bool value)
void SetInstanceFamily(UnlimitedSupportedInstanceFamily value)
void SetDryRun(bool value)
ModifyDefaultCreditSpecificationRequest & WithInstanceFamily(UnlimitedSupportedInstanceFamily value)
const Aws::String & GetCpuCredits() const
UnlimitedSupportedInstanceFamily
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String