7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
40 inline int GetCores()
const {
return m_cores; }
43 m_coresHasBeenSet =
true;
60 template <
typename InstanceTypeT = Aws::String>
62 m_instanceTypeHasBeenSet =
true;
63 m_instanceType = std::forward<InstanceTypeT>(value);
65 template <
typename InstanceTypeT = Aws::String>
79 template <
typename InstanceFamilyT = Aws::String>
81 m_instanceFamilyHasBeenSet =
true;
82 m_instanceFamily = std::forward<InstanceFamilyT>(value);
84 template <
typename InstanceFamilyT = Aws::String>
98 m_socketsHasBeenSet =
true;
114 m_totalVCpusHasBeenSet =
true;
115 m_totalVCpus = value;
132 bool m_coresHasBeenSet =
false;
133 bool m_instanceTypeHasBeenSet =
false;
134 bool m_instanceFamilyHasBeenSet =
false;
135 bool m_socketsHasBeenSet =
false;
136 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