AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ScheduleItem.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/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace AgreementService
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_AGREEMENTSERVICE_API ScheduleItem() = default;
37 AWS_AGREEMENTSERVICE_API ScheduleItem(Aws::Utils::Json::JsonView jsonValue);
38 AWS_AGREEMENTSERVICE_API ScheduleItem& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetChargeAmount() const { return m_chargeAmount; }
47 inline bool ChargeAmountHasBeenSet() const { return m_chargeAmountHasBeenSet; }
48 template<typename ChargeAmountT = Aws::String>
49 void SetChargeAmount(ChargeAmountT&& value) { m_chargeAmountHasBeenSet = true; m_chargeAmount = std::forward<ChargeAmountT>(value); }
50 template<typename ChargeAmountT = Aws::String>
51 ScheduleItem& WithChargeAmount(ChargeAmountT&& value) { SetChargeAmount(std::forward<ChargeAmountT>(value)); return *this;}
53
55
59 inline const Aws::Utils::DateTime& GetChargeDate() const { return m_chargeDate; }
60 inline bool ChargeDateHasBeenSet() const { return m_chargeDateHasBeenSet; }
61 template<typename ChargeDateT = Aws::Utils::DateTime>
62 void SetChargeDate(ChargeDateT&& value) { m_chargeDateHasBeenSet = true; m_chargeDate = std::forward<ChargeDateT>(value); }
63 template<typename ChargeDateT = Aws::Utils::DateTime>
64 ScheduleItem& WithChargeDate(ChargeDateT&& value) { SetChargeDate(std::forward<ChargeDateT>(value)); return *this;}
66 private:
67
68 Aws::String m_chargeAmount;
69 bool m_chargeAmountHasBeenSet = false;
70
71 Aws::Utils::DateTime m_chargeDate{};
72 bool m_chargeDateHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace AgreementService
77} // namespace Aws
ScheduleItem & WithChargeAmount(ChargeAmountT &&value)
void SetChargeAmount(ChargeAmountT &&value)
ScheduleItem & WithChargeDate(ChargeDateT &&value)
const Aws::String & GetChargeAmount() const
const Aws::Utils::DateTime & GetChargeDate() const
void SetChargeDate(ChargeDateT &&value)
AWS_AGREEMENTSERVICE_API ScheduleItem(Aws::Utils::Json::JsonView jsonValue)
AWS_AGREEMENTSERVICE_API ScheduleItem()=default
AWS_AGREEMENTSERVICE_API ScheduleItem & 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