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();
47 inline void SetAmount(
double value) { m_amountHasBeenSet =
true; m_amount = value; }
59 inline void SetCurrency(
const char* value) { m_currencyHasBeenSet =
true; m_currency.assign(value); }
79 bool m_amountHasBeenSet =
false;
82 bool m_currencyHasBeenSet =
false;
85 bool m_frequencyHasBeenSet =
false;
AWS_RESILIENCEHUB_API Cost & operator=(Aws::Utils::Json::JsonView jsonValue)
Cost & WithCurrency(const char *value)
const Aws::String & GetCurrency() const
void SetCurrency(const char *value)
Cost & WithFrequency(CostFrequency &&value)
Cost & WithFrequency(const CostFrequency &value)
void SetFrequency(CostFrequency &&value)
const CostFrequency & GetFrequency() const
bool FrequencyHasBeenSet() const
void SetAmount(double value)
Cost & WithCurrency(Aws::String &&value)
bool AmountHasBeenSet() const
AWS_RESILIENCEHUB_API Cost()
bool CurrencyHasBeenSet() const
Cost & WithAmount(double value)
void SetCurrency(const Aws::String &value)
void SetCurrency(Aws::String &&value)
AWS_RESILIENCEHUB_API Cost(Aws::Utils::Json::JsonView jsonValue)
void SetFrequency(const CostFrequency &value)
Cost & WithCurrency(const Aws::String &value)
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