AWS SDK for C++

AWS SDK for C++ Version 1.11.904

Loading...
Searching...
No Matches
BusinessSupportServiceSpend.h
1
6#pragma once
7#include <aws/billing/Billing_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Billing {
20namespace Model {
21
29 public:
30 AWS_BILLING_API BusinessSupportServiceSpend() = default;
33 AWS_BILLING_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetContributingService() const { return m_contributingService; }
41 inline bool ContributingServiceHasBeenSet() const { return m_contributingServiceHasBeenSet; }
42 template <typename ContributingServiceT = Aws::String>
43 void SetContributingService(ContributingServiceT&& value) {
44 m_contributingServiceHasBeenSet = true;
45 m_contributingService = std::forward<ContributingServiceT>(value);
46 }
47 template <typename ContributingServiceT = Aws::String>
49 SetContributingService(std::forward<ContributingServiceT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetItemType() const { return m_itemType; }
59 inline bool ItemTypeHasBeenSet() const { return m_itemTypeHasBeenSet; }
60 template <typename ItemTypeT = Aws::String>
61 void SetItemType(ItemTypeT&& value) {
62 m_itemTypeHasBeenSet = true;
63 m_itemType = std::forward<ItemTypeT>(value);
64 }
65 template <typename ItemTypeT = Aws::String>
67 SetItemType(std::forward<ItemTypeT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetDescription() const { return m_description; }
77 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
78 template <typename DescriptionT = Aws::String>
79 void SetDescription(DescriptionT&& value) {
80 m_descriptionHasBeenSet = true;
81 m_description = std::forward<DescriptionT>(value);
82 }
83 template <typename DescriptionT = Aws::String>
85 SetDescription(std::forward<DescriptionT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetChargeAmount() const { return m_chargeAmount; }
95 inline bool ChargeAmountHasBeenSet() const { return m_chargeAmountHasBeenSet; }
96 template <typename ChargeAmountT = Aws::String>
97 void SetChargeAmount(ChargeAmountT&& value) {
98 m_chargeAmountHasBeenSet = true;
99 m_chargeAmount = std::forward<ChargeAmountT>(value);
100 }
101 template <typename ChargeAmountT = Aws::String>
103 SetChargeAmount(std::forward<ChargeAmountT>(value));
104 return *this;
105 }
107
109
113 inline const Aws::String& GetCurrency() const { return m_currency; }
114 inline bool CurrencyHasBeenSet() const { return m_currencyHasBeenSet; }
115 template <typename CurrencyT = Aws::String>
116 void SetCurrency(CurrencyT&& value) {
117 m_currencyHasBeenSet = true;
118 m_currency = std::forward<CurrencyT>(value);
119 }
120 template <typename CurrencyT = Aws::String>
122 SetCurrency(std::forward<CurrencyT>(value));
123 return *this;
124 }
126 private:
127 Aws::String m_contributingService;
128
129 Aws::String m_itemType;
130
131 Aws::String m_description;
132
133 Aws::String m_chargeAmount;
134
135 Aws::String m_currency;
136 bool m_contributingServiceHasBeenSet = false;
137 bool m_itemTypeHasBeenSet = false;
138 bool m_descriptionHasBeenSet = false;
139 bool m_chargeAmountHasBeenSet = false;
140 bool m_currencyHasBeenSet = false;
141};
142
143} // namespace Model
144} // namespace Billing
145} // namespace Aws
BusinessSupportServiceSpend & WithDescription(DescriptionT &&value)
BusinessSupportServiceSpend & WithContributingService(ContributingServiceT &&value)
AWS_BILLING_API BusinessSupportServiceSpend & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BILLING_API BusinessSupportServiceSpend()=default
BusinessSupportServiceSpend & WithCurrency(CurrencyT &&value)
BusinessSupportServiceSpend & WithItemType(ItemTypeT &&value)
AWS_BILLING_API BusinessSupportServiceSpend(Aws::Utils::Json::JsonView jsonValue)
BusinessSupportServiceSpend & WithChargeAmount(ChargeAmountT &&value)
AWS_BILLING_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue