AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
RecurringPaymentTerm.h
1
6#pragma once
7#include <aws/marketplace-agreement/AgreementService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AgreementService
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_AGREEMENTSERVICE_API RecurringPaymentTerm() = default;
36 AWS_AGREEMENTSERVICE_API RecurringPaymentTerm(Aws::Utils::Json::JsonView jsonValue);
37 AWS_AGREEMENTSERVICE_API RecurringPaymentTerm& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetBillingPeriod() const { return m_billingPeriod; }
46 inline bool BillingPeriodHasBeenSet() const { return m_billingPeriodHasBeenSet; }
47 template<typename BillingPeriodT = Aws::String>
48 void SetBillingPeriod(BillingPeriodT&& value) { m_billingPeriodHasBeenSet = true; m_billingPeriod = std::forward<BillingPeriodT>(value); }
49 template<typename BillingPeriodT = Aws::String>
50 RecurringPaymentTerm& WithBillingPeriod(BillingPeriodT&& value) { SetBillingPeriod(std::forward<BillingPeriodT>(value)); return *this;}
52
54
57 inline const Aws::String& GetCurrencyCode() const { return m_currencyCode; }
58 inline bool CurrencyCodeHasBeenSet() const { return m_currencyCodeHasBeenSet; }
59 template<typename CurrencyCodeT = Aws::String>
60 void SetCurrencyCode(CurrencyCodeT&& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = std::forward<CurrencyCodeT>(value); }
61 template<typename CurrencyCodeT = Aws::String>
62 RecurringPaymentTerm& WithCurrencyCode(CurrencyCodeT&& value) { SetCurrencyCode(std::forward<CurrencyCodeT>(value)); return *this;}
64
66
69 inline const Aws::String& GetPrice() const { return m_price; }
70 inline bool PriceHasBeenSet() const { return m_priceHasBeenSet; }
71 template<typename PriceT = Aws::String>
72 void SetPrice(PriceT&& value) { m_priceHasBeenSet = true; m_price = std::forward<PriceT>(value); }
73 template<typename PriceT = Aws::String>
74 RecurringPaymentTerm& WithPrice(PriceT&& value) { SetPrice(std::forward<PriceT>(value)); return *this;}
76
78
81 inline const Aws::String& GetType() const { return m_type; }
82 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
83 template<typename TypeT = Aws::String>
84 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
85 template<typename TypeT = Aws::String>
86 RecurringPaymentTerm& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
88 private:
89
90 Aws::String m_billingPeriod;
91 bool m_billingPeriodHasBeenSet = false;
92
93 Aws::String m_currencyCode;
94 bool m_currencyCodeHasBeenSet = false;
95
96 Aws::String m_price;
97 bool m_priceHasBeenSet = false;
98
99 Aws::String m_type;
100 bool m_typeHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace AgreementService
105} // namespace Aws
RecurringPaymentTerm & WithCurrencyCode(CurrencyCodeT &&value)
RecurringPaymentTerm & WithPrice(PriceT &&value)
RecurringPaymentTerm & WithType(TypeT &&value)
AWS_AGREEMENTSERVICE_API RecurringPaymentTerm()=default
AWS_AGREEMENTSERVICE_API RecurringPaymentTerm(Aws::Utils::Json::JsonView jsonValue)
RecurringPaymentTerm & WithBillingPeriod(BillingPeriodT &&value)
AWS_AGREEMENTSERVICE_API RecurringPaymentTerm & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue