7#include <aws/billing/Billing_EXPORTS.h>
8#include <aws/billing/model/ContractRestriction.h>
9#include <aws/billing/model/Interval.h>
10#include <aws/billing/model/LegalEntity.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
45 template <
typename ContractArnT = Aws::String>
47 m_contractArnHasBeenSet =
true;
48 m_contractArn = std::forward<ContractArnT>(value);
50 template <
typename ContractArnT = Aws::String>
64 template <
typename ContractTermT = Interval>
66 m_contractTermHasBeenSet =
true;
67 m_contractTerm = std::forward<ContractTermT>(value);
69 template <
typename ContractTermT = Interval>
83 template <
typename EligiblePayerAccountsT = Aws::Vector<Aws::String>>
85 m_eligiblePayerAccountsHasBeenSet =
true;
86 m_eligiblePayerAccounts = std::forward<EligiblePayerAccountsT>(value);
88 template <
typename EligiblePayerAccountsT = Aws::Vector<Aws::String>>
93 template <
typename EligiblePayerAccountsT = Aws::String>
95 m_eligiblePayerAccountsHasBeenSet =
true;
96 m_eligiblePayerAccounts.emplace_back(std::forward<EligiblePayerAccountsT>(value));
109 template <
typename InvestmentAccountsT = Aws::Vector<Aws::String>>
111 m_investmentAccountsHasBeenSet =
true;
112 m_investmentAccounts = std::forward<InvestmentAccountsT>(value);
114 template <
typename InvestmentAccountsT = Aws::Vector<Aws::String>>
119 template <
typename InvestmentAccountsT = Aws::String>
121 m_investmentAccountsHasBeenSet =
true;
122 m_investmentAccounts.emplace_back(std::forward<InvestmentAccountsT>(value));
134 template <
typename LegalEntitiesT = Aws::Vector<LegalEntity>>
136 m_legalEntitiesHasBeenSet =
true;
137 m_legalEntities = std::forward<LegalEntitiesT>(value);
139 template <
typename LegalEntitiesT = Aws::Vector<LegalEntity>>
144 template <
typename LegalEntitiesT = LegalEntity>
146 m_legalEntitiesHasBeenSet =
true;
147 m_legalEntities.emplace_back(std::forward<LegalEntitiesT>(value));
160 template <
typename ContractRestrictionsT = Aws::Vector<ContractRestriction>>
162 m_contractRestrictionsHasBeenSet =
true;
163 m_contractRestrictions = std::forward<ContractRestrictionsT>(value);
165 template <
typename ContractRestrictionsT = Aws::Vector<ContractRestriction>>
171 m_contractRestrictionsHasBeenSet =
true;
172 m_contractRestrictions.push_back(value);
188 bool m_contractArnHasBeenSet =
false;
189 bool m_contractTermHasBeenSet =
false;
190 bool m_eligiblePayerAccountsHasBeenSet =
false;
191 bool m_investmentAccountsHasBeenSet =
false;
192 bool m_legalEntitiesHasBeenSet =
false;
193 bool m_contractRestrictionsHasBeenSet =
false;
void SetEligiblePayerAccounts(EligiblePayerAccountsT &&value)
void SetContractArn(ContractArnT &&value)
const Aws::String & GetContractArn() const
void SetLegalEntities(LegalEntitiesT &&value)
const Aws::Vector< Aws::String > & GetEligiblePayerAccounts() const
bool InvestmentAccountsHasBeenSet() const
bool ContractArnHasBeenSet() const
void SetContractRestrictions(ContractRestrictionsT &&value)
const Interval & GetContractTerm() const
PrivatePricingAddendum & WithContractArn(ContractArnT &&value)
PrivatePricingAddendum & WithContractRestrictions(ContractRestrictionsT &&value)
PrivatePricingAddendum & AddContractRestrictions(ContractRestriction value)
PrivatePricingAddendum & WithLegalEntities(LegalEntitiesT &&value)
PrivatePricingAddendum & WithContractTerm(ContractTermT &&value)
void SetInvestmentAccounts(InvestmentAccountsT &&value)
AWS_BILLING_API PrivatePricingAddendum()=default
PrivatePricingAddendum & AddInvestmentAccounts(InvestmentAccountsT &&value)
AWS_BILLING_API PrivatePricingAddendum(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ContractRestriction > & GetContractRestrictions() const
AWS_BILLING_API PrivatePricingAddendum & operator=(Aws::Utils::Json::JsonView jsonValue)
PrivatePricingAddendum & WithInvestmentAccounts(InvestmentAccountsT &&value)
bool EligiblePayerAccountsHasBeenSet() const
bool ContractRestrictionsHasBeenSet() const
bool ContractTermHasBeenSet() const
AWS_BILLING_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< LegalEntity > & GetLegalEntities() const
bool LegalEntitiesHasBeenSet() const
void SetContractTerm(ContractTermT &&value)
PrivatePricingAddendum & WithEligiblePayerAccounts(EligiblePayerAccountsT &&value)
const Aws::Vector< Aws::String > & GetInvestmentAccounts() const
PrivatePricingAddendum & AddLegalEntities(LegalEntitiesT &&value)
PrivatePricingAddendum & AddEligiblePayerAccounts(EligiblePayerAccountsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue