/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A single daily or monthly Savings Plans utilization rate and details for your
* account. A management account in an organization have access to member accounts.
* You can use GetDimensionValues
to determine the possible dimension
* values. See Also:
AWS
* API Reference
The unique Amazon Resource Name (ARN) for a particular Savings Plan.
*/ inline const Aws::String& GetSavingsPlanArn() const{ return m_savingsPlanArn; } /** *The unique Amazon Resource Name (ARN) for a particular Savings Plan.
*/ inline bool SavingsPlanArnHasBeenSet() const { return m_savingsPlanArnHasBeenSet; } /** *The unique Amazon Resource Name (ARN) for a particular Savings Plan.
*/ inline void SetSavingsPlanArn(const Aws::String& value) { m_savingsPlanArnHasBeenSet = true; m_savingsPlanArn = value; } /** *The unique Amazon Resource Name (ARN) for a particular Savings Plan.
*/ inline void SetSavingsPlanArn(Aws::String&& value) { m_savingsPlanArnHasBeenSet = true; m_savingsPlanArn = std::move(value); } /** *The unique Amazon Resource Name (ARN) for a particular Savings Plan.
*/ inline void SetSavingsPlanArn(const char* value) { m_savingsPlanArnHasBeenSet = true; m_savingsPlanArn.assign(value); } /** *The unique Amazon Resource Name (ARN) for a particular Savings Plan.
*/ inline SavingsPlansUtilizationDetail& WithSavingsPlanArn(const Aws::String& value) { SetSavingsPlanArn(value); return *this;} /** *The unique Amazon Resource Name (ARN) for a particular Savings Plan.
*/ inline SavingsPlansUtilizationDetail& WithSavingsPlanArn(Aws::String&& value) { SetSavingsPlanArn(std::move(value)); return *this;} /** *The unique Amazon Resource Name (ARN) for a particular Savings Plan.
*/ inline SavingsPlansUtilizationDetail& WithSavingsPlanArn(const char* value) { SetSavingsPlanArn(value); return *this;} /** *The attribute that applies to a specific Dimension
.
The attribute that applies to a specific Dimension
.
The attribute that applies to a specific Dimension
.
The attribute that applies to a specific Dimension
.
The attribute that applies to a specific Dimension
.
The attribute that applies to a specific Dimension
.
The attribute that applies to a specific Dimension
.
The attribute that applies to a specific Dimension
.
The attribute that applies to a specific Dimension
.
The attribute that applies to a specific Dimension
.
The attribute that applies to a specific Dimension
.
The attribute that applies to a specific Dimension
.
The attribute that applies to a specific Dimension
.
A ratio of your effectiveness of using existing Savings Plans to apply to * workloads that are Savings Plans eligible.
*/ inline const SavingsPlansUtilization& GetUtilization() const{ return m_utilization; } /** *A ratio of your effectiveness of using existing Savings Plans to apply to * workloads that are Savings Plans eligible.
*/ inline bool UtilizationHasBeenSet() const { return m_utilizationHasBeenSet; } /** *A ratio of your effectiveness of using existing Savings Plans to apply to * workloads that are Savings Plans eligible.
*/ inline void SetUtilization(const SavingsPlansUtilization& value) { m_utilizationHasBeenSet = true; m_utilization = value; } /** *A ratio of your effectiveness of using existing Savings Plans to apply to * workloads that are Savings Plans eligible.
*/ inline void SetUtilization(SavingsPlansUtilization&& value) { m_utilizationHasBeenSet = true; m_utilization = std::move(value); } /** *A ratio of your effectiveness of using existing Savings Plans to apply to * workloads that are Savings Plans eligible.
*/ inline SavingsPlansUtilizationDetail& WithUtilization(const SavingsPlansUtilization& value) { SetUtilization(value); return *this;} /** *A ratio of your effectiveness of using existing Savings Plans to apply to * workloads that are Savings Plans eligible.
*/ inline SavingsPlansUtilizationDetail& WithUtilization(SavingsPlansUtilization&& value) { SetUtilization(std::move(value)); return *this;} /** *The amount saved by using existing Savings Plans. Savings returns both net
* savings from savings plans and also the onDemandCostEquivalent
of
* the Savings Plans when considering the utilization rate.
The amount saved by using existing Savings Plans. Savings returns both net
* savings from savings plans and also the onDemandCostEquivalent
of
* the Savings Plans when considering the utilization rate.
The amount saved by using existing Savings Plans. Savings returns both net
* savings from savings plans and also the onDemandCostEquivalent
of
* the Savings Plans when considering the utilization rate.
The amount saved by using existing Savings Plans. Savings returns both net
* savings from savings plans and also the onDemandCostEquivalent
of
* the Savings Plans when considering the utilization rate.
The amount saved by using existing Savings Plans. Savings returns both net
* savings from savings plans and also the onDemandCostEquivalent
of
* the Savings Plans when considering the utilization rate.
The amount saved by using existing Savings Plans. Savings returns both net
* savings from savings plans and also the onDemandCostEquivalent
of
* the Savings Plans when considering the utilization rate.
The total amortized commitment for a Savings Plans. Includes the sum of the * upfront and recurring Savings Plans fees.
*/ inline const SavingsPlansAmortizedCommitment& GetAmortizedCommitment() const{ return m_amortizedCommitment; } /** *The total amortized commitment for a Savings Plans. Includes the sum of the * upfront and recurring Savings Plans fees.
*/ inline bool AmortizedCommitmentHasBeenSet() const { return m_amortizedCommitmentHasBeenSet; } /** *The total amortized commitment for a Savings Plans. Includes the sum of the * upfront and recurring Savings Plans fees.
*/ inline void SetAmortizedCommitment(const SavingsPlansAmortizedCommitment& value) { m_amortizedCommitmentHasBeenSet = true; m_amortizedCommitment = value; } /** *The total amortized commitment for a Savings Plans. Includes the sum of the * upfront and recurring Savings Plans fees.
*/ inline void SetAmortizedCommitment(SavingsPlansAmortizedCommitment&& value) { m_amortizedCommitmentHasBeenSet = true; m_amortizedCommitment = std::move(value); } /** *The total amortized commitment for a Savings Plans. Includes the sum of the * upfront and recurring Savings Plans fees.
*/ inline SavingsPlansUtilizationDetail& WithAmortizedCommitment(const SavingsPlansAmortizedCommitment& value) { SetAmortizedCommitment(value); return *this;} /** *The total amortized commitment for a Savings Plans. Includes the sum of the * upfront and recurring Savings Plans fees.
*/ inline SavingsPlansUtilizationDetail& WithAmortizedCommitment(SavingsPlansAmortizedCommitment&& value) { SetAmortizedCommitment(std::move(value)); return *this;} private: Aws::String m_savingsPlanArn; bool m_savingsPlanArnHasBeenSet = false; Aws::Map