7#include <aws/billing/Billing_EXPORTS.h>
8#include <aws/billing/model/BillingFeature.h>
9#include <aws/billing/model/BillingPeriod.h>
10#include <aws/billing/model/PreferenceValue.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
45 m_featureHasBeenSet =
true;
60 template <
typename KeyT = Aws::String>
62 m_keyHasBeenSet =
true;
63 m_key = std::forward<KeyT>(value);
65 template <
typename KeyT = Aws::String>
67 SetKey(std::forward<KeyT>(value));
80 m_valueHasBeenSet =
true;
96 template <
typename AccountNameT = Aws::String>
98 m_accountNameHasBeenSet =
true;
99 m_accountName = std::forward<AccountNameT>(value);
101 template <
typename AccountNameT = Aws::String>
115 template <
typename AccountIdT = Aws::String>
117 m_accountIdHasBeenSet =
true;
118 m_accountId = std::forward<AccountIdT>(value);
120 template <
typename AccountIdT = Aws::String>
135 template <
typename BillingPeriodT = BillingPeriod>
137 m_billingPeriodHasBeenSet =
true;
138 m_billingPeriod = std::forward<BillingPeriodT>(value);
140 template <
typename BillingPeriodT = BillingPeriod>
157 BillingPeriod m_billingPeriod;
158 bool m_featureHasBeenSet =
false;
159 bool m_keyHasBeenSet =
false;
160 bool m_valueHasBeenSet =
false;
161 bool m_accountNameHasBeenSet =
false;
162 bool m_accountIdHasBeenSet =
false;
163 bool m_billingPeriodHasBeenSet =
false;
BillingPreferenceSummary & WithAccountName(AccountNameT &&value)
BillingFeature GetFeature() const
const BillingPeriod & GetBillingPeriod() const
const Aws::String & GetAccountName() const
bool AccountIdHasBeenSet() const
AWS_BILLING_API BillingPreferenceSummary()=default
bool ValueHasBeenSet() const
BillingPreferenceSummary & WithKey(KeyT &&value)
void SetAccountId(AccountIdT &&value)
BillingPreferenceSummary & WithAccountId(AccountIdT &&value)
bool AccountNameHasBeenSet() const
AWS_BILLING_API BillingPreferenceSummary(Aws::Utils::Json::JsonView jsonValue)
void SetBillingPeriod(BillingPeriodT &&value)
bool KeyHasBeenSet() const
void SetKey(KeyT &&value)
const Aws::String & GetAccountId() const
PreferenceValue GetValue() const
const Aws::String & GetKey() const
void SetValue(PreferenceValue value)
bool FeatureHasBeenSet() const
BillingPreferenceSummary & WithFeature(BillingFeature value)
AWS_BILLING_API Aws::Utils::Json::JsonValue Jsonize() const
BillingPreferenceSummary & WithValue(PreferenceValue value)
AWS_BILLING_API BillingPreferenceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool BillingPeriodHasBeenSet() const
BillingPreferenceSummary & WithBillingPeriod(BillingPeriodT &&value)
void SetFeature(BillingFeature value)
void SetAccountName(AccountNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue