7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename TotalCommitmentT = Aws::String>
49 void SetTotalCommitment(TotalCommitmentT&& value) { m_totalCommitmentHasBeenSet =
true; m_totalCommitment = std::forward<TotalCommitmentT>(value); }
50 template<
typename TotalCommitmentT = Aws::String>
61 template<
typename UsedCommitmentT = Aws::String>
62 void SetUsedCommitment(UsedCommitmentT&& value) { m_usedCommitmentHasBeenSet =
true; m_usedCommitment = std::forward<UsedCommitmentT>(value); }
63 template<
typename UsedCommitmentT = Aws::String>
74 template<
typename UnusedCommitmentT = Aws::String>
75 void SetUnusedCommitment(UnusedCommitmentT&& value) { m_unusedCommitmentHasBeenSet =
true; m_unusedCommitment = std::forward<UnusedCommitmentT>(value); }
76 template<
typename UnusedCommitmentT = Aws::String>
87 template<
typename UtilizationPercentageT = Aws::String>
88 void SetUtilizationPercentage(UtilizationPercentageT&& value) { m_utilizationPercentageHasBeenSet =
true; m_utilizationPercentage = std::forward<UtilizationPercentageT>(value); }
89 template<
typename UtilizationPercentageT = Aws::String>
95 bool m_totalCommitmentHasBeenSet =
false;
98 bool m_usedCommitmentHasBeenSet =
false;
101 bool m_unusedCommitmentHasBeenSet =
false;
104 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