AWS SDK for C++

AWS SDK for C++ Version 1.11.936

Loading...
Searching...
No Matches
CustomTier.h
1
6#pragma once
7#include <aws/billingconductor/BillingConductor_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace BillingConductor {
17namespace Model {
18
26 public:
27 AWS_BILLINGCONDUCTOR_API CustomTier() = default;
28 AWS_BILLINGCONDUCTOR_API CustomTier(Aws::Utils::Json::JsonView jsonValue);
29 AWS_BILLINGCONDUCTOR_API CustomTier& operator=(Aws::Utils::Json::JsonView jsonValue);
30 AWS_BILLINGCONDUCTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline double GetBeginRangeInclusive() const { return m_beginRangeInclusive; }
37 inline bool BeginRangeInclusiveHasBeenSet() const { return m_beginRangeInclusiveHasBeenSet; }
38 inline void SetBeginRangeInclusive(double value) {
39 m_beginRangeInclusiveHasBeenSet = true;
40 m_beginRangeInclusive = value;
41 }
42 inline CustomTier& WithBeginRangeInclusive(double value) {
44 return *this;
45 }
47
49
54 inline double GetEndRangeExclusive() const { return m_endRangeExclusive; }
55 inline bool EndRangeExclusiveHasBeenSet() const { return m_endRangeExclusiveHasBeenSet; }
56 inline void SetEndRangeExclusive(double value) {
57 m_endRangeExclusiveHasBeenSet = true;
58 m_endRangeExclusive = value;
59 }
60 inline CustomTier& WithEndRangeExclusive(double value) {
62 return *this;
63 }
65
67
70 inline double GetRateValue() const { return m_rateValue; }
71 inline bool RateValueHasBeenSet() const { return m_rateValueHasBeenSet; }
72 inline void SetRateValue(double value) {
73 m_rateValueHasBeenSet = true;
74 m_rateValue = value;
75 }
76 inline CustomTier& WithRateValue(double value) {
77 SetRateValue(value);
78 return *this;
79 }
81 private:
82 double m_beginRangeInclusive{0.0};
83
84 double m_endRangeExclusive{0.0};
85
86 double m_rateValue{0.0};
87 bool m_beginRangeInclusiveHasBeenSet = false;
88 bool m_endRangeExclusiveHasBeenSet = false;
89 bool m_rateValueHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace BillingConductor
94} // namespace Aws
CustomTier & WithRateValue(double value)
Definition CustomTier.h:76
AWS_BILLINGCONDUCTOR_API CustomTier & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomTier & WithEndRangeExclusive(double value)
Definition CustomTier.h:60
AWS_BILLINGCONDUCTOR_API CustomTier(Aws::Utils::Json::JsonView jsonValue)
AWS_BILLINGCONDUCTOR_API CustomTier()=default
AWS_BILLINGCONDUCTOR_API Aws::Utils::Json::JsonValue Jsonize() const
CustomTier & WithBeginRangeInclusive(double value)
Definition CustomTier.h:42
Aws::Utils::Json::JsonValue JsonValue