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>
49 inline void SetInstanceCount(
int value) { m_instanceCountHasBeenSet =
true; m_instanceCount = value; }
61 inline void SetPurchaseToken(
const char* value) { m_purchaseTokenHasBeenSet =
true; m_purchaseToken.assign(value); }
69 bool m_instanceCountHasBeenSet =
false;
72 bool m_purchaseTokenHasBeenSet =
false;
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
PurchaseRequest & WithInstanceCount(int value)
AWS_EC2_API PurchaseRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool PurchaseTokenHasBeenSet() const
bool InstanceCountHasBeenSet() const
AWS_EC2_API PurchaseRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
int GetInstanceCount() const
PurchaseRequest & WithPurchaseToken(Aws::String &&value)
const Aws::String & GetPurchaseToken() const
void SetPurchaseToken(const char *value)
PurchaseRequest & WithPurchaseToken(const char *value)
AWS_EC2_API PurchaseRequest()
void SetInstanceCount(int value)
void SetPurchaseToken(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
PurchaseRequest & WithPurchaseToken(const Aws::String &value)
void SetPurchaseToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream