7#include <aws/billingconductor/BillingConductorRequest.h>
8#include <aws/billingconductor/BillingConductor_EXPORTS.h>
9#include <aws/billingconductor/model/CreateTieringInput.h>
10#include <aws/billingconductor/model/PricingRuleScope.h>
11#include <aws/billingconductor/model/PricingRuleType.h>
12#include <aws/core/utils/UUID.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
19namespace BillingConductor {
48 template <
typename ClientTokenT = Aws::String>
50 m_clientTokenHasBeenSet =
true;
51 m_clientToken = std::forward<ClientTokenT>(value);
53 template <
typename ClientTokenT = Aws::String>
66 template <
typename NameT = Aws::String>
68 m_nameHasBeenSet =
true;
69 m_name = std::forward<NameT>(value);
71 template <
typename NameT = Aws::String>
73 SetName(std::forward<NameT>(value));
84 template <
typename DescriptionT = Aws::String>
86 m_descriptionHasBeenSet =
true;
87 m_description = std::forward<DescriptionT>(value);
89 template <
typename DescriptionT = Aws::String>
104 m_scopeHasBeenSet =
true;
120 m_typeHasBeenSet =
true;
137 m_modifierPercentageHasBeenSet =
true;
138 m_modifierPercentage = value;
154 template <
typename ServiceT = Aws::String>
156 m_serviceHasBeenSet =
true;
157 m_service = std::forward<ServiceT>(value);
159 template <
typename ServiceT = Aws::String>
173 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
175 m_tagsHasBeenSet =
true;
176 m_tags = std::forward<TagsT>(value);
178 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
180 SetTags(std::forward<TagsT>(value));
183 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
185 m_tagsHasBeenSet =
true;
186 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
198 template <
typename BillingEntityT = Aws::String>
200 m_billingEntityHasBeenSet =
true;
201 m_billingEntity = std::forward<BillingEntityT>(value);
203 template <
typename BillingEntityT = Aws::String>
216 template <
typename TieringT = CreateTieringInput>
218 m_tieringHasBeenSet =
true;
219 m_tiering = std::forward<TieringT>(value);
221 template <
typename TieringT = CreateTieringInput>
239 template <
typename UsageTypeT = Aws::String>
241 m_usageTypeHasBeenSet =
true;
242 m_usageType = std::forward<UsageTypeT>(value);
244 template <
typename UsageTypeT = Aws::String>
262 template <
typename OperationT = Aws::String>
264 m_operationHasBeenSet =
true;
265 m_operation = std::forward<OperationT>(value);
267 template <
typename OperationT = Aws::String>
284 double m_modifierPercentage{0.0};
292 CreateTieringInput m_tiering;
297 bool m_clientTokenHasBeenSet =
true;
298 bool m_nameHasBeenSet =
false;
299 bool m_descriptionHasBeenSet =
false;
300 bool m_scopeHasBeenSet =
false;
301 bool m_typeHasBeenSet =
false;
302 bool m_modifierPercentageHasBeenSet =
false;
303 bool m_serviceHasBeenSet =
false;
304 bool m_tagsHasBeenSet =
false;
305 bool m_billingEntityHasBeenSet =
false;
306 bool m_tieringHasBeenSet =
false;
307 bool m_usageTypeHasBeenSet =
false;
308 bool m_operationHasBeenSet =
false;
const Aws::String & GetBillingEntity() const
void SetType(PricingRuleType value)
const Aws::String & GetService() const
CreatePricingRuleRequest & WithDescription(DescriptionT &&value)
void SetDescription(DescriptionT &&value)
bool TagsHasBeenSet() const
const Aws::String & GetDescription() const
CreatePricingRuleRequest & WithTags(TagsT &&value)
bool ServiceHasBeenSet() const
CreatePricingRuleRequest & WithClientToken(ClientTokenT &&value)
CreatePricingRuleRequest & WithUsageType(UsageTypeT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetUsageType() const
bool ClientTokenHasBeenSet() const
const CreateTieringInput & GetTiering() const
bool DescriptionHasBeenSet() const
void SetModifierPercentage(double value)
AWS_BILLINGCONDUCTOR_API Aws::String SerializePayload() const override
void SetService(ServiceT &&value)
CreatePricingRuleRequest & WithModifierPercentage(double value)
bool OperationHasBeenSet() const
bool UsageTypeHasBeenSet() const
void SetBillingEntity(BillingEntityT &&value)
void SetName(NameT &&value)
double GetModifierPercentage() const
void SetOperation(OperationT &&value)
bool ModifierPercentageHasBeenSet() const
void SetTags(TagsT &&value)
CreatePricingRuleRequest & WithType(PricingRuleType value)
PricingRuleType GetType() const
bool NameHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
PricingRuleScope GetScope() const
CreatePricingRuleRequest & WithName(NameT &&value)
CreatePricingRuleRequest & WithScope(PricingRuleScope value)
bool TieringHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
void SetUsageType(UsageTypeT &&value)
CreatePricingRuleRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetClientToken() const
void SetScope(PricingRuleScope value)
AWS_BILLINGCONDUCTOR_API CreatePricingRuleRequest()=default
bool TypeHasBeenSet() const
CreatePricingRuleRequest & WithBillingEntity(BillingEntityT &&value)
const Aws::String & GetName() const
CreatePricingRuleRequest & WithService(ServiceT &&value)
void SetTiering(TieringT &&value)
bool BillingEntityHasBeenSet() const
CreatePricingRuleRequest & WithOperation(OperationT &&value)
AWS_BILLINGCONDUCTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreatePricingRuleRequest & WithTiering(TieringT &&value)
bool ScopeHasBeenSet() const
const Aws::String & GetOperation() const
static Aws::Utils::UUID PseudoRandomUUID()
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