7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/resiliencehub/model/CostFrequency.h>
22namespace ResilienceHub
35 AWS_RESILIENCEHUB_API
Cost() =
default;
45 inline double GetAmount()
const {
return m_amount; }
47 inline void SetAmount(
double value) { m_amountHasBeenSet =
true; m_amount = value; }
57 template<
typename CurrencyT = Aws::String>
58 void SetCurrency(CurrencyT&& value) { m_currencyHasBeenSet =
true; m_currency = std::forward<CurrencyT>(value); }
59 template<
typename CurrencyT = Aws::String>
75 bool m_amountHasBeenSet =
false;
78 bool m_currencyHasBeenSet =
false;
81 bool m_frequencyHasBeenSet =
false;
AWS_RESILIENCEHUB_API Cost & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCurrency() const
CostFrequency GetFrequency() const
void SetCurrency(CurrencyT &&value)
bool FrequencyHasBeenSet() const
void SetAmount(double value)
bool AmountHasBeenSet() const
Cost & WithCurrency(CurrencyT &&value)
bool CurrencyHasBeenSet() const
Cost & WithAmount(double value)
AWS_RESILIENCEHUB_API Cost()=default
Cost & WithFrequency(CostFrequency value)
void SetFrequency(CostFrequency value)
AWS_RESILIENCEHUB_API Cost(Aws::Utils::Json::JsonView jsonValue)
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue