/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The dollar value of the anomaly. See Also:
AWS API
* Reference
The maximum dollar value that's observed for an anomaly.
*/ inline double GetMaxImpact() const{ return m_maxImpact; } /** *The maximum dollar value that's observed for an anomaly.
*/ inline bool MaxImpactHasBeenSet() const { return m_maxImpactHasBeenSet; } /** *The maximum dollar value that's observed for an anomaly.
*/ inline void SetMaxImpact(double value) { m_maxImpactHasBeenSet = true; m_maxImpact = value; } /** *The maximum dollar value that's observed for an anomaly.
*/ inline Impact& WithMaxImpact(double value) { SetMaxImpact(value); return *this;} /** *The cumulative dollar difference between the total actual spend and total
* expected spend. It is calculated as TotalActualSpend -
* TotalExpectedSpend
.
The cumulative dollar difference between the total actual spend and total
* expected spend. It is calculated as TotalActualSpend -
* TotalExpectedSpend
.
The cumulative dollar difference between the total actual spend and total
* expected spend. It is calculated as TotalActualSpend -
* TotalExpectedSpend
.
The cumulative dollar difference between the total actual spend and total
* expected spend. It is calculated as TotalActualSpend -
* TotalExpectedSpend
.
The cumulative dollar amount that was actually spent during the anomaly.
*/ inline double GetTotalActualSpend() const{ return m_totalActualSpend; } /** *The cumulative dollar amount that was actually spent during the anomaly.
*/ inline bool TotalActualSpendHasBeenSet() const { return m_totalActualSpendHasBeenSet; } /** *The cumulative dollar amount that was actually spent during the anomaly.
*/ inline void SetTotalActualSpend(double value) { m_totalActualSpendHasBeenSet = true; m_totalActualSpend = value; } /** *The cumulative dollar amount that was actually spent during the anomaly.
*/ inline Impact& WithTotalActualSpend(double value) { SetTotalActualSpend(value); return *this;} /** *The cumulative dollar amount that was expected to be spent during the * anomaly. It is calculated using advanced machine learning models to determine * the typical spending pattern based on historical data for a customer.
*/ inline double GetTotalExpectedSpend() const{ return m_totalExpectedSpend; } /** *The cumulative dollar amount that was expected to be spent during the * anomaly. It is calculated using advanced machine learning models to determine * the typical spending pattern based on historical data for a customer.
*/ inline bool TotalExpectedSpendHasBeenSet() const { return m_totalExpectedSpendHasBeenSet; } /** *The cumulative dollar amount that was expected to be spent during the * anomaly. It is calculated using advanced machine learning models to determine * the typical spending pattern based on historical data for a customer.
*/ inline void SetTotalExpectedSpend(double value) { m_totalExpectedSpendHasBeenSet = true; m_totalExpectedSpend = value; } /** *The cumulative dollar amount that was expected to be spent during the * anomaly. It is calculated using advanced machine learning models to determine * the typical spending pattern based on historical data for a customer.
*/ inline Impact& WithTotalExpectedSpend(double value) { SetTotalExpectedSpend(value); return *this;} /** *The cumulative percentage difference between the total actual spend and total
* expected spend. It is calculated as (TotalImpact / TotalExpectedSpend) *
* 100
. When TotalExpectedSpend
is zero, this field is omitted.
* Expected spend can be zero in situations such as when you start to use a service
* for the first time.
The cumulative percentage difference between the total actual spend and total
* expected spend. It is calculated as (TotalImpact / TotalExpectedSpend) *
* 100
. When TotalExpectedSpend
is zero, this field is omitted.
* Expected spend can be zero in situations such as when you start to use a service
* for the first time.
The cumulative percentage difference between the total actual spend and total
* expected spend. It is calculated as (TotalImpact / TotalExpectedSpend) *
* 100
. When TotalExpectedSpend
is zero, this field is omitted.
* Expected spend can be zero in situations such as when you start to use a service
* for the first time.
The cumulative percentage difference between the total actual spend and total
* expected spend. It is calculated as (TotalImpact / TotalExpectedSpend) *
* 100
. When TotalExpectedSpend
is zero, this field is omitted.
* Expected spend can be zero in situations such as when you start to use a service
* for the first time.