7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/InstanceStateName.h>
58 inline int GetCode()
const{
return m_code; }
60 inline void SetCode(
int value) { m_codeHasBeenSet =
true; m_code = value; }
78 bool m_codeHasBeenSet =
false;
81 bool m_nameHasBeenSet =
false;
void SetName(const InstanceStateName &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
InstanceState & WithName(InstanceStateName &&value)
const InstanceStateName & GetName() const
bool CodeHasBeenSet() const
InstanceState & WithCode(int value)
AWS_EC2_API InstanceState(const Aws::Utils::Xml::XmlNode &xmlNode)
bool NameHasBeenSet() const
AWS_EC2_API InstanceState()
AWS_EC2_API InstanceState & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetName(InstanceStateName &&value)
InstanceState & WithName(const InstanceStateName &value)
std::basic_ostream< char, std::char_traits< char > > OStream