7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/model/Currency.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/macie2/model/ServiceLimit.h>
11#include <aws/macie2/model/UsageType.h>
52 inline void SetCurrency(
Currency&& value) { m_currencyHasBeenSet =
true; m_currency = std::move(value); }
65 inline void SetEstimatedCost(
const char* value) { m_estimatedCostHasBeenSet =
true; m_estimatedCost.assign(value); }
94 inline void SetType(
const UsageType& value) { m_typeHasBeenSet =
true; m_type = value; }
95 inline void SetType(
UsageType&& value) { m_typeHasBeenSet =
true; m_type = std::move(value); }
102 bool m_currencyHasBeenSet =
false;
105 bool m_estimatedCostHasBeenSet =
false;
108 bool m_serviceLimitHasBeenSet =
false;
111 bool m_typeHasBeenSet =
false;
void SetEstimatedCost(const Aws::String &value)
UsageByAccount & WithCurrency(const Currency &value)
const UsageType & GetType() const
bool EstimatedCostHasBeenSet() const
void SetEstimatedCost(Aws::String &&value)
UsageByAccount & WithType(UsageType &&value)
const Currency & GetCurrency() const
AWS_MACIE2_API UsageByAccount(Aws::Utils::Json::JsonView jsonValue)
bool ServiceLimitHasBeenSet() const
UsageByAccount & WithServiceLimit(ServiceLimit &&value)
AWS_MACIE2_API UsageByAccount & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetServiceLimit(ServiceLimit &&value)
UsageByAccount & WithCurrency(Currency &&value)
void SetEstimatedCost(const char *value)
UsageByAccount & WithEstimatedCost(const Aws::String &value)
const ServiceLimit & GetServiceLimit() const
void SetType(const UsageType &value)
bool TypeHasBeenSet() const
void SetServiceLimit(const ServiceLimit &value)
AWS_MACIE2_API UsageByAccount()
void SetCurrency(Currency &&value)
UsageByAccount & WithType(const UsageType &value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
bool CurrencyHasBeenSet() const
void SetCurrency(const Currency &value)
UsageByAccount & WithEstimatedCost(const char *value)
UsageByAccount & WithEstimatedCost(Aws::String &&value)
void SetType(UsageType &&value)
UsageByAccount & WithServiceLimit(const ServiceLimit &value)
const Aws::String & GetEstimatedCost() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue