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 template<
typename InstanceIdT = Aws::String>
49 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet =
true; m_instanceId = std::forward<InstanceIdT>(value); }
50 template<
typename InstanceIdT = Aws::String>
61 template<
typename InstanceTypeT = Aws::String>
62 void SetInstanceType(InstanceTypeT&& value) { m_instanceTypeHasBeenSet =
true; m_instanceType = std::forward<InstanceTypeT>(value); }
63 template<
typename InstanceTypeT = Aws::String>
73 template<
typename OwnerIdT = Aws::String>
74 void SetOwnerId(OwnerIdT&& value) { m_ownerIdHasBeenSet =
true; m_ownerId = std::forward<OwnerIdT>(value); }
75 template<
typename OwnerIdT = Aws::String>
81 bool m_instanceIdHasBeenSet =
false;
84 bool m_instanceTypeHasBeenSet =
false;
87 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