7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/ce/model/SavingsPlansCoverageData.h>
10#include <aws/ce/model/DateInterval.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
51 template<
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
52 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes = std::forward<AttributesT>(value); }
53 template<
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
55 template<
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::String>
57 m_attributesHasBeenSet =
true; m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
return *
this;
68 template<
typename CoverageT = SavingsPlansCoverageData>
69 void SetCoverage(CoverageT&& value) { m_coverageHasBeenSet =
true; m_coverage = std::forward<CoverageT>(value); }
70 template<
typename CoverageT = SavingsPlansCoverageData>
78 template<
typename TimePeriodT = DateInterval>
79 void SetTimePeriod(TimePeriodT&& value) { m_timePeriodHasBeenSet =
true; m_timePeriod = std::forward<TimePeriodT>(value); }
80 template<
typename TimePeriodT = DateInterval>
86 bool m_attributesHasBeenSet =
false;
89 bool m_coverageHasBeenSet =
false;
92 bool m_timePeriodHasBeenSet =
false;
SavingsPlansCoverage & WithCoverage(CoverageT &&value)
void SetAttributes(AttributesT &&value)
void SetCoverage(CoverageT &&value)
const SavingsPlansCoverageData & GetCoverage() const
SavingsPlansCoverage & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
bool TimePeriodHasBeenSet() const
AWS_COSTEXPLORER_API SavingsPlansCoverage(Aws::Utils::Json::JsonView jsonValue)
bool CoverageHasBeenSet() const
void SetTimePeriod(TimePeriodT &&value)
SavingsPlansCoverage & WithAttributes(AttributesT &&value)
AWS_COSTEXPLORER_API SavingsPlansCoverage & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AttributesHasBeenSet() const
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
const DateInterval & GetTimePeriod() const
AWS_COSTEXPLORER_API SavingsPlansCoverage()=default
SavingsPlansCoverage & WithTimePeriod(TimePeriodT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue