7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetAmount(
const char* value) { m_amountHasBeenSet =
true; m_amount.assign(value); }
63 inline void SetUnit(
const char* value) { m_unitHasBeenSet =
true; m_unit.assign(value); }
71 bool m_amountHasBeenSet =
false;
74 bool m_unitHasBeenSet =
false;
bool UnitHasBeenSet() const
Total & WithAmount(Aws::String &&value)
bool AmountHasBeenSet() const
void SetUnit(const char *value)
const Aws::String & GetUnit() const
Total & WithUnit(const char *value)
AWS_GUARDDUTY_API Total()
void SetAmount(const Aws::String &value)
void SetAmount(Aws::String &&value)
Total & WithAmount(const char *value)
void SetUnit(const Aws::String &value)
Total & WithAmount(const Aws::String &value)
Total & WithUnit(const Aws::String &value)
Total & WithUnit(Aws::String &&value)
void SetUnit(Aws::String &&value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetAmount() const
AWS_GUARDDUTY_API Total(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API Total & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAmount(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue