7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
50 inline void SetTotalCommitment(
const char* value) { m_totalCommitmentHasBeenSet =
true; m_totalCommitment.assign(value); }
65 inline void SetUsedCommitment(
const char* value) { m_usedCommitmentHasBeenSet =
true; m_usedCommitment.assign(value); }
80 inline void SetUnusedCommitment(
const char* value) { m_unusedCommitmentHasBeenSet =
true; m_unusedCommitment.assign(value); }
95 inline void SetUtilizationPercentage(
const char* value) { m_utilizationPercentageHasBeenSet =
true; m_utilizationPercentage.assign(value); }
103 bool m_totalCommitmentHasBeenSet =
false;
106 bool m_usedCommitmentHasBeenSet =
false;
109 bool m_unusedCommitmentHasBeenSet =
false;
112 bool m_utilizationPercentageHasBeenSet =
false;
SavingsPlansUtilization & WithUnusedCommitment(const Aws::String &value)
void SetUtilizationPercentage(const Aws::String &value)
AWS_COSTEXPLORER_API SavingsPlansUtilization & operator=(Aws::Utils::Json::JsonView jsonValue)
SavingsPlansUtilization & WithTotalCommitment(Aws::String &&value)
AWS_COSTEXPLORER_API SavingsPlansUtilization()
bool UnusedCommitmentHasBeenSet() const
void SetUnusedCommitment(const Aws::String &value)
void SetUsedCommitment(Aws::String &&value)
const Aws::String & GetUnusedCommitment() const
void SetUsedCommitment(const Aws::String &value)
void SetUtilizationPercentage(const char *value)
bool TotalCommitmentHasBeenSet() const
SavingsPlansUtilization & WithUtilizationPercentage(const Aws::String &value)
void SetUnusedCommitment(Aws::String &&value)
SavingsPlansUtilization & WithUsedCommitment(const char *value)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
SavingsPlansUtilization & WithUtilizationPercentage(Aws::String &&value)
SavingsPlansUtilization & WithUsedCommitment(const Aws::String &value)
SavingsPlansUtilization & WithTotalCommitment(const char *value)
SavingsPlansUtilization & WithUtilizationPercentage(const char *value)
void SetUnusedCommitment(const char *value)
const Aws::String & GetUsedCommitment() const
void SetTotalCommitment(const char *value)
bool UsedCommitmentHasBeenSet() const
const Aws::String & GetUtilizationPercentage() const
const Aws::String & GetTotalCommitment() const
SavingsPlansUtilization & WithUnusedCommitment(Aws::String &&value)
void SetUtilizationPercentage(Aws::String &&value)
void SetTotalCommitment(Aws::String &&value)
void SetUsedCommitment(const char *value)
SavingsPlansUtilization & WithUnusedCommitment(const char *value)
void SetTotalCommitment(const Aws::String &value)
bool UtilizationPercentageHasBeenSet() const
AWS_COSTEXPLORER_API SavingsPlansUtilization(Aws::Utils::Json::JsonView jsonValue)
SavingsPlansUtilization & WithTotalCommitment(const Aws::String &value)
SavingsPlansUtilization & WithUsedCommitment(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue