7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/ce/model/SavingsPlansUtilization.h>
11#include <aws/ce/model/SavingsPlansSavings.h>
12#include <aws/ce/model/SavingsPlansAmortizedCommitment.h>
55 inline void SetSavingsPlanArn(
const char* value) { m_savingsPlanArnHasBeenSet =
true; m_savingsPlanArn.assign(value); }
122 bool m_savingsPlanArnHasBeenSet =
false;
125 bool m_attributesHasBeenSet =
false;
128 bool m_utilizationHasBeenSet =
false;
131 bool m_savingsHasBeenSet =
false;
134 bool m_amortizedCommitmentHasBeenSet =
false;
SavingsPlansUtilizationDetail & WithSavingsPlanArn(const Aws::String &value)
void SetAmortizedCommitment(SavingsPlansAmortizedCommitment &&value)
SavingsPlansUtilizationDetail & AddAttributes(const Aws::String &key, const Aws::String &value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
SavingsPlansUtilizationDetail & AddAttributes(const char *key, const char *value)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
SavingsPlansUtilizationDetail & AddAttributes(Aws::String &&key, const char *value)
const Aws::String & GetSavingsPlanArn() const
AWS_COSTEXPLORER_API SavingsPlansUtilizationDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
SavingsPlansUtilizationDetail & AddAttributes(const char *key, Aws::String &&value)
const SavingsPlansSavings & GetSavings() const
SavingsPlansUtilizationDetail & WithSavingsPlanArn(const char *value)
const SavingsPlansAmortizedCommitment & GetAmortizedCommitment() const
SavingsPlansUtilizationDetail & WithSavings(SavingsPlansSavings &&value)
void SetSavingsPlanArn(Aws::String &&value)
void SetSavings(const SavingsPlansSavings &value)
AWS_COSTEXPLORER_API SavingsPlansUtilizationDetail()
SavingsPlansUtilizationDetail & AddAttributes(const Aws::String &key, Aws::String &&value)
void SetUtilization(SavingsPlansUtilization &&value)
SavingsPlansUtilizationDetail & WithSavingsPlanArn(Aws::String &&value)
bool SavingsHasBeenSet() const
SavingsPlansUtilizationDetail & WithAmortizedCommitment(SavingsPlansAmortizedCommitment &&value)
void SetAmortizedCommitment(const SavingsPlansAmortizedCommitment &value)
SavingsPlansUtilizationDetail & AddAttributes(Aws::String &&key, Aws::String &&value)
bool AmortizedCommitmentHasBeenSet() const
const SavingsPlansUtilization & GetUtilization() const
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
SavingsPlansUtilizationDetail & AddAttributes(Aws::String &&key, const Aws::String &value)
void SetUtilization(const SavingsPlansUtilization &value)
bool SavingsPlanArnHasBeenSet() const
SavingsPlansUtilizationDetail & WithUtilization(const SavingsPlansUtilization &value)
SavingsPlansUtilizationDetail & WithUtilization(SavingsPlansUtilization &&value)
void SetSavingsPlanArn(const char *value)
SavingsPlansUtilizationDetail & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
SavingsPlansUtilizationDetail & WithSavings(const SavingsPlansSavings &value)
void SetSavings(SavingsPlansSavings &&value)
SavingsPlansUtilizationDetail & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
SavingsPlansUtilizationDetail & WithAmortizedCommitment(const SavingsPlansAmortizedCommitment &value)
void SetSavingsPlanArn(const Aws::String &value)
AWS_COSTEXPLORER_API SavingsPlansUtilizationDetail(Aws::Utils::Json::JsonView jsonValue)
bool AttributesHasBeenSet() const
bool UtilizationHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue