7#include <aws/partnercentral-benefits/PartnerCentralBenefits_EXPORTS.h>
8#include <aws/partnercentral-benefits/model/IssuanceDetail.h>
9#include <aws/partnercentral-benefits/model/MonetaryValue.h>
20namespace PartnerCentralBenefits {
42 template <
typename AllocatedAmountT = MonetaryValue>
44 m_allocatedAmountHasBeenSet =
true;
45 m_allocatedAmount = std::forward<AllocatedAmountT>(value);
47 template <
typename AllocatedAmountT = MonetaryValue>
61 template <
typename RemainingAmountT = MonetaryValue>
63 m_remainingAmountHasBeenSet =
true;
64 m_remainingAmount = std::forward<RemainingAmountT>(value);
66 template <
typename RemainingAmountT = MonetaryValue>
79 template <
typename UtilizedAmountT = MonetaryValue>
81 m_utilizedAmountHasBeenSet =
true;
82 m_utilizedAmount = std::forward<UtilizedAmountT>(value);
84 template <
typename UtilizedAmountT = MonetaryValue>
98 template <
typename IssuanceDetailsT = IssuanceDetail>
100 m_issuanceDetailsHasBeenSet =
true;
101 m_issuanceDetails = std::forward<IssuanceDetailsT>(value);
103 template <
typename IssuanceDetailsT = IssuanceDetail>
117 bool m_allocatedAmountHasBeenSet =
false;
118 bool m_remainingAmountHasBeenSet =
false;
119 bool m_utilizedAmountHasBeenSet =
false;
120 bool m_issuanceDetailsHasBeenSet =
false;
ConsumableDetails & WithIssuanceDetails(IssuanceDetailsT &&value)
bool UtilizedAmountHasBeenSet() const
ConsumableDetails & WithUtilizedAmount(UtilizedAmountT &&value)
void SetRemainingAmount(RemainingAmountT &&value)
bool IssuanceDetailsHasBeenSet() const
const IssuanceDetail & GetIssuanceDetails() const
const MonetaryValue & GetAllocatedAmount() const
ConsumableDetails & WithRemainingAmount(RemainingAmountT &&value)
AWS_PARTNERCENTRALBENEFITS_API ConsumableDetails()=default
bool RemainingAmountHasBeenSet() const
void SetIssuanceDetails(IssuanceDetailsT &&value)
void SetUtilizedAmount(UtilizedAmountT &&value)
void SetAllocatedAmount(AllocatedAmountT &&value)
const MonetaryValue & GetUtilizedAmount() const
const MonetaryValue & GetRemainingAmount() const
AWS_PARTNERCENTRALBENEFITS_API ConsumableDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALBENEFITS_API Aws::Utils::Json::JsonValue Jsonize() const
bool AllocatedAmountHasBeenSet() const
AWS_PARTNERCENTRALBENEFITS_API ConsumableDetails(Aws::Utils::Json::JsonView jsonValue)
ConsumableDetails & WithAllocatedAmount(AllocatedAmountT &&value)
Aws::Utils::Json::JsonValue JsonValue