7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
19namespace CostExplorer {
42 template <
typename TotalCommitmentT = Aws::String>
44 m_totalCommitmentHasBeenSet =
true;
45 m_totalCommitment = std::forward<TotalCommitmentT>(value);
47 template <
typename TotalCommitmentT = Aws::String>
61 template <
typename UsedCommitmentT = Aws::String>
63 m_usedCommitmentHasBeenSet =
true;
64 m_usedCommitment = std::forward<UsedCommitmentT>(value);
66 template <
typename UsedCommitmentT = Aws::String>
80 template <
typename UnusedCommitmentT = Aws::String>
82 m_unusedCommitmentHasBeenSet =
true;
83 m_unusedCommitment = std::forward<UnusedCommitmentT>(value);
85 template <
typename UnusedCommitmentT = Aws::String>
99 template <
typename UtilizationPercentageT = Aws::String>
101 m_utilizationPercentageHasBeenSet =
true;
102 m_utilizationPercentage = std::forward<UtilizationPercentageT>(value);
104 template <
typename UtilizationPercentageT = Aws::String>
118 bool m_totalCommitmentHasBeenSet =
false;
119 bool m_usedCommitmentHasBeenSet =
false;
120 bool m_unusedCommitmentHasBeenSet =
false;
121 bool m_utilizationPercentageHasBeenSet =
false;
SavingsPlansUtilization & WithUtilizationPercentage(UtilizationPercentageT &&value)
AWS_COSTEXPLORER_API SavingsPlansUtilization & operator=(Aws::Utils::Json::JsonView jsonValue)
SavingsPlansUtilization & WithTotalCommitment(TotalCommitmentT &&value)
bool UnusedCommitmentHasBeenSet() const
const Aws::String & GetUnusedCommitment() const
bool TotalCommitmentHasBeenSet() const
void SetTotalCommitment(TotalCommitmentT &&value)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
SavingsPlansUtilization & WithUsedCommitment(UsedCommitmentT &&value)
AWS_COSTEXPLORER_API SavingsPlansUtilization()=default
SavingsPlansUtilization & WithUnusedCommitment(UnusedCommitmentT &&value)
const Aws::String & GetUsedCommitment() const
void SetUsedCommitment(UsedCommitmentT &&value)
void SetUnusedCommitment(UnusedCommitmentT &&value)
bool UsedCommitmentHasBeenSet() const
const Aws::String & GetUtilizationPercentage() const
const Aws::String & GetTotalCommitment() const
void SetUtilizationPercentage(UtilizationPercentageT &&value)
bool UtilizationPercentageHasBeenSet() const
AWS_COSTEXPLORER_API SavingsPlansUtilization(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue