7#include <aws/billing/Billing_EXPORTS.h>
8#include <aws/billing/model/BusinessSupportDiscount.h>
9#include <aws/billing/model/BusinessSupportServiceSpend.h>
10#include <aws/billing/model/BusinessSupportTierCharge.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
44 template <
typename AccountIdT = Aws::String>
46 m_accountIdHasBeenSet =
true;
47 m_accountId = std::forward<AccountIdT>(value);
49 template <
typename AccountIdT = Aws::String>
65 template <
typename SupportPlanNameT = Aws::String>
67 m_supportPlanNameHasBeenSet =
true;
68 m_supportPlanName = std::forward<SupportPlanNameT>(value);
70 template <
typename SupportPlanNameT = Aws::String>
84 template <
typename TotalChargeT = Aws::String>
86 m_totalChargeHasBeenSet =
true;
87 m_totalCharge = std::forward<TotalChargeT>(value);
89 template <
typename TotalChargeT = Aws::String>
103 template <
typename TotalUsageBasisT = Aws::String>
105 m_totalUsageBasisHasBeenSet =
true;
106 m_totalUsageBasis = std::forward<TotalUsageBasisT>(value);
108 template <
typename TotalUsageBasisT = Aws::String>
122 template <
typename TierChargesT = Aws::Vector<BusinessSupportTierCharge>>
124 m_tierChargesHasBeenSet =
true;
125 m_tierCharges = std::forward<TierChargesT>(value);
127 template <
typename TierChargesT = Aws::Vector<BusinessSupportTierCharge>>
132 template <
typename TierChargesT = BusinessSupportTierCharge>
134 m_tierChargesHasBeenSet =
true;
135 m_tierCharges.emplace_back(std::forward<TierChargesT>(value));
147 template <
typename SupportDiscountT = BusinessSupportDiscount>
149 m_supportDiscountHasBeenSet =
true;
150 m_supportDiscount = std::forward<SupportDiscountT>(value);
152 template <
typename SupportDiscountT = BusinessSupportDiscount>
165 return m_supportEligibleSpendByService;
168 template <
typename SupportEligibleSpendByServiceT = Aws::Vector<BusinessSupportServiceSpend>>
170 m_supportEligibleSpendByServiceHasBeenSet =
true;
171 m_supportEligibleSpendByService = std::forward<SupportEligibleSpendByServiceT>(value);
173 template <
typename SupportEligibleSpendByServiceT = Aws::Vector<BusinessSupportServiceSpend>>
178 template <
typename SupportEligibleSpendByServiceT = BusinessSupportServiceSpend>
180 m_supportEligibleSpendByServiceHasBeenSet =
true;
181 m_supportEligibleSpendByService.emplace_back(std::forward<SupportEligibleSpendByServiceT>(value));
199 bool m_accountIdHasBeenSet =
false;
200 bool m_supportPlanNameHasBeenSet =
false;
201 bool m_totalChargeHasBeenSet =
false;
202 bool m_totalUsageBasisHasBeenSet =
false;
203 bool m_tierChargesHasBeenSet =
false;
204 bool m_supportDiscountHasBeenSet =
false;
205 bool m_supportEligibleSpendByServiceHasBeenSet =
false;
bool AccountIdHasBeenSet() const
bool TierChargesHasBeenSet() const
AWS_BILLING_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< BusinessSupportTierCharge > & GetTierCharges() const
void SetSupportEligibleSpendByService(SupportEligibleSpendByServiceT &&value)
BusinessSupportAccountCharge & WithTotalCharge(TotalChargeT &&value)
BusinessSupportAccountCharge & WithAccountId(AccountIdT &&value)
const Aws::String & GetAccountId() const
bool TotalUsageBasisHasBeenSet() const
BusinessSupportAccountCharge & WithSupportDiscount(SupportDiscountT &&value)
void SetSupportPlanName(SupportPlanNameT &&value)
bool SupportPlanNameHasBeenSet() const
BusinessSupportAccountCharge & WithSupportPlanName(SupportPlanNameT &&value)
const Aws::String & GetTotalCharge() const
const BusinessSupportDiscount & GetSupportDiscount() const
void SetAccountId(AccountIdT &&value)
void SetTotalUsageBasis(TotalUsageBasisT &&value)
AWS_BILLING_API BusinessSupportAccountCharge()=default
void SetSupportDiscount(SupportDiscountT &&value)
BusinessSupportAccountCharge & AddTierCharges(TierChargesT &&value)
BusinessSupportAccountCharge & WithSupportEligibleSpendByService(SupportEligibleSpendByServiceT &&value)
BusinessSupportAccountCharge & WithTierCharges(TierChargesT &&value)
void SetTotalCharge(TotalChargeT &&value)
AWS_BILLING_API BusinessSupportAccountCharge & operator=(Aws::Utils::Json::JsonView jsonValue)
BusinessSupportAccountCharge & AddSupportEligibleSpendByService(SupportEligibleSpendByServiceT &&value)
const Aws::String & GetTotalUsageBasis() const
bool SupportEligibleSpendByServiceHasBeenSet() const
BusinessSupportAccountCharge & WithTotalUsageBasis(TotalUsageBasisT &&value)
bool SupportDiscountHasBeenSet() const
const Aws::String & GetSupportPlanName() const
const Aws::Vector< BusinessSupportServiceSpend > & GetSupportEligibleSpendByService() const
void SetTierCharges(TierChargesT &&value)
bool TotalChargeHasBeenSet() const
AWS_BILLING_API BusinessSupportAccountCharge(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue