AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PricingPlan.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/iottwinmaker/model/BundleInformation.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/iottwinmaker/model/PricingMode.h>
11#include <aws/iottwinmaker/model/UpdateReason.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace IoTTwinMaker
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_IOTTWINMAKER_API PricingPlan();
38 AWS_IOTTWINMAKER_API PricingPlan(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTTWINMAKER_API PricingPlan& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline long long GetBillableEntityCount() const{ return m_billableEntityCount; }
48 inline bool BillableEntityCountHasBeenSet() const { return m_billableEntityCountHasBeenSet; }
49 inline void SetBillableEntityCount(long long value) { m_billableEntityCountHasBeenSet = true; m_billableEntityCount = value; }
50 inline PricingPlan& WithBillableEntityCount(long long value) { SetBillableEntityCount(value); return *this;}
52
54
57 inline const BundleInformation& GetBundleInformation() const{ return m_bundleInformation; }
58 inline bool BundleInformationHasBeenSet() const { return m_bundleInformationHasBeenSet; }
59 inline void SetBundleInformation(const BundleInformation& value) { m_bundleInformationHasBeenSet = true; m_bundleInformation = value; }
60 inline void SetBundleInformation(BundleInformation&& value) { m_bundleInformationHasBeenSet = true; m_bundleInformation = std::move(value); }
61 inline PricingPlan& WithBundleInformation(const BundleInformation& value) { SetBundleInformation(value); return *this;}
62 inline PricingPlan& WithBundleInformation(BundleInformation&& value) { SetBundleInformation(std::move(value)); return *this;}
64
66
69 inline const Aws::Utils::DateTime& GetEffectiveDateTime() const{ return m_effectiveDateTime; }
70 inline bool EffectiveDateTimeHasBeenSet() const { return m_effectiveDateTimeHasBeenSet; }
71 inline void SetEffectiveDateTime(const Aws::Utils::DateTime& value) { m_effectiveDateTimeHasBeenSet = true; m_effectiveDateTime = value; }
72 inline void SetEffectiveDateTime(Aws::Utils::DateTime&& value) { m_effectiveDateTimeHasBeenSet = true; m_effectiveDateTime = std::move(value); }
73 inline PricingPlan& WithEffectiveDateTime(const Aws::Utils::DateTime& value) { SetEffectiveDateTime(value); return *this;}
74 inline PricingPlan& WithEffectiveDateTime(Aws::Utils::DateTime&& value) { SetEffectiveDateTime(std::move(value)); return *this;}
76
78
81 inline const PricingMode& GetPricingMode() const{ return m_pricingMode; }
82 inline bool PricingModeHasBeenSet() const { return m_pricingModeHasBeenSet; }
83 inline void SetPricingMode(const PricingMode& value) { m_pricingModeHasBeenSet = true; m_pricingMode = value; }
84 inline void SetPricingMode(PricingMode&& value) { m_pricingModeHasBeenSet = true; m_pricingMode = std::move(value); }
85 inline PricingPlan& WithPricingMode(const PricingMode& value) { SetPricingMode(value); return *this;}
86 inline PricingPlan& WithPricingMode(PricingMode&& value) { SetPricingMode(std::move(value)); return *this;}
88
90
93 inline const Aws::Utils::DateTime& GetUpdateDateTime() const{ return m_updateDateTime; }
94 inline bool UpdateDateTimeHasBeenSet() const { return m_updateDateTimeHasBeenSet; }
95 inline void SetUpdateDateTime(const Aws::Utils::DateTime& value) { m_updateDateTimeHasBeenSet = true; m_updateDateTime = value; }
96 inline void SetUpdateDateTime(Aws::Utils::DateTime&& value) { m_updateDateTimeHasBeenSet = true; m_updateDateTime = std::move(value); }
97 inline PricingPlan& WithUpdateDateTime(const Aws::Utils::DateTime& value) { SetUpdateDateTime(value); return *this;}
98 inline PricingPlan& WithUpdateDateTime(Aws::Utils::DateTime&& value) { SetUpdateDateTime(std::move(value)); return *this;}
100
102
105 inline const UpdateReason& GetUpdateReason() const{ return m_updateReason; }
106 inline bool UpdateReasonHasBeenSet() const { return m_updateReasonHasBeenSet; }
107 inline void SetUpdateReason(const UpdateReason& value) { m_updateReasonHasBeenSet = true; m_updateReason = value; }
108 inline void SetUpdateReason(UpdateReason&& value) { m_updateReasonHasBeenSet = true; m_updateReason = std::move(value); }
109 inline PricingPlan& WithUpdateReason(const UpdateReason& value) { SetUpdateReason(value); return *this;}
110 inline PricingPlan& WithUpdateReason(UpdateReason&& value) { SetUpdateReason(std::move(value)); return *this;}
112 private:
113
114 long long m_billableEntityCount;
115 bool m_billableEntityCountHasBeenSet = false;
116
117 BundleInformation m_bundleInformation;
118 bool m_bundleInformationHasBeenSet = false;
119
120 Aws::Utils::DateTime m_effectiveDateTime;
121 bool m_effectiveDateTimeHasBeenSet = false;
122
123 PricingMode m_pricingMode;
124 bool m_pricingModeHasBeenSet = false;
125
126 Aws::Utils::DateTime m_updateDateTime;
127 bool m_updateDateTimeHasBeenSet = false;
128
129 UpdateReason m_updateReason;
130 bool m_updateReasonHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace IoTTwinMaker
135} // namespace Aws
const Aws::Utils::DateTime & GetUpdateDateTime() const
Definition PricingPlan.h:93
void SetEffectiveDateTime(Aws::Utils::DateTime &&value)
Definition PricingPlan.h:72
PricingPlan & WithBundleInformation(BundleInformation &&value)
Definition PricingPlan.h:62
void SetPricingMode(PricingMode &&value)
Definition PricingPlan.h:84
void SetPricingMode(const PricingMode &value)
Definition PricingPlan.h:83
PricingPlan & WithEffectiveDateTime(Aws::Utils::DateTime &&value)
Definition PricingPlan.h:74
AWS_IOTTWINMAKER_API PricingPlan & operator=(Aws::Utils::Json::JsonView jsonValue)
PricingPlan & WithUpdateDateTime(Aws::Utils::DateTime &&value)
Definition PricingPlan.h:98
AWS_IOTTWINMAKER_API PricingPlan(Aws::Utils::Json::JsonView jsonValue)
void SetEffectiveDateTime(const Aws::Utils::DateTime &value)
Definition PricingPlan.h:71
PricingPlan & WithEffectiveDateTime(const Aws::Utils::DateTime &value)
Definition PricingPlan.h:73
PricingPlan & WithBundleInformation(const BundleInformation &value)
Definition PricingPlan.h:61
void SetUpdateDateTime(Aws::Utils::DateTime &&value)
Definition PricingPlan.h:96
PricingPlan & WithUpdateReason(const UpdateReason &value)
void SetBillableEntityCount(long long value)
Definition PricingPlan.h:49
void SetUpdateDateTime(const Aws::Utils::DateTime &value)
Definition PricingPlan.h:95
void SetUpdateReason(const UpdateReason &value)
PricingPlan & WithPricingMode(const PricingMode &value)
Definition PricingPlan.h:85
const Aws::Utils::DateTime & GetEffectiveDateTime() const
Definition PricingPlan.h:69
const BundleInformation & GetBundleInformation() const
Definition PricingPlan.h:57
PricingPlan & WithBillableEntityCount(long long value)
Definition PricingPlan.h:50
void SetUpdateReason(UpdateReason &&value)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const UpdateReason & GetUpdateReason() const
AWS_IOTTWINMAKER_API PricingPlan()
PricingPlan & WithUpdateDateTime(const Aws::Utils::DateTime &value)
Definition PricingPlan.h:97
PricingPlan & WithUpdateReason(UpdateReason &&value)
const PricingMode & GetPricingMode() const
Definition PricingPlan.h:81
PricingPlan & WithPricingMode(PricingMode &&value)
Definition PricingPlan.h:86
void SetBundleInformation(const BundleInformation &value)
Definition PricingPlan.h:59
void SetBundleInformation(BundleInformation &&value)
Definition PricingPlan.h:60
Aws::Utils::Json::JsonValue JsonValue