AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBillingPeriod(const Aws::String& value) { m_billingPeriodHasBeenSet = true; m_billingPeriod = value; }
48 inline void SetBillingPeriod(Aws::String&& value) { m_billingPeriodHasBeenSet = true; m_billingPeriod = std::move(value); }
49 inline void SetBillingPeriod(const char* value) { m_billingPeriodHasBeenSet = true; m_billingPeriod.assign(value); }
50 inline RecurringPaymentTerm& WithBillingPeriod(const Aws::String& value) { SetBillingPeriod(value); return *this;}
51 inline RecurringPaymentTerm& WithBillingPeriod(Aws::String&& value) { SetBillingPeriod(std::move(value)); return *this;}
52 inline RecurringPaymentTerm& WithBillingPeriod(const char* value) { SetBillingPeriod(value); return *this;}
54
56
59 inline const Aws::String& GetCurrencyCode() const{ return m_currencyCode; }
60 inline bool CurrencyCodeHasBeenSet() const { return m_currencyCodeHasBeenSet; }
61 inline void SetCurrencyCode(const Aws::String& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = value; }
62 inline void SetCurrencyCode(Aws::String&& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = std::move(value); }
63 inline void SetCurrencyCode(const char* value) { m_currencyCodeHasBeenSet = true; m_currencyCode.assign(value); }
64 inline RecurringPaymentTerm& WithCurrencyCode(const Aws::String& value) { SetCurrencyCode(value); return *this;}
65 inline RecurringPaymentTerm& WithCurrencyCode(Aws::String&& value) { SetCurrencyCode(std::move(value)); return *this;}
66 inline RecurringPaymentTerm& WithCurrencyCode(const char* value) { SetCurrencyCode(value); return *this;}
68
70
73 inline const Aws::String& GetPrice() const{ return m_price; }
74 inline bool PriceHasBeenSet() const { return m_priceHasBeenSet; }
75 inline void SetPrice(const Aws::String& value) { m_priceHasBeenSet = true; m_price = value; }
76 inline void SetPrice(Aws::String&& value) { m_priceHasBeenSet = true; m_price = std::move(value); }
77 inline void SetPrice(const char* value) { m_priceHasBeenSet = true; m_price.assign(value); }
78 inline RecurringPaymentTerm& WithPrice(const Aws::String& value) { SetPrice(value); return *this;}
79 inline RecurringPaymentTerm& WithPrice(Aws::String&& value) { SetPrice(std::move(value)); return *this;}
80 inline RecurringPaymentTerm& WithPrice(const char* value) { SetPrice(value); return *this;}
82
84
87 inline const Aws::String& GetType() const{ return m_type; }
88 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
89 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
90 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
91 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
92 inline RecurringPaymentTerm& WithType(const Aws::String& value) { SetType(value); return *this;}
93 inline RecurringPaymentTerm& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
94 inline RecurringPaymentTerm& WithType(const char* value) { SetType(value); return *this;}
96 private:
97
98 Aws::String m_billingPeriod;
99 bool m_billingPeriodHasBeenSet = false;
100
101 Aws::String m_currencyCode;
102 bool m_currencyCodeHasBeenSet = false;
103
104 Aws::String m_price;
105 bool m_priceHasBeenSet = false;
106
107 Aws::String m_type;
108 bool m_typeHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace AgreementService
113} // namespace Aws
RecurringPaymentTerm & WithPrice(Aws::String &&value)
RecurringPaymentTerm & WithCurrencyCode(const Aws::String &value)
RecurringPaymentTerm & WithCurrencyCode(const char *value)
RecurringPaymentTerm & WithBillingPeriod(const char *value)
RecurringPaymentTerm & WithBillingPeriod(Aws::String &&value)
RecurringPaymentTerm & WithType(const Aws::String &value)
RecurringPaymentTerm & WithPrice(const char *value)
RecurringPaymentTerm & WithCurrencyCode(Aws::String &&value)
RecurringPaymentTerm & WithPrice(const Aws::String &value)
AWS_AGREEMENTSERVICE_API RecurringPaymentTerm(Aws::Utils::Json::JsonView jsonValue)
RecurringPaymentTerm & WithType(const char *value)
RecurringPaymentTerm & WithType(Aws::String &&value)
RecurringPaymentTerm & WithBillingPeriod(const Aws::String &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