AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetChargeAmount(const Aws::String& value) { m_chargeAmountHasBeenSet = true; m_chargeAmount = value; }
49 inline void SetChargeAmount(Aws::String&& value) { m_chargeAmountHasBeenSet = true; m_chargeAmount = std::move(value); }
50 inline void SetChargeAmount(const char* value) { m_chargeAmountHasBeenSet = true; m_chargeAmount.assign(value); }
51 inline ScheduleItem& WithChargeAmount(const Aws::String& value) { SetChargeAmount(value); return *this;}
52 inline ScheduleItem& WithChargeAmount(Aws::String&& value) { SetChargeAmount(std::move(value)); return *this;}
53 inline ScheduleItem& WithChargeAmount(const char* value) { SetChargeAmount(value); return *this;}
55
57
61 inline const Aws::Utils::DateTime& GetChargeDate() const{ return m_chargeDate; }
62 inline bool ChargeDateHasBeenSet() const { return m_chargeDateHasBeenSet; }
63 inline void SetChargeDate(const Aws::Utils::DateTime& value) { m_chargeDateHasBeenSet = true; m_chargeDate = value; }
64 inline void SetChargeDate(Aws::Utils::DateTime&& value) { m_chargeDateHasBeenSet = true; m_chargeDate = std::move(value); }
65 inline ScheduleItem& WithChargeDate(const Aws::Utils::DateTime& value) { SetChargeDate(value); return *this;}
66 inline ScheduleItem& WithChargeDate(Aws::Utils::DateTime&& value) { SetChargeDate(std::move(value)); return *this;}
68 private:
69
70 Aws::String m_chargeAmount;
71 bool m_chargeAmountHasBeenSet = false;
72
73 Aws::Utils::DateTime m_chargeDate;
74 bool m_chargeDateHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace AgreementService
79} // namespace Aws
ScheduleItem & WithChargeDate(Aws::Utils::DateTime &&value)
void SetChargeDate(Aws::Utils::DateTime &&value)
void SetChargeAmount(const Aws::String &value)
const Aws::String & GetChargeAmount() const
AWS_AGREEMENTSERVICE_API ScheduleItem()
ScheduleItem & WithChargeDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetChargeDate() const
AWS_AGREEMENTSERVICE_API ScheduleItem(Aws::Utils::Json::JsonView jsonValue)
void SetChargeAmount(Aws::String &&value)
ScheduleItem & WithChargeAmount(Aws::String &&value)
ScheduleItem & WithChargeAmount(const char *value)
void SetChargeDate(const Aws::Utils::DateTime &value)
ScheduleItem & WithChargeAmount(const Aws::String &value)
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