7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/ce/model/DateInterval.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ce/model/Coverage.h>
11#include <aws/ce/model/ReservationCoverageGroup.h>
50 template<
typename TimePeriodT = DateInterval>
51 void SetTimePeriod(TimePeriodT&& value) { m_timePeriodHasBeenSet =
true; m_timePeriod = std::forward<TimePeriodT>(value); }
52 template<
typename TimePeriodT = DateInterval>
62 template<
typename GroupsT = Aws::Vector<ReservationCoverageGroup>>
63 void SetGroups(GroupsT&& value) { m_groupsHasBeenSet =
true; m_groups = std::forward<GroupsT>(value); }
64 template<
typename GroupsT = Aws::Vector<ReservationCoverageGroup>>
66 template<
typename GroupsT = ReservationCoverageGroup>
67 CoverageByTime&
AddGroups(GroupsT&& value) { m_groupsHasBeenSet =
true; m_groups.emplace_back(std::forward<GroupsT>(value));
return *
this; }
76 template<
typename TotalT = Coverage>
77 void SetTotal(TotalT&& value) { m_totalHasBeenSet =
true; m_total = std::forward<TotalT>(value); }
78 template<
typename TotalT = Coverage>
84 bool m_timePeriodHasBeenSet =
false;
87 bool m_groupsHasBeenSet =
false;
90 bool m_totalHasBeenSet =
false;
const Aws::Vector< ReservationCoverageGroup > & GetGroups() const
CoverageByTime & AddGroups(GroupsT &&value)
const DateInterval & GetTimePeriod() const
AWS_COSTEXPLORER_API CoverageByTime & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTimePeriod(TimePeriodT &&value)
const Coverage & GetTotal() const
void SetTotal(TotalT &&value)
AWS_COSTEXPLORER_API CoverageByTime(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTEXPLORER_API CoverageByTime()=default
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
CoverageByTime & WithGroups(GroupsT &&value)
CoverageByTime & WithTimePeriod(TimePeriodT &&value)
void SetGroups(GroupsT &&value)
bool GroupsHasBeenSet() const
bool TimePeriodHasBeenSet() const
CoverageByTime & WithTotal(TotalT &&value)
bool TotalHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue