7#include <aws/billingconductor/BillingConductor_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/billingconductor/model/PricingRuleScope.h>
10#include <aws/billingconductor/model/PricingRuleType.h>
11#include <aws/billingconductor/model/UpdateTieringInput.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
26namespace BillingConductor
44 template<
typename ArnT = Aws::String>
45 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
46 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>
67 template<
typename DescriptionT = Aws::String>
68 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
69 template<
typename DescriptionT = Aws::String>
97 inline void SetModifierPercentage(
double value) { m_modifierPercentageHasBeenSet =
true; m_modifierPercentage = value; }
108 template<
typename ServiceT = Aws::String>
109 void SetService(ServiceT&& value) { m_serviceHasBeenSet =
true; m_service = std::forward<ServiceT>(value); }
110 template<
typename ServiceT = Aws::String>
128 inline void SetLastModifiedTime(
long long value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = value; }
138 template<
typename BillingEntityT = Aws::String>
139 void SetBillingEntity(BillingEntityT&& value) { m_billingEntityHasBeenSet =
true; m_billingEntity = std::forward<BillingEntityT>(value); }
140 template<
typename BillingEntityT = Aws::String>
149 template<
typename TieringT = UpdateTieringInput>
150 void SetTiering(TieringT&& value) { m_tieringHasBeenSet =
true; m_tiering = std::forward<TieringT>(value); }
151 template<
typename TieringT = UpdateTieringInput>
165 template<
typename UsageTypeT = Aws::String>
166 void SetUsageType(UsageTypeT&& value) { m_usageTypeHasBeenSet =
true; m_usageType = std::forward<UsageTypeT>(value); }
167 template<
typename UsageTypeT = Aws::String>
181 template<
typename OperationT = Aws::String>
182 void SetOperation(OperationT&& value) { m_operationHasBeenSet =
true; m_operation = std::forward<OperationT>(value); }
183 template<
typename OperationT = Aws::String>
190 template<
typename RequestIdT = Aws::String>
191 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
192 template<
typename RequestIdT = Aws::String>
198 bool m_arnHasBeenSet =
false;
201 bool m_nameHasBeenSet =
false;
204 bool m_descriptionHasBeenSet =
false;
207 bool m_scopeHasBeenSet =
false;
210 bool m_typeHasBeenSet =
false;
212 double m_modifierPercentage{0.0};
213 bool m_modifierPercentageHasBeenSet =
false;
216 bool m_serviceHasBeenSet =
false;
218 long long m_associatedPricingPlanCount{0};
219 bool m_associatedPricingPlanCountHasBeenSet =
false;
221 long long m_lastModifiedTime{0};
222 bool m_lastModifiedTimeHasBeenSet =
false;
225 bool m_billingEntityHasBeenSet =
false;
227 UpdateTieringInput m_tiering;
228 bool m_tieringHasBeenSet =
false;
231 bool m_usageTypeHasBeenSet =
false;
234 bool m_operationHasBeenSet =
false;
237 bool m_requestIdHasBeenSet =
false;
double GetModifierPercentage() const
void SetName(NameT &&value)
const Aws::String & GetService() const
void SetOperation(OperationT &&value)
void SetType(PricingRuleType value)
const Aws::String & GetOperation() const
UpdatePricingRuleResult & WithLastModifiedTime(long long value)
void SetDescription(DescriptionT &&value)
void SetLastModifiedTime(long long value)
UpdatePricingRuleResult & WithTiering(TieringT &&value)
AWS_BILLINGCONDUCTOR_API UpdatePricingRuleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdatePricingRuleResult & WithUsageType(UsageTypeT &&value)
UpdatePricingRuleResult & WithName(NameT &&value)
const Aws::String & GetUsageType() const
const Aws::String & GetBillingEntity() const
UpdatePricingRuleResult & WithBillingEntity(BillingEntityT &&value)
void SetUsageType(UsageTypeT &&value)
UpdatePricingRuleResult & WithRequestId(RequestIdT &&value)
UpdatePricingRuleResult & WithModifierPercentage(double value)
long long GetAssociatedPricingPlanCount() const
UpdatePricingRuleResult & WithDescription(DescriptionT &&value)
UpdatePricingRuleResult & WithScope(PricingRuleScope value)
void SetTiering(TieringT &&value)
const Aws::String & GetArn() const
void SetArn(ArnT &&value)
const Aws::String & GetDescription() const
const UpdateTieringInput & GetTiering() const
long long GetLastModifiedTime() const
AWS_BILLINGCONDUCTOR_API UpdatePricingRuleResult()=default
void SetService(ServiceT &&value)
PricingRuleScope GetScope() const
UpdatePricingRuleResult & WithAssociatedPricingPlanCount(long long value)
const Aws::String & GetName() const
PricingRuleType GetType() const
UpdatePricingRuleResult & WithType(PricingRuleType value)
UpdatePricingRuleResult & WithService(ServiceT &&value)
UpdatePricingRuleResult & WithArn(ArnT &&value)
void SetAssociatedPricingPlanCount(long long value)
const Aws::String & GetRequestId() const
void SetScope(PricingRuleScope value)
UpdatePricingRuleResult & WithOperation(OperationT &&value)
AWS_BILLINGCONDUCTOR_API UpdatePricingRuleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
void SetModifierPercentage(double value)
void SetBillingEntity(BillingEntityT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue