7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
51 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
68 inline void SetCpuCredits(
const char* value) { m_cpuCreditsHasBeenSet =
true; m_cpuCredits.assign(value); }
76 bool m_instanceIdHasBeenSet =
false;
79 bool m_cpuCreditsHasBeenSet =
false;
InstanceCreditSpecificationRequest & WithCpuCredits(const Aws::String &value)
bool CpuCreditsHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetCpuCredits(const char *value)
AWS_EC2_API InstanceCreditSpecificationRequest()
bool InstanceIdHasBeenSet() const
void SetInstanceId(const char *value)
InstanceCreditSpecificationRequest & WithCpuCredits(Aws::String &&value)
InstanceCreditSpecificationRequest & WithInstanceId(const Aws::String &value)
const Aws::String & GetInstanceId() const
InstanceCreditSpecificationRequest & WithInstanceId(const char *value)
void SetInstanceId(Aws::String &&value)
AWS_EC2_API InstanceCreditSpecificationRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetCpuCredits(Aws::String &&value)
AWS_EC2_API InstanceCreditSpecificationRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
InstanceCreditSpecificationRequest & WithInstanceId(Aws::String &&value)
InstanceCreditSpecificationRequest & WithCpuCredits(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetInstanceId(const Aws::String &value)
const Aws::String & GetCpuCredits() const
void SetCpuCredits(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream