/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the total usage with the corresponding currency unit for that
* value.See Also:
AWS API
* Reference
The total usage.
*/ inline const Aws::String& GetAmount() const{ return m_amount; } /** *The total usage.
*/ inline bool AmountHasBeenSet() const { return m_amountHasBeenSet; } /** *The total usage.
*/ inline void SetAmount(const Aws::String& value) { m_amountHasBeenSet = true; m_amount = value; } /** *The total usage.
*/ inline void SetAmount(Aws::String&& value) { m_amountHasBeenSet = true; m_amount = std::move(value); } /** *The total usage.
*/ inline void SetAmount(const char* value) { m_amountHasBeenSet = true; m_amount.assign(value); } /** *The total usage.
*/ inline Total& WithAmount(const Aws::String& value) { SetAmount(value); return *this;} /** *The total usage.
*/ inline Total& WithAmount(Aws::String&& value) { SetAmount(std::move(value)); return *this;} /** *The total usage.
*/ inline Total& WithAmount(const char* value) { SetAmount(value); return *this;} /** *The currency unit that the amount is given in.
*/ inline const Aws::String& GetUnit() const{ return m_unit; } /** *The currency unit that the amount is given in.
*/ inline bool UnitHasBeenSet() const { return m_unitHasBeenSet; } /** *The currency unit that the amount is given in.
*/ inline void SetUnit(const Aws::String& value) { m_unitHasBeenSet = true; m_unit = value; } /** *The currency unit that the amount is given in.
*/ inline void SetUnit(Aws::String&& value) { m_unitHasBeenSet = true; m_unit = std::move(value); } /** *The currency unit that the amount is given in.
*/ inline void SetUnit(const char* value) { m_unitHasBeenSet = true; m_unit.assign(value); } /** *The currency unit that the amount is given in.
*/ inline Total& WithUnit(const Aws::String& value) { SetUnit(value); return *this;} /** *The currency unit that the amount is given in.
*/ inline Total& WithUnit(Aws::String&& value) { SetUnit(std::move(value)); return *this;} /** *The currency unit that the amount is given in.
*/ inline Total& WithUnit(const char* value) { SetUnit(value); return *this;} private: Aws::String m_amount; bool m_amountHasBeenSet = false; Aws::String m_unit; bool m_unitHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws