7#include <aws/appmonetization/AppMonetizationRequest.h>
8#include <aws/appmonetization/AppMonetization_EXPORTS.h>
9#include <aws/appmonetization/model/Currency.h>
10#include <aws/appmonetization/model/ThirdPartyCostFrequency.h>
11#include <aws/core/utils/UUID.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
17namespace 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));
64 template <
typename CostIdT = Aws::String>
66 m_costIdHasBeenSet =
true;
67 m_costId = std::forward<CostIdT>(value);
69 template <
typename CostIdT = Aws::String>
83 template <
typename LabelT = Aws::String>
85 m_labelHasBeenSet =
true;
86 m_label = std::forward<LabelT>(value);
88 template <
typename LabelT = Aws::String>
90 SetLabel(std::forward<LabelT>(value));
102 template <
typename AmountT = Aws::String>
104 m_amountHasBeenSet =
true;
105 m_amount = std::forward<AmountT>(value);
107 template <
typename AmountT = Aws::String>
121 m_frequencyHasBeenSet =
true;
138 m_currencyHasBeenSet =
true;
153 template <
typename DescriptionT = Aws::String>
155 m_descriptionHasBeenSet =
true;
156 m_description = std::forward<DescriptionT>(value);
158 template <
typename DescriptionT = Aws::String>
172 template <
typename EffectiveFromT = Aws::String>
174 m_effectiveFromHasBeenSet =
true;
175 m_effectiveFrom = std::forward<EffectiveFromT>(value);
177 template <
typename EffectiveFromT = Aws::String>
191 template <
typename EffectiveToT = Aws::String>
193 m_effectiveToHasBeenSet =
true;
194 m_effectiveTo = std::forward<EffectiveToT>(value);
196 template <
typename EffectiveToT = Aws::String>
211 template <
typename ClientTokenT = Aws::String>
213 m_clientTokenHasBeenSet =
true;
214 m_clientToken = std::forward<ClientTokenT>(value);
216 template <
typename ClientTokenT = Aws::String>
242 bool m_appIdHasBeenSet =
false;
243 bool m_costIdHasBeenSet =
false;
244 bool m_labelHasBeenSet =
false;
245 bool m_amountHasBeenSet =
false;
246 bool m_frequencyHasBeenSet =
false;
247 bool m_currencyHasBeenSet =
false;
248 bool m_descriptionHasBeenSet =
false;
249 bool m_effectiveFromHasBeenSet =
false;
250 bool m_effectiveToHasBeenSet =
false;
251 bool m_clientTokenHasBeenSet =
true;
const Aws::String & GetAmount() const
PutThirdPartyCostRequest & WithLabel(LabelT &&value)
void SetDescription(DescriptionT &&value)
ThirdPartyCostFrequency GetFrequency() const
void SetLabel(LabelT &&value)
bool LabelHasBeenSet() const
AWS_APPMONETIZATION_API PutThirdPartyCostRequest()=default
bool EffectiveToHasBeenSet() const
PutThirdPartyCostRequest & WithCostId(CostIdT &&value)
const Aws::String & GetClientToken() const
Currency GetCurrency() const
const Aws::String & GetEffectiveTo() const
bool CurrencyHasBeenSet() const
AWS_APPMONETIZATION_API Aws::String SerializePayload() const override
bool DescriptionHasBeenSet() const
bool ClientTokenHasBeenSet() const
const Aws::String & GetAppId() const
bool EffectiveFromHasBeenSet() const
PutThirdPartyCostRequest & WithAppId(AppIdT &&value)
const Aws::String & GetCostId() const
void SetEffectiveTo(EffectiveToT &&value)
void SetAppId(AppIdT &&value)
bool CostIdHasBeenSet() const
bool AmountHasBeenSet() const
virtual const char * GetServiceRequestName() const override
PutThirdPartyCostRequest & WithFrequency(ThirdPartyCostFrequency value)
const Aws::String & GetLabel() const
PutThirdPartyCostRequest & WithClientToken(ClientTokenT &&value)
void SetFrequency(ThirdPartyCostFrequency value)
void SetClientToken(ClientTokenT &&value)
PutThirdPartyCostRequest & WithEffectiveFrom(EffectiveFromT &&value)
bool AppIdHasBeenSet() const
PutThirdPartyCostRequest & WithEffectiveTo(EffectiveToT &&value)
void SetCurrency(Currency value)
PutThirdPartyCostRequest & WithDescription(DescriptionT &&value)
void SetEffectiveFrom(EffectiveFromT &&value)
void SetCostId(CostIdT &&value)
const Aws::String & GetEffectiveFrom() const
const Aws::String & GetDescription() const
void SetAmount(AmountT &&value)
PutThirdPartyCostRequest & WithCurrency(Currency value)
bool FrequencyHasBeenSet() const
PutThirdPartyCostRequest & WithAmount(AmountT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String