AWS SDK for C++

AWS SDK for C++ Version 1.11.936

Loading...
Searching...
No Matches
UpdatePricingRuleResult.h
1
6#pragma once
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>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace BillingConductor {
26namespace Model {
28 public:
29 AWS_BILLINGCONDUCTOR_API UpdatePricingRuleResult() = default;
32
34
38 inline const Aws::String& GetArn() const { return m_arn; }
39 template <typename ArnT = Aws::String>
40 void SetArn(ArnT&& value) {
41 m_arnHasBeenSet = true;
42 m_arn = std::forward<ArnT>(value);
43 }
44 template <typename ArnT = Aws::String>
46 SetArn(std::forward<ArnT>(value));
47 return *this;
48 }
50
52
56 inline const Aws::String& GetName() const { return m_name; }
57 template <typename NameT = Aws::String>
58 void SetName(NameT&& value) {
59 m_nameHasBeenSet = true;
60 m_name = std::forward<NameT>(value);
61 }
62 template <typename NameT = Aws::String>
64 SetName(std::forward<NameT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetDescription() const { return m_description; }
74 template <typename DescriptionT = Aws::String>
75 void SetDescription(DescriptionT&& value) {
76 m_descriptionHasBeenSet = true;
77 m_description = std::forward<DescriptionT>(value);
78 }
79 template <typename DescriptionT = Aws::String>
81 SetDescription(std::forward<DescriptionT>(value));
82 return *this;
83 }
85
87
91 inline PricingRuleScope GetScope() const { return m_scope; }
92 inline void SetScope(PricingRuleScope value) {
93 m_scopeHasBeenSet = true;
94 m_scope = value;
95 }
97 SetScope(value);
98 return *this;
99 }
101
103
106 inline PricingRuleType GetType() const { return m_type; }
107 inline void SetType(PricingRuleType value) {
108 m_typeHasBeenSet = true;
109 m_type = value;
110 }
112 SetType(value);
113 return *this;
114 }
116
118
121 inline double GetModifierPercentage() const { return m_modifierPercentage; }
122 inline void SetModifierPercentage(double value) {
123 m_modifierPercentageHasBeenSet = true;
124 m_modifierPercentage = value;
125 }
128 return *this;
129 }
131
133
138 inline const Aws::String& GetService() const { return m_service; }
139 template <typename ServiceT = Aws::String>
140 void SetService(ServiceT&& value) {
141 m_serviceHasBeenSet = true;
142 m_service = std::forward<ServiceT>(value);
143 }
144 template <typename ServiceT = Aws::String>
146 SetService(std::forward<ServiceT>(value));
147 return *this;
148 }
150
152
155 inline long long GetAssociatedPricingPlanCount() const { return m_associatedPricingPlanCount; }
156 inline void SetAssociatedPricingPlanCount(long long value) {
157 m_associatedPricingPlanCountHasBeenSet = true;
158 m_associatedPricingPlanCount = value;
159 }
162 return *this;
163 }
165
167
170 inline long long GetLastModifiedTime() const { return m_lastModifiedTime; }
171 inline void SetLastModifiedTime(long long value) {
172 m_lastModifiedTimeHasBeenSet = true;
173 m_lastModifiedTime = value;
174 }
176 SetLastModifiedTime(value);
177 return *this;
178 }
180
182
186 inline const Aws::String& GetBillingEntity() const { return m_billingEntity; }
187 template <typename BillingEntityT = Aws::String>
188 void SetBillingEntity(BillingEntityT&& value) {
189 m_billingEntityHasBeenSet = true;
190 m_billingEntity = std::forward<BillingEntityT>(value);
191 }
192 template <typename BillingEntityT = Aws::String>
194 SetBillingEntity(std::forward<BillingEntityT>(value));
195 return *this;
196 }
198
200
203 inline const UpdateTieringInput& GetTiering() const { return m_tiering; }
204 template <typename TieringT = UpdateTieringInput>
205 void SetTiering(TieringT&& value) {
206 m_tieringHasBeenSet = true;
207 m_tiering = std::forward<TieringT>(value);
208 }
209 template <typename TieringT = UpdateTieringInput>
211 SetTiering(std::forward<TieringT>(value));
212 return *this;
213 }
215
217
225 inline const Aws::String& GetUsageType() const { return m_usageType; }
226 template <typename UsageTypeT = Aws::String>
227 void SetUsageType(UsageTypeT&& value) {
228 m_usageTypeHasBeenSet = true;
229 m_usageType = std::forward<UsageTypeT>(value);
230 }
231 template <typename UsageTypeT = Aws::String>
233 SetUsageType(std::forward<UsageTypeT>(value));
234 return *this;
235 }
237
239
247 inline const Aws::String& GetOperation() const { return m_operation; }
248 template <typename OperationT = Aws::String>
249 void SetOperation(OperationT&& value) {
250 m_operationHasBeenSet = true;
251 m_operation = std::forward<OperationT>(value);
252 }
253 template <typename OperationT = Aws::String>
255 SetOperation(std::forward<OperationT>(value));
256 return *this;
257 }
259
261
262 inline const Aws::String& GetRequestId() const { return m_requestId; }
263 template <typename RequestIdT = Aws::String>
264 void SetRequestId(RequestIdT&& value) {
265 m_requestIdHasBeenSet = true;
266 m_requestId = std::forward<RequestIdT>(value);
267 }
268 template <typename RequestIdT = Aws::String>
270 SetRequestId(std::forward<RequestIdT>(value));
271 return *this;
272 }
274 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
275
276 private:
277 Aws::String m_arn;
278
279 Aws::String m_name;
280
281 Aws::String m_description;
282
284
286
287 double m_modifierPercentage{0.0};
288
289 Aws::String m_service;
290
291 long long m_associatedPricingPlanCount{0};
292
293 long long m_lastModifiedTime{0};
294
295 Aws::String m_billingEntity;
296
297 UpdateTieringInput m_tiering;
298
299 Aws::String m_usageType;
300
301 Aws::String m_operation;
302
303 Aws::String m_requestId;
304 Aws::Http::HttpResponseCode m_HttpResponseCode;
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;
319};
320
321} // namespace Model
322} // namespace BillingConductor
323} // 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