7#include <aws/appmonetization/AppMonetization_EXPORTS.h>
8#include <aws/appmonetization/model/Currency.h>
9#include <aws/appmonetization/model/ThirdPartyCostFrequency.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
22namespace AppMonetization {
45 template <
typename AppIdT = Aws::String>
47 m_appIdHasBeenSet =
true;
48 m_appId = std::forward<AppIdT>(value);
50 template <
typename AppIdT = Aws::String>
52 SetAppId(std::forward<AppIdT>(value));
63 template <
typename CostIdT = Aws::String>
65 m_costIdHasBeenSet =
true;
66 m_costId = std::forward<CostIdT>(value);
68 template <
typename CostIdT = Aws::String>
82 template <
typename LabelT = Aws::String>
84 m_labelHasBeenSet =
true;
85 m_label = std::forward<LabelT>(value);
87 template <
typename LabelT = Aws::String>
89 SetLabel(std::forward<LabelT>(value));
101 template <
typename AmountT = Aws::String>
103 m_amountHasBeenSet =
true;
104 m_amount = std::forward<AmountT>(value);
106 template <
typename AmountT = Aws::String>
120 m_frequencyHasBeenSet =
true;
136 m_currencyHasBeenSet =
true;
151 template <
typename DescriptionT = Aws::String>
153 m_descriptionHasBeenSet =
true;
154 m_description = std::forward<DescriptionT>(value);
156 template <
typename DescriptionT = Aws::String>
170 template <
typename EffectiveFromT = Aws::String>
172 m_effectiveFromHasBeenSet =
true;
173 m_effectiveFrom = std::forward<EffectiveFromT>(value);
175 template <
typename EffectiveFromT = Aws::String>
189 template <
typename EffectiveToT = Aws::String>
191 m_effectiveToHasBeenSet =
true;
192 m_effectiveTo = std::forward<EffectiveToT>(value);
194 template <
typename EffectiveToT = Aws::String>
207 template <
typename CreatedAtT = Aws::Utils::DateTime>
209 m_createdAtHasBeenSet =
true;
210 m_createdAt = std::forward<CreatedAtT>(value);
212 template <
typename CreatedAtT = Aws::Utils::DateTime>
225 template <
typename UpdatedAtT = Aws::Utils::DateTime>
227 m_updatedAtHasBeenSet =
true;
228 m_updatedAt = std::forward<UpdatedAtT>(value);
230 template <
typename UpdatedAtT = Aws::Utils::DateTime>
258 bool m_appIdHasBeenSet =
false;
259 bool m_costIdHasBeenSet =
false;
260 bool m_labelHasBeenSet =
false;
261 bool m_amountHasBeenSet =
false;
262 bool m_frequencyHasBeenSet =
false;
263 bool m_currencyHasBeenSet =
false;
264 bool m_descriptionHasBeenSet =
false;
265 bool m_effectiveFromHasBeenSet =
false;
266 bool m_effectiveToHasBeenSet =
false;
267 bool m_createdAtHasBeenSet =
false;
268 bool m_updatedAtHasBeenSet =
false;
bool CurrencyHasBeenSet() const
ThirdPartyCostItem & WithAppId(AppIdT &&value)
AWS_APPMONETIZATION_API ThirdPartyCostItem & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAppId(AppIdT &&value)
AWS_APPMONETIZATION_API ThirdPartyCostItem(Aws::Utils::Json::JsonView jsonValue)
bool AppIdHasBeenSet() const
void SetEffectiveFrom(EffectiveFromT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetAmount() const
ThirdPartyCostItem & WithEffectiveTo(EffectiveToT &&value)
AWS_APPMONETIZATION_API ThirdPartyCostItem()=default
bool AmountHasBeenSet() const
const Aws::String & GetDescription() const
void SetCostId(CostIdT &&value)
const Aws::String & GetEffectiveTo() const
ThirdPartyCostItem & WithCreatedAt(CreatedAtT &&value)
bool DescriptionHasBeenSet() const
void SetAmount(AmountT &&value)
ThirdPartyCostItem & WithDescription(DescriptionT &&value)
bool EffectiveToHasBeenSet() const
Currency GetCurrency() const
bool CostIdHasBeenSet() const
void SetDescription(DescriptionT &&value)
ThirdPartyCostItem & WithUpdatedAt(UpdatedAtT &&value)
void SetEffectiveTo(EffectiveToT &&value)
const Aws::String & GetLabel() const
const Aws::Utils::DateTime & GetUpdatedAt() const
ThirdPartyCostFrequency GetFrequency() const
ThirdPartyCostItem & WithFrequency(ThirdPartyCostFrequency value)
bool FrequencyHasBeenSet() const
void SetFrequency(ThirdPartyCostFrequency value)
bool LabelHasBeenSet() const
const Aws::String & GetCostId() const
bool CreatedAtHasBeenSet() const
bool EffectiveFromHasBeenSet() const
bool UpdatedAtHasBeenSet() const
ThirdPartyCostItem & WithEffectiveFrom(EffectiveFromT &&value)
const Aws::String & GetAppId() const
ThirdPartyCostItem & WithCostId(CostIdT &&value)
ThirdPartyCostItem & WithLabel(LabelT &&value)
const Aws::String & GetEffectiveFrom() const
void SetCurrency(Currency value)
ThirdPartyCostItem & WithAmount(AmountT &&value)
ThirdPartyCostItem & WithCurrency(Currency value)
void SetUpdatedAt(UpdatedAtT &&value)
AWS_APPMONETIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLabel(LabelT &&value)
void SetCreatedAt(CreatedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue