7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/devicefarm/DeviceFarmRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetOfferingId(
const char* value) { m_offeringIdHasBeenSet =
true; m_offeringId.assign(value); }
60 inline void SetQuantity(
int value) { m_quantityHasBeenSet =
true; m_quantity = value; }
72 inline void SetOfferingPromotionId(
const char* value) { m_offeringPromotionIdHasBeenSet =
true; m_offeringPromotionId.assign(value); }
80 bool m_offeringIdHasBeenSet =
false;
83 bool m_quantityHasBeenSet =
false;
86 bool m_offeringPromotionIdHasBeenSet =
false;
PurchaseOfferingRequest & WithOfferingId(const Aws::String &value)
void SetOfferingId(const char *value)
void SetQuantity(int value)
PurchaseOfferingRequest & WithOfferingId(Aws::String &&value)
const Aws::String & GetOfferingId() const
bool OfferingIdHasBeenSet() const
virtual const char * GetServiceRequestName() const override
PurchaseOfferingRequest & WithOfferingPromotionId(Aws::String &&value)
void SetOfferingId(Aws::String &&value)
AWS_DEVICEFARM_API PurchaseOfferingRequest()
PurchaseOfferingRequest & WithOfferingId(const char *value)
void SetOfferingId(const Aws::String &value)
const Aws::String & GetOfferingPromotionId() const
void SetOfferingPromotionId(Aws::String &&value)
AWS_DEVICEFARM_API Aws::String SerializePayload() const override
void SetOfferingPromotionId(const Aws::String &value)
PurchaseOfferingRequest & WithOfferingPromotionId(const Aws::String &value)
PurchaseOfferingRequest & WithQuantity(int value)
bool QuantityHasBeenSet() const
bool OfferingPromotionIdHasBeenSet() const
PurchaseOfferingRequest & WithOfferingPromotionId(const char *value)
void SetOfferingPromotionId(const char *value)
AWS_DEVICEFARM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String