7#include <aws/billingconductor/BillingConductor_EXPORTS.h>
8#include <aws/billingconductor/model/PricingRuleScope.h>
9#include <aws/billingconductor/model/PricingRuleType.h>
10#include <aws/billingconductor/model/UpdateTieringInput.h>
11#include <aws/core/http/HttpResponse.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace 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));
57 template <
typename NameT = Aws::String>
59 m_nameHasBeenSet =
true;
60 m_name = std::forward<NameT>(value);
62 template <
typename NameT = Aws::String>
64 SetName(std::forward<NameT>(value));
74 template <
typename DescriptionT = Aws::String>
76 m_descriptionHasBeenSet =
true;
77 m_description = std::forward<DescriptionT>(value);
79 template <
typename DescriptionT = Aws::String>
93 m_scopeHasBeenSet =
true;
108 m_typeHasBeenSet =
true;
123 m_modifierPercentageHasBeenSet =
true;
124 m_modifierPercentage = value;
139 template <
typename ServiceT = Aws::String>
141 m_serviceHasBeenSet =
true;
142 m_service = std::forward<ServiceT>(value);
144 template <
typename ServiceT = Aws::String>
157 m_associatedPricingPlanCountHasBeenSet =
true;
158 m_associatedPricingPlanCount = value;
172 m_lastModifiedTimeHasBeenSet =
true;
173 m_lastModifiedTime = value;
187 template <
typename BillingEntityT = Aws::String>
189 m_billingEntityHasBeenSet =
true;
190 m_billingEntity = std::forward<BillingEntityT>(value);
192 template <
typename BillingEntityT = Aws::String>
204 template <
typename TieringT = UpdateTieringInput>
206 m_tieringHasBeenSet =
true;
207 m_tiering = std::forward<TieringT>(value);
209 template <
typename TieringT = UpdateTieringInput>
226 template <
typename UsageTypeT = Aws::String>
228 m_usageTypeHasBeenSet =
true;
229 m_usageType = std::forward<UsageTypeT>(value);
231 template <
typename UsageTypeT = Aws::String>
248 template <
typename OperationT = Aws::String>
250 m_operationHasBeenSet =
true;
251 m_operation = std::forward<OperationT>(value);
253 template <
typename OperationT = Aws::String>
263 template <
typename RequestIdT = Aws::String>
265 m_requestIdHasBeenSet =
true;
266 m_requestId = std::forward<RequestIdT>(value);
268 template <
typename RequestIdT = Aws::String>
287 double m_modifierPercentage{0.0};
291 long long m_associatedPricingPlanCount{0};
293 long long m_lastModifiedTime{0};
297 UpdateTieringInput m_tiering;
305 bool m_arnHasBeenSet =
false;
306 bool m_nameHasBeenSet =
false;
307 bool m_descriptionHasBeenSet =
false;
308 bool m_scopeHasBeenSet =
false;
309 bool m_typeHasBeenSet =
false;
310 bool m_modifierPercentageHasBeenSet =
false;
311 bool m_serviceHasBeenSet =
false;
312 bool m_associatedPricingPlanCountHasBeenSet =
false;
313 bool m_lastModifiedTimeHasBeenSet =
false;
314 bool m_billingEntityHasBeenSet =
false;
315 bool m_tieringHasBeenSet =
false;
316 bool m_usageTypeHasBeenSet =
false;
317 bool m_operationHasBeenSet =
false;
318 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue