AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
36
37
39
43 inline const Aws::String& GetArn() const{ return m_arn; }
44 inline void SetArn(const Aws::String& value) { m_arn = value; }
45 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
46 inline void SetArn(const char* value) { m_arn.assign(value); }
47 inline UpdatePricingRuleResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
48 inline UpdatePricingRuleResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
49 inline UpdatePricingRuleResult& WithArn(const char* value) { SetArn(value); return *this;}
51
53
57 inline const Aws::String& GetName() const{ return m_name; }
58 inline void SetName(const Aws::String& value) { m_name = value; }
59 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
60 inline void SetName(const char* value) { m_name.assign(value); }
61 inline UpdatePricingRuleResult& WithName(const Aws::String& value) { SetName(value); return *this;}
62 inline UpdatePricingRuleResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
63 inline UpdatePricingRuleResult& WithName(const char* value) { SetName(value); return *this;}
65
67
70 inline const Aws::String& GetDescription() const{ return m_description; }
71 inline void SetDescription(const Aws::String& value) { m_description = value; }
72 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
73 inline void SetDescription(const char* value) { m_description.assign(value); }
74 inline UpdatePricingRuleResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
75 inline UpdatePricingRuleResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
76 inline UpdatePricingRuleResult& WithDescription(const char* value) { SetDescription(value); return *this;}
78
80
84 inline const PricingRuleScope& GetScope() const{ return m_scope; }
85 inline void SetScope(const PricingRuleScope& value) { m_scope = value; }
86 inline void SetScope(PricingRuleScope&& value) { m_scope = std::move(value); }
87 inline UpdatePricingRuleResult& WithScope(const PricingRuleScope& value) { SetScope(value); return *this;}
88 inline UpdatePricingRuleResult& WithScope(PricingRuleScope&& value) { SetScope(std::move(value)); return *this;}
90
92
95 inline const PricingRuleType& GetType() const{ return m_type; }
96 inline void SetType(const PricingRuleType& value) { m_type = value; }
97 inline void SetType(PricingRuleType&& value) { m_type = std::move(value); }
98 inline UpdatePricingRuleResult& WithType(const PricingRuleType& value) { SetType(value); return *this;}
99 inline UpdatePricingRuleResult& WithType(PricingRuleType&& value) { SetType(std::move(value)); return *this;}
101
103
106 inline double GetModifierPercentage() const{ return m_modifierPercentage; }
107 inline void SetModifierPercentage(double value) { m_modifierPercentage = value; }
108 inline UpdatePricingRuleResult& WithModifierPercentage(double value) { SetModifierPercentage(value); return *this;}
110
112
117 inline const Aws::String& GetService() const{ return m_service; }
118 inline void SetService(const Aws::String& value) { m_service = value; }
119 inline void SetService(Aws::String&& value) { m_service = std::move(value); }
120 inline void SetService(const char* value) { m_service.assign(value); }
121 inline UpdatePricingRuleResult& WithService(const Aws::String& value) { SetService(value); return *this;}
122 inline UpdatePricingRuleResult& WithService(Aws::String&& value) { SetService(std::move(value)); return *this;}
123 inline UpdatePricingRuleResult& WithService(const char* value) { SetService(value); return *this;}
125
127
130 inline long long GetAssociatedPricingPlanCount() const{ return m_associatedPricingPlanCount; }
131 inline void SetAssociatedPricingPlanCount(long long value) { m_associatedPricingPlanCount = value; }
134
136
139 inline long long GetLastModifiedTime() const{ return m_lastModifiedTime; }
140 inline void SetLastModifiedTime(long long value) { m_lastModifiedTime = value; }
141 inline UpdatePricingRuleResult& WithLastModifiedTime(long long value) { SetLastModifiedTime(value); return *this;}
143
145
149 inline const Aws::String& GetBillingEntity() const{ return m_billingEntity; }
150 inline void SetBillingEntity(const Aws::String& value) { m_billingEntity = value; }
151 inline void SetBillingEntity(Aws::String&& value) { m_billingEntity = std::move(value); }
152 inline void SetBillingEntity(const char* value) { m_billingEntity.assign(value); }
153 inline UpdatePricingRuleResult& WithBillingEntity(const Aws::String& value) { SetBillingEntity(value); return *this;}
154 inline UpdatePricingRuleResult& WithBillingEntity(Aws::String&& value) { SetBillingEntity(std::move(value)); return *this;}
155 inline UpdatePricingRuleResult& WithBillingEntity(const char* value) { SetBillingEntity(value); return *this;}
157
159
162 inline const UpdateTieringInput& GetTiering() const{ return m_tiering; }
163 inline void SetTiering(const UpdateTieringInput& value) { m_tiering = value; }
164 inline void SetTiering(UpdateTieringInput&& value) { m_tiering = std::move(value); }
165 inline UpdatePricingRuleResult& WithTiering(const UpdateTieringInput& value) { SetTiering(value); return *this;}
166 inline UpdatePricingRuleResult& WithTiering(UpdateTieringInput&& value) { SetTiering(std::move(value)); return *this;}
168
170
178 inline const Aws::String& GetUsageType() const{ return m_usageType; }
179 inline void SetUsageType(const Aws::String& value) { m_usageType = value; }
180 inline void SetUsageType(Aws::String&& value) { m_usageType = std::move(value); }
181 inline void SetUsageType(const char* value) { m_usageType.assign(value); }
182 inline UpdatePricingRuleResult& WithUsageType(const Aws::String& value) { SetUsageType(value); return *this;}
183 inline UpdatePricingRuleResult& WithUsageType(Aws::String&& value) { SetUsageType(std::move(value)); return *this;}
184 inline UpdatePricingRuleResult& WithUsageType(const char* value) { SetUsageType(value); return *this;}
186
188
196 inline const Aws::String& GetOperation() const{ return m_operation; }
197 inline void SetOperation(const Aws::String& value) { m_operation = value; }
198 inline void SetOperation(Aws::String&& value) { m_operation = std::move(value); }
199 inline void SetOperation(const char* value) { m_operation.assign(value); }
200 inline UpdatePricingRuleResult& WithOperation(const Aws::String& value) { SetOperation(value); return *this;}
201 inline UpdatePricingRuleResult& WithOperation(Aws::String&& value) { SetOperation(std::move(value)); return *this;}
202 inline UpdatePricingRuleResult& WithOperation(const char* value) { SetOperation(value); return *this;}
204
206
207 inline const Aws::String& GetRequestId() const{ return m_requestId; }
208 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
209 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
210 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
211 inline UpdatePricingRuleResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
212 inline UpdatePricingRuleResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
213 inline UpdatePricingRuleResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
215 private:
216
217 Aws::String m_arn;
218
219 Aws::String m_name;
220
221 Aws::String m_description;
222
223 PricingRuleScope m_scope;
224
225 PricingRuleType m_type;
226
227 double m_modifierPercentage;
228
229 Aws::String m_service;
230
231 long long m_associatedPricingPlanCount;
232
233 long long m_lastModifiedTime;
234
235 Aws::String m_billingEntity;
236
237 UpdateTieringInput m_tiering;
238
239 Aws::String m_usageType;
240
241 Aws::String m_operation;
242
243 Aws::String m_requestId;
244 };
245
246} // namespace Model
247} // namespace BillingConductor
248} // namespace Aws
UpdatePricingRuleResult & WithService(const char *value)
UpdatePricingRuleResult & WithTiering(const UpdateTieringInput &value)
UpdatePricingRuleResult & WithScope(const PricingRuleScope &value)
UpdatePricingRuleResult & WithArn(Aws::String &&value)
UpdatePricingRuleResult & WithBillingEntity(const Aws::String &value)
UpdatePricingRuleResult & WithName(const char *value)
UpdatePricingRuleResult & WithRequestId(const Aws::String &value)
UpdatePricingRuleResult & WithOperation(Aws::String &&value)
UpdatePricingRuleResult & WithLastModifiedTime(long long value)
UpdatePricingRuleResult & WithUsageType(const char *value)
UpdatePricingRuleResult & WithScope(PricingRuleScope &&value)
AWS_BILLINGCONDUCTOR_API UpdatePricingRuleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdatePricingRuleResult & WithDescription(Aws::String &&value)
UpdatePricingRuleResult & WithDescription(const Aws::String &value)
UpdatePricingRuleResult & WithOperation(const Aws::String &value)
UpdatePricingRuleResult & WithService(const Aws::String &value)
UpdatePricingRuleResult & WithName(Aws::String &&value)
UpdatePricingRuleResult & WithDescription(const char *value)
UpdatePricingRuleResult & WithModifierPercentage(double value)
UpdatePricingRuleResult & WithOperation(const char *value)
UpdatePricingRuleResult & WithBillingEntity(Aws::String &&value)
UpdatePricingRuleResult & WithArn(const char *value)
UpdatePricingRuleResult & WithUsageType(Aws::String &&value)
UpdatePricingRuleResult & WithRequestId(Aws::String &&value)
UpdatePricingRuleResult & WithArn(const Aws::String &value)
UpdatePricingRuleResult & WithType(PricingRuleType &&value)
UpdatePricingRuleResult & WithAssociatedPricingPlanCount(long long value)
UpdatePricingRuleResult & WithRequestId(const char *value)
UpdatePricingRuleResult & WithUsageType(const Aws::String &value)
UpdatePricingRuleResult & WithService(Aws::String &&value)
UpdatePricingRuleResult & WithType(const PricingRuleType &value)
AWS_BILLINGCONDUCTOR_API UpdatePricingRuleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdatePricingRuleResult & WithBillingEntity(const char *value)
UpdatePricingRuleResult & WithName(const Aws::String &value)
UpdatePricingRuleResult & WithTiering(UpdateTieringInput &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue