AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetByolPricingTerm(const ByolPricingTerm& value) { m_byolPricingTermHasBeenSet = true; m_byolPricingTerm = value; }
60 inline void SetByolPricingTerm(ByolPricingTerm&& value) { m_byolPricingTermHasBeenSet = true; m_byolPricingTerm = std::move(value); }
61 inline AcceptedTerm& WithByolPricingTerm(const ByolPricingTerm& value) { SetByolPricingTerm(value); return *this;}
62 inline AcceptedTerm& WithByolPricingTerm(ByolPricingTerm&& value) { SetByolPricingTerm(std::move(value)); return *this;}
64
66
70 inline const ConfigurableUpfrontPricingTerm& GetConfigurableUpfrontPricingTerm() const{ return m_configurableUpfrontPricingTerm; }
71 inline bool ConfigurableUpfrontPricingTermHasBeenSet() const { return m_configurableUpfrontPricingTermHasBeenSet; }
72 inline void SetConfigurableUpfrontPricingTerm(const ConfigurableUpfrontPricingTerm& value) { m_configurableUpfrontPricingTermHasBeenSet = true; m_configurableUpfrontPricingTerm = value; }
73 inline void SetConfigurableUpfrontPricingTerm(ConfigurableUpfrontPricingTerm&& value) { m_configurableUpfrontPricingTermHasBeenSet = true; m_configurableUpfrontPricingTerm = std::move(value); }
77
79
83 inline const FixedUpfrontPricingTerm& GetFixedUpfrontPricingTerm() const{ return m_fixedUpfrontPricingTerm; }
84 inline bool FixedUpfrontPricingTermHasBeenSet() const { return m_fixedUpfrontPricingTermHasBeenSet; }
85 inline void SetFixedUpfrontPricingTerm(const FixedUpfrontPricingTerm& value) { m_fixedUpfrontPricingTermHasBeenSet = true; m_fixedUpfrontPricingTerm = value; }
86 inline void SetFixedUpfrontPricingTerm(FixedUpfrontPricingTerm&& value) { m_fixedUpfrontPricingTermHasBeenSet = true; m_fixedUpfrontPricingTerm = std::move(value); }
90
92
96 inline const FreeTrialPricingTerm& GetFreeTrialPricingTerm() const{ return m_freeTrialPricingTerm; }
97 inline bool FreeTrialPricingTermHasBeenSet() const { return m_freeTrialPricingTermHasBeenSet; }
98 inline void SetFreeTrialPricingTerm(const FreeTrialPricingTerm& value) { m_freeTrialPricingTermHasBeenSet = true; m_freeTrialPricingTerm = value; }
99 inline void SetFreeTrialPricingTerm(FreeTrialPricingTerm&& value) { m_freeTrialPricingTermHasBeenSet = true; m_freeTrialPricingTerm = std::move(value); }
101 inline AcceptedTerm& WithFreeTrialPricingTerm(FreeTrialPricingTerm&& value) { SetFreeTrialPricingTerm(std::move(value)); return *this;}
103
105
109 inline const LegalTerm& GetLegalTerm() const{ return m_legalTerm; }
110 inline bool LegalTermHasBeenSet() const { return m_legalTermHasBeenSet; }
111 inline void SetLegalTerm(const LegalTerm& value) { m_legalTermHasBeenSet = true; m_legalTerm = value; }
112 inline void SetLegalTerm(LegalTerm&& value) { m_legalTermHasBeenSet = true; m_legalTerm = std::move(value); }
113 inline AcceptedTerm& WithLegalTerm(const LegalTerm& value) { SetLegalTerm(value); return *this;}
114 inline AcceptedTerm& WithLegalTerm(LegalTerm&& value) { SetLegalTerm(std::move(value)); return *this;}
116
118
123 inline const PaymentScheduleTerm& GetPaymentScheduleTerm() const{ return m_paymentScheduleTerm; }
124 inline bool PaymentScheduleTermHasBeenSet() const { return m_paymentScheduleTermHasBeenSet; }
125 inline void SetPaymentScheduleTerm(const PaymentScheduleTerm& value) { m_paymentScheduleTermHasBeenSet = true; m_paymentScheduleTerm = value; }
126 inline void SetPaymentScheduleTerm(PaymentScheduleTerm&& value) { m_paymentScheduleTermHasBeenSet = true; m_paymentScheduleTerm = std::move(value); }
128 inline AcceptedTerm& WithPaymentScheduleTerm(PaymentScheduleTerm&& value) { SetPaymentScheduleTerm(std::move(value)); return *this;}
130
132
136 inline const RecurringPaymentTerm& GetRecurringPaymentTerm() const{ return m_recurringPaymentTerm; }
137 inline bool RecurringPaymentTermHasBeenSet() const { return m_recurringPaymentTermHasBeenSet; }
138 inline void SetRecurringPaymentTerm(const RecurringPaymentTerm& value) { m_recurringPaymentTermHasBeenSet = true; m_recurringPaymentTerm = value; }
139 inline void SetRecurringPaymentTerm(RecurringPaymentTerm&& value) { m_recurringPaymentTermHasBeenSet = true; m_recurringPaymentTerm = std::move(value); }
141 inline AcceptedTerm& WithRecurringPaymentTerm(RecurringPaymentTerm&& value) { SetRecurringPaymentTerm(std::move(value)); return *this;}
143
145
155 inline const RenewalTerm& GetRenewalTerm() const{ return m_renewalTerm; }
156 inline bool RenewalTermHasBeenSet() const { return m_renewalTermHasBeenSet; }
157 inline void SetRenewalTerm(const RenewalTerm& value) { m_renewalTermHasBeenSet = true; m_renewalTerm = value; }
158 inline void SetRenewalTerm(RenewalTerm&& value) { m_renewalTermHasBeenSet = true; m_renewalTerm = std::move(value); }
159 inline AcceptedTerm& WithRenewalTerm(const RenewalTerm& value) { SetRenewalTerm(value); return *this;}
160 inline AcceptedTerm& WithRenewalTerm(RenewalTerm&& value) { SetRenewalTerm(std::move(value)); return *this;}
162
164
168 inline const SupportTerm& GetSupportTerm() const{ return m_supportTerm; }
169 inline bool SupportTermHasBeenSet() const { return m_supportTermHasBeenSet; }
170 inline void SetSupportTerm(const SupportTerm& value) { m_supportTermHasBeenSet = true; m_supportTerm = value; }
171 inline void SetSupportTerm(SupportTerm&& value) { m_supportTermHasBeenSet = true; m_supportTerm = std::move(value); }
172 inline AcceptedTerm& WithSupportTerm(const SupportTerm& value) { SetSupportTerm(value); return *this;}
173 inline AcceptedTerm& WithSupportTerm(SupportTerm&& value) { SetSupportTerm(std::move(value)); return *this;}
175
177
181 inline const UsageBasedPricingTerm& GetUsageBasedPricingTerm() const{ return m_usageBasedPricingTerm; }
182 inline bool UsageBasedPricingTermHasBeenSet() const { return m_usageBasedPricingTermHasBeenSet; }
183 inline void SetUsageBasedPricingTerm(const UsageBasedPricingTerm& value) { m_usageBasedPricingTermHasBeenSet = true; m_usageBasedPricingTerm = value; }
184 inline void SetUsageBasedPricingTerm(UsageBasedPricingTerm&& value) { m_usageBasedPricingTermHasBeenSet = true; m_usageBasedPricingTerm = std::move(value); }
188
190
194 inline const ValidityTerm& GetValidityTerm() const{ return m_validityTerm; }
195 inline bool ValidityTermHasBeenSet() const { return m_validityTermHasBeenSet; }
196 inline void SetValidityTerm(const ValidityTerm& value) { m_validityTermHasBeenSet = true; m_validityTerm = value; }
197 inline void SetValidityTerm(ValidityTerm&& value) { m_validityTermHasBeenSet = true; m_validityTerm = std::move(value); }
198 inline AcceptedTerm& WithValidityTerm(const ValidityTerm& value) { SetValidityTerm(value); return *this;}
199 inline AcceptedTerm& WithValidityTerm(ValidityTerm&& value) { SetValidityTerm(std::move(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
void SetSupportTerm(const SupportTerm &value)
void SetFixedUpfrontPricingTerm(FixedUpfrontPricingTerm &&value)
void SetPaymentScheduleTerm(const PaymentScheduleTerm &value)
const RecurringPaymentTerm & GetRecurringPaymentTerm() const
AcceptedTerm & WithRenewalTerm(const RenewalTerm &value)
AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AcceptedTerm & WithByolPricingTerm(ByolPricingTerm &&value)
const ByolPricingTerm & GetByolPricingTerm() const
void SetSupportTerm(SupportTerm &&value)
AcceptedTerm & WithRecurringPaymentTerm(RecurringPaymentTerm &&value)
AcceptedTerm & WithPaymentScheduleTerm(const PaymentScheduleTerm &value)
void SetRenewalTerm(RenewalTerm &&value)
AcceptedTerm & WithSupportTerm(const SupportTerm &value)
const FixedUpfrontPricingTerm & GetFixedUpfrontPricingTerm() const
void SetLegalTerm(const LegalTerm &value)
AcceptedTerm & WithFreeTrialPricingTerm(FreeTrialPricingTerm &&value)
AcceptedTerm & WithFixedUpfrontPricingTerm(const FixedUpfrontPricingTerm &value)
AcceptedTerm & WithFreeTrialPricingTerm(const FreeTrialPricingTerm &value)
AcceptedTerm & WithValidityTerm(const ValidityTerm &value)
AWS_AGREEMENTSERVICE_API AcceptedTerm & operator=(Aws::Utils::Json::JsonView jsonValue)
AcceptedTerm & WithConfigurableUpfrontPricingTerm(const ConfigurableUpfrontPricingTerm &value)
void SetRecurringPaymentTerm(RecurringPaymentTerm &&value)
void SetPaymentScheduleTerm(PaymentScheduleTerm &&value)
void SetByolPricingTerm(const ByolPricingTerm &value)
AcceptedTerm & WithSupportTerm(SupportTerm &&value)
const ConfigurableUpfrontPricingTerm & GetConfigurableUpfrontPricingTerm() const
AcceptedTerm & WithFixedUpfrontPricingTerm(FixedUpfrontPricingTerm &&value)
AcceptedTerm & WithUsageBasedPricingTerm(UsageBasedPricingTerm &&value)
void SetFixedUpfrontPricingTerm(const FixedUpfrontPricingTerm &value)
AcceptedTerm & WithByolPricingTerm(const ByolPricingTerm &value)
AWS_AGREEMENTSERVICE_API AcceptedTerm(Aws::Utils::Json::JsonView jsonValue)
void SetFreeTrialPricingTerm(FreeTrialPricingTerm &&value)
const ValidityTerm & GetValidityTerm() const
AWS_AGREEMENTSERVICE_API AcceptedTerm()
AcceptedTerm & WithConfigurableUpfrontPricingTerm(ConfigurableUpfrontPricingTerm &&value)
AcceptedTerm & WithRenewalTerm(RenewalTerm &&value)
void SetRecurringPaymentTerm(const RecurringPaymentTerm &value)
AcceptedTerm & WithUsageBasedPricingTerm(const UsageBasedPricingTerm &value)
const FreeTrialPricingTerm & GetFreeTrialPricingTerm() const
AcceptedTerm & WithLegalTerm(LegalTerm &&value)
void SetValidityTerm(ValidityTerm &&value)
void SetByolPricingTerm(ByolPricingTerm &&value)
void SetConfigurableUpfrontPricingTerm(const ConfigurableUpfrontPricingTerm &value)
AcceptedTerm & WithPaymentScheduleTerm(PaymentScheduleTerm &&value)
void SetRenewalTerm(const RenewalTerm &value)
void SetUsageBasedPricingTerm(const UsageBasedPricingTerm &value)
void SetUsageBasedPricingTerm(UsageBasedPricingTerm &&value)
AcceptedTerm & WithValidityTerm(ValidityTerm &&value)
AcceptedTerm & WithRecurringPaymentTerm(const RecurringPaymentTerm &value)
void SetConfigurableUpfrontPricingTerm(ConfigurableUpfrontPricingTerm &&value)
const PaymentScheduleTerm & GetPaymentScheduleTerm() const
AcceptedTerm & WithLegalTerm(const LegalTerm &value)
const SupportTerm & GetSupportTerm() const
void SetValidityTerm(const ValidityTerm &value)
void SetFreeTrialPricingTerm(const FreeTrialPricingTerm &value)
Aws::Utils::Json::JsonValue JsonValue