AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
AcceptedTerm.h
1
6#pragma once
7#include <aws/marketplace-agreement/AgreementService_EXPORTS.h>
8#include <aws/marketplace-agreement/model/ByolPricingTerm.h>
9#include <aws/marketplace-agreement/model/ConfigurableUpfrontPricingTerm.h>
10#include <aws/marketplace-agreement/model/FixedUpfrontPricingTerm.h>
11#include <aws/marketplace-agreement/model/FreeTrialPricingTerm.h>
12#include <aws/marketplace-agreement/model/LegalTerm.h>
13#include <aws/marketplace-agreement/model/PaymentScheduleTerm.h>
14#include <aws/marketplace-agreement/model/RecurringPaymentTerm.h>
15#include <aws/marketplace-agreement/model/RenewalTerm.h>
16#include <aws/marketplace-agreement/model/SupportTerm.h>
17#include <aws/marketplace-agreement/model/UsageBasedPricingTerm.h>
18#include <aws/marketplace-agreement/model/ValidityTerm.h>
19#include <utility>
20
21namespace Aws
22{
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28 class JsonView;
29} // namespace Json
30} // namespace Utils
31namespace AgreementService
32{
33namespace Model
34{
35
43 {
44 public:
45 AWS_AGREEMENTSERVICE_API AcceptedTerm() = default;
46 AWS_AGREEMENTSERVICE_API AcceptedTerm(Aws::Utils::Json::JsonView jsonValue);
47 AWS_AGREEMENTSERVICE_API AcceptedTerm& operator=(Aws::Utils::Json::JsonView jsonValue);
48 AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
57 inline const ByolPricingTerm& GetByolPricingTerm() const { return m_byolPricingTerm; }
58 inline bool ByolPricingTermHasBeenSet() const { return m_byolPricingTermHasBeenSet; }
59 template<typename ByolPricingTermT = ByolPricingTerm>
60 void SetByolPricingTerm(ByolPricingTermT&& value) { m_byolPricingTermHasBeenSet = true; m_byolPricingTerm = std::forward<ByolPricingTermT>(value); }
61 template<typename ByolPricingTermT = ByolPricingTerm>
62 AcceptedTerm& WithByolPricingTerm(ByolPricingTermT&& value) { SetByolPricingTerm(std::forward<ByolPricingTermT>(value)); return *this;}
64
66
70 inline const ConfigurableUpfrontPricingTerm& GetConfigurableUpfrontPricingTerm() const { return m_configurableUpfrontPricingTerm; }
71 inline bool ConfigurableUpfrontPricingTermHasBeenSet() const { return m_configurableUpfrontPricingTermHasBeenSet; }
72 template<typename ConfigurableUpfrontPricingTermT = ConfigurableUpfrontPricingTerm>
73 void SetConfigurableUpfrontPricingTerm(ConfigurableUpfrontPricingTermT&& value) { m_configurableUpfrontPricingTermHasBeenSet = true; m_configurableUpfrontPricingTerm = std::forward<ConfigurableUpfrontPricingTermT>(value); }
74 template<typename ConfigurableUpfrontPricingTermT = ConfigurableUpfrontPricingTerm>
75 AcceptedTerm& WithConfigurableUpfrontPricingTerm(ConfigurableUpfrontPricingTermT&& value) { SetConfigurableUpfrontPricingTerm(std::forward<ConfigurableUpfrontPricingTermT>(value)); return *this;}
77
79
83 inline const FixedUpfrontPricingTerm& GetFixedUpfrontPricingTerm() const { return m_fixedUpfrontPricingTerm; }
84 inline bool FixedUpfrontPricingTermHasBeenSet() const { return m_fixedUpfrontPricingTermHasBeenSet; }
85 template<typename FixedUpfrontPricingTermT = FixedUpfrontPricingTerm>
86 void SetFixedUpfrontPricingTerm(FixedUpfrontPricingTermT&& value) { m_fixedUpfrontPricingTermHasBeenSet = true; m_fixedUpfrontPricingTerm = std::forward<FixedUpfrontPricingTermT>(value); }
87 template<typename FixedUpfrontPricingTermT = FixedUpfrontPricingTerm>
88 AcceptedTerm& WithFixedUpfrontPricingTerm(FixedUpfrontPricingTermT&& value) { SetFixedUpfrontPricingTerm(std::forward<FixedUpfrontPricingTermT>(value)); return *this;}
90
92
96 inline const FreeTrialPricingTerm& GetFreeTrialPricingTerm() const { return m_freeTrialPricingTerm; }
97 inline bool FreeTrialPricingTermHasBeenSet() const { return m_freeTrialPricingTermHasBeenSet; }
98 template<typename FreeTrialPricingTermT = FreeTrialPricingTerm>
99 void SetFreeTrialPricingTerm(FreeTrialPricingTermT&& value) { m_freeTrialPricingTermHasBeenSet = true; m_freeTrialPricingTerm = std::forward<FreeTrialPricingTermT>(value); }
100 template<typename FreeTrialPricingTermT = FreeTrialPricingTerm>
101 AcceptedTerm& WithFreeTrialPricingTerm(FreeTrialPricingTermT&& value) { SetFreeTrialPricingTerm(std::forward<FreeTrialPricingTermT>(value)); return *this;}
103
105
109 inline const LegalTerm& GetLegalTerm() const { return m_legalTerm; }
110 inline bool LegalTermHasBeenSet() const { return m_legalTermHasBeenSet; }
111 template<typename LegalTermT = LegalTerm>
112 void SetLegalTerm(LegalTermT&& value) { m_legalTermHasBeenSet = true; m_legalTerm = std::forward<LegalTermT>(value); }
113 template<typename LegalTermT = LegalTerm>
114 AcceptedTerm& WithLegalTerm(LegalTermT&& value) { SetLegalTerm(std::forward<LegalTermT>(value)); return *this;}
116
118
123 inline const PaymentScheduleTerm& GetPaymentScheduleTerm() const { return m_paymentScheduleTerm; }
124 inline bool PaymentScheduleTermHasBeenSet() const { return m_paymentScheduleTermHasBeenSet; }
125 template<typename PaymentScheduleTermT = PaymentScheduleTerm>
126 void SetPaymentScheduleTerm(PaymentScheduleTermT&& value) { m_paymentScheduleTermHasBeenSet = true; m_paymentScheduleTerm = std::forward<PaymentScheduleTermT>(value); }
127 template<typename PaymentScheduleTermT = PaymentScheduleTerm>
128 AcceptedTerm& WithPaymentScheduleTerm(PaymentScheduleTermT&& value) { SetPaymentScheduleTerm(std::forward<PaymentScheduleTermT>(value)); return *this;}
130
132
136 inline const RecurringPaymentTerm& GetRecurringPaymentTerm() const { return m_recurringPaymentTerm; }
137 inline bool RecurringPaymentTermHasBeenSet() const { return m_recurringPaymentTermHasBeenSet; }
138 template<typename RecurringPaymentTermT = RecurringPaymentTerm>
139 void SetRecurringPaymentTerm(RecurringPaymentTermT&& value) { m_recurringPaymentTermHasBeenSet = true; m_recurringPaymentTerm = std::forward<RecurringPaymentTermT>(value); }
140 template<typename RecurringPaymentTermT = RecurringPaymentTerm>
141 AcceptedTerm& WithRecurringPaymentTerm(RecurringPaymentTermT&& value) { SetRecurringPaymentTerm(std::forward<RecurringPaymentTermT>(value)); return *this;}
143
145
155 inline const RenewalTerm& GetRenewalTerm() const { return m_renewalTerm; }
156 inline bool RenewalTermHasBeenSet() const { return m_renewalTermHasBeenSet; }
157 template<typename RenewalTermT = RenewalTerm>
158 void SetRenewalTerm(RenewalTermT&& value) { m_renewalTermHasBeenSet = true; m_renewalTerm = std::forward<RenewalTermT>(value); }
159 template<typename RenewalTermT = RenewalTerm>
160 AcceptedTerm& WithRenewalTerm(RenewalTermT&& value) { SetRenewalTerm(std::forward<RenewalTermT>(value)); return *this;}
162
164
168 inline const SupportTerm& GetSupportTerm() const { return m_supportTerm; }
169 inline bool SupportTermHasBeenSet() const { return m_supportTermHasBeenSet; }
170 template<typename SupportTermT = SupportTerm>
171 void SetSupportTerm(SupportTermT&& value) { m_supportTermHasBeenSet = true; m_supportTerm = std::forward<SupportTermT>(value); }
172 template<typename SupportTermT = SupportTerm>
173 AcceptedTerm& WithSupportTerm(SupportTermT&& value) { SetSupportTerm(std::forward<SupportTermT>(value)); return *this;}
175
177
181 inline const UsageBasedPricingTerm& GetUsageBasedPricingTerm() const { return m_usageBasedPricingTerm; }
182 inline bool UsageBasedPricingTermHasBeenSet() const { return m_usageBasedPricingTermHasBeenSet; }
183 template<typename UsageBasedPricingTermT = UsageBasedPricingTerm>
184 void SetUsageBasedPricingTerm(UsageBasedPricingTermT&& value) { m_usageBasedPricingTermHasBeenSet = true; m_usageBasedPricingTerm = std::forward<UsageBasedPricingTermT>(value); }
185 template<typename UsageBasedPricingTermT = UsageBasedPricingTerm>
186 AcceptedTerm& WithUsageBasedPricingTerm(UsageBasedPricingTermT&& value) { SetUsageBasedPricingTerm(std::forward<UsageBasedPricingTermT>(value)); return *this;}
188
190
194 inline const ValidityTerm& GetValidityTerm() const { return m_validityTerm; }
195 inline bool ValidityTermHasBeenSet() const { return m_validityTermHasBeenSet; }
196 template<typename ValidityTermT = ValidityTerm>
197 void SetValidityTerm(ValidityTermT&& value) { m_validityTermHasBeenSet = true; m_validityTerm = std::forward<ValidityTermT>(value); }
198 template<typename ValidityTermT = ValidityTerm>
199 AcceptedTerm& WithValidityTerm(ValidityTermT&& value) { SetValidityTerm(std::forward<ValidityTermT>(value)); return *this;}
201 private:
202
203 ByolPricingTerm m_byolPricingTerm;
204 bool m_byolPricingTermHasBeenSet = false;
205
206 ConfigurableUpfrontPricingTerm m_configurableUpfrontPricingTerm;
207 bool m_configurableUpfrontPricingTermHasBeenSet = false;
208
209 FixedUpfrontPricingTerm m_fixedUpfrontPricingTerm;
210 bool m_fixedUpfrontPricingTermHasBeenSet = false;
211
212 FreeTrialPricingTerm m_freeTrialPricingTerm;
213 bool m_freeTrialPricingTermHasBeenSet = false;
214
215 LegalTerm m_legalTerm;
216 bool m_legalTermHasBeenSet = false;
217
218 PaymentScheduleTerm m_paymentScheduleTerm;
219 bool m_paymentScheduleTermHasBeenSet = false;
220
221 RecurringPaymentTerm m_recurringPaymentTerm;
222 bool m_recurringPaymentTermHasBeenSet = false;
223
224 RenewalTerm m_renewalTerm;
225 bool m_renewalTermHasBeenSet = false;
226
227 SupportTerm m_supportTerm;
228 bool m_supportTermHasBeenSet = false;
229
230 UsageBasedPricingTerm m_usageBasedPricingTerm;
231 bool m_usageBasedPricingTermHasBeenSet = false;
232
233 ValidityTerm m_validityTerm;
234 bool m_validityTermHasBeenSet = false;
235 };
236
237} // namespace Model
238} // namespace AgreementService
239} // namespace Aws
const RenewalTerm & GetRenewalTerm() const
const UsageBasedPricingTerm & GetUsageBasedPricingTerm() const
AcceptedTerm & WithFreeTrialPricingTerm(FreeTrialPricingTermT &&value)
const RecurringPaymentTerm & GetRecurringPaymentTerm() const
AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const ByolPricingTerm & GetByolPricingTerm() const
AcceptedTerm & WithLegalTerm(LegalTermT &&value)
void SetUsageBasedPricingTerm(UsageBasedPricingTermT &&value)
void SetPaymentScheduleTerm(PaymentScheduleTermT &&value)
AcceptedTerm & WithPaymentScheduleTerm(PaymentScheduleTermT &&value)
void SetValidityTerm(ValidityTermT &&value)
void SetFixedUpfrontPricingTerm(FixedUpfrontPricingTermT &&value)
AcceptedTerm & WithSupportTerm(SupportTermT &&value)
const FixedUpfrontPricingTerm & GetFixedUpfrontPricingTerm() const
AcceptedTerm & WithRenewalTerm(RenewalTermT &&value)
AWS_AGREEMENTSERVICE_API AcceptedTerm()=default
AcceptedTerm & WithUsageBasedPricingTerm(UsageBasedPricingTermT &&value)
AcceptedTerm & WithRecurringPaymentTerm(RecurringPaymentTermT &&value)
AWS_AGREEMENTSERVICE_API AcceptedTerm & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetByolPricingTerm(ByolPricingTermT &&value)
const ConfigurableUpfrontPricingTerm & GetConfigurableUpfrontPricingTerm() const
void SetFreeTrialPricingTerm(FreeTrialPricingTermT &&value)
void SetRenewalTerm(RenewalTermT &&value)
AWS_AGREEMENTSERVICE_API AcceptedTerm(Aws::Utils::Json::JsonView jsonValue)
const ValidityTerm & GetValidityTerm() const
AcceptedTerm & WithValidityTerm(ValidityTermT &&value)
void SetConfigurableUpfrontPricingTerm(ConfigurableUpfrontPricingTermT &&value)
AcceptedTerm & WithConfigurableUpfrontPricingTerm(ConfigurableUpfrontPricingTermT &&value)
void SetSupportTerm(SupportTermT &&value)
const FreeTrialPricingTerm & GetFreeTrialPricingTerm() const
AcceptedTerm & WithByolPricingTerm(ByolPricingTermT &&value)
void SetRecurringPaymentTerm(RecurringPaymentTermT &&value)
const PaymentScheduleTerm & GetPaymentScheduleTerm() const
AcceptedTerm & WithFixedUpfrontPricingTerm(FixedUpfrontPricingTermT &&value)
const SupportTerm & GetSupportTerm() const
Aws::Utils::Json::JsonValue JsonValue