7#include <aws/billingconductor/BillingConductorRequest.h>
8#include <aws/billingconductor/BillingConductor_EXPORTS.h>
9#include <aws/billingconductor/model/PricingRuleType.h>
10#include <aws/billingconductor/model/UpdateTieringInput.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
16namespace BillingConductor {
39 template <
typename ArnT = Aws::String>
41 m_arnHasBeenSet =
true;
42 m_arn = std::forward<ArnT>(value);
44 template <
typename ArnT = Aws::String>
46 SetArn(std::forward<ArnT>(value));
58 template <
typename NameT = Aws::String>
60 m_nameHasBeenSet =
true;
61 m_name = std::forward<NameT>(value);
63 template <
typename NameT = Aws::String>
65 SetName(std::forward<NameT>(value));
76 template <
typename DescriptionT = Aws::String>
78 m_descriptionHasBeenSet =
true;
79 m_description = std::forward<DescriptionT>(value);
81 template <
typename DescriptionT = Aws::String>
95 m_typeHasBeenSet =
true;
112 m_modifierPercentageHasBeenSet =
true;
113 m_modifierPercentage = value;
127 template <
typename TieringT = UpdateTieringInput>
129 m_tieringHasBeenSet =
true;
130 m_tiering = std::forward<TieringT>(value);
132 template <
typename TieringT = UpdateTieringInput>
147 double m_modifierPercentage{0.0};
149 UpdateTieringInput m_tiering;
150 bool m_arnHasBeenSet =
false;
151 bool m_nameHasBeenSet =
false;
152 bool m_descriptionHasBeenSet =
false;
153 bool m_typeHasBeenSet =
false;
154 bool m_modifierPercentageHasBeenSet =
false;
155 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