AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdatePricingRuleResult.h
1
6#pragma once
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>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace BillingConductor
27{
28namespace Model
29{
31 {
32 public:
33 AWS_BILLINGCONDUCTOR_API UpdatePricingRuleResult() = default;
36
37
39
43 inline const Aws::String& GetArn() const { return m_arn; }
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>
47 UpdatePricingRuleResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
49
51
55 inline const Aws::String& GetName() const { return m_name; }
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>
59 UpdatePricingRuleResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
61
63
66 inline const Aws::String& GetDescription() const { return m_description; }
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>
70 UpdatePricingRuleResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
72
74
78 inline PricingRuleScope GetScope() const { return m_scope; }
79 inline void SetScope(PricingRuleScope value) { m_scopeHasBeenSet = true; m_scope = value; }
80 inline UpdatePricingRuleResult& WithScope(PricingRuleScope value) { SetScope(value); return *this;}
82
84
87 inline PricingRuleType GetType() const { return m_type; }
88 inline void SetType(PricingRuleType value) { m_typeHasBeenSet = true; m_type = value; }
89 inline UpdatePricingRuleResult& WithType(PricingRuleType value) { SetType(value); return *this;}
91
93
96 inline double GetModifierPercentage() const { return m_modifierPercentage; }
97 inline void SetModifierPercentage(double value) { m_modifierPercentageHasBeenSet = true; m_modifierPercentage = value; }
98 inline UpdatePricingRuleResult& WithModifierPercentage(double value) { SetModifierPercentage(value); return *this;}
100
102
107 inline const Aws::String& GetService() const { return m_service; }
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>
111 UpdatePricingRuleResult& WithService(ServiceT&& value) { SetService(std::forward<ServiceT>(value)); return *this;}
113
115
118 inline long long GetAssociatedPricingPlanCount() const { return m_associatedPricingPlanCount; }
119 inline void SetAssociatedPricingPlanCount(long long value) { m_associatedPricingPlanCountHasBeenSet = true; m_associatedPricingPlanCount = value; }
122
124
127 inline long long GetLastModifiedTime() const { return m_lastModifiedTime; }
128 inline void SetLastModifiedTime(long long value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
129 inline UpdatePricingRuleResult& WithLastModifiedTime(long long value) { SetLastModifiedTime(value); return *this;}
131
133
137 inline const Aws::String& GetBillingEntity() const { return m_billingEntity; }
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>
141 UpdatePricingRuleResult& WithBillingEntity(BillingEntityT&& value) { SetBillingEntity(std::forward<BillingEntityT>(value)); return *this;}
143
145
148 inline const UpdateTieringInput& GetTiering() const { return m_tiering; }
149 template<typename TieringT = UpdateTieringInput>
150 void SetTiering(TieringT&& value) { m_tieringHasBeenSet = true; m_tiering = std::forward<TieringT>(value); }
151 template<typename TieringT = UpdateTieringInput>
152 UpdatePricingRuleResult& WithTiering(TieringT&& value) { SetTiering(std::forward<TieringT>(value)); return *this;}
154
156
164 inline const Aws::String& GetUsageType() const { return m_usageType; }
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>
168 UpdatePricingRuleResult& WithUsageType(UsageTypeT&& value) { SetUsageType(std::forward<UsageTypeT>(value)); return *this;}
170
172
180 inline const Aws::String& GetOperation() const { return m_operation; }
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>
184 UpdatePricingRuleResult& WithOperation(OperationT&& value) { SetOperation(std::forward<OperationT>(value)); return *this;}
186
188
189 inline const Aws::String& GetRequestId() const { return m_requestId; }
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>
193 UpdatePricingRuleResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
195 private:
196
197 Aws::String m_arn;
198 bool m_arnHasBeenSet = false;
199
200 Aws::String m_name;
201 bool m_nameHasBeenSet = false;
202
203 Aws::String m_description;
204 bool m_descriptionHasBeenSet = false;
205
207 bool m_scopeHasBeenSet = false;
208
210 bool m_typeHasBeenSet = false;
211
212 double m_modifierPercentage{0.0};
213 bool m_modifierPercentageHasBeenSet = false;
214
215 Aws::String m_service;
216 bool m_serviceHasBeenSet = false;
217
218 long long m_associatedPricingPlanCount{0};
219 bool m_associatedPricingPlanCountHasBeenSet = false;
220
221 long long m_lastModifiedTime{0};
222 bool m_lastModifiedTimeHasBeenSet = false;
223
224 Aws::String m_billingEntity;
225 bool m_billingEntityHasBeenSet = false;
226
227 UpdateTieringInput m_tiering;
228 bool m_tieringHasBeenSet = false;
229
230 Aws::String m_usageType;
231 bool m_usageTypeHasBeenSet = false;
232
233 Aws::String m_operation;
234 bool m_operationHasBeenSet = false;
235
236 Aws::String m_requestId;
237 bool m_requestIdHasBeenSet = false;
238 };
239
240} // namespace Model
241} // namespace BillingConductor
242} // namespace Aws
UpdatePricingRuleResult & WithLastModifiedTime(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 & WithBillingEntity(BillingEntityT &&value)
UpdatePricingRuleResult & WithRequestId(RequestIdT &&value)
UpdatePricingRuleResult & WithModifierPercentage(double value)
UpdatePricingRuleResult & WithDescription(DescriptionT &&value)
UpdatePricingRuleResult & WithScope(PricingRuleScope value)
AWS_BILLINGCONDUCTOR_API UpdatePricingRuleResult()=default
UpdatePricingRuleResult & WithAssociatedPricingPlanCount(long long value)
UpdatePricingRuleResult & WithType(PricingRuleType value)
UpdatePricingRuleResult & WithService(ServiceT &&value)
UpdatePricingRuleResult & WithOperation(OperationT &&value)
AWS_BILLINGCONDUCTOR_API UpdatePricingRuleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue