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>
10#include <aws/ec2/model/InstanceState.h>
51 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
83 bool m_instanceIdHasBeenSet =
false;
86 bool m_currentStateHasBeenSet =
false;
89 bool m_previousStateHasBeenSet =
false;
void SetInstanceId(const Aws::String &value)
AWS_EC2_API InstanceStateChange()
InstanceStateChange & WithPreviousState(const InstanceState &value)
void SetPreviousState(InstanceState &&value)
bool PreviousStateHasBeenSet() const
void SetInstanceId(Aws::String &&value)
void SetInstanceId(const char *value)
AWS_EC2_API InstanceStateChange(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
InstanceStateChange & WithInstanceId(const char *value)
InstanceStateChange & WithCurrentState(InstanceState &&value)
AWS_EC2_API InstanceStateChange & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const InstanceState & GetPreviousState() const
void SetCurrentState(InstanceState &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
InstanceStateChange & WithInstanceId(const Aws::String &value)
bool InstanceIdHasBeenSet() const
const Aws::String & GetInstanceId() const
const InstanceState & GetCurrentState() const
void SetPreviousState(const InstanceState &value)
InstanceStateChange & WithPreviousState(InstanceState &&value)
void SetCurrentState(const InstanceState &value)
InstanceStateChange & WithCurrentState(const InstanceState &value)
bool CurrentStateHasBeenSet() const
InstanceStateChange & WithInstanceId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream