7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/devicefarm/model/OfferingStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/devicefarm/model/MonetaryAmount.h>
64 inline void SetTransactionId(
const char* value) { m_transactionIdHasBeenSet =
true; m_transactionId.assign(value); }
78 inline void SetOfferingPromotionId(
const char* value) { m_offeringPromotionIdHasBeenSet =
true; m_offeringPromotionId.assign(value); }
110 bool m_offeringStatusHasBeenSet =
false;
113 bool m_transactionIdHasBeenSet =
false;
116 bool m_offeringPromotionIdHasBeenSet =
false;
119 bool m_createdOnHasBeenSet =
false;
122 bool m_costHasBeenSet =
false;
OfferingTransaction & WithOfferingStatus(OfferingStatus &&value)
bool OfferingPromotionIdHasBeenSet() const
OfferingTransaction & WithCreatedOn(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreatedOn() const
void SetTransactionId(const Aws::String &value)
bool OfferingStatusHasBeenSet() const
void SetOfferingStatus(const OfferingStatus &value)
void SetTransactionId(Aws::String &&value)
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOfferingPromotionId(const char *value)
void SetOfferingPromotionId(Aws::String &&value)
OfferingTransaction & WithTransactionId(Aws::String &&value)
bool TransactionIdHasBeenSet() const
bool CreatedOnHasBeenSet() const
OfferingTransaction & WithOfferingPromotionId(const Aws::String &value)
OfferingTransaction & WithOfferingPromotionId(const char *value)
OfferingTransaction & WithCost(const MonetaryAmount &value)
void SetOfferingStatus(OfferingStatus &&value)
AWS_DEVICEFARM_API OfferingTransaction & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTransactionId() const
AWS_DEVICEFARM_API OfferingTransaction()
void SetTransactionId(const char *value)
AWS_DEVICEFARM_API OfferingTransaction(Aws::Utils::Json::JsonView jsonValue)
OfferingTransaction & WithCreatedOn(Aws::Utils::DateTime &&value)
bool CostHasBeenSet() const
OfferingTransaction & WithTransactionId(const char *value)
void SetCreatedOn(Aws::Utils::DateTime &&value)
const OfferingStatus & GetOfferingStatus() const
void SetCost(const MonetaryAmount &value)
OfferingTransaction & WithTransactionId(const Aws::String &value)
OfferingTransaction & WithOfferingStatus(const OfferingStatus &value)
void SetCreatedOn(const Aws::Utils::DateTime &value)
OfferingTransaction & WithCost(MonetaryAmount &&value)
void SetOfferingPromotionId(const Aws::String &value)
OfferingTransaction & WithOfferingPromotionId(Aws::String &&value)
const Aws::String & GetOfferingPromotionId() const
void SetCost(MonetaryAmount &&value)
const MonetaryAmount & GetCost() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue