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/CancelSpotInstanceRequestState.h>
51 inline void SetSpotInstanceRequestId(
const char* value) { m_spotInstanceRequestIdHasBeenSet =
true; m_spotInstanceRequestId.assign(value); }
71 bool m_spotInstanceRequestIdHasBeenSet =
false;
74 bool m_stateHasBeenSet =
false;
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetSpotInstanceRequestId(const Aws::String &value)
AWS_EC2_API CancelledSpotInstanceRequest()
void SetSpotInstanceRequestId(Aws::String &&value)
const CancelSpotInstanceRequestState & GetState() const
CancelledSpotInstanceRequest & WithState(CancelSpotInstanceRequestState &&value)
bool StateHasBeenSet() const
const Aws::String & GetSpotInstanceRequestId() const
void SetState(CancelSpotInstanceRequestState &&value)
CancelledSpotInstanceRequest & WithState(const CancelSpotInstanceRequestState &value)
bool SpotInstanceRequestIdHasBeenSet() const
AWS_EC2_API CancelledSpotInstanceRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
CancelledSpotInstanceRequest & WithSpotInstanceRequestId(const char *value)
AWS_EC2_API CancelledSpotInstanceRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
CancelledSpotInstanceRequest & WithSpotInstanceRequestId(Aws::String &&value)
void SetState(const CancelSpotInstanceRequestState &value)
void SetSpotInstanceRequestId(const char *value)
CancelledSpotInstanceRequest & WithSpotInstanceRequestId(const Aws::String &value)
CancelSpotInstanceRequestState
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream