/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains usage information about the cost of Amazon Inspector
* operation.See Also:
AWS
* API Reference
The currency type used when calculating usage data.
*/ inline const Currency& GetCurrency() const{ return m_currency; } /** *The currency type used when calculating usage data.
*/ inline bool CurrencyHasBeenSet() const { return m_currencyHasBeenSet; } /** *The currency type used when calculating usage data.
*/ inline void SetCurrency(const Currency& value) { m_currencyHasBeenSet = true; m_currency = value; } /** *The currency type used when calculating usage data.
*/ inline void SetCurrency(Currency&& value) { m_currencyHasBeenSet = true; m_currency = std::move(value); } /** *The currency type used when calculating usage data.
*/ inline Usage& WithCurrency(const Currency& value) { SetCurrency(value); return *this;} /** *The currency type used when calculating usage data.
*/ inline Usage& WithCurrency(Currency&& value) { SetCurrency(std::move(value)); return *this;} /** *The estimated monthly cost of Amazon Inspector.
*/ inline double GetEstimatedMonthlyCost() const{ return m_estimatedMonthlyCost; } /** *The estimated monthly cost of Amazon Inspector.
*/ inline bool EstimatedMonthlyCostHasBeenSet() const { return m_estimatedMonthlyCostHasBeenSet; } /** *The estimated monthly cost of Amazon Inspector.
*/ inline void SetEstimatedMonthlyCost(double value) { m_estimatedMonthlyCostHasBeenSet = true; m_estimatedMonthlyCost = value; } /** *The estimated monthly cost of Amazon Inspector.
*/ inline Usage& WithEstimatedMonthlyCost(double value) { SetEstimatedMonthlyCost(value); return *this;} /** *The total of usage.
*/ inline double GetTotal() const{ return m_total; } /** *The total of usage.
*/ inline bool TotalHasBeenSet() const { return m_totalHasBeenSet; } /** *The total of usage.
*/ inline void SetTotal(double value) { m_totalHasBeenSet = true; m_total = value; } /** *The total of usage.
*/ inline Usage& WithTotal(double value) { SetTotal(value); return *this;} /** *The type scan.
*/ inline const UsageType& GetType() const{ return m_type; } /** *The type scan.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type scan.
*/ inline void SetType(const UsageType& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type scan.
*/ inline void SetType(UsageType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type scan.
*/ inline Usage& WithType(const UsageType& value) { SetType(value); return *this;} /** *The type scan.
*/ inline Usage& WithType(UsageType&& value) { SetType(std::move(value)); return *this;} private: Currency m_currency; bool m_currencyHasBeenSet = false; double m_estimatedMonthlyCost; bool m_estimatedMonthlyCostHasBeenSet = false; double m_total; bool m_totalHasBeenSet = false; UsageType m_type; bool m_typeHasBeenSet = false; }; } // namespace Model } // namespace Inspector2 } // namespace Aws