7#include <aws/billing/Billing_EXPORTS.h>
8#include <aws/billing/model/Amount.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
43 template <
typename CreditIdT = Aws::String>
45 m_creditIdHasBeenSet =
true;
46 m_creditId = std::forward<CreditIdT>(value);
48 template <
typename CreditIdT = Aws::String>
62 template <
typename CreditAmountT = Amount>
64 m_creditAmountHasBeenSet =
true;
65 m_creditAmount = std::forward<CreditAmountT>(value);
67 template <
typename CreditAmountT = Amount>
80 template <
typename DescriptionT = Aws::String>
82 m_descriptionHasBeenSet =
true;
83 m_description = std::forward<DescriptionT>(value);
85 template <
typename DescriptionT = Aws::String>
98 template <
typename AccountIdT = Aws::String>
100 m_accountIdHasBeenSet =
true;
101 m_accountId = std::forward<AccountIdT>(value);
103 template <
typename AccountIdT = Aws::String>
116 template <
typename AppliedServiceNameT = Aws::String>
118 m_appliedServiceNameHasBeenSet =
true;
119 m_appliedServiceName = std::forward<AppliedServiceNameT>(value);
121 template <
typename AppliedServiceNameT = Aws::String>
134 template <
typename BillingMonthT = Aws::String>
136 m_billingMonthHasBeenSet =
true;
137 m_billingMonth = std::forward<BillingMonthT>(value);
139 template <
typename BillingMonthT = Aws::String>
154 m_isEstimatedBillHasBeenSet =
true;
155 m_isEstimatedBill = value;
175 bool m_isEstimatedBill{
false};
176 bool m_creditIdHasBeenSet =
false;
177 bool m_creditAmountHasBeenSet =
false;
178 bool m_descriptionHasBeenSet =
false;
179 bool m_accountIdHasBeenSet =
false;
180 bool m_appliedServiceNameHasBeenSet =
false;
181 bool m_billingMonthHasBeenSet =
false;
182 bool m_isEstimatedBillHasBeenSet =
false;
const Aws::String & GetAccountId() const
bool AppliedServiceNameHasBeenSet() const
const Amount & GetCreditAmount() const
void SetCreditAmount(CreditAmountT &&value)
void SetCreditId(CreditIdT &&value)
void SetAccountId(AccountIdT &&value)
CreditAllocationHistoryEntry & WithAccountId(AccountIdT &&value)
CreditAllocationHistoryEntry & WithIsEstimatedBill(bool value)
const Aws::String & GetAppliedServiceName() const
CreditAllocationHistoryEntry & WithDescription(DescriptionT &&value)
CreditAllocationHistoryEntry & WithCreditId(CreditIdT &&value)
AWS_BILLING_API CreditAllocationHistoryEntry()=default
void SetDescription(DescriptionT &&value)
const Aws::String & GetBillingMonth() const
bool AccountIdHasBeenSet() const
bool BillingMonthHasBeenSet() const
bool IsEstimatedBillHasBeenSet() const
CreditAllocationHistoryEntry & WithBillingMonth(BillingMonthT &&value)
CreditAllocationHistoryEntry & WithCreditAmount(CreditAmountT &&value)
CreditAllocationHistoryEntry & WithAppliedServiceName(AppliedServiceNameT &&value)
bool CreditIdHasBeenSet() const
void SetBillingMonth(BillingMonthT &&value)
bool CreditAmountHasBeenSet() const
bool GetIsEstimatedBill() const
bool DescriptionHasBeenSet() const
AWS_BILLING_API CreditAllocationHistoryEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BILLING_API CreditAllocationHistoryEntry(Aws::Utils::Json::JsonView jsonValue)
AWS_BILLING_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDescription() const
const Aws::String & GetCreditId() const
void SetAppliedServiceName(AppliedServiceNameT &&value)
void SetIsEstimatedBill(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue