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>
42 template <
typename InstanceIdT = Aws::String>
44 m_instanceIdHasBeenSet =
true;
45 m_instanceId = std::forward<InstanceIdT>(value);
47 template <
typename InstanceIdT = Aws::String>
61 template <
typename InstanceTypeT = Aws::String>
63 m_instanceTypeHasBeenSet =
true;
64 m_instanceType = std::forward<InstanceTypeT>(value);
66 template <
typename InstanceTypeT = Aws::String>
79 template <
typename OwnerIdT = Aws::String>
81 m_ownerIdHasBeenSet =
true;
82 m_ownerId = std::forward<OwnerIdT>(value);
84 template <
typename OwnerIdT = Aws::String>
96 bool m_instanceIdHasBeenSet =
false;
97 bool m_instanceTypeHasBeenSet =
false;
98 bool m_ownerIdHasBeenSet =
false;
bool InstanceIdHasBeenSet() const
HostInstance & WithOwnerId(OwnerIdT &&value)
AWS_EC2_API HostInstance(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetInstanceType() const
const Aws::String & GetInstanceId() const
HostInstance & WithInstanceType(InstanceTypeT &&value)
HostInstance & WithInstanceId(InstanceIdT &&value)
AWS_EC2_API HostInstance & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API HostInstance()=default
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetInstanceType(InstanceTypeT &&value)
bool OwnerIdHasBeenSet() const
const Aws::String & GetOwnerId() const
bool InstanceTypeHasBeenSet() const
void SetInstanceId(InstanceIdT &&value)
void SetOwnerId(OwnerIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream