AWS SDK for C++

AWS SDK for C++ Version 1.11.932

Loading...
Searching...
No Matches
ConnectedAccountPrice.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wafv2/WAFV2_EXPORTS.h>
9#include <aws/wafv2/model/CryptoCurrency.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace WAFV2 {
21namespace Model {
22
30 public:
31 AWS_WAFV2_API ConnectedAccountPrice() = default;
34 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
42 inline const Aws::String& GetAmount() const { return m_amount; }
43 inline bool AmountHasBeenSet() const { return m_amountHasBeenSet; }
44 template <typename AmountT = Aws::String>
45 void SetAmount(AmountT&& value) {
46 m_amountHasBeenSet = true;
47 m_amount = std::forward<AmountT>(value);
48 }
49 template <typename AmountT = Aws::String>
51 SetAmount(std::forward<AmountT>(value));
52 return *this;
53 }
55
57
61 inline CryptoCurrency GetCurrency() const { return m_currency; }
62 inline bool CurrencyHasBeenSet() const { return m_currencyHasBeenSet; }
63 inline void SetCurrency(CryptoCurrency value) {
64 m_currencyHasBeenSet = true;
65 m_currency = value;
66 }
68 SetCurrency(value);
69 return *this;
70 }
72 private:
73 Aws::String m_amount;
74
76 bool m_amountHasBeenSet = false;
77 bool m_currencyHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace WAFV2
82} // namespace Aws
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
ConnectedAccountPrice & WithCurrency(CryptoCurrency value)
AWS_WAFV2_API ConnectedAccountPrice & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API ConnectedAccountPrice()=default
ConnectedAccountPrice & WithAmount(AmountT &&value)
AWS_WAFV2_API ConnectedAccountPrice(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue