7#include <aws/billingconductor/BillingConductor_EXPORTS.h>
8#include <aws/billingconductor/BillingConductorRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/billingconductor/model/PricingRuleType.h>
11#include <aws/billingconductor/model/UpdateTieringInput.h>
16namespace BillingConductor
43 template<
typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
45 template<
typename ArnT = Aws::String>
56 template<
typename NameT = Aws::String>
57 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
58 template<
typename NameT = Aws::String>
68 template<
typename DescriptionT = Aws::String>
69 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
70 template<
typename DescriptionT = Aws::String>
90 inline void SetModifierPercentage(
double value) { m_modifierPercentageHasBeenSet =
true; m_modifierPercentage = value; }
100 template<
typename TieringT = UpdateTieringInput>
101 void SetTiering(TieringT&& value) { m_tieringHasBeenSet =
true; m_tiering = std::forward<TieringT>(value); }
102 template<
typename TieringT = UpdateTieringInput>
108 bool m_arnHasBeenSet =
false;
111 bool m_nameHasBeenSet =
false;
114 bool m_descriptionHasBeenSet =
false;
117 bool m_typeHasBeenSet =
false;
119 double m_modifierPercentage{0.0};
120 bool m_modifierPercentageHasBeenSet =
false;
122 UpdateTieringInput m_tiering;
123 bool m_tieringHasBeenSet =
false;
void SetModifierPercentage(double value)
PricingRuleType GetType() const
bool TypeHasBeenSet() const
void SetArn(ArnT &&value)
UpdatePricingRuleRequest & WithTiering(TieringT &&value)
bool NameHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetArn() const
UpdatePricingRuleRequest & WithType(PricingRuleType value)
bool TieringHasBeenSet() const
bool ModifierPercentageHasBeenSet() const
UpdatePricingRuleRequest & WithDescription(DescriptionT &&value)
double GetModifierPercentage() const
void SetType(PricingRuleType value)
UpdatePricingRuleRequest & WithModifierPercentage(double value)
void SetTiering(TieringT &&value)
const Aws::String & GetDescription() const
const UpdateTieringInput & GetTiering() const
UpdatePricingRuleRequest & WithName(NameT &&value)
bool DescriptionHasBeenSet() const
void SetDescription(DescriptionT &&value)
void SetName(NameT &&value)
UpdatePricingRuleRequest & WithArn(ArnT &&value)
const Aws::String & GetName() const
AWS_BILLINGCONDUCTOR_API Aws::String SerializePayload() const override
bool ArnHasBeenSet() const
AWS_BILLINGCONDUCTOR_API UpdatePricingRuleRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String