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>
46 inline int GetCores()
const {
return m_cores; }
48 inline void SetCores(
int value) { m_coresHasBeenSet =
true; m_cores = value; }
60 template<
typename InstanceTypeT = Aws::String>
61 void SetInstanceType(InstanceTypeT&& value) { m_instanceTypeHasBeenSet =
true; m_instanceType = std::forward<InstanceTypeT>(value); }
62 template<
typename InstanceTypeT = Aws::String>
73 template<
typename InstanceFamilyT = Aws::String>
74 void SetInstanceFamily(InstanceFamilyT&& value) { m_instanceFamilyHasBeenSet =
true; m_instanceFamily = std::forward<InstanceFamilyT>(value); }
75 template<
typename InstanceFamilyT = Aws::String>
85 inline void SetSockets(
int value) { m_socketsHasBeenSet =
true; m_sockets = value; }
95 inline void SetTotalVCpus(
int value) { m_totalVCpusHasBeenSet =
true; m_totalVCpus = value; }
101 bool m_coresHasBeenSet =
false;
104 bool m_instanceTypeHasBeenSet =
false;
107 bool m_instanceFamilyHasBeenSet =
false;
110 bool m_socketsHasBeenSet =
false;
113 bool m_totalVCpusHasBeenSet =
false;
HostProperties & WithInstanceFamily(InstanceFamilyT &&value)
const Aws::String & GetInstanceType() const
const Aws::String & GetInstanceFamily() const
HostProperties & WithInstanceType(InstanceTypeT &&value)
bool InstanceFamilyHasBeenSet() const
void SetInstanceFamily(InstanceFamilyT &&value)
HostProperties & WithTotalVCpus(int value)
void SetInstanceType(InstanceTypeT &&value)
bool SocketsHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API HostProperties()=default
bool CoresHasBeenSet() const
HostProperties & WithSockets(int value)
bool InstanceTypeHasBeenSet() const
bool TotalVCpusHasBeenSet() const
void SetSockets(int value)
AWS_EC2_API HostProperties(const Aws::Utils::Xml::XmlNode &xmlNode)
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
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