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/PricingRuleScope.h>
11#include <aws/billingconductor/model/PricingRuleType.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/billingconductor/model/CreateTieringInput.h>
15#include <aws/core/utils/UUID.h>
19namespace BillingConductor
51 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
65 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
79 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
116 inline void SetModifierPercentage(
double value) { m_modifierPercentageHasBeenSet =
true; m_modifierPercentage = value; }
130 inline void SetService(
const char* value) { m_serviceHasBeenSet =
true; m_service.assign(value); }
165 inline void SetBillingEntity(
const char* value) { m_billingEntityHasBeenSet =
true; m_billingEntity.assign(value); }
197 inline void SetUsageType(
const char* value) { m_usageTypeHasBeenSet =
true; m_usageType.assign(value); }
216 inline void SetOperation(
const char* value) { m_operationHasBeenSet =
true; m_operation.assign(value); }
224 bool m_clientTokenHasBeenSet =
false;
227 bool m_nameHasBeenSet =
false;
230 bool m_descriptionHasBeenSet =
false;
233 bool m_scopeHasBeenSet =
false;
236 bool m_typeHasBeenSet =
false;
238 double m_modifierPercentage;
239 bool m_modifierPercentageHasBeenSet =
false;
242 bool m_serviceHasBeenSet =
false;
245 bool m_tagsHasBeenSet =
false;
248 bool m_billingEntityHasBeenSet =
false;
251 bool m_tieringHasBeenSet =
false;
254 bool m_usageTypeHasBeenSet =
false;
257 bool m_operationHasBeenSet =
false;
CreatePricingRuleRequest & WithUsageType(const char *value)
void SetBillingEntity(const char *value)
const Aws::String & GetBillingEntity() const
void SetType(const PricingRuleType &value)
const Aws::String & GetService() const
void SetUsageType(Aws::String &&value)
CreatePricingRuleRequest & WithType(const PricingRuleType &value)
CreatePricingRuleRequest & AddTags(const char *key, const char *value)
bool TagsHasBeenSet() const
CreatePricingRuleRequest & WithOperation(Aws::String &&value)
CreatePricingRuleRequest & WithBillingEntity(const char *value)
void SetUsageType(const Aws::String &value)
void SetName(const char *value)
const Aws::String & GetDescription() const
void SetOperation(Aws::String &&value)
CreatePricingRuleRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetName(Aws::String &&value)
bool ServiceHasBeenSet() const
CreatePricingRuleRequest & WithClientToken(Aws::String &&value)
void SetTiering(const CreateTieringInput &value)
CreatePricingRuleRequest & WithUsageType(const Aws::String &value)
CreatePricingRuleRequest & AddTags(Aws::String &&key, const Aws::String &value)
void SetDescription(Aws::String &&value)
void SetService(const Aws::String &value)
CreatePricingRuleRequest & WithType(PricingRuleType &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetUsageType() const
CreatePricingRuleRequest & WithClientToken(const Aws::String &value)
CreatePricingRuleRequest & WithService(const char *value)
bool ClientTokenHasBeenSet() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreatePricingRuleRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetTiering(CreateTieringInput &&value)
CreatePricingRuleRequest & WithName(Aws::String &&value)
const CreateTieringInput & GetTiering() const
void SetService(Aws::String &&value)
void SetDescription(const Aws::String &value)
void SetType(PricingRuleType &&value)
void SetOperation(const char *value)
CreatePricingRuleRequest & WithOperation(const char *value)
bool DescriptionHasBeenSet() const
void SetModifierPercentage(double value)
CreatePricingRuleRequest & WithName(const char *value)
AWS_BILLINGCONDUCTOR_API Aws::String SerializePayload() const override
CreatePricingRuleRequest & WithModifierPercentage(double value)
bool OperationHasBeenSet() const
bool UsageTypeHasBeenSet() const
void SetName(const Aws::String &value)
double GetModifierPercentage() const
CreatePricingRuleRequest & WithDescription(const char *value)
bool ModifierPercentageHasBeenSet() const
void SetDescription(const char *value)
CreatePricingRuleRequest & WithOperation(const Aws::String &value)
CreatePricingRuleRequest & WithScope(PricingRuleScope &&value)
CreatePricingRuleRequest & WithClientToken(const char *value)
void SetClientToken(Aws::String &&value)
bool NameHasBeenSet() const
CreatePricingRuleRequest & WithName(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const PricingRuleScope & GetScope() const
void SetBillingEntity(Aws::String &&value)
CreatePricingRuleRequest & WithTiering(CreateTieringInput &&value)
CreatePricingRuleRequest & WithService(const Aws::String &value)
bool TieringHasBeenSet() const
void SetClientToken(const Aws::String &value)
const Aws::String & GetClientToken() const
void SetService(const char *value)
CreatePricingRuleRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetClientToken(const char *value)
CreatePricingRuleRequest & WithService(Aws::String &&value)
CreatePricingRuleRequest & WithDescription(Aws::String &&value)
void SetBillingEntity(const Aws::String &value)
CreatePricingRuleRequest & WithScope(const PricingRuleScope &value)
bool TypeHasBeenSet() const
CreatePricingRuleRequest & WithBillingEntity(const Aws::String &value)
CreatePricingRuleRequest & AddTags(const Aws::String &key, const Aws::String &value)
const Aws::String & GetName() const
CreatePricingRuleRequest & AddTags(const char *key, Aws::String &&value)
CreatePricingRuleRequest & WithDescription(const Aws::String &value)
bool BillingEntityHasBeenSet() const
AWS_BILLINGCONDUCTOR_API CreatePricingRuleRequest()
CreatePricingRuleRequest & WithTiering(const CreateTieringInput &value)
CreatePricingRuleRequest & AddTags(Aws::String &&key, const char *value)
void SetUsageType(const char *value)
AWS_BILLINGCONDUCTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetScope(const PricingRuleScope &value)
CreatePricingRuleRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetScope(PricingRuleScope &&value)
void SetOperation(const Aws::String &value)
CreatePricingRuleRequest & WithBillingEntity(Aws::String &&value)
bool ScopeHasBeenSet() const
CreatePricingRuleRequest & WithUsageType(Aws::String &&value)
const Aws::String & GetOperation() const
const PricingRuleType & GetType() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String