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); }
66 inline void SetCpuCredits(
const char* value) { m_cpuCreditsHasBeenSet =
true; m_cpuCredits.assign(value); }
74 bool m_instanceIdHasBeenSet =
false;
77 bool m_cpuCreditsHasBeenSet =
false;
InstanceCreditSpecification & WithInstanceId(Aws::String &&value)
void SetCpuCredits(const char *value)
void SetInstanceId(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
InstanceCreditSpecification & WithInstanceId(const char *value)
InstanceCreditSpecification & WithInstanceId(const Aws::String &value)
InstanceCreditSpecification & WithCpuCredits(Aws::String &&value)
AWS_EC2_API InstanceCreditSpecification & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API InstanceCreditSpecification(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetCpuCredits() const
void SetInstanceId(const Aws::String &value)
InstanceCreditSpecification & WithCpuCredits(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API InstanceCreditSpecification()
InstanceCreditSpecification & WithCpuCredits(const Aws::String &value)
const Aws::String & GetInstanceId() const
bool CpuCreditsHasBeenSet() const
void SetInstanceId(Aws::String &&value)
bool InstanceIdHasBeenSet() const
void SetCpuCredits(Aws::String &&value)
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