7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/ce/model/DateInterval.h>
9#include <aws/ce/model/SavingsPlansCoverageData.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
22namespace CostExplorer {
45 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
47 m_attributesHasBeenSet =
true;
48 m_attributes = std::forward<AttributesT>(value);
50 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
55 template <
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::String>
57 m_attributesHasBeenSet =
true;
58 m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
70 template <
typename CoverageT = SavingsPlansCoverageData>
72 m_coverageHasBeenSet =
true;
73 m_coverage = std::forward<CoverageT>(value);
75 template <
typename CoverageT = SavingsPlansCoverageData>
86 template <
typename TimePeriodT = DateInterval>
88 m_timePeriodHasBeenSet =
true;
89 m_timePeriod = std::forward<TimePeriodT>(value);
91 template <
typename TimePeriodT = DateInterval>
103 bool m_attributesHasBeenSet =
false;
104 bool m_coverageHasBeenSet =
false;
105 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