AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PaymentScheduleTerm.h
1
6#pragma once
7#include <aws/marketplace-agreement/AgreementService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/marketplace-agreement/model/ScheduleItem.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace AgreementService
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_AGREEMENTSERVICE_API PaymentScheduleTerm();
40 AWS_AGREEMENTSERVICE_API PaymentScheduleTerm(Aws::Utils::Json::JsonView jsonValue);
41 AWS_AGREEMENTSERVICE_API PaymentScheduleTerm& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetCurrencyCode() const{ return m_currencyCode; }
50 inline bool CurrencyCodeHasBeenSet() const { return m_currencyCodeHasBeenSet; }
51 inline void SetCurrencyCode(const Aws::String& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = value; }
52 inline void SetCurrencyCode(Aws::String&& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = std::move(value); }
53 inline void SetCurrencyCode(const char* value) { m_currencyCodeHasBeenSet = true; m_currencyCode.assign(value); }
54 inline PaymentScheduleTerm& WithCurrencyCode(const Aws::String& value) { SetCurrencyCode(value); return *this;}
55 inline PaymentScheduleTerm& WithCurrencyCode(Aws::String&& value) { SetCurrencyCode(std::move(value)); return *this;}
56 inline PaymentScheduleTerm& WithCurrencyCode(const char* value) { SetCurrencyCode(value); return *this;}
58
60
64 inline const Aws::Vector<ScheduleItem>& GetSchedule() const{ return m_schedule; }
65 inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; }
66 inline void SetSchedule(const Aws::Vector<ScheduleItem>& value) { m_scheduleHasBeenSet = true; m_schedule = value; }
67 inline void SetSchedule(Aws::Vector<ScheduleItem>&& value) { m_scheduleHasBeenSet = true; m_schedule = std::move(value); }
68 inline PaymentScheduleTerm& WithSchedule(const Aws::Vector<ScheduleItem>& value) { SetSchedule(value); return *this;}
69 inline PaymentScheduleTerm& WithSchedule(Aws::Vector<ScheduleItem>&& value) { SetSchedule(std::move(value)); return *this;}
70 inline PaymentScheduleTerm& AddSchedule(const ScheduleItem& value) { m_scheduleHasBeenSet = true; m_schedule.push_back(value); return *this; }
71 inline PaymentScheduleTerm& AddSchedule(ScheduleItem&& value) { m_scheduleHasBeenSet = true; m_schedule.push_back(std::move(value)); return *this; }
73
75
78 inline const Aws::String& GetType() const{ return m_type; }
79 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
80 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
81 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
82 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
83 inline PaymentScheduleTerm& WithType(const Aws::String& value) { SetType(value); return *this;}
84 inline PaymentScheduleTerm& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
85 inline PaymentScheduleTerm& WithType(const char* value) { SetType(value); return *this;}
87 private:
88
89 Aws::String m_currencyCode;
90 bool m_currencyCodeHasBeenSet = false;
91
93 bool m_scheduleHasBeenSet = false;
94
95 Aws::String m_type;
96 bool m_typeHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace AgreementService
101} // namespace Aws
PaymentScheduleTerm & WithCurrencyCode(Aws::String &&value)
PaymentScheduleTerm & WithSchedule(Aws::Vector< ScheduleItem > &&value)
PaymentScheduleTerm & WithType(const char *value)
PaymentScheduleTerm & WithType(Aws::String &&value)
AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
PaymentScheduleTerm & AddSchedule(const ScheduleItem &value)
const Aws::Vector< ScheduleItem > & GetSchedule() const
AWS_AGREEMENTSERVICE_API PaymentScheduleTerm & operator=(Aws::Utils::Json::JsonView jsonValue)
PaymentScheduleTerm & WithCurrencyCode(const Aws::String &value)
void SetSchedule(Aws::Vector< ScheduleItem > &&value)
PaymentScheduleTerm & WithType(const Aws::String &value)
PaymentScheduleTerm & AddSchedule(ScheduleItem &&value)
PaymentScheduleTerm & WithSchedule(const Aws::Vector< ScheduleItem > &value)
PaymentScheduleTerm & WithCurrencyCode(const char *value)
void SetSchedule(const Aws::Vector< ScheduleItem > &value)
AWS_AGREEMENTSERVICE_API PaymentScheduleTerm(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue