AWS SDK for C++

AWS SDK for C++ Version 1.11.924

Loading...
Searching...
No Matches
InvestmentRestriction.h
1
6#pragma once
7#include <aws/billing/Billing_EXPORTS.h>
8#include <aws/billing/model/Amount.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 InvestmentRestriction() = default;
33 AWS_BILLING_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Amount& GetAmount() const { return m_amount; }
40 inline bool AmountHasBeenSet() const { return m_amountHasBeenSet; }
41 template <typename AmountT = Amount>
42 void SetAmount(AmountT&& value) {
43 m_amountHasBeenSet = true;
44 m_amount = std::forward<AmountT>(value);
45 }
46 template <typename AmountT = Amount>
48 SetAmount(std::forward<AmountT>(value));
49 return *this;
50 }
52 private:
53 Amount m_amount;
54 bool m_amountHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace Billing
59} // namespace Aws
AWS_BILLING_API InvestmentRestriction & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BILLING_API InvestmentRestriction(Aws::Utils::Json::JsonView jsonValue)
AWS_BILLING_API Aws::Utils::Json::JsonValue Jsonize() const
InvestmentRestriction & WithAmount(AmountT &&value)
AWS_BILLING_API InvestmentRestriction()=default
Aws::Utils::Json::JsonValue JsonValue