7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/UnlimitedSupportedInstanceFamily.h>
28 inline virtual const char*
GetServiceRequestName()
const override {
return "ModifyDefaultCreditSpecification"; }
46 m_dryRunHasBeenSet =
true;
62 m_instanceFamilyHasBeenSet =
true;
63 m_instanceFamily = value;
78 template <
typename CpuCreditsT = Aws::String>
80 m_cpuCreditsHasBeenSet =
true;
81 m_cpuCredits = std::forward<CpuCreditsT>(value);
83 template <
typename CpuCreditsT = Aws::String>
95 bool m_dryRunHasBeenSet =
false;
96 bool m_instanceFamilyHasBeenSet =
false;
97 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