7#include <aws/billingconductor/BillingConductor_EXPORTS.h>
8#include <aws/billingconductor/model/CustomLineItemFlatChargeDetails.h>
9#include <aws/billingconductor/model/CustomLineItemPercentageChargeDetails.h>
10#include <aws/billingconductor/model/CustomLineItemType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/billingconductor/model/LineItemFilter.h>
25namespace BillingConductor
52 template<
typename FlatT = CustomLineItemFlatChargeDetails>
53 void SetFlat(FlatT&& value) { m_flatHasBeenSet =
true; m_flat = std::forward<FlatT>(value); }
54 template<
typename FlatT = CustomLineItemFlatChargeDetails>
65 template<
typename PercentageT = CustomLineItemPercentageChargeDetails>
66 void SetPercentage(PercentageT&& value) { m_percentageHasBeenSet =
true; m_percentage = std::forward<PercentageT>(value); }
67 template<
typename PercentageT = CustomLineItemPercentageChargeDetails>
88 template<
typename LineItemFiltersT = Aws::Vector<LineItemFilter>>
89 void SetLineItemFilters(LineItemFiltersT&& value) { m_lineItemFiltersHasBeenSet =
true; m_lineItemFilters = std::forward<LineItemFiltersT>(value); }
90 template<
typename LineItemFiltersT = Aws::Vector<LineItemFilter>>
92 template<
typename LineItemFiltersT = LineItemFilter>
98 bool m_flatHasBeenSet =
false;
101 bool m_percentageHasBeenSet =
false;
104 bool m_typeHasBeenSet =
false;
107 bool m_lineItemFiltersHasBeenSet =
false;
bool TypeHasBeenSet() const
AWS_BILLINGCONDUCTOR_API CustomLineItemChargeDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_BILLINGCONDUCTOR_API CustomLineItemChargeDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomLineItemChargeDetails & AddLineItemFilters(LineItemFiltersT &&value)
void SetFlat(FlatT &&value)
bool FlatHasBeenSet() const
void SetType(CustomLineItemType value)
AWS_BILLINGCONDUCTOR_API CustomLineItemChargeDetails()=default
void SetLineItemFilters(LineItemFiltersT &&value)
void SetPercentage(PercentageT &&value)
const Aws::Vector< LineItemFilter > & GetLineItemFilters() const
CustomLineItemChargeDetails & WithFlat(FlatT &&value)
bool LineItemFiltersHasBeenSet() const
const CustomLineItemFlatChargeDetails & GetFlat() const
AWS_BILLINGCONDUCTOR_API Aws::Utils::Json::JsonValue Jsonize() const
bool PercentageHasBeenSet() const
const CustomLineItemPercentageChargeDetails & GetPercentage() const
CustomLineItemChargeDetails & WithType(CustomLineItemType value)
CustomLineItemChargeDetails & WithPercentage(PercentageT &&value)
CustomLineItemChargeDetails & WithLineItemFilters(LineItemFiltersT &&value)
CustomLineItemType GetType() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue