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>
48 inline void SetCores(
int value) { m_coresHasBeenSet =
true; m_cores = value; }
62 inline void SetInstanceType(
const char* value) { m_instanceTypeHasBeenSet =
true; m_instanceType.assign(value); }
77 inline void SetInstanceFamily(
const char* value) { m_instanceFamilyHasBeenSet =
true; m_instanceFamily.assign(value); }
89 inline void SetSockets(
int value) { m_socketsHasBeenSet =
true; m_sockets = value; }
99 inline void SetTotalVCpus(
int value) { m_totalVCpusHasBeenSet =
true; m_totalVCpus = value; }
105 bool m_coresHasBeenSet =
false;
108 bool m_instanceTypeHasBeenSet =
false;
111 bool m_instanceFamilyHasBeenSet =
false;
114 bool m_socketsHasBeenSet =
false;
117 bool m_totalVCpusHasBeenSet =
false;
void SetInstanceType(const Aws::String &value)
const Aws::String & GetInstanceType() const
const Aws::String & GetInstanceFamily() const
HostProperties & WithInstanceType(const Aws::String &value)
void SetInstanceType(Aws::String &&value)
void SetInstanceFamily(const char *value)
void SetInstanceFamily(Aws::String &&value)
bool InstanceFamilyHasBeenSet() const
HostProperties & WithInstanceFamily(const char *value)
AWS_EC2_API HostProperties()
HostProperties & WithTotalVCpus(int value)
bool SocketsHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
HostProperties & WithInstanceFamily(const Aws::String &value)
bool CoresHasBeenSet() const
HostProperties & WithSockets(int value)
HostProperties & WithInstanceType(const char *value)
void SetInstanceFamily(const Aws::String &value)
bool InstanceTypeHasBeenSet() const
bool TotalVCpusHasBeenSet() const
void SetSockets(int value)
AWS_EC2_API HostProperties(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetInstanceType(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API HostProperties & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
HostProperties & WithCores(int value)
int GetTotalVCpus() const
HostProperties & WithInstanceType(Aws::String &&value)
HostProperties & WithInstanceFamily(Aws::String &&value)
void SetTotalVCpus(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream