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
44 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
45 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
60 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
74 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
98 inline void SetModifierPercentage(
double value) { m_modifierPercentageHasBeenSet =
true; m_modifierPercentage = value; }
116 bool m_arnHasBeenSet =
false;
119 bool m_nameHasBeenSet =
false;
122 bool m_descriptionHasBeenSet =
false;
125 bool m_typeHasBeenSet =
false;
127 double m_modifierPercentage;
128 bool m_modifierPercentageHasBeenSet =
false;
131 bool m_tieringHasBeenSet =
false;
UpdatePricingRuleRequest & WithArn(const char *value)
UpdatePricingRuleRequest & WithName(const char *value)
void SetModifierPercentage(double value)
void SetTiering(UpdateTieringInput &&value)
bool TypeHasBeenSet() const
UpdatePricingRuleRequest & WithArn(const Aws::String &value)
bool NameHasBeenSet() const
UpdatePricingRuleRequest & WithType(PricingRuleType &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetArn() const
UpdatePricingRuleRequest & WithArn(Aws::String &&value)
void SetType(const PricingRuleType &value)
void SetName(const Aws::String &value)
bool TieringHasBeenSet() const
bool ModifierPercentageHasBeenSet() const
UpdatePricingRuleRequest & WithName(const Aws::String &value)
void SetDescription(const Aws::String &value)
UpdatePricingRuleRequest & WithDescription(const char *value)
double GetModifierPercentage() const
UpdatePricingRuleRequest & WithDescription(const Aws::String &value)
void SetDescription(const char *value)
UpdatePricingRuleRequest & WithModifierPercentage(double value)
void SetArn(Aws::String &&value)
const Aws::String & GetDescription() const
const UpdateTieringInput & GetTiering() const
void SetType(PricingRuleType &&value)
const PricingRuleType & GetType() const
UpdatePricingRuleRequest & WithName(Aws::String &&value)
void SetDescription(Aws::String &&value)
bool DescriptionHasBeenSet() const
UpdatePricingRuleRequest & WithDescription(Aws::String &&value)
UpdatePricingRuleRequest & WithTiering(const UpdateTieringInput &value)
UpdatePricingRuleRequest & WithType(const PricingRuleType &value)
void SetTiering(const UpdateTieringInput &value)
void SetArn(const Aws::String &value)
void SetName(Aws::String &&value)
const Aws::String & GetName() const
UpdatePricingRuleRequest & WithTiering(UpdateTieringInput &&value)
AWS_BILLINGCONDUCTOR_API Aws::String SerializePayload() const override
bool ArnHasBeenSet() const
void SetArn(const char *value)
AWS_BILLINGCONDUCTOR_API UpdatePricingRuleRequest()
void SetName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String